LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cdrecord -scanbus is returning the wrong drive (https://www.linuxquestions.org/questions/linux-newbie-8/cdrecord-scanbus-is-returning-the-wrong-drive-186926/)

rdluce 05-28-2004 09:09 AM

cdrecord -scanbus is returning the wrong drive
 
help

I'm new to Linux - but over the last few weeks have attempted to install about a half dozen distros. My latest try is with Fedora Core 2. I've been very successful and I have only one device that is not working. I have tried to find an answer on the Intermet with no luck.

Problem.
When I run "cdrecord -scanbus" as root I get the wrong drive. I see the IDE CDROM drive on hdc - but not the USB CDRW drive on scd0.

What do I do to drop the CDROM and substitute the CDRW.

Info: CDRW is a micro-solutions backpack cdrewriter and I have installed the driver. It does show up in k3b and I can start a burn - but cannot complete one. I get an error message that states that cdrecord does not have the right permission for the burner. I'm attributing this to the wrong drive on the scsi bus.

again - help

idaho 05-28-2004 03:07 PM

The "permissions" error you report doesn't seem to be indicate that you are mischoosing the hardware.

A quick test to see if you are on the right track would be to try a burn as root. If you are successful as root, you need to make sure your dev file has appropriate rw permissions. If burning as root fails then you are probably on the right track after all.

rdluce 05-28-2004 06:59 PM

no burn as root

still stuck - don't know how to get the bus to drop the ide drive and capture the usb drive

one other thing that I found that was odd

both the CD drive and the CD writer show up as hdc even though hwconfig shows the writer as scd0

any ideas...:confused:

idaho 05-28-2004 07:55 PM

Not running fedora2, so can't give you explicit help.

I just stuck a USB memory stick on a RH7.3 box and took a look /proc/scsi/scsi, where I found the memory stick listed as SCSI0. I was able to mount the memory stick as /dev/sda1.

I have a RHEWS 3.0 box with a couple of SATA drives. The scsi emulation of the IDE CD burner and the scsi emulation of the SATA drives results in the CD burner showing up as the third scsi instance (SCSI2) in /proc/scsi/scsi. When I burn a CD I invoke:

cdrecord dev=2,0,0 <-data or -isosize and my stuff to burn>

Take a look a what /proc/scsi/scsi tells you when your burner is connected, and you should be able to figure out what "dev=" argument to pass cdrecord.


All times are GMT -5. The time now is 04:39 AM.