public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: Vincent Perricone <vhp@buffalo.edu>, linux-kernel@vger.kernel.org
Subject: Re: Keyboard driver not refreshing settings when unplugged.
Date: Thu, 26 Nov 2009 17:22:49 -0800	[thread overview]
Message-ID: <20091127012249.GI6936@core.coreip.homeip.net> (raw)
In-Reply-To: <4AFCBEBF.3010607@gmail.com>

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

      reply	other threads:[~2009-11-27  1:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091127012249.GI6936@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vhp@buffalo.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox