Difference between revisions of "/dev/usb/ehc"

From WiiBrew
< /dev‎ | usb
Jump to: navigation, search
Line 6: Line 6:
  
 
== IPC request list ==
 
== IPC request list ==
{| class="wikitable" style="margin: 1em auto 1em auto"
+
{| class="wikitable"
 
! style="vertical-align: top;" |number
 
! style="vertical-align: top;" |number
 
! style="vertical-align: top;" |name
 
! style="vertical-align: top;" |name
Line 37: Line 37:
  
 
== IOS Ioctlv list ==
 
== IOS Ioctlv list ==
{| class="wikitable" style="margin: 1em auto 1em auto"
+
{| class="wikitable"
 
! style="vertical-align: top;" |number
 
! style="vertical-align: top;" |number
 
! style="vertical-align: top;" |name
 
! style="vertical-align: top;" |name

Revision as of 19:59, 24 June 2010

Appears to be a way to address usb devices via EHCI (USB 2.0). This driver has only been seen in IOS58. The interface appears to resemble that of /dev/usb/oh0.

Devices

/dev/usb/ehc/0b95/7720

ASIX AX88772 USB2.0 to Fast Ethernet Adapter (referenced in IOS eth driver)

IPC request list

number name Description
0x01 IOS_OPEN Opens the device. Returns 0 if success. Returns 1 if device already open (not confirmed)
0x02 IOS_CLOSE Closes the device. Returns 0 always.
0x03 IOS_READ Does nothing. Returns -4.
0x04 IOS_WRITE Does nothing. Returns -4.
0x05 IOS_IOCTL Does nothing. Returns -4.
0x06 IOS_IOCTLV Send an ioctl request.

IOS Ioctlv list

number name in count out count vec entry target vec entry size [bytes] Description
0x00 ? 0 0 ? ? Sets ioctlv.vector[0].addr to 0x20001 and returns 0 ??
0x01 ? 0 0 ? ? ?
0x02 ? 0 0 ? ? ?
0x03 ? 0 0 ? ? ?
0x04 ? 0 0 ? ? ?
0x05 ? 0 0 ? ? ?
0x06 ? 0 0 ? ? ?
0x10 ? 0 0 ? ? ?
0x11 ? 0 0 ? ? ?
0x13 ? 0 0 ? ? ?