Changes

81 bytes added ,  14:33, 27 October 2017
no edit summary
Line 1: Line 1: −
==Description==
+
{{stub}}
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 OHCI0 or EHCI, by way of ioctl calls to /dev/usb/usb. It is accessed via several ioctl/ioctlvs. This information is incomplete, please fill it in when possible.
+
''/dev/usb/ven'' is an IOS resource manager that is used to interact with USB devices in IOS57, IOS58 and IOS59. It replaces [[:/dev/usb/oh0]], which is repurposed as an internal USB backend in these versions.
 +
 
 +
This device is implemented by the USB_VEN module, which is a thin wrapper around [[:/dev/usb/usb]].
 +
 
 +
VEN is often used by official games to communicate with USB cameras (such as ''Your Shape'') and microphones (in the newer singing games). It is also used by libogc for USB2 support.
    
All buffers must be in MEM2 (addr > 0x10000000) and aligned to a 32-byte boundary.  For all of the ioctlvs, the first buffer must be 64 bytes long.
 
All buffers must be in MEM2 (addr > 0x10000000) and aligned to a 32-byte boundary.  For all of the ioctlvs, the first buffer must be 64 bytes long.
219

edits