LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CD drive switch (https://www.linuxquestions.org/questions/linux-software-2/cd-drive-switch-95483/)

mrsolo 09-22-2003 08:52 AM

CD drive switch
 
I just updated my kernel and now my cd-r/rw drive seems to be a little messed up. The device points to /dev/scd0 but when I go into a burning software, there is a mistake when it tries to open the drive. I can mount cd-roms from the drive and do system updates from it after i fixed my fstab but I have no luck burning things.

superbondbond 09-22-2003 10:03 AM

At a console type:

cdrecord -scanbus

Post the output.

mrsolo 09-22-2003 11:22 AM

Here's the output. By the way, the drive is an IDE drive, it's just using ecsi emulation but you probably already know that.

Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'TEAC ' 'DW-224E ' 'F.0A' 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) *

koyi 09-22-2003 11:23 AM

Also check the permissions of /dev/scd0.

mrsolo 09-22-2003 11:51 AM

Well, i just tried eroaster and it works beautifully. I was trying to use arson and I think it's a driver issue but I cn fix that myself later. However, I can only burn a cd with eroaster if I'm root only. When a user tries to burn, eroaster says make sure I have permission to read /dev/sg*. Everyone on my machine seems to have read capabilities on the symlink but no one has write. When I try to change the write permissions, it doesn't work, even with the root changing the permissions. Any ideas on getting eroaster to work with a normal user?

koyi 09-23-2003 09:10 AM

Don't just change the permission of the symlink but also where it points to. You can see where it points to by the command "ls -l". From your last posting I think it is something like /dev/sg<a number>.

koyi 09-23-2003 09:11 AM

Don't just change the permission of the symlink but also where it points to. You can see where it points to by the command "ls -l". From your last posting I think it is something like /dev/sg<a number>.

PS: Sorry but the browser appeared not responding so I posted the exactly same post again. :D

mrsolo 09-23-2003 09:28 AM

Here's the info on /dev/sgo:

lr-xr-xr-x 1 root root 36 Sep 23 09:28 sg0 -> scsi/host0/bus0/target0/lun0/generic

Here's /dev/scd0:

lr-xr-xr-x 1 root root 31 Sep 23 09:24 scd0 -> scsi/host0/bus0/target0/lun0/cd

Here's their respective files:

brw-rw---- 1 mrsolo cdrom 11, 0 Dec 31 1969 cd
crw-rw---- 1 mrsolo cdwriter 21, 0 Dec 31 1969 generic

Now, when I go into emelfm as root and try to change the permissions on /devscd0 or /dev/sg0, the permissions never change, they go right back to where they were before. I can change the actual devices though but it never did anything to make eroaster detect the cd-burner as a normal user. ANy more suggestions?

mrsolo 09-23-2003 09:29 AM

I made a mistake, in the first line in the above post, the file is /dev/sg0 not /dev/sgo


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