Messages in this thread | | | From | Keith Owens <> | Subject | Re: [ot] resetting keyboard via keyboard contoller. | Date | Mon, 25 Sep 2000 11:39:49 +1100 |
| |
On Sun, 24 Sep 2000 19:04:11 -0400 (EDT), Adam <adam@cfar.umd.edu> wrote: > Looking at kernel sources it seems to me, that reset of > keyboard would be > > outp(0x60,0xFF);
static void kdb_kbdsend(unsigned char byte) { while (inb(KBD_STATUS_REG) & KBD_STAT_IBF) ; outb(byte, KBD_DATA_REG); }
static void kdb_toggleled(int led) { static int leds = 0;
leds ^= led;
kdb_kbdsend(KBD_CMD_SET_LEDS); kdb_kbdsend((unsigned char)leds); }
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |