acpi_fakekey doesn't generate a "synchronization" event
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: acpi-support
I use acpi_fakekey to generate keycodes for keys otherwise not recognized (e.g. FN+KP_ENTER, which should generate KEY_CALC on my Asus K52), via the usual syntax
acpi_fakekey $KEY_CALC
The correspoding keycode (140) is correctly generated, but it is not immediately synchronized. I have to press some other key before the event XF86Calculator is recognized (as I discovered with xev).
I checked the source code of acpi_fakekey. Actually, it doesn't write the event EV_SYN.SYN_REPORT after the EV_KEY. With the patch attached everything works fine. I don't know if this is a bug, maybe there are reasons for excluding the synchronization?
Ubuntu 10.10
package: acpi-support-0.137
tags: | added: patch |
Confirming problem with Maverick. Haven't tested patch.