AnsweredAssumed Answered

iMX6.Q7A-551Board  USB remote Desktop Wakeup from MEM power state

Question asked by Mauricio Rodrigues on Nov 26, 2015
Latest reply on Dec 1, 2015 by Mauricio Rodrigues
Branched to a new discussion

Hi everyone. We are trying to wake up Android running on Q7A-551 with MX 6DualLite.

When Android is in "suspended mode" usb keyboard can wakeup android with a single keystroke.

But if Android goes in to deep sleep, "MEM mode" it does not react to keystrokes on the keyboard.

 

[egalax_i2c]:  egalax_i2c_early_suspend                                        

[egalax_i2c]:  Enter early_suspend state:1                                     

[egalax_i2c]:  Early_suspend done!!                                            

PM: Syncing filesystems ... done.                                              

PM: Preparing system for mem sleep                                             

suspend: start 1 suspend...                                                    

suspend: finish 1 suspend after:0.2598000 seconds...                           

Freezing user space processes ... (elapsed 0.01 seconds) done.                 

Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.            

PM: Entering mem sleep                                                        

 

mos7840 ttyUSB5: Moschip 7840/7820 USB Serial Driver converter now disconnected

from ttyUSB5                                                                  

option: option_instat_callback: error -2                                      

mos7840 ttyUSB6: Moschip 7840/7820 USB Serial Driver converter now disconnected

from ttyUSB6                                                                  

mos7840 ttyUSB7: Moschip 7840/7820 USB Serial Driver converter now disconnected

from ttyUSB7                                                                  

mos7840 ttyUSB8: Moschip 7840/7820 USB Serial Driver converter now disconnected

from ttyUSB8                                                                  

mos7840 2-1.4:1.0: device disconnected                                        

option: option_instat_callback: error -2                                      

ehci_fsl_bus_suspend begins, Host 1                                          

ehci_fsl_bus_suspend ends, Host 1                                            

USB Host suspend begins                                                      

ehci_fsl_drv_suspend, pm event                                                

host suspend ends                                                            

udc suspend begins                                                            

USB Gadget suspend ends                                                      

USB Host suspend begins                                                      

ehci_fsl_drv_suspend, pm event                                                

host suspend ends                                                            

add wake up source irq 101                                                    

add wake up source irq 99                                                    

add wake up source irq 103                                                    

add wake up source irq 51                                                    

PM: suspend of devices complete after 125.765 msecs                          

PM: late suspend of devices complete after 0.737 msecs                        

Disabling non-boot CPUs ...                                                  

CPU1: shutdown  

 

 

USB keyboard is not able to wakeup Android. At this point.

I have already tried to enable wakeup on /sys/bus/usb/devices/../power/wakeup for both device and USB Hub on the board, as indicated in i.MX 6 Linux® Reference Manual, Rev. L3.14.28_1.0.0-ga, 03/2015  "41.2.5 USB Wakeup Usage", still no success.

Has anybody been able to do this? Or has some hints to solve this?

Thanks in advance

Outcomes