![Freescale Semiconductor i.MX 6DualLite Reference Manual Download Page 254](http://html1.mh-extra.com/html/freescale-semiconductor/i-mx-6duallite/i-mx-6duallite_reference-manual_2330523254.webp)
35.3.2 How to Enable USB WakeUp System Ability
For otg port:
echo enabled > /sys/devices/platform/fsl-usb2-otg/power/wakeup
For device-only port:
echo enabled > /sys/devices/platform/fsl-usb2-udc/power/wakeup
For host-only port:
echo enabled > /sys/devices/platform/fsl-ehci.x/power/wakeup
(x is the port num)
For USB child device:
echo enabled > /sys/bus/usb/devices/1-1/power/wakeup
35.3.3 WakeUp Events Supported by USB
USBOTG port is used as an example.
Device mode wakeup:
connect wakeup: when USB line connects to usb port, the other port is connected to PC
(Wakeup signal: vbus change)
echo enabled > /sys/devices/platform/fsl-usb2-otg/power/wakeup
Host mode wakeup:
connect wakeup: when USB device connects to host port (Wakeup signal: ID/(dm/dp)
change)
echo enabled > /sys/devices/platform/fsl-usb2-otg/power/wakeup
disconnect wakeup: when USB device disconnects to host port (Wakeup signal: ID/(dm/
dp) change)
echo enabled > /sys/devices/platform/fsl-usb2-otg/power/wakeup
remote wakeup: press USB device (i.e. press USB key on the USB keyboard) when USB
device connects to host port (Wakeup signal: ID/(dm/dp) change):
echo enabled > /sys/devices/platform/fsl-usb2-otg/power/wakeup
echo enabled > /sys/bus/usb/devices/1-1/power/wakeup
NOTE
For the hub on board, it is necessary to enable hub's wakeup
first. For remote wakeup, it is necessary to perform the three
steps outlined below:
System WakeUp
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
254
Freescale Semiconductor, Inc.