75XX USB Host: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The Cavium CPU supplies 2 standard USB 2.0 ports.  The power to the USB can also be toggled by setting a DIO.
The Cavium CPU supplies standard USB 2.0 ports.  The power to the USB can also be toggled by setting a DIO.


<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
setdiopin 7 0
setdiopin 7 0


Power on USB
# Power on USB
setdiopin 7 1
setdiopin 7 1
</source>
</source>

Latest revision as of 09:59, 14 September 2012

The Cavium CPU supplies 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