In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
12 bytes added ,  17:37, 10 August 2009
m
Robot: Cosmetic changes
Line 8: Line 8:  
  retval = IOS_Ioctl(fd, ioctl_no, inbuf, 0x20, outbuf, 0x20);
 
  retval = IOS_Ioctl(fd, ioctl_no, inbuf, 0x20, outbuf, 0x20);
   −
The contents of the buffers do not seem to matter for the shutdown / reset functions. You should not expect to actually receive a return code, due to the nature of the functions -- any return value can then be treated as some sort of error.
+
The contents of the buffers do not seem to matter for the shutdown / reset functions. You should not expect to actually receive a return code, due to the nature of the functions -- any return value can then be treated as some sort of error.
===Shutdown To Standby===
+
=== Shutdown To Standby ===
 
   
 
   
 
  STM_ShutdownToStandby: ioctl 0x2003
 
  STM_ShutdownToStandby: ioctl 0x2003
 
This will power the Wii off (red LED).
 
This will power the Wii off (red LED).
   −
===Shutdown To Idle===
+
=== Shutdown To Idle ===
 
   
 
   
 
  STM_ShutdownToIdle: ioctl 0x2004
 
  STM_ShutdownToIdle: ioctl 0x2004
This will put the Wii into idle mode (yellow LED). This might be useful, but not for known Homebrew-related purposes.
+
This will put the Wii into idle mode (yellow LED). This might be useful, but not for known Homebrew-related purposes.
   −
===Hot Reset===
+
=== Hot Reset ===
    
  STM_HotReset: ioctl 0x2001
 
  STM_HotReset: ioctl 0x2001
 
This will reset the Wii.
 
This will reset the Wii.
   −
===Force Dimming ===
+
=== Force Dimming ===
    
  STM_SetVIForceDimming: ioctl 0x5001
 
  STM_SetVIForceDimming: ioctl 0x5001
 
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.
 
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.
   −
===Set Idle LED Mode===
+
=== Set Idle LED Mode ===
 
  STM_SetIdleLEDMode: ioctl 0x6002  
 
  STM_SetIdleLEDMode: ioctl 0x6002  
Please figure out what I do and update me! 32-bit parameter is passed in as the first word of inbuf.
+
Please figure out what I do and update me! 32-bit parameter is passed in as the first word of inbuf.
   −
===Unregister State Event===
+
=== Unregister State Event ===
 
  STM_UnregisterStateEvent: ioctl 0x3002
 
  STM_UnregisterStateEvent: ioctl 0x3002
    
Please figure out what I do and update me!  
 
Please figure out what I do and update me!  
   −
==Get state==
+
== Get state ==
 
  #define ISTM_CMD_GETSTATE 0x3001
 
  #define ISTM_CMD_GETSTATE 0x3001
   Line 45: Line 45:  
Please figure out what I do and update me!  
 
Please figure out what I do and update me!  
   −
==Wake up==
+
== Wake up ==
 
  #define ISTM_CMD_WAKEUP 0x2005
 
  #define ISTM_CMD_WAKEUP 0x2005
   Line 52: Line 52:  
Please figure out what I do and update me!  
 
Please figure out what I do and update me!  
   −
==LED Flash???==
+
== LED Flash??? ==
 
  0x6001
 
  0x6001
    
Found in IOS37 KD driver 0x13db0660 and on.
 
Found in IOS37 KD driver 0x13db0660 and on.
   −
Please figure out what I do and update me!  
+
Please figure out what I do and update me!
 
      
[[Category:IOS API documentation]]
 
[[Category:IOS API documentation]]
1,189

edits

Navigation menu