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

/dev/usb/ven

From WiiBrew
< /dev‎ | usb
Jump to navigation Jump to search

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_VEN) in IOS58. It appears to be able to generically address devices via OHC1 or EHCI. It is accessed via several ioctl/ioctlvs. This information is incomplete, please fill it in when possible.

Ioctls

Ioctlv Parameters Function Notes
0 0 / 0x20 (ioctl) ven_open
1 0 / 0x180 (ioctl) ven_attach_complete_callback
2 0 / 0 (ioctl) ven_close
0x7 0x20 / 0 (ioctl) ven_set_alt_setting
0x10 0x20 / 0 (ioctl) ven_suspend_resume, ven_attach_suspend_callback, ven_attach_get_device_params_callback
0x11 0x20 / 0 (ioctl) ven_cancel_endpoint
0x12 1 in / 1 io, or 2 in / 0 io? (ioctlv) ven_ctrl first buf must be 64 bytes
0x13 1/1 or 2/0? (ioctlv) ven_intr
0x14 2/2 or 3/1 (ioctlv) ven_isoc
0x15 ? (ioctlv) ven_?