Comment 17 for bug 306310

Revision history for this message
Andy Whitcroft (apw) wrote :

If I am understanding my log on the previous comment correctly then we receive two HAL events and an Xevent for the single key-press. Specifically we receive a HAL event, then an Xevent, and then a second HAL event:

TI:13:33:22 TH:0x9b13640 FI:gpm-button.c FN:hal_device_condition_cb,430
 - condition=ButtonPressed, details=sleep
TI:13:33:22 TH:0x9b13640 FI:gpm-button.c FN:emit_button_pressed,374
 - emitting button-pressed : sleep
TI:13:33:22 TH:0x9b13640 FI:gpm-manager.c FN:button_pressed_cb,1020
 - Button press event type=sleep

TI:13:33:47 TH:0x9b13640 FI:gpm-button.c FN:gpm_button_filter_x_events,122
 - Key 150 mapped to HAL key suspend
TI:13:33:47 TH:0x9b13640 FI:gpm-manager.c FN:button_pressed_cb,1020
 - Button press event type=suspend

TI:13:34:08 TH:0x9b13640 FI:gpm-button.c FN:hal_device_condition_cb,430
 - condition=ButtonPressed, details=sleep
TI:13:34:08 TH:0x9b13640 FI:gpm-button.c FN:emit_button_pressed,374
 - emitting button-pressed : sleep
TI:13:34:08 TH:0x9b13640 FI:gpm-manager.c FN:button_pressed_cb,1020
 - Button press event type=sleep

Need to understand where all of these are coming from.