View previous topic :: View next topic |
Author |
Message |
Skippy204 Guru


Joined: 09 May 2008 Posts: 360 Location: Colorado, USA
|
Posted: Mon Oct 24, 2011 3:10 pm Post subject: K3b 4.x - no optical devices found, again [solved] |
|
|
Howdy. I looked about but haven't found anything to help me yet.
Where I'm at:
I have K3b 3.x and 4.x
3.x finds and uses the devices.
4.x finds the devices as root, but not as user.
some relevant permissions:
Code: | Mon Oct 24 08:55
~
skippy $ ls -la /usr/bin/cdrecord
-rws--x--x 1 root root 347152 Oct 20 07:15 /usr/bin/cdrecord
Mon Oct 24 08:55
~
skippy $ ls -la /usr/bin/cdrdao
-rwxr-xr-x 1 root root 557032 Mar 25 2011 /usr/bin/cdrdao
|
The user is in the cdrom and plugdev groups.
Any suggestions on what I'm missing?
Thanks.
Last edited by Skippy204 on Thu Oct 27, 2011 8:06 pm; edited 1 time in total |
|
Back to top |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Oct 24, 2011 7:52 pm Post subject: |
|
|
Any errors printed to terminal ?
What do 'getfacl' and 'udevadm info -q all' print for the devices ? |
|
Back to top |
|
 |
Skippy204 Guru


Joined: 09 May 2008 Posts: 360 Location: Colorado, USA
|
Posted: Wed Oct 26, 2011 12:54 pm Post subject: |
|
|
Good questions.
Terminal output:
Code: |
Wed Oct 26 06:48
~
skippy $ k3b
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
Wed Oct 26 06:48
~
skippy $ K3bQProcess::QProcess(0x0)
QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal() error: "org.freedesktop.DBus.Error.Disconnected"
K3bQProcess::QProcess(0x0)
k3b(31093)/kdeui (kdelibs): Attempt to use QAction "view_projects" with KXMLGUIFactory!
k3b(31093)/kdeui (kdelibs): Attempt to use QAction "view_dir_tree" with KXMLGUIFactory!
k3b(31093)/kdeui (kdelibs): Attempt to use QAction "view_contents" with KXMLGUIFactory!
k3b(31093)/kdeui (kdelibs): Attempt to use QAction "location_bar" with KXMLGUIFactory!
QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal() error: "org.freedesktop.DBus.Error.Disconnected"
k3b(31093) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf!
QCoreApplication::postEvent: Unexpected null receiver
|
Code: |
Wed Oct 26 06:50
/home/skippy
root # getfacl /dev/sr0
getfacl: Removing leading '/' from absolute path names
# file: dev/sr0
# owner: root
# group: cdrom
user::rw-
group::rw-
other::---
Wed Oct 26 06:52
/home/skippy
root # getfacl /dev/sr1
getfacl: Removing leading '/' from absolute path names
# file: dev/sr1
# owner: root
# group: cdrom
user::rw-
group::rw-
other::---
|
Code: |
Wed Oct 26 06:53
/home/skippy
root # udevadm info -q all --name=/dev/sr0
P: /devices/pci0000:00/0000:00:1c.1/0000:05:00.1/host6/target6:0:0/6:0:0:0/block/sr0
N: sr0
S: scd0
S: disk/by-id/ata-PIONEER_DVD-RW_DVR-118L_IGQC250442WL
S: disk/by-path/pci-0000:05:00.1-scsi-0:0:0:0
S: cdrom1
S: cdrw1
S: dvd1
S: dvdrw1
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:05:00.1/host6/target6:0:0/6:0:0:0/block/sr0
E: MAJOR=11
E: MINOR=0
E: DEVNAME=/dev/sr0
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_CDROM=1
E: ID_CDROM_CD=1
E: ID_CDROM_CD_R=1
E: ID_CDROM_CD_RW=1
E: ID_CDROM_DVD=1
E: ID_CDROM_DVD_R=1
E: ID_CDROM_DVD_RW=1
E: ID_CDROM_DVD_RAM=1
E: ID_CDROM_DVD_PLUS_R=1
E: ID_CDROM_DVD_PLUS_RW=1
E: ID_CDROM_DVD_PLUS_R_DL=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: ID_ATA=1
E: ID_TYPE=cd
E: ID_BUS=ata
E: ID_MODEL=PIONEER_DVD-RW_DVR-118L
E: ID_MODEL_ENC=PIONEER\x20DVD-RW\x20\x20DVR-118L\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_REVISION=1.01
E: ID_SERIAL=PIONEER_DVD-RW_DVR-118L_IGQC250442WL
E: ID_SERIAL_SHORT=IGQC250442WL
E: ID_PATH=pci-0000:05:00.1-scsi-0:0:0:0
E: GENERATED=1
E: UDISKS_PRESENTATION_NOPOLICY=0
E: DEVLINKS=/dev/scd0 /dev/disk/by-id/ata-PIONEER_DVD-RW_DVR-118L_IGQC250442WL /dev/disk/by-path/pci-0000:05:00.1-scsi-0:0:0:0 /dev/cdrom1 /dev/cdrw1 /dev/dvd1 /dev/dvdrw1
E: TAGS=:udev-acl:
Wed Oct 26 06:53
/home/skippy
root # udevadm info -q all --name=/dev/sr1
P: /devices/pci0000:00/0000:00:1c.1/0000:05:00.1/host6/target6:0:1/6:0:1:0/block/sr1
N: sr1
S: scd1
S: disk/by-id/ata-PIONEER_DVD-RW_DVR-118L_IGQC250432WL
S: disk/by-path/pci-0000:05:00.1-scsi-0:0:1:0
S: cdrom
S: cdrw
S: dvd
S: dvdrw
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:05:00.1/host6/target6:0:1/6:0:1:0/block/sr1
E: MAJOR=11
E: MINOR=1
E: DEVNAME=/dev/sr1
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_CDROM=1
E: ID_CDROM_CD=1
E: ID_CDROM_CD_R=1
E: ID_CDROM_CD_RW=1
E: ID_CDROM_DVD=1
E: ID_CDROM_DVD_R=1
E: ID_CDROM_DVD_RW=1
E: ID_CDROM_DVD_RAM=1
E: ID_CDROM_DVD_PLUS_R=1
E: ID_CDROM_DVD_PLUS_RW=1
E: ID_CDROM_DVD_PLUS_R_DL=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: ID_ATA=1
E: ID_TYPE=cd
E: ID_BUS=ata
E: ID_MODEL=PIONEER_DVD-RW_DVR-118L
E: ID_MODEL_ENC=PIONEER\x20DVD-RW\x20\x20DVR-118L\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_REVISION=1.01
E: ID_SERIAL=PIONEER_DVD-RW_DVR-118L_IGQC250432WL
E: ID_SERIAL_SHORT=IGQC250432WL
E: ID_PATH=pci-0000:05:00.1-scsi-0:0:1:0
E: GENERATED=1
E: UDISKS_PRESENTATION_NOPOLICY=0
E: DEVLINKS=/dev/scd1 /dev/disk/by-id/ata-PIONEER_DVD-RW_DVR-118L_IGQC250432WL /dev/disk/by-path/pci-0000:05:00.1-scsi-0:0:1:0 /dev/cdrom /dev/cdrw /dev/dvd /dev/dvdrw
E: TAGS=:udev-acl:
|
|
|
Back to top |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Oct 26, 2011 3:08 pm Post subject: |
|
|
First of all, I was interested in 'getfacl <cdrom>' as user, not root.
Second, it seems that regardless of 'TAGS=:udev-acl:' acls aren't getting applied - either a consolekit or your kernel config problem, most likely.
The warnings are a bit interesting too: did you start dbus correctly ?; what about kde session ? |
|
Back to top |
|
 |
