Version: 2.4.0 (using KDE 4.6.0) OS: Linux If I put an audio cd in the cdrom drive, the device notifier prompts me with the possibility of playing tracks with amarok. If I click on that, amarok starts, but since kde 4.6 it cannot see the audiocd. Reproducible: Didn't try
Reproducible -> always
Sergio, this is a distribution specific problem due to the transition from hal to udev, nothing we can do about. This should be solved in the next K/Ubuntu release as the transition will be over by then.
Can you please be a bit more specific, so I can help passing the bug to the ubuntu packagers? solid-hardware can see the device: udi = '/org/freedesktop/UDisks/devices/sr0:media' parent = '/org/freedesktop/UDisks/devices/sr0' (string) vendor = 'HL-DT-ST' (string) product = 'CDRWDVD MU10N' (string) 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 = 'HL-DT-ST CDRWDVD MU10N' (string) StorageVolume.uuid = '' (string) StorageVolume.size = 376723456 (0x16745800) (qulonglong) 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 = 376723456 (0x16745800) (qulonglong) and the only weird thing about what it finds is OpticalDisc.availableContent = 'Audio|Data' why Data?. What should solid-hardware report on a system that is sane enough to have amarok see the CD?
AFAIK it is already reported downstream, please see the Launchpad bug tracker for more information
This bug is still present as of Kubuntu 11.04 KDE 4.7 Amarok 2.4.3 This cannot be a distribution specific issue due to the transition from hal to udev, since it was present in kubuntu 10.10 and is still present in kubuntu 11.04. Furthermore: solid-hardware sees the device: 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) 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 = 334387200 (0x13ee5800) (qulonglong) 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 = 334387200 (0x13ee5800) (qulonglong) And both drangon and kscd can play it perfectly. Please, acknowledge that there might be a problem and provide advice at how to provide more info to identify it.
This bug is also present in Mandriva 2011.0 RC2/Cooker (and previously in 2010.2, 2010.1, 2010.0) KsCD plays audio CD OK Amarok can see audio cd, get cd contents and display them in Local Media window, you can add tracks to playlist, eject CD, but cannot play it no matter what, the CD just spins up to high speed and stays like that (USB external CD drive). Mandriva does seem come with a broken KDE devices configuration for AmaroK, and to get as far as above, in System Settings > Hardware Device Actions I had to copy the KScD configuration but substitute 'amarok --cdplay %25f' in the command Versions - kdemultimedia4-4.6.5-2-mdv2011.0.x86_64 kdemultimedia4-debug-4.6.5-2-mdv2011.0.x86_64 lib64amarokcore1-2.4.1-3-mdv2011.0.x86_64 lib64amarokocsclient4-2.4.1-3-mdv2011.0.x86_64 lib64amarok-transcoding1-2.4.1-3-mdv2011.0.x86_64 lib64amarokpud1-2.4.1-3-mdv2011.0.x86_64 lib64amaroklib1-2.4.1-3-mdv2011.0.x86_64 lib64amarok-sqlcollection1-2.4.1-3-mdv2011.0.x86_64 amarok-2.4.1-3-mdv2011.0.x86_64 amarok-scripts-2.4.1-3-mdv2011.0.noarch amarok-debug-2.4.1-3-mdv2011.0.x86_64 [root@cooker ~]# solid-hardware details /org/freedesktop/UDisks/devices/sr0:media udi = '/org/freedesktop/UDisks/devices/sr0:media' parent = '/org/freedesktop/UDisks/devices/sr0' (string) vendor = 'HLDS Inc' (string) product = 'SuperMulti RW' (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 = 481953792 (0x1cba0800) (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 = 481953792 (0x1cba0800) (qulonglong)
Here's some potentially relevant extracted bits of output from 'amarok -d --cdplay %f', as it starts up and reads and displays a playlist from a previous session - hope it helps Start amarok: [WARNING] [MountPointManager] NOT-IMPLEMENTED: void MountPointManager::startStatisticsUpdateJob() amarok: [MediaDeviceCache] Found Solid::DeviceInterface::StorageDrive with udi = "/org/freedesktop/UDisks/devices/sr0" amarok: [MediaDeviceCache] Device name is = "SuperMulti RW" and was made by "HLDS Inc" amarok: BEGIN: virtual bool UmsConnectionAssistant::identify(const QString&) amarok: Device udi: "/org/freedesktop/UDisks/devices/sr0" amarok: Device name: "HLDS Inc - SuperMulti RW" amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const amarok: [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const [Took: 0s] amarok: Mount point: "" amarok: vendor: "HLDS Inc" , product: "SuperMulti RW" amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const amarok: [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const [Took: 0s] amarok: END__: virtual bool UmsConnectionAssistant::identify(const QString&) [Took: 0s] amarok: BEGIN: virtual bool UmsConnectionAssistant::identify(const QString&) amarok: Device udi: "/org/freedesktop/UDisks/devices/sr0" amarok: Device name: "HLDS Inc - SuperMulti RW" amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const amarok: [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const [Took: 0s] amarok: Mount point: "" amarok: vendor: "HLDS Inc" , product: "SuperMulti RW" amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const amarok: [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const [Took: 0s] amarok: END__: virtual bool UmsConnectionAssistant::identify(const QString&) [Took: 0s] amarok: END__: void MediaDeviceMonitor::checkDevicesFor(ConnectionAssistant*) [Took: 0.1s] Menu > Amarok > Play media, select CD from media list > file dialog shows audiocd:/ output of text,flac,wav,ogg directories, track listing etc Advanced probing on /dev/sr0 failed while reading block size Advanced probing on /dev/sr0 failed while reading block size
Andrew, could you please also test with the lates Amarok 2.4.3 as Sergio did?
*** This bug has been marked as a duplicate of bug 266412 ***