Hi Jonathan, On Mon, Oct 13, 2008 at 08:33:14AM +0930, Jonathan Woithe wrote: > Hi Dmitry > > > > This patch (mostly from Peter Gruber) against 2.6.27-rc4 (but with the > > > interim P8010 patch from 2.6.27-rc6 applied) improves the handling of the > > > hotkeys for P8010 laptops by passing more accurate input events back to > > > userspace. This is needed because the P8010 labels these buttons quite > > > differently to earlier laptops. As part of this, a P8010-specific DMI > > > callback check has been implemented. > > > > How about implementing getkeycode() and setkeycode() methods in the > > driver and then using HAL to load appropriate keymap? > > Sorry for the delayed response - this arrived after I left work on Friday > and I'm generally offline over the weekend. > > This could work but I'll have to do some reading to find out precisely how > all this fits together (any pointers?). Please take a look at drivers/input/misc/wistron_btns.c for a sample implementation and don't hesiatate contacting me if you have any questions. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html