That seems right. Unfortunately the naming between the kernel, X.org, and other places is horribly inconsistent. The kernel knows KEY_SUSPEND, which means "hibernate" (suspend to disk), and KEY_SLEEP, which means "suspend to RAM".
I guess the reason for the key not doing anything is that hibernate is disabled by default in Ubuntu. If you want to re-enable it, you can do that in
> scan code: 0x8A key code: suspend
That seems right. Unfortunately the naming between the kernel, X.org, and other places is horribly inconsistent. The kernel knows KEY_SUSPEND, which means "hibernate" (suspend to disk), and KEY_SLEEP, which means "suspend to RAM".
I guess the reason for the key not doing anything is that hibernate is disabled by default in Ubuntu. If you want to re-enable it, you can do that in
sudo gedit /var/lib/ polkit- 1/localauthorit y/10-vendor. d/com.ubuntu. desktop. pkla
and remove the "[Disable hibernate by default ...]" block (there is one for upower, and one for logind if you are running Ubuntu saucy already).