Interface for SCSI transactions ?

"Thomas Schmitt" <[email protected]>
Newsgroups gmane.os.hurd.general
Message-ID <[email protected]>
Hi,

i would like to explore the possibilities to let GNU xorriso burn
CD, DVD or BD media on GNU/Hurd.

xorriso uses libburn which directly performs SCSI transactions
with optical drives.
Currently it supports the generic SCSI interfaces of
GNU/Linux (SG_IO), FreeBSD (CAM) and Solaris (uscsi).

xorriso and its libraries already get compiled for hurd-386 on
Debian buildd.
But they use a dummy SCSI adapter and can only operate on files,
not on MMC drives. The porting task would be to derive a Hurd system
adapter from the ones for Linux, FreeBSD, Solaris or libcdio.
(http://libburnia-project.org/browser/libburn/trunk/libburn/sg-*.c
 http://libburnia-project.org/browser/libburn/trunk/libburn/os-*.h)

The SCSI gestures of CD/DVD/BD burning are described in
  http://libburnia-project.org/browser/libburn/trunk/doc/cookbook.txt 


Before trying to add Debian hurd-i386 to the systems on my amd64
test machine, i would like to check out whether there is documentation
or an interested tutor for the tasks of listing all MMC drives, getting
(exclusive) access to a drive, sending SCSI commands, getting reply
data and error indications.

Luxury would of course be a remote account on a machine where i am
allowed to cautiously grope a DVD drive. It would not have to be
a burner. The job is done as soon as i get the drive listed and can
inquire its manufacturer information.


Have a nice day :)

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.