Re: Keyboard driver not refreshing settings when unplugged.

Dmitry Torokhov
2009-11-27T01:22:49Z

On Thu, Nov 12, 2009 at 08:04:47PM -0600, Robert Hancock wrote:
> On 11/11/2009 11:50 PM, Vincent Perricone wrote:
>> I noticed a bug which may possibly be part of the Linux kernel. If
>> one were to enable a setting on the keyboard(caps lock) and then
>> unplug that keyboard. Upon re-plugging it in or another, the system
>> will still keep caps lock enabled. When the user then goes and
>> enables caps lock on their own keyboard which assumes the setting is
>> disabled, the system then turns caps lock off, even though the user
>> wanted it on.
>>
>> 2.6.31-14-generic
>
> USB or PS/2 keyboard? I don't know that the kernel even can tell if a
> PS/2 keyboard has been unplugged or not..

Depends on the box. PS/2 devices normally send 0xaa 0x00 when plugged in
but that may get suppressed, especially on laptops.

--
Dmitry