[vox-tech] IDE cdrw/dvdrw
Ken Bloom
vox-tech@lists.lugod.org
Thu, 1 Apr 2004 08:13:35 -0800
--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Apr 01, 2004 at 05:20:22AM -0800, Peter Jay Salzman wrote:
> hi all,
>=20
> i bought a memorex EIDE cdrw / dvdrw. the box didn't say ATAPI, neither
> did the manual, but looking at dmesg, this drive registered with the
> kerel as ATAPI.
>=20
> i've never played around with IDE-SCSI CD writers before. all my
> experience is with pure good ol' SCSI.
>=20
> looking through the kernel config, i found a driver called ide-cd which
> looks like what i want (can someone confirm this?).
>=20
> i made the ide-cd module and insmoded it.
>=20
> according to the cdrecord man page, i need to specify the SCSI device
> name with the transport layer. the SCSI transport layer is default, so
> instead of what i'm used to:
>=20
> cdrecord -audio -v dev=3D0,5,0 *.wav
>=20
> i now need to specify a transport layer:
>=20
> cdrecord -audio -v dev=3DATAPI:0,5,0 *.wav
>=20
>=20
>=20
> this means i need to get a SCSI device number for my new ATAPI drive. i
> did:
>=20
> cdrecord -scanbus
>=20
> and saw all my SCSI devices, but not the ATAPI CDRW / DVDRW.
>=20
>=20
> any suggestions?
>=20
> for those of you with ATAPI CDRW's or DVDRW's: can you please run
> "cdrecord -scanbus" and tell me if you see your device in the output?
>=20
> thanks!
> pete
[bloom@kabloom ~]% cdrecord -scanbus dev=3DATAPI:
Cdrecord-Clone 2.01a26 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J=C3=B6S=
chilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrec=
ord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.de=
bian.org>.
The original author should not be bothered with problems of this vers=
ion.
scsidev: 'ATAPI:'
devname: 'ATAPI'
scsibus: -1 target: -1 lun: -1
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'LG ' 'CD-RW CED-8080B ' '1.07' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
[bloom@kabloom ~]% cdrecord -scanbus
Cdrecord-Clone 2.01a26 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J=C3=B6S=
chilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrec=
ord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.de=
bian.org>.
The original author should not be bothered with problems of this vers=
ion.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SC=
SI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are r=
oot.
cdrecord: For possible transport specifiers try 'cdrecord dev=3Dhelp'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
(I've been playing around with udev, which should explain the lack of
/dev/pg*)
One cool thing is that you can now just specify the device file for
the cd drive, instead of having to scanbus and choose something like
0,5,0.
Consider the following lines from my ~/bin/backup as an example:
mkisofs -r -J -l -o ${TMPDIR}/backup.iso -C \
`cdrecord -msinfo dev=3D/dev/cdroms/cdrom0` \
-M /dev/cdroms/cdrom0 $BACKUP_FILE $BACKUP_ETC
cdrecord -v -multi speed=3D8 dev=3D/dev/cdroms/cdrom0 -data ${TMPDIR}/backu=
p.iso
(Once again, udev with the devfs naming scheme should explain the
device file names, you can just use /dev/hdc - assuming that's where
your device file is)
> --=20
> Make everything as simple as possible, but no simpler. -- Albert Einstein
> GPG Instructions: http://www.dirac.org/linux/gpg
> GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
--=20
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
My key was last signed 10/14/2003. If you use GPG *please* see me about=20
signing the key. ***** My computer can't give you viruses by email. ***
--x+6KMIRAuhnl3hBn
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAbD+ulHapveKyytERApM7AJ9Hu6PPvC5H8LBa3Y7dnyzzwyhkBQCfQ/Zd
VAaDTHMkvOc0teSIeooxx8w=
=eDV7
-----END PGP SIGNATURE-----
--x+6KMIRAuhnl3hBn--