/dev/usb/shared

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

/dev/usb/shared is an internal IOS device which is only used by the WFSI module in IOS59.

Only IOS_OPEN, IOS_CLOSE and IOS_IOCTL are valid commands. The other commands immediately return IPC_EINVAL (-4). Additionally, this device cannot be opened from the PPC (IPC_EACCES).

There is only a single ioctl for this device.

Ioctl Name Input Output Notes
1 ? None 8 bytes Unknown.

This ioctl checks the size of the resource manager and fails with IPC_EINVAL if there is a mismatch. Also, the output buffer must be in mem2.