/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 Description
0x30 ReadSysConfig
0x31 WriteSysConfig
0x32 DeleteSysConfig
0x33 QuerySysConfig
0x34 ListSysConfig

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.