Project

General

Profile

Using USB port » hokey-pokey.sh

Place in /usr/bin/ - Jonathan Cormier, 10/28/2013 02:13 PM

 
1
#!/bin/sh
2
# Turn on the VBUS power when the device is removed so that devices will
3
# be found again when inserted into the host port.  The sleep delays
4
# are to make sure that the VBUS power is turned on with the right timing.
5
# Date 10/28/2013
6

    
7
sleep 1
8
echo F > /proc/driver/musb_hdrc.1
9
sleep 1
10
echo F > /proc/driver/musb_hdrc.1
(2-2/2) Go to top
Add picture from clipboard (Maximum size: 1 GB)