2013-09-22, 00:01
Hey all,
Another suspend/resume question, this time with a twist - I'm not having much luck disabling wakeup from usb ports, namely wakeup via a iPazzport RF keyboard. Whats got me stumped is that everything is disabled as should be:
Normally EHC1/2 are enabled, and I'm pretty sure that they are the usb hubs. Not sure what the enabled PXSX is yet.
I'm using the following udev rules to disable wakeup (along with some manual commands for EHC1/2 + /sys/bus/usb/devices/usb4/power/wakeup while testing) which seems to be working:
pm-suspend.log http://paste.ubuntu.com/6138603/
dmesg
xbmc.old.log
Running ubuntu 13.10 (only version of ubuntu that supports my nic, trying to upgrade 12.04 with the 13.10 hardware enablement packs hosed my install)
Xbmc is a nightly from the Rennie Waldock PPA, version 12.9.8-git201.
Any suggestions are greatly appreciated, I dont know what else to try.
Another suspend/resume question, this time with a twist - I'm not having much luck disabling wakeup from usb ports, namely wakeup via a iPazzport RF keyboard. Whats got me stumped is that everything is disabled as should be:
Code:
xbmc@blaster:~$ ls /sys/bus/usb/devices/*/power/wakeup
/sys/bus/usb/devices/1-1.2:1.0/power/wakeup
/sys/bus/usb/devices/1-1.2/power/wakeup
/sys/bus/usb/devices/1-1.6/power/wakeup
/sys/bus/usb/devices/1-1/power/wakeup
/sys/bus/usb/devices/2-1.3/power/wakeup
/sys/bus/usb/devices/2-1/power/wakeup
/sys/bus/usb/devices/3-1/power/wakeup
/sys/bus/usb/devices/3-2/power/wakeup
/sys/bus/usb/devices/usb1/power/wakeup
/sys/bus/usb/devices/usb2/power/wakeup
/sys/bus/usb/devices/usb3/power/wakeup
/sys/bus/usb/devices/usb4/power/wakeup
xbmc@blaster:~$ cat /sys/bus/usb/devices/*/power/wakeup
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
disabled
Code:
xbmc@blaster:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P1 S4 *disabled
USB1 S3 *disabled
USB2 S3 *disabled
USB3 S3 *disabled
USB4 S3 *disabled
USB5 S3 *disabled
USB6 S3 *disabled
USB7 S3 *disabled
RP01 S4 *disabled pci:0000:00:1c.0
PXSX S4 *disabled
RP02 S4 *disabled
PXSX S4 *disabled
RP03 S4 *disabled
PXSX S4 *disabled
RP04 S4 *disabled
PXSX S4 *disabled
RP05 S4 *disabled
PXSX S4 *disabled
RP06 S4 *disabled pci:0000:00:1c.5
PXSX S4 *disabled pci:0000:03:00.0
RP07 S4 *disabled pci:0000:00:1c.6
PXSX S4 *disabled pci:0000:05:00.0
RP08 S4 *disabled pci:0000:00:1c.7
PXSX S4 *enabled pci:0000:06:00.0
PEG0 S4 *disabled pci:0000:00:01.0
PEGP S4 *disabled
PEG1 S4 *disabled
PEG2 S4 *disabled
PEG3 S4 *disabled
GLAN S4 *disabled
EHC1 S4 *disabled pci:0000:00:1d.0
EHC2 S4 *disabled pci:0000:00:1a.0
XHC S4 *disabled
HDEF S4 *disabled
PWRB S3 *enabled
I'm using the following udev rules to disable wakeup (along with some manual commands for EHC1/2 + /sys/bus/usb/devices/usb4/power/wakeup while testing) which seems to be working:
Code:
xbmc@blaster:~$ cat /etc/udev/rules.d/disable-wakeup.rules
#disable devices
#ipazz keyboard
SUBSYSTEM=="usb", ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="7000" RUN+="/bin/sh -c 'echo disabled > /sys$env{DEVPATH}/../power/wakeup'"
#harmony
SUBSYSTEM=="usb", ATTRS{idVendor}=="1934", ATTRS{idProduct}=="5168" RUN+="/bin/sh -c 'echo disabled > /sys$env{DEVPATH}/../power/wakeup'"
#usb bt
SUBSYSTEM=="usb", ATTRS{idVendor}=="0cf3", ATTRS{idProduct}=="3005" RUN+="/bin/sh -c 'echo disabled > /sys$env{DEVPATH}/../power/wakeup'"
#xbox360
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0291" RUN+="/bin/sh -c 'echo disabled > /sys$env{DEVPATH}/../power/wakeup'"
Code:
lsusb
Bus 002 Device 003: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 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 004: ID 045e:0291 Microsoft Corp. Xbox 360 Wireless Receiver for Windows
Bus 003 Device 002: ID 0c45:7000 Microdia
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 2548:1002
Bus 001 Device 004: ID 1934:5168 Feature Integration Technology Inc. (Fintek) F71610A or F71612A Consumer Infrared Receiver/Transceiver
Bus 001 Device 003: ID 16c0:0483 Van Ooijen Technische Informatica Teensyduino Serial
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pm-suspend.log http://paste.ubuntu.com/6138603/
dmesg
xbmc.old.log
Running ubuntu 13.10 (only version of ubuntu that supports my nic, trying to upgrade 12.04 with the 13.10 hardware enablement packs hosed my install)
Code:
uname -a
Linux blaster 3.11.0-8-generic #15-Ubuntu SMP Fri Sep 20 04:11:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Xbmc is a nightly from the Rennie Waldock PPA, version 12.9.8-git201.
Any suggestions are greatly appreciated, I dont know what else to try.