Hi,
Release: Yocto-Morty (4.9.51_GA)
Board: i.Mx8mq EVK
I want to configure wake-up functionality on USB, Ethernet & i2c interfaces. For that, I have followed many NXP forums and configured wake-up on those interfaces using sysfs.
For USB interface wake-up enabled wake-up option as below:
echo enabled > /sys/devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/power/wakeup
echo enabled > /sys/devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/power/wakeup
echo enabled > /sys/devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb2/power/wakeup
For Ethernet interface wake-up enabled wake-up option as below:
echo enabled > /sys/devices/platform/30be0000.ethernet/net/eth0/power/wakeup
After configuring wake-up on those interfaces I freeze the system by echo freeze > /sys/power/state and send a magic packet (sudo wakeonlan <Device MAC ADDRESS>)from other PC connected in the same network but failed to wake-up on Ethernet interface. Next, connect the USB mouse to wake-up system on the USB interface and it is also not working in my case.
I observed that wake-up functionality working with push-button and UART interface and to activate it need to enable it as below:
echo enabled > /sys/devices/platform/30860000.serial/tty/ttymxc0/power/wakeup
So, at that time after freezing the system when I push any key system was resumed.
Did I missed anything or step to activate wake-up functionality on USB, i2c & Ethernet interfaces?
Solved! Go to Solution.
Hi Nirmal
according to e11231: USB: Clock must remain on during suspend/resume
i.MX8MDQ Errata : USB cannot be used as a wakeup source.
https://www.nxp.com/docs/en/errata/IMX8MDQLQ_0N14W.pdf
- i2c has not wake capability
-for ethernet wake one can look at documentation
fsl-fec.txt\net\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Nirmal
according to e11231: USB: Clock must remain on during suspend/resume
i.MX8MDQ Errata : USB cannot be used as a wakeup source.
https://www.nxp.com/docs/en/errata/IMX8MDQLQ_0N14W.pdf
- i2c has not wake capability
-for ethernet wake one can look at documentation
fsl-fec.txt\net\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Any update on this?
Best regards,
Nirmal