svn commit: r262972 - head/sys/dev/usb/input

Bruce Evans brde at optusnet.com.au
Sat Mar 15 09:34:42 UTC 2014


On Sat, 15 Mar 2014, Hans Petter Selasky wrote:

> On 03/15/14 00:26, Bruce Evans wrote:
>> LED toggling has to work in critical sections too.  Then the LED code
>> itself is not being reentered (unless parts of it are locked by
>> critical sections), but there are other complications.  Of course,
>> the LED code must not use any interrupts or do any context switches
>> in debugger mode.
>
> CAPS lock works, only the LED is not lighted up.

Yes, that's the expected brokenness.  If keyboard input works at all,
it is not likely to be a fundamental problem.  However, the working
parts probably need races to work.

I really miss the LEDs on a keyboard without them.  Under WinXP, there
is a utility to display the caps lock state using only 10MB of memory.
Under FreeBSD, I don't have such bloat and have to fly blind.

Bruce


More information about the svn-src-all mailing list