Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PBM: K3B uses /dev/sg0 instead of /dev/sr0 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Thu Jun 01, 2006 2:51 pm    Post subject: PBM: K3B uses /dev/sg0 instead of /dev/sr0 [SOLVED] Reply with quote

Hi.

I have a Dell Inspiron 9400 laptop with a SATA hard disk and an IDE CD/DVD writer. I've recently switched to KDE (3.4) but I'm still using Gnome (2.12).

When I want to burn a CD from Gnome, I "Go the CD/DVD Burner" in Nautilus, copy my files there and launch the burning process. There is no error.

When I use K3B, version 0.12.14 (as a user and I didn't SUID cdrecord since it's not necessary) , I get an "Access denied" error because K3B wants to use /dev/sg0, which is the controller for my SATA hard disk 8O .

Code:
$ dmesg | egrep 's[rg][01]'
[17179573.760000] sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
[17179573.760000] sr 1:0:0:0: Attached scsi CD-ROM sr0
[17179573.760000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[17179573.760000] sr 1:0:0:0: Attached scsi generic sg1 type 5

$ ls -ld /dev/cdr*
lrwxrwxrwx 1 root root 3 Jun  1 11:57 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Jun  1 11:57 /dev/cdrw -> sr0

$ ls -ld /dev/s[rg]?
crw-rw---- 1 root root  21, 0 Jun  1 11:57 /dev/sg0
crw-rw---- 1 root cdrom 21, 1 Jun  1 11:57 /dev/sg1
brw-rw---- 1 root cdrom 11, 0 Jun  1 11:57 /dev/sr0

I'm quite happy with that as it reflects exactly what I have on my system. Is there any chance I can have K3B understand it must use /dev/sr0 instead of /dev/sg0 for writing?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!


Last edited by VinzC on Wed Sep 06, 2006 7:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Mon Jul 17, 2006 8:37 am    Post subject: Reply with quote

Don't know what I've done exactly but it looks like cdrtools were upgraded recently (although no major update of KDE occurred). Since then I don't have problems anymore burning DVDs with KDE. I haven't burnt any CDROM yet but I don't expect any trouble either.

I have now cdrtools-2.01.01_alpha10 and udev-079-r2.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Tue Sep 05, 2006 8:33 am    Post subject: Reply with quote

Still solved. But the solution doesn't reside in upgrading K3B...

In the Advanced options. You must change the default burning group (you might have to check the box first), which is burning by default. Change it to cdrom and that's it. Also, on my laptop, there was a reference in the device list to a burning device at /dev/sg1, which I unselected to keep only the one at /dev/sr1. Since both are the same device only one suffices.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum