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

Changes

Jump to navigation Jump to search
265 bytes added ,  22:27, 1 November 2017
no edit summary
Line 1: Line 1:  
{{stub}}
 
{{stub}}
   −
This device is internally used to communicate with the USB camera provided with the game "Your Shape".
+
This device is internally used by several USB resource managers. Not much information is known at this time.
Not much information is known at this time.
     −
It is implemented by a module (USB) in IOS58.  It appears to be able to generically address devices via /dev/usb/oh0 and /dev/usb/ehc.  It is accessed via several ioctls. Yes, I know this doesn't match up with the ioctls called by /dev/usb/ven; sorry!
+
It is implemented by a module (USB) in IOS58 that runs under UID 17 (PID_USB). This resource manager can only be opened from that UID.  It appears to be able to generically address devices via /dev/usb/oh0 and /dev/usb/ehc.  It is accessed via several ioctls.
   −
This device can only be opened from UID 17 (USB).
+
Because all of the USB related modules run under the same UID, they all share the same file descriptor table. This allows ioctl 1 (GetDeviceList) to return FDs to /dev/usb/ehc and /dev/usb/oh0. These are directly used by VEN, HID, etc. when submitting transfers, instead of going through /dev/usb/usb.
   −
=== Ioctls ===
+
[[File:New_IOS_USB_modules.svg|center|600px]]
 +
 
 +
== Ioctls ==
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 29: Line 30:  
| 8 / >= 8
 
| 8 / >= 8
 
| GetDeviceInfo
 
| GetDeviceInfo
|  
+
|
 
|-
 
|-
 
| 4
 
| 4
219

edits

Navigation menu