Version: unspecified (using KDE 4.6.2) OS: Linux Kubuntu 11.04 was working fine in one AMD64-bit PC. I swapped my hard drive into another PC (HP Pavilion a1012x), and it booted right up and everything works fine! Except... on the new PC no Device Actions trigger when I insert a data CD, music CD, or DVD into either of its CD-ROM drives. I don't get the "Available Devices" menu of options to Open with File Manager/VLC/Dragon, and the USB panel icon tooltip says "No Devices Available". Yet music CD shows up fine in Dolphin, device action "kioclient exec audiocd:/" works fine from the command line, vlc can File > Open Disk > /dev/cdrom1" fine. I think the problem lies in the Solid layer. Entering `solid-hardware list details` reports ... udi = '/org/freedesktop/UDisks/devices/sr0' parent = '/org/freedesktop/UDisks' (string) vendor = 'HP' (string) product = 'HP DVD Writer 640' (string) description = 'CD-RW/DVD±RW DL Drive' (string) Block.major = 11 (0xb) (int) Block.minor = 0 (0x0) (int) Block.device = '/dev/sr0' (string) StorageDrive.bus = 'Scsi' (0x3) (enum) StorageDrive.driveType = 'CdromDrive' (0x1) (enum) StorageDrive.removable = true (bool) StorageDrive.hotpluggable = false (bool) StorageDrive.inUse = false (bool) StorageDrive.size = 572993536 (0x22273000) (qulonglong) OpticalDrive.supportedMedia = 'Cdr|Cdrw|Dvd|Dvdr|Dvdrw|Dvdplusr|Dvdplusrw|Dvdplusdl' (0x1df ) (flag) OpticalDrive.readSpeed = 0 (0x0) (int) OpticalDrive.writeSpeed = 0 (0x0) (int) OpticalDrive.writeSpeeds = {} (int list) udi = '/org/freedesktop/UDisks/devices/sr0:media' parent = '/org/freedesktop/UDisks/devices/sr0' (string) vendor = 'HP' (string) product = 'HP DVD Writer 640' (string) Advanced probing on /dev/sr0 failed while reading block size description = 'CD-ROM' (string) Block.major = 11 (0xb) (int) Block.minor = 0 (0x0) (int) Block.device = '/dev/sr0' (string) StorageVolume.ignored = true (bool) <=== !! StorageVolume.usage = 'Other' (0x0) (enum) StorageVolume.fsType = '' (string) StorageVolume.label = '' (string) StorageVolume.uuid = '' (string) StorageVolume.size = 572993536 (0x22273000) (qulonglong) Advanced probing on /dev/sr0 failed while reading block size OpticalDisc.availableContent = 'Audio|Data' (0x3) (flag) <=== ! OpticalDisc.discType = 'CdRom' (0x0) (enum) OpticalDisc.appendable = false (bool) OpticalDisc.blank = false (bool) OpticalDisc.rewritable = false (bool) OpticalDisc.capacity = 572993536 (0x22273000) (qulonglong) Solid knows there's an Audio Optical Disc in one of my drives, but for some reason it's ignored, and the System Settings > Device Actions rules include "The devices Ignored must equal false". I don't know if the "Advanced probing on /dev/sr0 failed while reading block size" is significant. Reproducible: Always Steps to Reproduce: 0. (Maybe have to reconfigure PC with two optical drives ?) 1. Insert music CD or DVD or CD-ROM Actual Results: Nothing happens, no Device Actions. Expected Results: CD shows up in Available Devices and/or with Device Actions. OS: Linux (x86_64) release 2.6.38-11-generic Compiler: cc My problems sounds similar to Launchpad bug 709868 "kde 4.6 device actions broken", he also has StorageVolume.ignored = true. He comments Ok... experimented a bit about how solid-hardware works and found what the latest problem is One needs to create /media/cdrom0 by hand. Solid does not manage mount points automatically creating dirs in media at need Solid does not anymore mount by label... namely should have mounted as /media/CDSTOMPER35 but mounts as /media/cdrom0 But I have a /media/cdrom which symlinks to /media/cdrom0. I have /dev/cdrom1 and cdrom2 symlinking to /dev/sr0 and /dev/sr1. Do I need to create a /media/cdrom1 ? BTW I'm confused what to do with this problem. It feels like it might be a Kubuntu configuration issue, but launchpad says "KDE Base Runtime Bugs are tracked in KDE Bug Tracking System". It seems answers.launchpad.net isn't used for Kubuntu problems. There isn't a Solid forum on forums.kde.org, does this problem belong in Workspace or Appearance & System Customization? I tried to learn more about Solid, but no matter what link I follow on solid.kde.org, I only ever see its home page. E.g. http://solid.kde.org/cms/1072
I have the same problem: for every optical media (type), StorageVolume.ignored property equals "true" for some unknown reason, and most Solid actions for various apps check this property and require it to be "false". Result: actions are not displayed. I've had this problem since KDE 4.6.0 and it still exists with KDE 4.7.0. I'm using Kubuntu 11.04 and 11.10 (haven't tried other distros).
I can confirm this bug, same problem here on Gentoo, KDE 4.6.5, udisks version 1.0.4. Should it be assigned to libsolid-udisks? I'll upgrade to KDE 4.7 soon and test again...
Looks like it's fixed in Kubuntu KDE 4.7.3: paul@door:~$ solid-hardware details /org/freedesktop/UDisks/devices/sr0:media udi = '/org/freedesktop/UDisks/devices/sr0:media' parent = '/org/freedesktop/UDisks/devices/sr0' (string) vendor = 'HL-DT-ST' (string) product = 'HL-DT-STDVD-RAM GH22NP20' (string) Advanced probing on /dev/sr0 failed while reading block size description = 'Audio CD' (string) Block.major = 11 (0xb) (int) Block.minor = 0 (0x0) (int) Block.device = '/dev/sr0' (string) StorageVolume.ignored = false (bool) <== :-) StorageVolume.usage = 'Other' (0x0) (enum) StorageVolume.fsType = '' (string) StorageVolume.label = '' (string) StorageVolume.uuid = '' (string) StorageVolume.size = 444297216 (0x1a7b7000) (qulonglong) Advanced probing on /dev/sr0 failed while reading block size OpticalDisc.availableContent = 'Audio' (0x1) (flag) OpticalDisc.discType = 'CdRom' (0x0) (enum) OpticalDisc.appendable = false (bool) OpticalDisc.blank = false (bool) OpticalDisc.rewritable = false (bool) OpticalDisc.capacity = 444297216 (0x1a7b7000) (qulonglong)
Closing as per comment #3
*** Bug 265870 has been marked as a duplicate of this bug. ***
4.7.3 update does indeed fix this for my first CD-ROM drive, thanks! But my second drive still doesn't trigger actions, so I filed bug 288854.