feat(libSceUsbd): implement the device, descriptor and transfer exports #2493
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2493"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by tarfouss3 on 2026-10-09T23:11:45Z.
What
Implements 23 exports that called NotImplemented: sceUsbdAllocTransfer, sceUsbdFreeTransfer, sceUsbdFillInterruptTransfer, sceUsbdSubmitTransfer, sceUsbdCancelTransfer, sceUsbdEventHandlingOk, sceUsbdClose, sceUsbdRefDevice, sceUsbdUnrefDevice, sceUsbdGetBusNumber, sceUsbdGetDeviceAddress, sceUsbdGetDeviceDescriptor, sceUsbdGetConfigDescriptor, sceUsbdFreeConfigDescriptor, sceUsbdClaimInterface, sceUsbdReleaseInterface, sceUsbdSetConfiguration, sceUsbdResetDevice, sceUsbdCheckConnected, sceUsbdKernelDriverActive, sceUsbdAttachKernelDriver, sceUsbdControlTransfer, sceUsbdGetStringDescriptor.
Signatures and behaviour follow the public reimplementations freebsd/freebsd-src; none is confirmed on a title, and the provenance of each function is recorded in docs/dev/TechnicalDebt.md. Inputs whose console behaviour is not established throw.
Left as stubs, as no reference establishes their signature or behaviour: sceUsbdOpen, sceUsbdGetActiveConfigDescriptor.
Tested
Linux x86-64 (Ubuntu 24.04, GCC 13.3, Release,
BUILD_TESTING=ON), this branch alone on top ofmain(5bc7886a): full build andlibs, then the wholectestsuite with Vulkan on lavapipe: 520 of 522 passed. The two failures are environmental and also fail without this change:agc_driver_vopc_compare(lavapipe result) andguest_sce_net(the test machine has no IPv6, so the existingCheckUnspecifiedIpv6aborts). Tests added or extended for this change:guest_usbd.tools/check_conventions.pypasses. Not tested with a title.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T23:18:55Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T23:41:07Z.
Progress report (
58706dc→a73c713)📈 System libraries: 86.42% (+0.74%, +23 implemented functions)
✅ 23 implemented
sceUsbdAllocTransfersceUsbdAttachKernelDriversceUsbdCancelTransfersceUsbdCheckConnectedsceUsbdClaimInterfacesceUsbdClosesceUsbdControlTransfersceUsbdEventHandlingOksceUsbdFillInterruptTransfersceUsbdFreeConfigDescriptorsceUsbdFreeTransfersceUsbdGetBusNumbersceUsbdGetConfigDescriptorsceUsbdGetDeviceAddresssceUsbdGetDeviceDescriptorsceUsbdGetStringDescriptorsceUsbdKernelDriverActivesceUsbdRefDevicesceUsbdReleaseInterfacesceUsbdResetDevicesceUsbdSetConfigurationsceUsbdSubmitTransfersceUsbdUnrefDevicePull request closed