No USB Power after Login (ROCK64+Mate)
#1
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.
  Reply
#2
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.
Community administrator and sysadmin for PINE64
(Translation: If something breaks on the website, forum, or chat network, I'm a good person to yell at about it)

  Reply
#3
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 ?
You can find me on IRC, Discord and Twitter


  Reply
#4
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/ho...-usb-mouse
  Reply
#5
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.
  Reply
#6
(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.
  Reply
#7
Yesterday I installed OPENMEDIAVAULT (https://github.com/ayufan-rock64/linux-b...mhf.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.
  Reply
#8
Read the #Rock64 IRC log starting at 09:54:49
You can find me on IRC, Discord and Twitter


  Reply
#9
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.

Blush
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#10
(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.

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.

Blush

Nice. Hope you will find a solution!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 54 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,237 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 243 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 512 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 513 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 7,967 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 186,478 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 512 07-09-2023, 03:28 AM
Last Post: nemnob
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 564 05-27-2023, 06:11 AM
Last Post: Transportsicherung
  DietPi OS for ROCK64 MichaIng 41 31,751 12-07-2022, 08:22 PM
Last Post: luminosity7

Forum Jump:


Users browsing this thread: 2 Guest(s)