Skip to contentSkip to conversation

Keyboard driver not refreshing settings when unplugged.

DISCUSSION Vincent Perricone 3 participants 3 messages Nov 12, 2009 – Nov 27, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Vincent Perricone

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..

#2 lore raw
Quoted 9 lines · Robert Hancock
Quoted 8 lines · Vincent Perricone

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.

Quoted 4 lines
Quoted 1 line

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.

Signature · 1 line
Dmitry