In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
38 bytes added ,  02:57, 13 September 2015
Explain what /dev/uhs/0 and /dev/uhs/1 are
Line 1: Line 1: −
/dev/uhs is the IOSU device node for the USB Host Stack (UHS). It provides an interface for low-level USB device access, which [[nsysuhs.rpl]] exposes to the [[Cafe OS]] userspace. The interface is opened through /dev/uhs/%d, where %d is an integer representing something (controller number?). Only 0 can be opened, as 1 returns access denied and further values do not exist as device nodes. Once opened, ioctl() requests can be issued to the interface, which are documented below.
+
/dev/uhs is the IOSU device node for the USB Host Stack (UHS). It provides an interface for low-level USB device access, which [[nsysuhs.rpl]] exposes to the [[Cafe OS]] userspace. The interface is opened through /dev/uhs/%d, where %d is an integer representing controller number. 0 is the controller for the external USB ports, and 1 is for internal USB devices (USB Ethernet, Bluetooth module, and DRH) only usable inside IOSU. Once opened, ioctl() requests can be issued to the interface, which are documented below.
    
==ioctl() interface==
 
==ioctl() interface==
203

edits

Navigation menu