Re: [systemd-devel] Suspend from wireless keyboard not working

2015-02-13 Thread Gustavo De Nardin (spuk)
* Jan Alexander Steffens [2015-02-14 06:02 +0100]: > On Sat, Feb 14, 2015 at 5:34 AM, Gustavo De Nardin (spuk) > wrote: > > Excuse the ignorance, but why is it a problem if every keyboard would get > > the 'power-switch' tag (or if it wouldn't be needed)? For example, would it > > be a problem if

Re: [systemd-devel] Suspend from wireless keyboard not working

2015-02-13 Thread Jan Alexander Steffens
On Sat, Feb 14, 2015 at 5:34 AM, Gustavo De Nardin (spuk) wrote: > Excuse the ignorance, but why is it a problem if every keyboard would get > the 'power-switch' tag (or if it wouldn't be needed)? For example, would it > be a problem if a distro adds the power-switch tag to all keyboards by > defa

Re: [systemd-devel] Suspend from wireless keyboard not working

2015-02-13 Thread Gustavo De Nardin (spuk)
Thanks, it worked. Just had to do some debugging to learn the correct action for suspend is 'sleep', while 'suspend' is for hibernate. :] Excuse the ignorance, but why is it a problem if every keyboard would get the 'power-switch' tag (or if it wouldn't be needed)? For example, would it be a probl

Re: [systemd-devel] Suspend from wireless keyboard not working

2015-02-13 Thread Lennart Poettering
On Fri, 13.02.15 00:46, Gustavo De Nardin (spuk) (gustav...@gmail.com) wrote: > Hello. > > I'm trying to make my notebook (Lenovo Thinkpad X230) suspend when pressing > the "sleep" extra key on a wireless keyboard (Logitech K270 using the > Logitech unifying receiver). > > I've been able to map

[systemd-devel] Suspend from wireless keyboard not working

2015-02-12 Thread Gustavo De Nardin (spuk)
Hello. I'm trying to make my notebook (Lenovo Thinkpad X230) suspend when pressing the "sleep" extra key on a wireless keyboard (Logitech K270 using the Logitech unifying receiver). I've been able to map the "sleep" key to the 'pauseplay' action in a '/etc/udev/hwdb.d/70-keyboard.hwdb' file, for