/dev/ccr_cdc

From WiiUBrew
Jump to navigation Jump to search

The /dev/ccr_cdc node is used to send control messages to the DRH. It's mainly used by nsysccr.rpl.

List of functions (Ioctlv)

Service ID and Method refers to the command packages which are sent to the DRH. More info here: https://libdrc.org/docs/re/sc-cmd.html

Command Function Service ID Method
0x00 CCRCDCSoftwareGetVersion 0 0x00
0x01 CCRCDCSoftwareReset 0 0x01
0x02 CCRCDCSoftwareUpdate 0 0x02 to start / 0x03 to push data
0x03 CCRCDCSoftwareActivate 0 0x04
0x04 CCRCDCSoftwareAbort 0 0x05
0x05 CCRCDCSoftwareSetDrcBootScreen 0 0x09
0x06 CCRCDCSoftwareGetExtId 0 0x0a
0x07 CCRCDCSoftwareExtUpdate 0 0x0b to start / 0x03 to push data / 0x0c to complete
0x08 CCRCDCSoftwareLangUpdate 0 0x0d to start / 0x03 to push data / 0x0e to complete
0x09 CCRCDCSoftwareLangActivate 0 0x0f
0x0a CCRCDCSoftwareCaffeineUpdate 0 0x10 to start / 0x11 to push data / 0x12 to complete
0x0b CCRCDCSoftwareCaffeineAbort 0 0x13
0x0c CCRCDCSoftwareCaffeineErase 0 0x14
0x64 CCRCDCSetNetworkCredentials 1 0x00
0x65 CCRCDCSetNetworkFilter 1 0x01
0x66 CCRCDCSetWlanSettings 1 0x02
0x67 CCRCDCGetNetworkCredentials 1 0x03
0x68 CCRCDCGetNetworkFilter 1 0x04
0x69 CCRCDCGetWlanSettings 1 0x05
0x6a CCRCDCGetHardwareMode 1 0x06
0x6b CCRCDCSetWowlSettings 1 0x07
0x6c CCRCDCGetWowlSettings 1 0x08
0x6d CCRCDCSetEepromSettings - -
0x6e CCRCDCSetWlanSettingsRuntime 1 0x0a
0xc8 CCRCDCDevicePing 2 0x00
0xc9 CCRCDCGetMacAddress 2 0x01
0xca CCRCDCGetAssociatedList 2 0x02
0xcc CCRCDCDisassociate 2 0x04
0xcd CCRCDCSetStationId 2 0x05
0xce CCRCDCWpsStart 2 0x06
0xcf CCRCDCWpsStop 2 0x07
0xd0 CCRCDCWpsStatus 2 0x08
0xd1 CCRCDCWowlWakeDrc 2 0x0a
0xd2 CCRCDCGetDrcCredential 2 0x0c
0xd3 CCRCDCSetMultiDrc 2 0x0d
0xd4 CCRCDCGetMultiDrc 2 0x0e
0xd5 CCRCDCGetStationId 2 0x0f
0xd6 CCRCDCSetWlChannelScan 2 0x10
0x12c CCRCDCWlanClearStatsEx 3 0x00
0x12d CCRCDCWlanGeneralStats 3 0x01
0x12e CCRCDCWlanConnectionStats 3 0x02
0x12f CCRCDCWlanPhyStats 3 0x03
0x130 CCRCDCWlanPacketStats 3 0x04
0x131 CCRCDCWlanWmmStats 3 0x05
0x132 CCRCDCGetWlanRSSIAntEx 3 0x06
0x133 CCRCDCGetWlanApcs 3 0x07
0x134 CCRCDCGetWlanIcs 3 0x08
0x135 CCRCDCGetWlanDcs 3 0x09
0x136 CCRCDCGetWlanThermal 3 0x0a
0x190 CCRCDCSysSetDrhState 4 0x00
0x191 CCRCDCSysSetDrcState 4 0x0e
0x192 CCRCDCSysSetTime 4 0x02
0x193 CCRCDCSysSetAVMode 4 0x03
0x194 CCRCDCSysGetInfo 4 0x04
0x195 CCRCDCSysGetDrcState 4 0x05
0x196 CCRCDCSysGetDrhState 4 0x06
0x197 CCRCDCSysGetAVMode 4 0x07
0x198 CCRCDCSysSetCameraDisplayMode 4 0x08
0x199 CCRCDCSysGetCameraDisplayMode 4 0x09
0x19a CCRCDCSysSetMicrophoneMode 4 0x0a
0x19b CCRCDCSysGetMicrophoneMode 4 0x0b
0x19c CCRCDCSysGetManufacturingTestResult 4 0x0c
0x19d CCRCDCSysGetServiceErrorLog 4 0x0d
0x19e CCRCDCSysSetVideoEncodingRate 4 0x0f
0x19f CCRCDCSysGetVideoEncodingRate 4 0x10
0x1a0 CCRCDCSysSetVideoEncodingHint 4 0x11
0x1a1 CCRCDCSysManufacturingWowlWrite 4 0x12
0x1a2 CCRCDCSysGetManufacturingWlanSettings 4 0x13
0x1a3 CCRCDCSysDrcDisplayMessage 4 0x14
0x1a4 4 0x15
0x1a5 CCRCDCSysDeletsDrhSettings 4 0x16
0x1a6 CCRCDCSysSetDrcCameraRegisterTable 4 0x17
0x1a7 CCRCDCSysGetDrcCameraRegisterTable 4 0x18
0x1a8 CCRCDCSysGetWlanInformation 4 0x19
0x1a9 CCRCDCSysSetManufacturingTestMode 4 0x1b
0x1aa CCRCDCSysGetDrcBootParameter 4 0x1c
0x1ab CCRCDCSysDisplayCaffeineNotification 4 0x1e
0x1ac CCRCDCSysGetDrcAppLaunchParameter 4 0x1f
0x1ad CCRCDCSysSetWiimodeSettings 4 0x20
0x1ae CCRCDCSysSetCaffeineNotificationInfo 4 0x21
0x1af CCRCDCSysConsoleShutdownInd 4 0x1a
0x1f4 CCRCDCPerGetBatteryParams 5 0x00
0x1f5 CCRCDCPerSetSensorbarLed 5 0x01
0x1f6 CCRCDCPerSetMessageLed 5 0x02
0x1f7 CCRCDCPerSetRumbleParamsEx 5 0x03
0x1f8 CCRCDCPerSetLcdBrightness 5 0x04
0x1fa CCRCDCPerGetUicEeprom 5 0x06
0x1fb CCRCDCPerGetLcdBrightness 5 0x07
0x1fc CCRCDCPerSetLcdMute 5 0x08
0x1fd CCRCDCPerGetLcdMute 5 0x09
0x1fe CCRCDCPerSetAudioMute 5 0x0a
0x1ff CCRCDCPerGetAudioMute 5 0x0b
0x200 CCRCDCPerSetUicConfig 5 0x0c
0x201 CCRCDCPerClearUicConfig 5 0x0d
0x202 CCRCDCPerSetLcdCabc 5 0x0e
0x203 CCRCDCPerGetLcdCabc 5 0x0f
0x204 CCRCDCPerNfcControl 5 0x10
0x205 CCRCDCPerIrdaControl 5 0x11
0x206 CCRCDCPerSetTvRemoteSignal 5 0x12
0x207 CCRCDCPerSetTvRemoteButton 5 0x13
0x208 CCRCDCPerLcdBrightnessIdGet 5 0x15
0x209 CCRCDCPerLcdBrightnessIdSet 5 0x14
0x20a CCRCDCPerTvRemoteControl 5 0x16
0x20b CCRCDCPerTvRemoteTestCodeSend 5 0x17
0x20c CCRCDCPerTvRemoteTestCodesetSet 5 0x18
0x20d CCRCDCPerSetLcdBrightnessTable 5 0x19
0x20e CCRCDCPerGetLcdBrightnessTable 5 0x1a
0x20f CCRCDCPerSetTpCalibConfig 5 0x1b
0x210 CCRCDCPerGetVirtualSurroundParam 5 0x1c
0x211 CCRCDCPerSetVolumeOverride 5 0x1d
0x212 CCRCDCPerClearCaffeineSettings 5 0x1e
0x320 - -
0x321 - -
0x322 CCRCDCGetDrcAttach - -
0x323 - -
0x324 - -
0x325 CCRCDCPowerOffSystem - -
0x326 CCRCDCWpsProc - -
0x384 - -
0x385 CCREnableDrhCheck - -
0x386 CCREnablePowerButton - -
0x387 CCRSetCompatMode - -