/dev/usr cfg

From WiiUBrew
Jump to navigation Jump to search

/dev/usr_cfg is the IOSU device node for managing configuration entries.

List of functions (Ioctl/Ioctlv)

Command Name
0x30 UCReadSysConfig

UCReadSysConfigAsync

0x31 UCWriteSysConfig

UCWriteSysConfigAsync

0x32 UCDeleteSysConfig

UCDeleteSysConfigAsync

0x33 UCListSysConfig

UCListSysConfigAsync

0x34 UCQuerySysConfig

UCQuerySysConfigAsync

Wii2Cafe

On IOS_RESUME messages, usr_cfg checks if the "wii_acct.internal.reflection" flag is 1 and starts "W2C-reflection" if it is.
W2C will parse a copy, which is made on boot by the MCP, of the Wii SYSCONF file. It imports paired Bluetooth devices, rumble configuration and WiiMote speaker volume levels and stores them for the Wii U mode.
After all configuration values have been imported it clears the "reflection" flag.