Post

Replies

Boosts

Views

Activity

Handling incoming USB control requests when an Apple silicon Mac acts as a USB peripheral
Is there a supported API or requestable entitlement that allows a macOS app or DriverKit extension to receive and respond to device-recipient vendor requests on endpoint zero while the Mac is acting as a USB peripheral? I tested this on a MacBook Air (Mac14,15) running macOS 27.2.1 (build 26B131). On two separate connections, an external USB host assigned the Mac address 1 and selected configuration 1. Immediately afterward, the Mac kernel logged stallSetupRequest: 40 51 0000 0000 0000. I found documentation for sending control requests when the Mac acts as a host. Is there a corresponding API for handling incoming requests on the built-in USB-C port in peripheral mode?
0
0
28
2d
Handling incoming USB control requests when an Apple silicon Mac acts as a USB peripheral
Is there a supported API or requestable entitlement that allows a macOS app or DriverKit extension to receive and respond to device-recipient vendor requests on endpoint zero while the Mac is acting as a USB peripheral? I tested this on a MacBook Air (Mac14,15) running macOS 27.2.1 (build 26B131). On two separate connections, an external USB host assigned the Mac address 1 and selected configuration 1. Immediately afterward, the Mac kernel logged stallSetupRequest: 40 51 0000 0000 0000. I found documentation for sending control requests when the Mac acts as a host. Is there a corresponding API for handling incoming requests on the built-in USB-C port in peripheral mode?
Replies
0
Boosts
0
Views
28
Activity
2d