The duplicated event can be from various sources so it may need some try & error to figure out.
For example, one can try to disable platform driver (i.e. sudo rmmod hp- wmi) and verify whether only one sleep event (i.e. from ACPI) is received. It is also possible to check "less /proc/bus/input/devices) and use evtest to check 142 events. Take my system as an example: $ less /proc/bus/input/devices ... I: Bus=0019 Vendor=0000 Product=0003 Version=0000 N: Name="Sleep Button" P: Phys=PNP0C0E/button/input0 S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2 U: Uniq= H: Handlers=kbd event2 B: PROP=0 B: EV=3 B: KEY=4000 0 0 ... $evtest /dev/input/event2 ... Finally, udev rules can be found in /lib/udev/hwdb.d and modifying scripts may help too. I am no expert on input events or udev rules but let's try to narrow down and identify possible root causes first. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930110 Title: Wake-up after suspend only on second keypress To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1930110/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
