Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes
#3
(08-24-2017, 02:56 AM)KnReLe Wrote: It worked fine for me here on xenial-mate-rock64-0.4.16-83-arm64.

Thank you KnReLe !    Shy


I too have tested now on both xenial-minimal, and xenial-mate.  Both worked, gpio2 is set and held low, and the usb2.0 can be power cycled.

Caveat:  depending on timing ( when the user logs on vs how long it takes for rc.local to run ) there may be a very brief second or two where the usb 5v power drops before the automation pulls the gpio2 low turning on the usb power regulators.  If this happens to you , please let me know , and let me know how frequent this occurs (PM me, or send a private message, or stop by the irc).  Typically this is going to occur if the user does the logon from the gui before  the boot process has completed;  in other words, this will likely not occur if the user waits until the boot-up is complete before logging on.  This is something that can be seen while monitoring the serial console, for instance.  So, if the user waits a few seconds to logon after boot to give the boot process time to complete fully (serial console is at a logon prompt) it is unlikely that this caveat will occur.

Please review the entire tutorial , and notice that we're enabling the service in systemd 'earlier' which eliminates the timing problem with the legacy rc.local;  so I removed the rc.local step.


Thanks
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


Messages In This Thread
RE: Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes - by MarkHaysHarris777 - 08-24-2017, 02:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Are HW design files available for ROCK64? irenek 3 4,800 12-11-2023, 09:31 PM
Last Post: tllim
  Rock64 is unreliable after 3 years of service - power problem? ReleaseTheGeese 0 338 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,076 04-26-2023, 11:38 PM
Last Post: tllim
  Case for the rock64 that supports the POE hat. o1CRiMSON1o 0 628 03-21-2023, 03:48 PM
Last Post: o1CRiMSON1o
  power connector type please AlexS 4 4,664 01-11-2023, 07:00 AM
Last Post: dmitrymyadzelets
  rock64 totally brick dakobg 2 1,755 11-07-2022, 05:45 PM
Last Post: olivercfc
  Alternative power supply ju0n 0 1,037 09-06-2022, 02:46 AM
Last Post: ju0n
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 2 3,537 08-04-2022, 01:31 AM
Last Post: Vicky Weimann PhD
  Where can I find the ROCK64 POE HAT Zoz 2 2,635 06-08-2022, 12:44 AM
Last Post: Zoz
Smile wooden case for ROCK64 killor 13 16,558 03-04-2022, 06:56 AM
Last Post: killor

Forum Jump:


Users browsing this thread: 1 Guest(s)