This patch makes acpi_fakekey only consider evdev devices with keys commonly found on all keyboards by requiring the evdev keycode to be less than KEY_MACRO. KEY_MACRO through BTN_MISC are just F13 - F24 and multimedia, quick launch, and power management keys. Ignoring them allows the real keyboard to be found instead of power buttons. Also, it makes acpi_fakekey accept a 2nd argument... an overriding evdev device file to use instead of the auto-detect mechanism that might be useful in the case of multiple keyboards and multiple X-servers running on the same machine.
** Attachment added: "Patch to make acpi_fakekey correctly determine keyboard or take it directly from the commandline" http://librarian.launchpad.net/7662837/acpi_fakekey-correct-keyboard.patch -- acpi_fakekey sends events to wrong evdev device https://bugs.launchpad.net/bugs/114953 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs