feat(libSceAvSetting): export missing firmware AV setting and HID control interfaces #8332

Merged
ymatrix1 merged 1 commit from upstream-pr/8332 into main 2026-10-21 12:18:51 +00:00
ymatrix1 commented 2026-10-20 10:13:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ymatrix1 on 2026-10-20T10:13:38Z.


What

Exports 64 firmware interfaces that were not declared: 24 in libSceAvSetting and 40 in libSceHidControl (each library's Export.cpp; the two debt files are new). Each throws NotImplemented_nid_no_patch; signatures are unknown, so they are declared without parameters and listed under Unknown function info in the library's docs/dev/debt file.

The list is the intersection of the export table of the console's library (function symbols only), the pinned aerolib names (aerolib.orig) and the functions not yet defined anywhere in the repo. All 64 names recompute to their NIDs with tools/nid_names.py. Names that an open pull request adds or registers are left out. The functions that #7907 adds are left out.

Tested

python tools/check_conventions.py --base origin/main passes. Built on Linux in WSL (Ubuntu 24.04, GCC 13, CMake and Ninja): ninja libSceAvSetting libSceHidControl succeeds. Not run: ctest, any title, a Windows build.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file (none added)
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4934276157 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8332). Originally posted by [ymatrix1](https://github.com/ymatrix1) on 2026-10-20T10:13:38Z. --- ### What Exports 64 firmware interfaces that were not declared: 24 in `libSceAvSetting` and 40 in `libSceHidControl` (each library's `Export.cpp`; the two debt files are new). Each throws `NotImplemented_nid_no_patch`; signatures are unknown, so they are declared without parameters and listed under Unknown function info in the library's `docs/dev/debt` file. The list is the intersection of the export table of the console's library (function symbols only), the pinned aerolib names (`aerolib.orig`) and the functions not yet defined anywhere in the repo. All 64 names recompute to their NIDs with `tools/nid_names.py`. Names that an open pull request adds or registers are left out. The functions that #7907 adds are left out. ### Tested `python tools/check_conventions.py --base origin/main` passes. Built on Linux in WSL (Ubuntu 24.04, GCC 13, CMake and Ninja): `ninja libSceAvSetting libSceHidControl` succeeds. Not run: ctest, any title, a Windows build. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file (none added) - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-20 10:14:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-20T10:14:17Z.


Progress report (949e95d → f3497e1)

📉 System libraries: 64.6% (-0.63%, +64 declared functions)

🆕 64 declared as stubs
Library Name
libSceAvSetting sceAvControlAddCallbacksForLnc
libSceAvSetting sceAvControlAddCallbacksForResourceArbitrator
libSceAvSetting sceAvControlCheckCallback
libSceAvSetting sceAvControlCheckMonitorInfoCapability
libSceAvSetting sceAvControlCheckVideoOutMode
libSceAvSetting sceAvControlDebugAddCallbacks
libSceAvSetting sceAvControlGetCurrentOutputSysMode
libSceAvSetting sceAvControlGetKsvList
libSceAvSetting sceAvControlGetNativeHdmiMonitorInfo
libSceAvSetting sceAvControlGetPuTypeByMonitorInfo
libSceAvSetting sceAvControlGetRawEdid
libSceAvSetting sceAvControlGetRawMonitorInfo
libSceAvSetting sceAvControlIsVideoOutModeSupportedByMonitorInfoWithOptions
libSceAvSetting sceAvControlNotifyUmdEvent
libSceAvSetting sceAvControlRemoveCallbacks
libSceAvSetting sceAvControlRemoveProcessOutputMode
libSceAvSetting sceAvControlSetCheckoutputMode
libSceAvSetting sceAvControlSetColorMode
libSceAvSetting sceAvControlSetDitherModeForDiag
libSceAvSetting sceAvControlSetLayoutModeForDiag
libSceAvSetting sceAvControlSetMonitorFakeMode
libSceAvSetting sceAvControlSetSystemVideoMode
libSceAvSetting sceAvControlUpdateDriverStatus
libSceAvSetting sceAvControlWaitCallback
libSceHidControl sceHidControlConnectPswDeviceForNearby
libSceHidControl sceHidControlEnableMicBeamForming
libSceHidControl sceHidControlGetPswAllEqBandValues
libSceHidControl sceHidControlGetPswBatteryState
libSceHidControl sceHidControlGetPswCommand
libSceHidControl sceHidControlGetPswDeviceIdFromIdxAdd
libSceHidControl sceHidControlGetPswDeviceInfo
libSceHidControl sceHidControlGetPswDeviceName
libSceHidControl sceHidControlGetPswDeviceNameForNearby
libSceHidControl sceHidControlGetPswEqBandValues
libSceHidControl sceHidControlGetPswEqPresetName
libSceHidControl sceHidControlGetPswEqPresetSelection
libSceHidControl sceHidControlGetPswNetworkLocale
libSceHidControl sceHidControlGetPswSidetoneLevel
libSceHidControl sceHidControlGetPswState
libSceHidControl sceHidControlIsForceUpdateNeeded
libSceHidControl sceHidControlPswUpdateGetDeviceFirmwareUpdateTelemetryData
libSceHidControl sceHidControlPswUpdateGetReconnectStatus
libSceHidControl sceHidControlPswUpdateGetStatus
libSceHidControl sceHidControlPswUpdateIsReady
libSceHidControl sceHidControlPswUpdateIsUpdateNeeded
libSceHidControl sceHidControlPswUpdateIsUpdateNeededForMultiDevice
libSceHidControl sceHidControlPswUpdateSendAppendixData
libSceHidControl sceHidControlPswUpdateSendData
libSceHidControl sceHidControlPswUpdateStart
libSceHidControl sceHidControlSetAllVibrationMute
libSceHidControl sceHidControlSetCollaboInputSettingOverrideProcess
libSceHidControl sceHidControlSetForceAdvancedVibrationMode
libSceHidControl sceHidControlSetPswCommand
libSceHidControl sceHidControlSetPswConsoleMute
libSceHidControl sceHidControlSetPswDeviceName
libSceHidControl sceHidControlSetPswEqBandValues
libSceHidControl sceHidControlSetPswEqPresetName
libSceHidControl sceHidControlSetPswEqPresetSelection
libSceHidControl sceHidControlSetPswNetworkLocale
libSceHidControl sceHidControlSetPswResetSettings
libSceHidControl sceHidControlSetPswSidetoneLevel
libSceHidControl sceHidControlSetPswSpeakerVolume
libSceHidControl sceHidControlSetRemoteMergeProcess
libSceHidControl sceHidControlSetVibrationTriggerEffectWeakForce
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6288623220 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8332#issuecomment-6288623220). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-20T10:14:17Z. --- <!-- progress-report --> ### Progress report (949e95d → f3497e1) 📉 **System libraries**: 64.6% (-0.63%, +64 declared functions) <details> <summary>🆕 64 declared as stubs</summary> | Library | Name | | - | - | | libSceAvSetting | `sceAvControlAddCallbacksForLnc` | | libSceAvSetting | `sceAvControlAddCallbacksForResourceArbitrator` | | libSceAvSetting | `sceAvControlCheckCallback` | | libSceAvSetting | `sceAvControlCheckMonitorInfoCapability` | | libSceAvSetting | `sceAvControlCheckVideoOutMode` | | libSceAvSetting | `sceAvControlDebugAddCallbacks` | | libSceAvSetting | `sceAvControlGetCurrentOutputSysMode` | | libSceAvSetting | `sceAvControlGetKsvList` | | libSceAvSetting | `sceAvControlGetNativeHdmiMonitorInfo` | | libSceAvSetting | `sceAvControlGetPuTypeByMonitorInfo` | | libSceAvSetting | `sceAvControlGetRawEdid` | | libSceAvSetting | `sceAvControlGetRawMonitorInfo` | | libSceAvSetting | `sceAvControlIsVideoOutModeSupportedByMonitorInfoWithOptions` | | libSceAvSetting | `sceAvControlNotifyUmdEvent` | | libSceAvSetting | `sceAvControlRemoveCallbacks` | | libSceAvSetting | `sceAvControlRemoveProcessOutputMode` | | libSceAvSetting | `sceAvControlSetCheckoutputMode` | | libSceAvSetting | `sceAvControlSetColorMode` | | libSceAvSetting | `sceAvControlSetDitherModeForDiag` | | libSceAvSetting | `sceAvControlSetLayoutModeForDiag` | | libSceAvSetting | `sceAvControlSetMonitorFakeMode` | | libSceAvSetting | `sceAvControlSetSystemVideoMode` | | libSceAvSetting | `sceAvControlUpdateDriverStatus` | | libSceAvSetting | `sceAvControlWaitCallback` | | libSceHidControl | `sceHidControlConnectPswDeviceForNearby` | | libSceHidControl | `sceHidControlEnableMicBeamForming` | | libSceHidControl | `sceHidControlGetPswAllEqBandValues` | | libSceHidControl | `sceHidControlGetPswBatteryState` | | libSceHidControl | `sceHidControlGetPswCommand` | | libSceHidControl | `sceHidControlGetPswDeviceIdFromIdxAdd` | | libSceHidControl | `sceHidControlGetPswDeviceInfo` | | libSceHidControl | `sceHidControlGetPswDeviceName` | | libSceHidControl | `sceHidControlGetPswDeviceNameForNearby` | | libSceHidControl | `sceHidControlGetPswEqBandValues` | | libSceHidControl | `sceHidControlGetPswEqPresetName` | | libSceHidControl | `sceHidControlGetPswEqPresetSelection` | | libSceHidControl | `sceHidControlGetPswNetworkLocale` | | libSceHidControl | `sceHidControlGetPswSidetoneLevel` | | libSceHidControl | `sceHidControlGetPswState` | | libSceHidControl | `sceHidControlIsForceUpdateNeeded` | | libSceHidControl | `sceHidControlPswUpdateGetDeviceFirmwareUpdateTelemetryData` | | libSceHidControl | `sceHidControlPswUpdateGetReconnectStatus` | | libSceHidControl | `sceHidControlPswUpdateGetStatus` | | libSceHidControl | `sceHidControlPswUpdateIsReady` | | libSceHidControl | `sceHidControlPswUpdateIsUpdateNeeded` | | libSceHidControl | `sceHidControlPswUpdateIsUpdateNeededForMultiDevice` | | libSceHidControl | `sceHidControlPswUpdateSendAppendixData` | | libSceHidControl | `sceHidControlPswUpdateSendData` | | libSceHidControl | `sceHidControlPswUpdateStart` | | libSceHidControl | `sceHidControlSetAllVibrationMute` | | libSceHidControl | `sceHidControlSetCollaboInputSettingOverrideProcess` | | libSceHidControl | `sceHidControlSetForceAdvancedVibrationMode` | | libSceHidControl | `sceHidControlSetPswCommand` | | libSceHidControl | `sceHidControlSetPswConsoleMute` | | libSceHidControl | `sceHidControlSetPswDeviceName` | | libSceHidControl | `sceHidControlSetPswEqBandValues` | | libSceHidControl | `sceHidControlSetPswEqPresetName` | | libSceHidControl | `sceHidControlSetPswEqPresetSelection` | | libSceHidControl | `sceHidControlSetPswNetworkLocale` | | libSceHidControl | `sceHidControlSetPswResetSettings` | | libSceHidControl | `sceHidControlSetPswSidetoneLevel` | | libSceHidControl | `sceHidControlSetPswSpeakerVolume` | | libSceHidControl | `sceHidControlSetRemoteMergeProcess` | | libSceHidControl | `sceHidControlSetVibrationTriggerEffectWeakForce` | </details>
adriadam10 commented 2026-10-21 12:19:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-21T12:19:27Z.


Checked the 64 names (unique, resolve to their NIDs with tools/nid_names.py), that every export throws NotImplemented_nid_no_patch, that the debt files list each one under Unknown function info, and that no other open PR touches these libraries (#7907 dropped them); merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6315732883 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8332#issuecomment-6315732883). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-21T12:19:27Z. --- Checked the 64 names (unique, resolve to their NIDs with `tools/nid_names.py`), that every export throws `NotImplemented_nid_no_patch`, that the debt files list each one under Unknown function info, and that no other open PR touches these libraries (#7907 dropped them); merged.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!8332
No description provided.