unable to switch usb3 ports on
#3
(05-14-2018, 11:20 PM)tllim Wrote:
(05-14-2018, 12:15 PM)cglhu Wrote: Hi all,

I have a problem with the usb3 ports. I run an arch linux installation on a rock64. I followed the instructions in this thread 
https://forum.pine64.org/showthread.php?tid=5001
and that helped me to get usb2 ports working. But I can't do the same thing for the usb3 ports (toggle the right gpio to switch the regulator for usb3 on). Mostly I don't know, which gpio port belongs to the usb3 regulator.

Maybe someone can give me a hint.

Thanks in advance and

Best regards,
Christoph

ROCK64 schematic page 15.

http://files.pine64.org/doc/rock64/ROCK6...171019.pdf

Hi tllim,

Thanks for your hint, but I can't read that. I tried something similar to usb3 that Mark Harris did for usb2 (thanks a lot Mark!):
Code:
#!/bin/bash
# rock64_usb_power_service.sh
#
# Mark H. Harris
# v0.1b
#
#
PWRON=0
PWROFF=1
GP=2
GPOUT="out"
GPPATH="/sys/class/gpio"
GPVALUE="value"
GPMODE="direction"

## remove gpio if already exported
if [ -d $GPPATH/gpio$GP ]
then
  echo $GP > $GPPATH/unexport
  sleep 2
fi

# export the gpio, and set if ready
echo $GP > $GPPATH/export
sleep 2
if [ -e $GPPATH/gpio$GP/$GPMODE ]
then
  echo $GPOUT > $GPPATH/gpio$GP/$GPMODE
  sleep 2
  echo $PWRON > $GPPATH/gpio$GP/$GPVALUE
fi

But I don't know, which gpio port to toggle for usb3 power.

Best regards,
Christoph
  Reply


Messages In This Thread
unable to switch usb3 ports on - by cglhu - 05-14-2018, 12:15 PM
RE: unable to switch usb3 ports on - by tllim - 05-14-2018, 11:20 PM
RE: unable to switch usb3 ports on - by cglhu - 05-15-2018, 07:58 AM
RE: unable to switch usb3 ports on - by t4_4t - 05-15-2018, 07:20 PM
RE: unable to switch usb3 ports on - by cglhu - 05-16-2018, 11:26 AM
RE: unable to switch usb3 ports on - by pfeerick - 05-17-2018, 02:25 AM
RE: unable to switch usb3 ports on - by cglhu - 05-17-2018, 08:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  USB3 SATA ReleaseTheGeese 2 2,731 04-04-2021, 12:55 PM
Last Post: ReleaseTheGeese
  USB3 to SATA cable - Firmware Eule 0 2,183 03-03-2020, 01:31 PM
Last Post: Eule
  USB3 enough to power 2,5 external HDD? va88 11 14,138 06-06-2019, 03:40 PM
Last Post: va88
  Damaged / poorly-soldered ports? kasane 0 1,717 05-15-2019, 11:14 AM
Last Post: kasane
  are the usb ports on rock64 on separate bus? shome 1 3,019 09-22-2018, 01:29 AM
Last Post: evilbunny
  Best USB3.0 to SATA bridge mikedhoore 6 14,983 10-02-2017, 07:52 AM
Last Post: mikedhoore

Forum Jump:


Users browsing this thread: 1 Guest(s)