|
|
(3 intermediate revisions by 3 users not shown) |
Line 302: |
Line 302: |
| ! Version !! NID | | ! Version !! NID |
| |- | | |- |
| | 0.931-3.60 || 0x3E4BCBC0 | | | 0.931.010-3.740.011 || 0x3E4BCBC0 |
| |} | | |} |
| | |
| | Returns Motion device information, obtained using [[SceSyscon#sceSysconMotionGetDeviceInfoForDriver]]. |
|
| |
|
| <source lang="C"> | | <source lang="C"> |
| typedef struct SceKernelDeviceInfo { | | typedef struct SceKernelMotionDeviceInfo { |
| uint16_t fwver; | | uint16_t BarkleyFwVersion; |
| uint8_t unk; | | uint16_t BarkleyHwInfo; |
| uint8_t hwinfo;
| | } SceKernelMotionDeviceInfo; |
| } SceKernelDeviceInfo; | |
|
| |
|
| int sceMotionDevGetDeviceInfoForDriver(SceKernelDeviceInfo *pInfo); | | int sceMotionDevGetDeviceInfoForDriver(SceKernelMotionDeviceInfo *pInfo); |
| </source> | | </source> |
|
| |
|
Line 523: |
Line 524: |
| |} | | |} |
|
| |
|
| | | [[Category:ARM]] |
| | [[Category:Kernel]] |
| [[Category:Modules]] | | [[Category:Modules]] |
| [[Category:Kernel]] | | [[Category:Library]] |
Latest revision as of 00:44, 5 January 2024
Module
Version |
World |
Privilege
|
1.69-3.60 |
Non-secure |
Kernel
|
Libraries
Known NIDs
SceMotionDev
sceMotionDevGetAccCalibData2
Version |
NID
|
3.60 |
0xD582B628
|
sceMotionDevGetAccCalibData
Version |
NID
|
1.69-3.60 |
0xAF014866
|
sceMotionDevGetCalibrationData
Version |
NID
|
1.69-3.60 |
0x716C685B
|
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
|
Version |
NID
|
3.60 |
0x3B23DF55
|
sceMotionDevGetDeviceInfoForDriver
Version |
NID
|
0.931.010-3.740.011 |
0x3E4BCBC0
|
Returns Motion device information, obtained using SceSyscon#sceSysconMotionGetDeviceInfoForDriver.
typedef struct SceKernelMotionDeviceInfo {
uint16_t BarkleyFwVersion;
uint16_t BarkleyHwInfo;
} SceKernelMotionDeviceInfo;
int sceMotionDevGetDeviceInfoForDriver(SceKernelMotionDeviceInfo *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
|
Requests:
- 0x80 0x2: Download Mode Request
- 0x81 0x12: Start Transfer Request
- 0x82 0x26: Transfer Program Data
- 0x83 0x2: Flash Write Request
- 0x84 0x2: Download Finish Request
typedef struct SceMotionDevUpdateStartTransferRequest { // Size is 0x3A on FW 0.931
uint8_t headerSize; // usually 0x10
uint8_t hwInfo;
uint8_t dataType;
uint8_t padding_0x7;
uint16_t dataVersion;
uint16_t padding_0xE;
uint32_t dataSize;
uint32_t address;
uint16_t check_sum; // checksum of the header (0x10 bytes)
uint8_t padding[0x26];
} SceMotionDevUpdateStartTransferRequest;
typedef struct SceMotionDevUpdateTransferProgramDataRequest { // Size is 0x3A on FW 0.931
uint32_t offset;
uint8_t programData[0x20];
uint8_t padding[0x16];
} SceMotionDevUpdateTransferProgramDataRequest;
typedef struct SceMotionDevUpdateRequest { // Size is 0x3C on FW 0.931
uint8_t type; // ex: 0x80, 0x81, 0x82, 0x83, 0x84
uint8_t size; // ex: 2, 0x12, 0x26
uint8_t data[0x3A];
} SceMotionDevUpdateRequest;
typedef struct SceMotionDevUpdateResponse { // Size is 0x40 on FW 0.931
SceUInt32 packetID;
SceUInt32 status;
char unk[0x38];
} SceMotionDevUpdateResponse;
int sceMotionDevUpdateSendCommandForDriver(void *callback, SceMotionDevUpdateRequest *pRequest, SceMotionDevUpdateResponse *pResponse, 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
|