You can run "sudo showkey" to monitor what keys are generated. When I
press my power button keycode 116 press and release are generated (see
keycode # on
https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-
event-codes.h).

$ sudo showkey
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
keycode 116 press
keycode 116 release

Similarly, run "acpi_listen" to check whether power button events are
generated, ex.

$ acpi_listen 
button/power PBTN 00000080 00000000
button/power LNXPWRBN:00 00000080 00000003

If you are seeing both keycode and acpi power button events when typing
"off" or "any", it can be the fault of the system BIOS.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1926527

Title:
  "Power off" dialog appears when any three keyboard keys are pressed
  quickly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1926527/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to