Difference between revisions of "SceMotionDev"
Jump to navigation
Jump to search
CelesteBlue (talk | contribs) |
CelesteBlue (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
! Version !! Name !! World !! Visibility !! NID | ! Version !! Name !! World !! Visibility !! NID | ||
|- | |- | ||
− | | 1.69 || [[SceMotionDev#SceMotionDev|SceMotionDev]] || Non-secure || User || 0x1F766AC7 | + | | 1.69-3.60 || [[SceMotionDev#SceMotionDev|SceMotionDev]] || Non-secure || User || 0x1F766AC7 |
|- | |- | ||
− | + | | 1.69-3.60 || [[SceMotionDev#SceMotionDevForDriver|SceMotionDevForDriver]] || Non-secure || Kernel || 0xA501409A | |
− | |||
− | | 1.69 | ||
− | |||
− | |||
|} | |} | ||
Line 45: | Line 41: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0xAF014866 |
− | |||
− | |||
|} | |} | ||
Line 55: | Line 49: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x716C685B |
− | |||
− | |||
|} | |} | ||
Line 65: | Line 57: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0xBDEC1E32 |
− | |||
− | |||
|} | |} | ||
Line 83: | Line 73: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0xAAB4B41F |
− | |||
− | |||
|} | |} | ||
Line 93: | Line 81: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x067F06D9 |
− | |||
− | |||
|} | |} | ||
Line 103: | Line 89: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x1F1EFEFB |
− | |||
− | |||
|} | |} | ||
Line 113: | Line 97: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x5EDEA879 |
− | |||
− | |||
|} | |} | ||
Line 139: | Line 121: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x777D57D2 |
− | |||
− | |||
|} | |} | ||
Line 157: | Line 137: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x6D033072 |
− | |||
− | |||
|} | |} | ||
Line 175: | Line 153: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x74555D91 |
− | |||
− | |||
|} | |} | ||
Line 193: | Line 169: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0xE8A3E48E |
− | |||
− | |||
|} | |} | ||
Line 203: | Line 177: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x16DD5913 |
− | |||
− | |||
|} | |} | ||
Line 213: | Line 185: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0xE72A35B8 |
− | |||
− | |||
|} | |} | ||
Line 239: | Line 209: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0xCC4FDA6A |
− | |||
− | |||
|} | |} | ||
Line 249: | Line 217: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0xC0095F0F |
− | |||
− | |||
|} | |} | ||
Line 267: | Line 233: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x47948D9C |
− | |||
− | |||
|} | |} | ||
Line 285: | Line 249: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x56C1551E |
− | |||
− | |||
|} | |} | ||
Line 303: | Line 265: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x3EAA8A4F |
− | |||
− | |||
|} | |} | ||
Line 313: | Line 273: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0x787384FA |
− | |||
− | |||
|} | |} | ||
Line 323: | Line 281: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 1.69 | + | | 1.69-3.60 || 0xEC94F683 |
− | |||
− | |||
|} | |} | ||
Line 351: | Line 307: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 3.60 || 0x3E4BCBC0 | + | | 0.931-3.60 || 0x3E4BCBC0 |
|} | |} | ||
− | + | ||
+ | <source lang="C"> | ||
+ | typedef struct SceKernelDeviceInfo { | ||
+ | uint16_t fwver; | ||
+ | uint8_t unk; | ||
+ | uint8_t hwinfo; | ||
+ | } SceKernelDeviceInfo; | ||
+ | |||
+ | int sceMotionDevGetDeviceInfoForDriver(SceKernelDeviceInfo *pInfo); | ||
+ | </source> | ||
+ | |||
=== sceMotionDevGetEvaInfoForDriver === | === sceMotionDevGetEvaInfoForDriver === | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 444: | Line 410: | ||
<source lang="C"> | <source lang="C"> | ||
typedef struct somestruct_0x3C { // Size is 0x3C on FW 0.931 | typedef struct somestruct_0x3C { // Size is 0x3C on FW 0.931 | ||
+ | uint32_t unk0; // ex: 0x80, 0x81, 0x82, 0x83, 0x84 | ||
+ | uin32_t unk4; // ex: 2, 0x12, 0x26 | ||
+ | uint32_t dataVersion; | ||
+ | uint32_t dataSize; | ||
+ | uint32_t address; | ||
+ | uint32_t check_sum; | ||
+ | uint32_t dataSize; | ||
+ | uint32_t hwInfo; | ||
+ | uint32_t dataType; | ||
char unk[0x3C]; | char unk[0x3C]; | ||
} somestruct_0x3C; | } somestruct_0x3C; | ||
Line 495: | Line 470: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 0. | + | | 0.931-3.60 || 0xA75976EE |
|} | |} | ||
+ | |||
+ | <source lang="C">int sceMotionDevUpdateRestartForDriver(void);</source> | ||
=== SceMotionDevForDriver_unk_D7DA3DA7 === | === SceMotionDevForDriver_unk_D7DA3DA7 === | ||
Line 519: | Line 496: | ||
! Version !! NID | ! Version !! NID | ||
|- | |- | ||
− | | 0. | + | | 0.931-3.60 || 0xFD1C528D |
|} | |} | ||
+ | |||
+ | <source lang="C">int sceMotionDevUpdateInitForDriver(void);</source> | ||
=== SceMotionDevForDriver_unk_FE6ECA41 === | === SceMotionDevForDriver_unk_FE6ECA41 === |
Revision as of 17:42, 5 April 2020
Module
Known NIDs
Version | Name | World | Privilege | NID |
---|---|---|---|---|
1.69 | SceMotionDev | Non-secure | Kernel | 0x49268560 |
3.60 | SceMotionDev | Non-secure | Kernel | 0x466A97BD |
3.65 | SceMotionDevDummy | Non-secure | Kernel | 0x30485021 |
Libraries
Known NIDs
Version | Name | World | Visibility | NID |
---|---|---|---|---|
1.69-3.60 | SceMotionDev | Non-secure | User | 0x1F766AC7 |
1.69-3.60 | SceMotionDevForDriver | Non-secure | Kernel | 0xA501409A |
SceMotionDev
sceMotionDevGetAccCalibData2
Version | NID |
---|---|
3.60 | 0xD582B628 |
sceMotionDevGetAccCalibData
Version | NID |
---|---|
1.69-3.60 | 0xAF014866 |
sceMotionDevGetCalibrationData
Version | NID |
---|---|
1.69-3.60 | 0x716C685B |
sceMotionDevGetCalibrationHeader
Version | NID |
---|---|
1.69-3.60 | 0xBDEC1E32 |
sceMotionDevGetControllerType
Version | NID |
---|---|
3.60 | 0xA2CD11F6 |
sceMotionDevGetCurrentMagnCalibData
Version | NID |
---|---|
1.69-3.60 | 0xAAB4B41F |
sceMotionDevGetCurrentMagnStabilityLevel
Version | NID |
---|---|
1.69-3.60 | 0x067F06D9 |
sceMotionDevGetDeviceInfo
Version | NID |
---|---|
1.69-3.60 | 0x1F1EFEFB |
sceMotionDevGetDeviceLocation
Version | NID |
---|---|
1.69-3.60 | 0x5EDEA879 |
sceMotionDevGetDs3CalibData
Version | NID |
---|---|
3.60 | 0x1FD76B5E |
sceMotionDevGetEvaInfo
Version | NID |
---|---|
3.60 | 0xE6955280 |
sceMotionDevGetFactoryMagnCalibData
Version | NID |
---|---|
1.69-3.60 | 0x777D57D2 |
sceMotionDevGetGyroBias2
Version | NID |
---|---|
3.60 | 0x12B9F05E |
sceMotionDevGetGyroBias
Version | NID |
---|---|
1.69-3.60 | 0x6D033072 |
sceMotionDevGetGyroCalibData2
Version | NID |
---|---|
3.60 | 0x160E8DE9 |
sceMotionDevGetGyroCalibData
Version | NID |
---|---|
1.69-3.60 | 0x74555D91 |
sceMotionDevGetMeasMode
Version | NID |
---|---|
3.60 | 0xEA95D3C9 |
sceMotionDevIsReady
Version | NID |
---|---|
1.69-3.60 | 0xE8A3E48E |
sceMotionDevMagnSamplingStart
Version | NID |
---|---|
1.69-3.60 | 0x16DD5913 |
sceMotionDevMagnSamplingStop
Version | NID |
---|---|
1.69-3.60 | 0xE72A35B8 |
sceMotionDevRead2
Version | NID |
---|---|
3.60 | 0xFB87948E |
sceMotionDevRead3
Version | NID |
---|---|
3.60 | 0x27954BC7 |
sceMotionDevReadForMagnCalib
Version | NID |
---|---|
1.69-3.60 | 0xCC4FDA6A |
sceMotionDevRead
Version | NID |
---|---|
1.69-3.60 | 0xC0095F0F |
sceMotionDevSamplingStart2
Version | NID |
---|---|
3.60 | 0xB51E02E8 |
sceMotionDevSamplingStart
Version | NID |
---|---|
1.69-3.60 | 0x47948D9C |
sceMotionDevSamplingStop2
Version | NID |
---|---|
3.60 | 0x9E868205 |
sceMotionDevSamplingStop
Version | NID |
---|---|
1.69-3.60 | 0x56C1551E |
sceMotionDevSetGyroFeedBack
Version | NID |
---|---|
3.60 | 0xCCAEBF59 |
sceMotionDevSetSamplingMode
Version | NID |
---|---|
1.69-3.60 | 0x3EAA8A4F |
sceMotionDevUpdateMagnCalibData
Version | NID |
---|---|
1.69-3.60 | 0x787384FA |
sceMotionDevUpdateMagnStabilityLevel
Version | NID |
---|---|
1.69-3.60 | 0xEC94F683 |
SceMotionDevForDriver
sceMotionDevGetCalibrationDataForDriver
Version | NID |
---|---|
3.60 | 0xF0251700 |
sceMotionDevGetCalibrationHeaderForDriver
Version | NID |
---|---|
3.60 | 0x3B23DF55 |
sceMotionDevGetDeviceInfoForDriver
Version | NID |
---|---|
0.931-3.60 | 0x3E4BCBC0 |
typedef struct SceKernelDeviceInfo {
uint16_t fwver;
uint8_t unk;
uint8_t hwinfo;
} SceKernelDeviceInfo;
int sceMotionDevGetDeviceInfoForDriver(SceKernelDeviceInfo *pInfo);
sceMotionDevGetEvaInfoForDriver
Version | NID |
---|---|
3.60 | 0x5B53AC26 |
sceMotionDevIsReadyForDriver
Version | NID |
---|---|
3.60 | 0x10AAC8EA |
sceMotionDevNoiseFilterIsAvailableForDriver
Version | NID |
---|---|
3.60 | 0x11A17A96 |
sceMotionDevReadForDriver
Version | NID |
---|---|
3.60 | 0x3A3407B5 |
sceMotionDevRegisterVirtualMotionDriverForDriver
Version | NID |
---|---|
3.60 | 0x7FD06731 |
sceMotionDevSamplingStartForDriver
Version | NID |
---|---|
3.60 | 0xC02C85AB |
sceMotionDevSamplingStopForDriver
Version | NID |
---|---|
3.60 | 0xFD0B0785 |
sceMotionDevSetSamplingModeForDriver
Version | NID |
---|---|
3.60 | 0xDBAF611A |
SceMotionDevForDriver_unk_031AF7A1
Version | NID |
---|---|
3.60 | 0x031AF7A1 |
SceMotionDevForDriver_unk_0808D77D
Version | NID |
---|---|
3.60 | 0x0808D77D |
sceMotionDevUpdateSendCommandForDriver
Version | NID |
---|---|
0.931-3.60 | 0x09918DAE |
typedef struct somestruct_0x3C { // Size is 0x3C on FW 0.931
uint32_t unk0; // ex: 0x80, 0x81, 0x82, 0x83, 0x84
uin32_t unk4; // ex: 2, 0x12, 0x26
uint32_t dataVersion;
uint32_t dataSize;
uint32_t address;
uint32_t check_sum;
uint32_t dataSize;
uint32_t hwInfo;
uint32_t dataType;
char unk[0x3C];
} somestruct_0x3C;
typedef struct somestruct_0x40 { // Size is 0x40 on FW 0.931
SceUInt32 packetID;
SceUInt32 status;
char unk[0x38];
} somestruct_0x40;
int sceMotionDevUpdateSendCommandForDriver(void *callback, somestruct_0x3C unk, somestruct_0x40 unk2, SceUID *evfId);
sceMotionDevSetActiveProcessForDriver
Version | NID |
---|---|
0.990-3.60 | 0x22CD6DCA |
int sceMotionDevSetActiveProcessForDriver(SceUID pid);
SceMotionDevForDriver_unk_3CD0CE14
Version | NID |
---|---|
3.60 | 0x3CD0CE14 |
SceMotionDevForDriver_unk_77BA3A04
Version | NID |
---|---|
3.60 | 0x77BA3A04 |
SceMotionDevForDriver_unk_85E3C678
Version | NID |
---|---|
3.60 | 0x85E3C678 |
sceMotionDevUpdateRestartForDriver
Version | NID |
---|---|
0.931-3.60 | 0xA75976EE |
int sceMotionDevUpdateRestartForDriver(void);
SceMotionDevForDriver_unk_D7DA3DA7
Version | NID |
---|---|
3.60 | 0xD7DA3DA7 |
SceMotionDevForDriver_unk_DB89D1BF
Version | NID |
---|---|
3.60 | 0xDB89D1BF |
sceMotionDevUpdateInitForDriver
Version | NID |
---|---|
0.931-3.60 | 0xFD1C528D |
int sceMotionDevUpdateInitForDriver(void);
SceMotionDevForDriver_unk_FE6ECA41
Version | NID |
---|---|
3.60 | 0xFE6ECA41 |