/dev/usb/msc: Difference between revisions

From WiiBrew
< /dev | usb
Jump to navigation Jump to search
Leoetlino (talk | contribs)
←Created page with '{{stub}} This device is used for Mass Storage devices. Not much information is known at this time. It is only present in IOS57, 58 and 59, and only the wfskrn module is kn...'
(No difference)

Revision as of 22:23, 29 December 2016

This device is used for Mass Storage devices. Not much information is known at this time. It is only present in IOS57, 58 and 59, and only the wfskrn module is known to use it in IOS59.

Just like /dev/usb/ven, 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, some of which are identical to /dev/usb/ven.

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.