Hi
Does anyone know that how to send the vendor SCSI command to the USB Mass Storage device with DriverKit?
The DriverKit and the USBDriverKit has several classes to write the DEXT, but I couldn't find the classes or methods to send the SCSI command to the device.
In the kernel extension, we can send the vendor SCSI command to the USB Mass Storage device by creating the sub class of the IOSCSIPeripheralDeviceType00 and use SendCommand() method. The example of this code is available at:
https://developer.apple.com/library/archive/qa/qa1179/_index.html#//apple_ref/doc/uid/DTS10001708
But the KEXT will be not loaded in the future system.
Thanks.