I have read a stack of posts about similar problems, but I have not found a specific solution to my problem:
I’m evaluating openSUSE 13.2RC1 on a Lenovo Thinkcentre m93p. I am using a Logitech keyboard and mouse connected via a Unifying Receiver. I have created the following rule in /etc/udev/rules.d:
SUBSYSTEM==“usb”, ATTRS{idVendor}==“046d”, ATTRS{idProduct}==“c52b” RUN+="/bin/sh -c ‘echo enabled > /sys$env{DEVPATH}/…/power/wakeup’"
This should enable the receiver to wake the machine. However, when I suspend the machine, it will wake up after a couple of seconds. It must the the udev rule causing the problem, because the machine wakes up regardless of whether the receiver is plugged in or not. If I leave out the udev rule, nothing happens and I am unable to wake the machine from sleep.
My USB configuration looks like this:
lsusb:
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 002: ID 8087:07dc Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -t:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
|__ Port 6: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 6: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 9: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 9: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 9: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
I have tried different usb ports, but it doesn’t seem to make a difference.
My kernel is:
3.16.3-1.gd2bbe7f-desktop #1 SMP PREEMPT Thu Sep 18 06:32:16 UTC 2014 (d2bbe7f) x86_64 x86_64 x86_64 GNU/Linux
Any ideas would be welcome