LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2003, 09:52 AM   #1
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
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.
 
Old 09-22-2003, 11:03 AM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
At a console type:

cdrecord -scanbus

Post the output.
 
Old 09-22-2003, 12:22 PM   #3
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
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) *
 
Old 09-22-2003, 12:23 PM   #4
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
Also check the permissions of /dev/scd0.
 
Old 09-22-2003, 12:51 PM   #5
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
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?
 
Old 09-23-2003, 10:10 AM   #6
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
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>.
 
Old 09-23-2003, 10:11 AM   #7
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
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.
 
Old 09-23-2003, 10:28 AM   #8
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
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?
 
Old 09-23-2003, 10:29 AM   #9
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
I made a mistake, in the first line in the above post, the file is /dev/sg0 not /dev/sgo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
thread switch results in kernel stack switch superstition Linux - General 1 05-18-2005 12:48 AM
Going to replace hard drive - should I switch distro too? FiveFlat Linux - General 17 05-05-2005 02:55 PM
set up DSL thru SWITCH - winXp connected to SWITCH too husz Linux - Newbie 5 04-22-2004 01:08 AM
Hard drive switch -- What to do? shirtboy Linux - Hardware 2 01-31-2004 10:40 PM
Being able to switch between floppy drive and cdrom drive. apathas Linux - Laptop and Netbook 6 11-09-2003 12:38 PM


All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration