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 5 918 10-09-2024, 01:03 PM
Last Post: mara
  arch rock64 does not boot nemnob 1 932 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 43,015 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 80,629 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 1,841 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 621 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 1,051 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 1,059 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 10,979 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 215,552 10-09-2023, 03:31 AM
Last Post: mara

Forum Jump:


Users browsing this thread: 1 Guest(s)