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

From WiiBrew
< /dev‎ | usb
Jump to: navigation, search
(page creation)
 
(Ioctls)
Line 20: Line 20:
 
| 1
 
| 1
 
| 0 / > =0x300
 
| 0 / > =0x300
| ?
+
| GetDeviceChange
|  
+
|
 
|-
 
|-
 
| 2
 
| 2
 
| 8 / >= 8
 
| 8 / >= 8
| ?
+
| GetDeviceInfo
 
|  
 
|  
 
|-
 
|-
Line 32: Line 32:
 
| ?
 
| ?
 
| calls ? ioctl 4 and/or 6
 
| calls ? ioctl 4 and/or 6
 +
|-
 +
| 4
 +
| ?
 +
| Possibly SuspendResume
 +
|
 +
|-
 +
| 0x10
 +
| ?
 +
| Possibly CancelEndpoint
 +
|
 +
|-
 +
| 0x11
 +
| ?
 +
| Possibly CtrlTransfer
 +
|
 +
|-
 +
| 0x12
 +
| ?
 +
| Possibly IntrTransfer
 +
|
 +
|-
 +
| 0x13
 +
| ?
 +
| Possibly IsoTransfer
 +
|
 +
|-
 +
| 0x14
 +
| ?
 +
| Possibly BulkTransfer
 +
|
 
|}
 
|}
 
{{stub}}
 
{{stub}}

Revision as of 17:35, 27 October 2017

Description

This device is used to communicate with the USB camera provided with the game "Your Shape". Not much information is known at this time.

It is implemented by a module (USB) in IOS58. It appears to be able to generically address devices via /dev/usb/oh0 and /dev/usb/ehc. It is accessed via several ioctls. Yes, I know this doesn't match up with the ioctls called by /dev/usb/ven; sorry!

Ioctls

Ioctl Parameters (inbuf_len / iobuf_len) Function Notes
0 0 / 4 open? puts "0x10001" into the io_buf
1 0 / > =0x300 GetDeviceChange
2 8 / >= 8 GetDeviceInfo
3 8 / 0 ? calls ? ioctl 4 and/or 6
4 ? Possibly SuspendResume
0x10 ? Possibly CancelEndpoint
0x11 ? Possibly CtrlTransfer
0x12 ? Possibly IntrTransfer
0x13 ? Possibly IsoTransfer
0x14 ? Possibly BulkTransfer