DriverKit entitlement for USB transport - support all vendor id's

Hey,

We are developing a dext that would like to match with all USB devices, no matter the vendor. We use VendorID = * in the plist of the Dext to help achieve this when running it locally without entitlements.

I know that the transport.usb entitlement requires a list of Vendor id's, but is it possible to receive an entitlement which is suitable for all VID's?

Kind of like this:

	<key>com.apple.developer.driverkit.transport.usb</key>
	<array>
		<dict>
			<key>idVendor</key>
			<string>*</string>
		</dict>
	</array>

Thanks

Answered by DTS Engineer in 904688022

We are developing a dext that would like to match with all USB devices, no matter the vendor. We use VendorID = * in the plist of the Dext to help achieve this when running it locally without entitlements.

Why? What are you actually trying to do?

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Same question here, I want to develop a class driver that needs to matcxh devices no matter their vendor.

We are developing a dext that would like to match with all USB devices, no matter the vendor. We use VendorID = * in the plist of the Dext to help achieve this when running it locally without entitlements.

Why? What are you actually trying to do?

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Written by DTS Engineer in 904688022

Why? What are you actually trying to do?

In my case, I am developing a class driver intended to match all devices belonging to a specific USB class, regardless of the manufacturer.

The USB class is already specified in the driver's Info.plist under IOKitPersonalities. Ideally, it should be possible to specify the USB class in the entitlements as an alternative to specifying individual vendor IDs. I also filed FB24687075 regarding this.