Bert Schiettecatte wrote:
>
> I'm new to this list, so don't get annoyed when I post
> some dumb questions :) I've read the HOWTO already.
That HOWTO will most likely be replaced shortly.
If you are using a recent version of linux (2.2.6 or later)
you can look at linux/Documentation/scsi-generic.txt in
your kernel source tree. You can find the same documentation,
test and utility programs plus other info at:
http://www.torque.net/sg
> I'm a bit confused by all the different libraries/information
> on scsi provided with Linux. I use RedHat 5.2 at home, with
> an Adaptec 2940 PCI adapter, but I can't get the example
> from the HOWTO working.
Yes that code is broken. Working examples of the inquiry and
"media present" programs in that HOWTO can be found at the
above site.
> The sg-interface is installed (it shows up when I use 'lsmod') and
> works since cdda2wav works.
>
> If I want to program an application in C which communicates with a
> processor device over the SCSI bus, what should I use and how should I do
> it?
That sounds interesting. There are about 7000 lines of C code
in the above examples but none of it has every been tried
on a processor device (by me at least).
> I took a peek at the cdda2wav source code, but that uses a library called
> lib_schily.a or something. I didn't find any email on the author and no
> information on how to use it.
For my opinion on that library, contact me directly :-)
> Can anyone please help me?
Doug Gilbert
sg maintainer
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]