From: Vojtech Pavlik <vojtech@suse.cz>
To: dtor_core@ameritech.net
Cc: Alan Stern <stern@rowland.harvard.edu>,
Andrew Morton <akpm@osdl.org>,
Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] atkbd: restore autorepeat rate after resume
Date: Mon, 26 Jun 2006 17:01:39 +0200 [thread overview]
Message-ID: <20060626150139.GA24550@suse.cz> (raw)
In-Reply-To: <d120d5000606260758m2ee97482m517d432f88975d87@mail.gmail.com>
On Mon, Jun 26, 2006 at 10:58:46AM -0400, Dmitry Torokhov wrote:
> On 6/26/06, Vojtech Pavlik <vojtech@suse.cz> wrote:
> >On Mon, Jun 26, 2006 at 10:35:44AM -0400, Dmitry Torokhov wrote:
> >> On 6/26/06, Alan Stern <stern@rowland.harvard.edu> wrote:
> >> >From: Linus Torvalds <torvalds@osdl.org>
> >> >
> >> >This patch (as728) makes the AT keyboard driver store the current
> >> >autorepeat rate so that it can be restored properly following a
> >> >suspend/resume cycle.
> >> >
> >>
> >> Alan,
> >>
> >> I think it should be a per-device, not global parameter. Anyway, I'll
> >> adjust adn apply, thank you.
> >
> >You can't make it per-device when there is no device when the keyboard
> >isn't plugged in. ;)
>
> It there is no keyboard then you could not change repeat rate before
> suspending and we don't have anyhting to restore ;)
What the patch is trying to achieve is that you have the keyboard, set
the rate, unplug the keyboard, replug the keyboard, get the original
setting.
In the middle of the process, you have no device to attach the
information to. That's why the patch uses a global variable.
--
Vojtech Pavlik
Director SuSE Labs
next prev parent reply other threads:[~2006-06-26 15:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 14:21 [PATCH] atkbd: restore autorepeat rate after resume Alan Stern
2006-06-26 14:35 ` Dmitry Torokhov
2006-06-26 14:53 ` Vojtech Pavlik
2006-06-26 14:58 ` Dmitry Torokhov
2006-06-26 15:01 ` Vojtech Pavlik [this message]
2006-06-26 15:16 ` Dmitry Torokhov
2006-06-26 15:18 ` Alan Stern
2006-06-26 14:52 ` Vojtech Pavlik
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=20060626150139.GA24550@suse.cz \
--to=vojtech@suse.cz \
--cc=akpm@osdl.org \
--cc=dtor_core@ameritech.net \
--cc=linux-kernel@vger.kernel.org \
--cc=stern@rowland.harvard.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