Difference between revisions of "/dev/usb/ven"
Jump to navigation
Jump to search
(add nfoz) |
m (moar! moar!) |
||
Line 3: | Line 3: | ||
Not much information is known at this time. | 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. | + | 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 === | === Ioctls === | ||
Line 11: | Line 11: | ||
! Parameters | ! Parameters | ||
! Function | ! 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 | | 0x12 | ||
Line 23: | Line 43: | ||
| 2/2 or 3/1 (ioctlv) | | 2/2 or 3/1 (ioctlv) | ||
| ven_isoc | | ven_isoc | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Revision as of 12:18, 4 June 2010
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 |