On Sat, 22 Aug 2009, Wu Zhangjin wrote: > > I think the interface you're looking for is > > > > /sys/bus/usb/devices/usbN/../power/wakeup > > > > where N is the USB bus number. This file defaults to "disabled"; if > > you write "enabled" to it then the USB host controller will be enabled > > as a wakeup source. This should work even without ACPI; it uses the > > PCI PME mechanism. > > > > I checked the /sys/bus/usb.../wakeup interfaces, seems the > usbN/power/wakeup interfaces are enabled by default in my machine, but > the usbN/N-X:Y/power/wakeup is not available. so, I can not wakeup the > system via any USB devices. > > Here is the output: > > $ find /sys/bus/usb/devices/usb1/ -name "wakeup" -exec echo {} \; -exec > cat '{}' \; > /sys/bus/usb/devices/usb1/power/wakeup > enabled ... You did not read what I wrote. You shouldn't look at: /sys/bus/usb/devices/usb1/power/wakeup. You should look at: /sys/bus/usb/devices/usb1/../power/wakeup. The N-X:Y/power/wakeup interfaces don't matter; the kernel doesn't use them. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm