When I run 'cdrecord -scanbus dev=ATA', I get a proper listing of the available drives, but there seems to be no way to add this information to /etc/default/cdrecord! I've tried setting the CDR_DEVICE variable to the following: ATA, ATA:1,1,0 (the correct bus/target/lun of the cdrw), /dev/hdd, ATAPI, ATAPI:1,1,0, but when I run 'cdrecord -scanbus' (i.e., without the dev= option), it always fails to find the drive. Reproducible: Always Steps to Reproduce: 1. run 'cdrecord -scanbus dev=ATA:1,1,0' (this is the correct address in my case) 2. set either CDR_DEVICE in the environment or in /etc/default/cdrecord to 'CDR_DEVICE=ATA:1,1,0' 3. run 'cdrecord -scanbus' Actual Results: Failed to find the drive. Expected Results: Properly identify the drive where I told it to look so that I don't have to repeatedly enter it on the command line. The CDRW is on /dev/hdd; kernel 2.6.7-gentoo patches (emerge gentoo-dev-sources.)
The problem has vanished. This is what happened: 1. I rebooted. 2. Rescanned with 'cdrecord -scanbus dev=ATAPI' 2a. dev=ATA found nothing 3. Edited /etc/default/cdrecord to set 'CDR_DEVICE=IDE-CD' 3a. And added the string 'IDE-CD= ATAPI:0,1,0 -1 -1 "" ' at the end I have no clue why this didn't work before; I think it may be necessary to add a full entry for the device, instead of just saying 'CDR_DEVICE=ATAPI:0,1,0'.