Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

How do I 'start from suspend' with wireless keyboard?

Started by GeneC, August 19, 2014, 01:43:01 PM

Previous topic - Next topic

GeneC

Sparky XFCE 64bit

Googling finds lots of info on this issue, but most old and often contradicting.  I have found no solution.

Wake from suspend with keyboard works fine with wired keyboard, but just got a got wireless, and it does not work any longer.
I can wake with the power button, but its a desktop tower on the floor and a pain to reach..  :(
Need a fix...

Its the Logitech Device 002  (mod. K360)

gene@mint ~ $ lsusb
Bus 003 Device 003: ID 0cf2:6230 ENE Technology, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


================================

Tried one 'fix' that did not work for me, unless I did something wrong..

FIX

Edit = rules.d/90-keyboardwakeup.rules
sudo mousepad /etc/udev/rules.d/90-keyboardwakeup.rules

ADD
SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52f" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

QuoteReplacing the "046d" in the idVendor and the "c52f" in the idProduct with the values from your mouse that you got from the lsusb
My lsusb
gene@mint ~ $ lsusb
[...]
Bus 007 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
[...]


It happens that my ID's are the same as the example, (Bus 007 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver) so I did not change. (Unless I misunderstand something?)
No workie.

Then I tried without the quotes
QuoteSUBSYSTEM=="usb", ATTRS{idVendor}==046d, ATTRS{idProduct}==c52b RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"
No workie.. :(
GeneC

View the most recent posts on the forum