I need help!In my application, I wanna to send the standard SCSI Command:(such as:12h Inquiry, 00h Test Unit Ready ...) to the USB Mass Storage, I have read and study the sample codes in the folder /Developer/Examples/IOKit/,
BUT what interface can use for USB? When I read the USBNotificationTool sample. I found that, the third parameter for method 'QueryInterface' is: IOUSBDeviceInterface, so I learn it from the Documentation of XCode, this IOUSBDeviceInterface didnot support GetSCSITaskDeviceInterface(), so I cannot get the SCSITaskDeviceInterface, I cannot use the SCSITaskInterface to send SCSI command to Device.
> Please see Technical Q&A QA1179 "Sending SCSI or ATA commands to storage devices"
> <http://developer.apple.com/mac/library/qa/qa2001/qa1179.html>.
Also, maybe this will help:
http://tinyco.de/2009/02/04/writing-a-mac-osx-usb-device-driver-with-scsi-pass-through.html
I wrote the driver a while ago but it does show how to send SCSI commands to USB storage devices.
---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Ata-scsi-dev mailing list (Ata-sc...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/ata-scsi-dev/ata-scsi-dev-garchive-72467%40googlegroups.com
This email sent to ata-scsi-dev-...@googlegroups.com
Best Regards.
--moon