No USB Power after Login (ROCK64+Mate) - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88) +--- Thread: No USB Power after Login (ROCK64+Mate) (/showthread.php?tid=4941) |
No USB Power after Login (ROCK64+Mate) - metaflux - 08-16-2017 Hello, can someone help me with my problem. I have a ROCK64 with 4GB of RAM and an Ubuntu Mate (xenial-mate-rock64-0.4.17-85-arm64.img.xz from https://github.com/ayufan-rock64/linux-build/releases/) installed. In the login screen my mouse and keyboard works perfect. A few seconds after the login, my mouse and keyboard tunrns off!. The light off the mouse goes out, so I assume that the current power on the USB port is no longer available or is not enough. What can I do? Anybody an idea? THX. RE: No USB Power after Login (ROCK64+Mate) - fire219 - 08-16-2017 That is very strange. The Rock64 should be able to provide more than enough power over USB for any mouse and keyboard. Have you tried plugging either of them into the USB3 (blue) port? That is on a different USB controller and may be able to rule some possibilities out. Also, you may want to try a different (and as basic as possible) mouse and/or keyboard. RE: No USB Power after Login (ROCK64+Mate) - Luke - 08-16-2017 I can confirm that this happens. I assumed it was related to power as I also had a external driver plugged into USB 3.0 port (and my mouse/keyboard into USB OTG). I unplugged the external drive and rebooted and the mouse/keyboard worked after that as normal. Do you have anything else plugged into another port ? RE: No USB Power after Login (ROCK64+Mate) - stuartiannaylor - 08-16-2017 Maybe if you can SSH in and try something like. Disabling auto suspending USB Code: echo 2 | sudo tee /sys/bus/usb/devices/*/power/autosuspend >/dev/null Disable USB autosuspend Code: echo on | sudo tee /sys/bus/usb/devices/*/power/level >/dev/null Or maybe its the laptop mode https://askubuntu.com/questions/80638/how-to-disable-auto-power-off-of-usb-devices-like-usb-mouse RE: No USB Power after Login (ROCK64+Mate) - Farley56 - 08-16-2017 Happened to me while playing with a couple builds, including Xenial Mate. On one build it took a couple minutes for the OS to recognize the mouse/keyboard. Like a previous user, I figured power related. Had a usb2.0 powered hub from RaspPI gear. No problems since I started using the hub. Sorry, I didn't research any further so maybe other suggestions will solve the issue without having to use a hub. RE: No USB Power after Login (ROCK64+Mate) - moravecz - 08-16-2017 (08-16-2017, 10:10 AM)Farley56 Wrote: Happened to me while playing with a couple builds, including Xenial Mate. On one build it took a couple minutes for the OS to recognize the mouse/keyboard. Like a previous user, I figured power related. Had a usb2.0 powered hub from RaspPI gear. No problems since I started using the hub. Sorry, I didn't research any further so maybe other suggestions will solve the issue without having to use a hub. I also had this happen to me. I just received my Rock64 with 4 GB a couple days ago. I initially tried Debian LDXE. I had very inconsistent luck with power on both or either the USB mouse and keyboard. Sometimes neither sometimes one. If I reset or tried Power cycling I would eventually get in. Once everything worked, it was good until the next boot. I also tried Xenial Mate late last night. I recall similar problems. Tonight my one boot into Xenial Mate worked. I have nothing connected to USB except the mouse and keyboard in the USB2 ports. Ethernet didn't seem to make a difference. I will try the Debian LXDE again soon from a fresh download tonight. The mouse is a new Amazon Basics. and the keyboard is a new HP K1500. I have used other Amazon Basics mice on other systems without incident. Ethernet and Monitor so far seem fine. RE: No USB Power after Login (ROCK64+Mate) - metaflux - 08-17-2017 Yesterday I installed OPENMEDIAVAULT (https://github.com/ayufan-rock64/linux-build/releases/download/0.4.17/jessie-openmediavault-rock64-0.4.17-85-armhf.img.xz) on my ROCK64. I have plugged into 3 (three!) USB2.0 2.5" external USB HDDs and yes, all hard disks are recognized and run perfectly! Therefore I guess it's a basic Linux (Kernel) problem?! I have not tried to disable the USB autosuspend yet. RE: No USB Power after Login (ROCK64+Mate) - Luke - 08-17-2017 Read the #Rock64 IRC log starting at 09:54:49 RE: No USB Power after Login (ROCK64+Mate) - MarkHaysHarris777 - 08-17-2017 Basically, on the production boards they tied the usb power through regulators; two GPIO lines must be toggled to set the regulator or the usb power drops. For some reason the gpio mux lines controlling the regulators are left floating; not good. There are two ways to fix it: 1) dts|dtb , or script , to toggle the mux lines turning the regulators ON, or 2) mod the board so that the regulators are ON all the time ! The regulators are on the schematic on page 19; We'll do some testing and see if we can get a software fix; otherwise, we'll put up a board mod procedure. RE: No USB Power after Login (ROCK64+Mate) - metaflux - 08-17-2017 (08-17-2017, 04:52 AM)MarkHaysHarris777 Wrote: Basically, on the production boards they tied the usb power through regulators; two GPIO lines must be toggled to set the regulator or the usb power drops. For some reason the gpio mux lines controlling the regulators are left floating; not good. Nice. Hope you will find a solution! |