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?