Its possible to turn on usb power when VIM2 goes to sleep mode? I have usb air mouse, and cant turn device on when its suspended.
Actually, the USB power is always on even VIM2 goes into sleep mode, you can check the schematic for the details.
For Android, when the system goes into sleep mode, the CPU works as sleep mode and don’t react most external devices like USB.
It’s still possible to change the U-Boot/Bootloader wake-up strategy to achieve this feature. FYI
How would you change the U-Boot/Bootloader to keep USB power alive when the VIM is suspended ?
To control the USB Power/VCC5V, you can set HDMIPWR_EN:
Just tested it but found out that it keeps the hdmi alive a the same time.
My CEC auto poweroff seem to stop working when I keep the USB powered because the HDMI is still up and the TV wakes-up a few seconds after closing. I think it is normal with the schematic you posted.
Any others ways ? to just keep the usb, but not the hdmi ?