Using USB port » hokey-pokey.sh
| 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 |
- « Previous
- 1
- 2
- Next »