Note: SCSI pass-through mode on MacOS X

official documents – “Technical Q&A QA1179-Sending SCSI or ATA commands to storage devices" says the below
“Mac OS X by design does not support sending SCSI or ATA commands from an application to most storage devices unless the developer provides a custom kernel driver for the device."

write a device driver first if need send vendor command on MacOS X