Jump to content

Command to turn off USB from bash.


wojtek_b

Recommended Posts

I have a script, that should turn off the usb power (i need to turn off smog-meter, in order to preserve laser). It should actually work in a way, that turns on, measures, turns off and waits for the next iteration. The code used I believe on A20 is:

/usr/bin/sunxi-pio -m PH26''

however it does not work on H2+ 

Any suggestion, what would work?

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines