[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AE43AB7.8070601@tremplin-utc.net>
Date: Sun, 25 Oct 2009 12:47:03 +0100
From: Éric Piel <Eric.Piel@...mplin-utc.net>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Greg KH <gregkh@...e.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"linux-input@...r.kernel.org" <linux-input@...r.kernel.org>
Subject: Re: [REGRESSION] "bind" a device to a driver doesn't not work anymore
Op 23-10-09 18:31, Dmitry Torokhov schreef:
>
> Right, your init scripts/UDEV/HAL whatever adjust keymap to match your
> laptop.
:
> Now, all depends on when this adjustment happens... In your case it
> looks like X server starts before the keymap is adjusted, so on first
> resume the keymaps are different and it disables the device.
Ok, now I catch it. It's actually my own written script, which is
executed at init a bit after X starts. It does a couple of
"setkeycodes". So now the scenario is very clear: X starts, init script
do setkeycodes, resume/suspend, X detect a difference in keymaps and
disable the device.
BTW, I haven't really found info about this: what does setkeycodes? It
does not work on a specific device, but still it changes keymap of some
specific devices. Does it change only the current devices which have
keys? Whenever a new input device appears, all the setkeycodes should be
re-executed?
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists