[lkml]   [2000]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[ot] resetting keyboard via keyboard contoller.

Kind of off-topic question.

I want to reset/set keyboard from my own interrupt handler
(via irq 9), so I don't want/can't to use bios (or even dos)
interface. This assumes a PC.

Looking at kernel sources it seems to me, that reset of
keyboard would be


and if I would want to set CAPS_LOCK led, it would be something
like this


Yet it does not work. Can anyone hint me in right direction
what I'm doing wrong? A 5 line example would be great.
I suspect it has something to do w/ timing, but not sure
where the error is.

The above example is from borland 4.5 for dos (under dosemu).
(so it is emulated keyboard contoller, but it should not
make differnce).
Adam The Supreme Headquarters of the 32 bit registers

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.045 / U:3.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site