Tao Wang <[email protected]> wrote: > Hi, > > I'm looking for a cross-platform SCSI communication solution for an open > source project, which communicate with Pentax camera via USB (Mass Storage) > SCSI Pass-through Interface, using 'F0' vendor specific SCSI commands. > Someone referenced me to 'libscg', which included in 'cdrtools' project.
libscg is the oldest SCSI generic implementation (it turns 30 this summer) and it was initially created to send vendor unique commands. libscg allows to send any command on any target platform as long as the OS in question does not prevent this. > May I ask, what is the current state of 'libscg'? Can I use it for sending > vendor specific SCSI command cross-platform? Does it support current Linux > kernel 4.x? OS X 10.11? and Windows 10? Where should I start if I want to > use libscg in the project? Thanks. There recently have been reports about some USB-SCSI related kernel bugs in Linux (in special when you are using USB-3), but otherwise it is known to work. If you have specific problems on Linux, you need to ask the kernel people for help. Regarding OS X, the SCSI subsystem from Apple is a bit ideosyncratic and the clean interface from early development versions (thatwas taken from Next Step) has unfortunately been replaced by something that does not work in a universal way. In other words: OS X does not implement device type independent SCSI kernel structures. You will need to find out whether there is a similar interface for your device type as it exists for CD-ROM type devices, where the names are: IOCompactDiscServices/0 or IODVDServices/0 or IOBDServices/0 (replace /0 by any valid instance number). I recommend to check the Apple device tree for matches... Let me explain the problem here: Even though a CD-ROM drive is if course also using the USB<->SCSI mass storage interface, it may be that the OS X kernel will not give you access to your device. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/' ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Cdrtools-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cdrtools-support
