Re: [linux-minidisc] scsi test tool using cdrtools/libscg
Hi Thomas,
On Fri, May 28, 2010 at 07:59:23AM +0200, Thomas Arp wrote:
> Hello,
> as we successfully formatted himd media with libscg from
> cdrtools package i have writen a small tool to test
> other scsi commands.
This looks very good. Actually, I wanted to write exactly such a
program to test all that SCSI stuff. You always seem to be anticipate
my ideas ;). I will check your code and commit it to the repository
into the basictools folder.
> To built it you have to build and install cdrtools
> from the source first and then link to libschily
> and libscg.
> The needed libs/headers will be installed in /opt/schily
> by "make install" command in cdrtools root directory.
So, building it should be analogous to building the SCG version of
himdformat, right?
> I am in contact with Joerg Schilling (author of cdrtools)
> to fix problems when building windows version of cdrtools
> on mingw/msys environment.
This sounds great. You should try to convince Joerg to integrate any
possibly necessary patches upstream into cdrecord to avoid a patch
avalanche ;).
On the other hand we still have the problem that apparently we cannot
send any SCSI commands to non-CD/DVD/BD drives on MacOS X. We will
need to patch cdrtools as well, so that it will also work with the
HiMD. When connecting a USB cdrom, the drive is detected by "cdrecord
-scanbus" so it's not an issue with the bus but rather with the drive
type.
Any ideas? Michael was already suggesting that it's a matter of
cdrecord using the SCSI driver from MacOS which provides access to the
optical drives only.
Adrian