Prev: netpoll: add generic support for bridge and bonding devices
Next: powernow-k8: Fix section mismatch
From: Matthew Garrett on 28 May 2010 17:20 On Fri, May 28, 2010 at 07:40:09PM +0200, Thomas Renninger wrote: > The idea of these buttons is that they are undefined from BIOS/kernel > point of view. Userspace has to map a functionality to them. > Therefore the idea to modify the input event keycode via sysfs file. > There should be 2 situations that perfectly are triggered via userspace: They're logically buttons, so the right mechanism is for them to be configured via the standard keymap ioctls. There's already infrastructure for setting this via udev - see /lib/udev/keymaps on recent systems. That should let you avoid the need to unregister/reregister. -- Matthew Garrett | mjg59(a)srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: netpoll: add generic support for bridge and bonding devices Next: powernow-k8: Fix section mismatch |