Post

Replies

Boosts

Views

Activity

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 ?
1
2
1.1k
Jan ’23
Sending SCSI commands to USB mass storage device
Our device is USB Mass stroage device. We want to send a specific SCSI command to a USB drive in Mac OS X. Have any demo app that uses IOUserSCSIPeripheralDeviceType00 in SCSIPeripheralsDriverKit? We want to use below SCSI command, but have no demo program. https://developer.apple.com/documentation/scsiperipheralsdriverkit/3946437-inquiry https://developer.apple.com/documentation/scsiperipheralsdriverkit/iouserscsiperipheraldevicetype00/3946461-usersendcdb
0
2
782
Nov ’22