Sending SCSI commands to USB mass storage devices by DriverKit

In order to send USB SCSI CMD (Ex: Inquiry CMD), and develop a DEXT driver. When plug-in USB device, our DEXT Driver can hook and start properly. But send Inquiry CMD with UserSendCDB. It got a errror code kIOReturnUnsupported error. DEXT Driver is inhert from IOUserSCSIPeripheralDeviceType00. The entitlement data of DEXT driver have "DriverKit" & "App Sandbox" only. Has anyone had experience encountering this error kIOReturnUnsupported ?

Facing the same issue where kIOReturnNotSupported is returned as the error definition when trying to send either common or arbitrary SCSI commands to the device using UserSendCDB. Did you have any luck in making this work?

Sending SCSI commands to USB mass storage devices by DriverKit
 
 
Q