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.

Ioctls

Ioctlv Parameters Function
0x12 1 in / 1 io, or 2 in / 0 io? (ioctlv) ven_ctrl
0x13 1/1 or 2/0? (ioctlv) ven_intr
0x14 2/2 or 3/1 (ioctlv) ven_isoc
0x10 0x20 / 0 (ioctl) ven_suspend_resume
0x7 0x20 / 0 (ioctl) ven_set_alt_setting
0x11 0x20 / 0 (ioctl) ven_cancel_endpoint