/dev/stm/immediate
The State Transition Manager handles transitioning between power states (idle, on, standby, reset, etc).
Ioctls
Ioctl | Function | Notes |
---|---|---|
0x2001 | STM_HotReset | This will reset the Wii. |
0x2003 | STM_ShutdownToStandby | This will power the Wii off (red LED). |
0x2004 | STM_ShutdownToIdle | This will power the Wii off (yellow LED), leaving IOS running to service WC24 events. |
0x2005 | STM_Wakeup | This will turn the Wii on (green LED), generally launching the System Menu. |
0x3001 | STM_GetState | Determines whether or not IOS is currently running in idle mode (yellow light on) |
0x3002 | STM_UnregisterStateEvent | tbd |
0x5001 | STM_SetVIForceDimming | The 32-bit parameter changes the brightness it sets the screen to. The parameter is the first word of inbuf. The brightness change stays until either the Wii reboots, or it is changed back. |
0x6001 | STM_FlashLED | Please figure out what I do and update me! 32-bit parameter is passed in as the first word of inbuf. |
0x6002 | STM_SetIdleLEDMode | Please figure out what I do and update me! 32-bit parameter is passed in as the first word of inbuf. |