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

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

From WiiBrew
< /dev‎ | usb
Jump to navigation Jump to search
m
Line 1: Line 1:
 +
{{stub}}
 +
 
This device is internally used to communicate with the USB camera provided with the game "Your Shape".
 
This device is internally used to communicate with the USB camera provided with the game "Your Shape".
 
Not much information is known at this time.
 
Not much information is known at this time.
Line 34: Line 36:
 
| calls ? ioctl 4 and/or 6
 
| calls ? ioctl 4 and/or 6
 
|}
 
|}
{{stub}}
 

Revision as of 21:55, 1 November 2017

This device is internally 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!

This device can only be opened from UID 17 (USB).

Ioctls

Ioctl Parameters (inbuf_len / iobuf_len) Function Notes
0 0 / 4 GetVersion puts "0x10001" into the io_buf
1 0 / > =0x300 GetDeviceChange
2 8 / >= 8 GetDeviceInfo
4 8 / 0 ? calls ? ioctl 4 and/or 6