public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Keyboard driver not refreshing settings when unplugged.
@ 2009-11-12  5:50 Vincent Perricone
  2009-11-13  2:04 ` Robert Hancock
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Perricone @ 2009-11-12  5:50 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keyboard driver not refreshing settings when unplugged.
  2009-11-12  5:50 Keyboard driver not refreshing settings when unplugged Vincent Perricone
@ 2009-11-13  2:04 ` Robert Hancock
  2009-11-27  1:22   ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Hancock @ 2009-11-13  2:04 UTC (permalink / raw)
  To: Vincent Perricone; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keyboard driver not refreshing settings when unplugged.
  2009-11-13  2:04 ` Robert Hancock
@ 2009-11-27  1:22   ` Dmitry Torokhov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2009-11-27  1:22 UTC (permalink / raw)
  To: Robert Hancock; +Cc: Vincent Perricone, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-27  1:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-12  5:50 Keyboard driver not refreshing settings when unplugged Vincent Perricone
2009-11-13  2:04 ` Robert Hancock
2009-11-27  1:22   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox