Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes
#7
Hi! I'm having kind of the opposite problem. I would like to switch/power off the USB power of both USB 2.0 and USB 3.0 as an efficient means to preserve energy on a battery powered system (I want to dump once a day stuff onto an attached hdd and power it on just for that occasion). I read the other thread as well, but did not find further information. My board is a version 2.0 Rock64.

Running gpioinfo
gpiochip0 - 32 lines:
       line   0:      unnamed       unused   input  active-high  
       line   1:      unnamed       unused   input  active-high  
       line   2:      unnamed "vcc-host-5v-regulator" output active-low [used]
       line   3:      unnamed       unused   input  active-high


shows me the expected GPIO line I read about to switch the USB ports in this thread. When trying gpioset gpiochip0 2=1
gpioset: error setting the GPIO line values: Device or resource busy


I get an error message (trying the same on the other GPIOs on that chip works as expected). As it was possible to change those settings in earlier times I'm wondering how to achieve that again. I was changing the boards DTB file for other systems (Orange Pi) to switch from OTG to normal USB ports following some tutorial. But I'm lost what to do for this board if that is actually required.

If I got it right from this (or the other post) the USB 3.0 cannot be switched off?

Thank you for any hints! Dirk
  Reply


Messages In This Thread
RE: Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes - by ds00 - 01-15-2023, 10:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Are HW design files available for ROCK64? irenek 3 6,251 12-11-2023, 09:31 PM
Last Post: tllim
  Rock64 is unreliable after 3 years of service - power problem? ReleaseTheGeese 0 622 11-23-2023, 05:05 AM
Last Post: ReleaseTheGeese
  Rock64 PoE compatbility with Pi4 Hatt recent Single Board Computer offering from PINE kharak 1 1,518 04-26-2023, 11:38 PM
Last Post: tllim
  Case for the rock64 that supports the POE hat. o1CRiMSON1o 0 873 03-21-2023, 03:48 PM
Last Post: o1CRiMSON1o
  power connector type please AlexS 4 5,526 01-11-2023, 07:00 AM
Last Post: dmitrymyadzelets
  rock64 totally brick dakobg 2 2,334 11-07-2022, 05:45 PM
Last Post: olivercfc
  Alternative power supply ju0n 0 1,286 09-06-2022, 02:46 AM
Last Post: ju0n
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 2 4,088 08-04-2022, 01:31 AM
Last Post: Vicky Weimann PhD
  Where can I find the ROCK64 POE HAT Zoz 2 3,362 06-08-2022, 12:44 AM
Last Post: Zoz
Smile wooden case for ROCK64 killor 13 18,553 03-04-2022, 06:56 AM
Last Post: killor

Forum Jump:


Users browsing this thread: 1 Guest(s)