/dev/usb/ven
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 |
---|---|---|
0 | 0 / 0x20 (ioctl) | ven_open |
2 | 0 / 0 (ioctl) | ven_close |
0x7 | 0x20 / 0 (ioctl) | ven_set_alt_setting |
0x10 | 0x20 / 0 (ioctl) | ven_suspend_resume |
0x11 | 0x20 / 0 (ioctl) | ven_cancel_endpoint |
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 |