/dev/usb/msc

From WiiBrew
< /dev‎ | usb
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.