acpi_fakekey doesn't generate a "synchronization" event

Bug #665561 reported by Stefano Facchini
This bug affects 3 people
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)

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

Revision history for this message
Stefano Facchini (stefano-facchini) wrote :
Revision history for this message
pablomme (pablomme) wrote :

Confirming problem with Maverick. Haven't tested patch.

Changed in acpi-support (Ubuntu):
status: New → Confirmed
tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers