Re: [PATCH] Map volume and brightness events on thinkpads



On 10/16/07, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
On Tue, Oct 16, 2007 at 01:48:54PM -0700, Kok, Auke wrote:

real life example: hook up one of those fancy usb keyboards with volume buttons to
your thinkpad. The volume keys on the thinkpad do adjust the volume, the ones on
the USB keyboard do not - software needs to be able to distinguish between them,
and sane defaults for these events need to not overlap.

That's not a problem - they'll be coming from different input devices.


You could connect an external PS/2 keyboard and map some keys to
control the volume/brightness there. It most likely will be the same
device from the kerenl POV.

More important - is brightness and volume are the only notifications
userspace is interested in? Aren't there other events that might be
interesting to userspace?

--
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/