How to use usb lan wake up on imx6 Andorid6.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use usb lan wake up on imx6 Andorid6.0

710 Views
yenchou
Contributor III

Hi All,

My Environment:

Device: imx6 custom board

Kernel: L4.1.15

OS: Android 6.0

I want to use usb lan to wake up imx6 in the S3(suspend) and S5(shutdown) state.

I change the setting as below:

1.Follow the i.MX_Linux_Reference_Manual 39.2.4 USB Wakeup Usage to set usb wakeup enabled.

2.Use ethtool to set Wake-on:g

3.Check the dtsi has "fsl,magic-packet".

4.Check the lan chip power enable, when the system change  S3 or S5.

But it also could not  wake up.

What else can I do?

Dose imx6 have to set other settings?

Labels (3)
0 Kudos
2 Replies

629 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yen

supported usb wake events are listed in

sect.65.3.5.2 Wake-Up Events i.MX 6Solo/6DualLite Applications Processor Reference Manual

wake examples can be found in unit tests

mxc_usb_test\test - imx-test - i.MX Driver Test Application Software 

Seems usb lan wake up is not supported by hardware.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

629 Views
yenchou
Contributor III

Hi igorpadykov,

Thank you for your information.

But I have a question, what is "Seems usb lan wake up is not supported by hardware"?

Does imx6 not support  usb lan wake up by hardware?

Best Wishes

Yen

0 Kudos