Comment 2 for bug 702407

Revision history for this message
Seth Forshee (sforshee) wrote :

thinkpad_acpi does send scancodes, but only when it's reporting KEY_UNKNOWN, and then it sends the scancode after the keycode. keymap seems to expect that there's always a scancode and that it will always come before the keycode. Do you know if there's any requirement to send the scancode or for the order of the events? I do see a number of drivers that don't send scancodes, but of those that do all that I looked at except thinkpad_acpi send the scancode before the keycode.

Maybe keymap needs to wait for the sync event before printing make sure it receives both events?