From: Rodney Lorrimar <rodney@rodney.id.au>
To: Pavel Machek <pavel@suse.cz>
Cc: jikos@suse.cz, linux-kernel@vger.kernel.org,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Andrew McNabb <amcnabb@mcnabbs.org>
Subject: Re: [PATCH] Input: adbhid - fix capslock key state after suspend
Date: Thu, 10 Apr 2008 11:59:30 +0200 [thread overview]
Message-ID: <20080410095930.GA2945@solaria.local> (raw)
In-Reply-To: <20080328105855.GA1686@elf.ucw.cz>
[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]
On Fri, Mar 28, 2008 at 11:58:55AM +0100, Pavel Machek wrote:
> On Fri 2008-03-28 01:15:56, Rodney Lorrimar wrote:
> > If the adbhid module parameter restore_capslock_events is used,
> > sometimes capslock will get stuck down after resuming.
>
> Hmmm, why does that need to be a parameter? I mean... can we just do
> the right thing?
Hi Pavel,
Sorry for taking so long to answer your questions. We can mostly do
the right thing. I suppose it was a parameter so the quirk fixing
didn't ruin the fun for the majority of users who don't remap their
capslock. I know of two issues with the code:
1. Under heavy capslock usage the capslock key will sometimes get
stuck down.
2. If the capslock LED is on and the power button is pressed, a "power
button release" key event won't happen until capslock is pressed
again. So in some situations (e.g. with pbbuttonsd) the next time
capslock is hit the machine will suspend.
I will send a patch for 2, and continue to investigate 1.
Regarding the original patch, I think it's worth applying. If 1 is
fixable then I will prepare two more patches to fix problem 1 and
remove the parameter.
Rodney
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-04-10 10:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 0:15 [PATCH] Input: adbhid - fix capslock key state after suspend Rodney Lorrimar
2008-03-28 10:58 ` Pavel Machek
2008-03-28 16:09 ` Andrew McNabb
2008-04-10 9:59 ` Rodney Lorrimar [this message]
2008-04-10 10:19 ` [PATCH] Input: adbhid - capslock and power button fix Rodney Lorrimar
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=20080410095930.GA2945@solaria.local \
--to=rodney@rodney.id.au \
--cc=amcnabb@mcnabbs.org \
--cc=benh@kernel.crashing.org \
--cc=jikos@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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