On Fri, 6 Sep 2002, cedie boyet alben benavente alteza wrote:

> Does anybody know how to install CD-writer on a linux machine using the usb 
> port?

You need to enable support for usb, usb-storage, scsi, scsi-generic in
your kernel.  (Please read both CD-WRITING howto and USB howto).
Then you need the cdrtools package (old name "cdrecord").

Then, hopefully, the following incantations should work:

mknod /dev/sg$i c 21 $i  # for i in 0,1,2,..,20.
modprobe scsi_mod
modprobe usb-ohci / usb-uhci
modprobe usb-storage
modprobe sr_mod
modprobe sg

To prepare a data CD image, you give the following command:
mkisofs -v -R -V label -o output.iso /sourcedir
# you need -b ... and -c ... for a bootable data CD.

To burn the iso image, you give the following command:
cdrecord -v speed=2 dev=0,0,0 -eject -data output.iso
# the 0,0,0 refers to the BUS,ID,LUN reported 
# by the above modprobe's.

To burn a music CD, you need "CDex" to strip tracks from
your favorite audio CD to get MP3s, and "Audacity" (nice name)
to edit these tracks (cut/paste, amplify, etc - reminds
you of CoolEdit!).  Audacity can also write out to wav files.
Then the following command writes these wav files to your
audio CD:
cdrecord -v speed=2 dev=0,0,0 -pad -eject -audio track1.wav tack2.wav ...
If you forget the -pad option, cdrecord reminds you that
audio CDs must be written in multiples of some number like 
2537 bytes so you either use dd to pad your wav files, 
or just let cdrecord do it with the -pad option.

I have not actually tried the modprobes above, since I do not
have a USB CD burner, but I do not think much harm will be done
if you make the wrong modprobes in this case.

PMana


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to