https://bugzilla.kernel.org/show_bug.cgi?id=59401





--- Comment #10 from Zoltan Boszormenyi <[email protected]>  2013-06-07 12:02:32 ---
After booting up:

# cat /proc/acpi/wakeup 
Device    S-state      Status   Sysfs node
P0P1      S4    *disabled  pci:0000:00:1e.0
PS2K      S4    *enabled   pnp:00:03
USB0      S4    *enabled   pci:0000:00:1d.0
USB1      S4    *enabled   pci:0000:00:1d.1
USB2      S4    *enabled   pci:0000:00:1d.2
USB3      S4    *enabled   pci:0000:00:1d.3
EUSB      S4    *enabled   pci:0000:00:1d.7
P0P4      S4    *disabled  pci:0000:00:1c.0
P0P5      S4    *disabled  pci:0000:00:1c.1
P0P6      S4    *disabled
P0P7      S4    *disabled  pci:0000:00:1c.3
P0P8      S4    *disabled
P0P9      S4    *disabled

After touching the sysfs wakeup files with the below script:

# cat /proc/acpi/wakeup                                                         
Device    S-state      Status   Sysfs node
P0P1      S4    *disabled  pci:0000:00:1e.0
PS2K      S4    *disabled  pnp:00:03
USB0      S4    *disabled  pci:0000:00:1d.0
USB1      S4    *disabled  pci:0000:00:1d.1
USB2      S4    *disabled  pci:0000:00:1d.2
USB3      S4    *disabled  pci:0000:00:1d.3
EUSB      S4    *disabled  pci:0000:00:1d.7
P0P4      S4    *disabled  pci:0000:00:1c.0
P0P5      S4    *disabled  pci:0000:00:1c.1
P0P6      S4    *disabled
P0P7      S4    *disabled  pci:0000:00:1c.3
P0P8      S4    *disabled
P0P9      S4    *disabled

The initially enabled devices in sysfs:

# find /sys -name "wakeup" | while read i ; \
do \
    DEV="$i" ; \
    ENAB="`cat $i`" ; \
    if [ "$ENAB" = "enabled" ]; then \
        echo $DEV ; \
        echo "disabled" >$DEV ; \
    fi ; \
done
/sys/devices/pnp0/00:03/power/wakeup
/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.0/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.1/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.2/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.3/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.7/power/wakeup
/sys/devices/LNXSYSTM:00/LNXPWRBN:00/power/wakeup

All devices with a wakeup file:

# find /sys -name "wakeup"
/sys/devices/pnp0/00:03/power/wakeup
/sys/devices/pnp0/00:06/tty/ttyS0/power/wakeup
/sys/devices/pnp0/00:07/tty/ttyS1/power/wakeup
/sys/devices/pnp0/00:08/tty/ttyS2/power/wakeup
/sys/devices/pnp0/00:09/tty/ttyS3/power/wakeup
/sys/devices/pnp0/00:0a/tty/ttyS4/power/wakeup
/sys/devices/pci0000:00/0000:00:1b.0/power/wakeup
/sys/devices/pci0000:00/0000:00:1c.0/power/wakeup
/sys/devices/pci0000:00/0000:00:1c.1/power/wakeup
/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/power/wakeup
/sys/devices/pci0000:00/0000:00:1c.3/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.0/usb2/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.0/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.1/usb3/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.1/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.2/usb4/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.2/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.3/usb5/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.3/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.7/usb1/power/wakeup
/sys/devices/pci0000:00/0000:00:1d.7/power/wakeup
/sys/devices/pci0000:00/0000:00:1e.0/power/wakeup
/sys/devices/pci0000:00/0000:00:1f.2/power/wakeup
/sys/devices/platform/serial8250.3/tty/ttyS5/power/wakeup
/sys/devices/LNXSYSTM:00/LNXPWRBN:00/power/wakeup

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to