/dev/usb/shared: Difference between revisions

From WiiBrew
< /dev | usb
Jump to navigation Jump to search
Leoetlino (talk | contribs)
←Created page with '/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 imm...'
(No difference)

Revision as of 15:59, 28 December 2016

/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.