Re: [PATCH] atkbd: restore autorepeat rate after resume

From: Dmitry Torokhov
Date: Mon Jun 26 2006 - 10:57:26 EST


On 6/26/06, Vojtech Pavlik <vojtech@xxxxxxx> wrote:
On Mon, Jun 26, 2006 at 10:35:44AM -0400, Dmitry Torokhov wrote:
> On 6/26/06, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> >From: Linus Torvalds <torvalds@xxxxxxxx>
> >
> >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 ;)

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/