Skippy204 Guru


Joined: 09 May 2008 Posts: 360 Location: Colorado, USA
|
Posted: Thu Oct 27, 2011 8:05 pm Post subject: |
|
|
The first time I tried 'getfacl /dev/sr1' as user it spit back a not found error. I assume that was because it had to run as root. In fact in likely don't know now to type is what happened as it now works.
Code: |
Thu Oct 27 13:54
~
skippy $ getfacl /dev/sr1
getfacl: Removing leading '/' from absolute path names
# file: dev/sr1
# owner: root
# group: cdrom
user::rw-
group::rw-
other::---
Thu Oct 27 13:54
~
skippy $ getfacl /dev/sr0
getfacl: Removing leading '/' from absolute path names
# file: dev/sr0
# owner: root
# group: cdrom
user::rw-
group::rw-
other::---
|
Quote: |
Second, it seems that regardless of 'TAGS=:udev-acl:' acls aren't getting applied - either a consolekit or your kernel config problem, most likely.
|
I am no where near smart enough to know what that means.
I'm not running KDE - running Enlightenment.
As for dbus, no I did not start it correctly. In fact, I had not been starting it at all. Problem solved. Start dbus. Now it works.
Done and done. Thank you very much. |
|
Back to top |
|
 |
Skippy204 Guru


Joined: 09 May 2008 Posts: 360 Location: Colorado, USA
|
Posted: Fri Oct 28, 2011 12:36 pm Post subject: |
|
|
or not.
I did this:
Code: | root # rc-update add dbus default
|
After rebooting my computer K3b again finds no optical drives.
Code: |
Fri Oct 28 06:28
/etc/runlevels/default
root # /etc/init.d/dbus start
* Starting D-BUS system messagebus ... [ ok ]
Fri Oct 28 06:28
/etc/runlevels/default
root # rc-update add dbus default
* rc-update: dbus already installed in runlevel `default'; skipping
|
After starting dbus manually K3b finds the drives - but if it's installed in runlevel default why isn't it starting?
So maybe I am not starting it correctly, which was the original question. |
|
Back to top |
|
 |
Skippy204 Guru


Joined: 09 May 2008 Posts: 360 Location: Colorado, USA
|
Posted: Wed Nov 02, 2011 12:36 pm Post subject: |
|
|
Update - dbus has been starting on subsequent reboots and k3b is working correctly.
Reason for the first glitch I don't know, but all is happy now. |
|
Back to top |
|
 |
|