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. -- Resume (from memory) goes back to sleep automatically https://bugs.launchpad.net/bugs/306310 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs