To directly record an audio CD (or a data CD) from the SCSI device then burn it on the same device using cdrdao, add the following to /home/kayon/.cdrdao (replace the 0,1,0 with your SCSI device address as identified by cdrecord -scanbus, and the driver with the appropriate one for your CD writer):
write_device: "0,1,0" write_driver: "generic-mmc"
$ cdrdao copy
You'll be asked to insert a new CD-R once the reading is complete and it is ready to write.
The use of the .cdrdao file is simply to avoid having to specify the command line options of cdrdao which require -device and -driver.
$ cdrdao copy
To do a copy step-by-step, specifying the device and driver explicitly and using cdrdao you can do the following:
$ cdrdao read-cd --device 0,1,0 --driver generic-mmc audiocd.toc $ cdrdao read-cddb --device 0,1,0 --driver generic-mmc audiocd.toc $ cdrdao write --device 0,1,0 --driver generic-mmc audiocd.toc
The read-cddb will look up the CDDB web database to find track information for the audio CD and generates a suitable table of contents that will be written to the CD-R if the CD writer supports CD-TEXT.
To just create a table of contents for an audio disk:
$ cdrdao read-toc --device 0,1,0 --driver generic-mmc audiocd.toc
To add CD-TEXT to the TOC from CDDB (not supported on many CD writers, including the LG)
$ cdrdao read-cddb --device 0,1,0 --driver generic-mmc audiocd.toc
The cd image is assumed to be in data.wav. Read the image (this command from gcdmaster):
$ cdrdao read-cd --remote -v0 --read-raw --device 0,1,0 --driver generic-mmc --paranoia-mode 3 --datafile audiocd.bin audiocd.toc