75XX USB Host: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 2: Line 2:


<source lang=bash>
<source lang=bash>
# Source the subroutine file for 'setdiopin'
# This is sourced in the initrd, but if you are running
. /initrd/ts7500.subr
# from Debian you will need to source the subroutine file.
source /initrd/ts7500.subr


# Power off USB
# Power off USB

Revision as of 22:42, 22 March 2012

The Cavium CPU supplies 2 standard USB 2.0 ports. The power to the USB can also be toggled by setting a DIO.

# This is sourced in the initrd, but if you are running
# from Debian you will need to source the subroutine file.
source /initrd/ts7500.subr

# Power off USB
setdiopin 7 0

# Power on USB
setdiopin 7 1