does not detect audio CDs

Bug #400742 reported by Sebastien Bacher on 2009-07-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devicekit-disks (Ubuntu)
Martin Pitt
Martin Pitt

Bug Description

Binary package hint: devicekit-disks

Using current karmic audio CDs are not listed in GNOME. The devicekit-disks --show-info details have no audio track mention either which seems to suggest a bug there

Sebastien Bacher (seb128) wrote :

$ devkit-disks --show-info /dev/sr0
Showing information for /org/freedesktop/DeviceKit/Disks/devices/sr0
  native-path: /sys/devices/pci0000:00/0000:00:1f.1/host3/target3:0:0/3:0:0:0/block/sr0
  device: 11:0
  device-file: /dev/sr0
    by-path: /dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
  detected at: mer. 15 juil. 2009 14:13:00 CEST
  system internal: 0
  removable: 1
  has media: 1 (detected at ven. 17 juil. 2009 17:36:06 CEST)
    detects change: 1
    detection by polling: 1
    detection inhibitable: 1
    detection inhibited: 0
  is read only: 0
  is mounted: 0
  mount paths:
  mounted by uid: 0
  presentation hide: 0
  presentation name:
  presentation icon:
  size: 574433280
  block size: 2048
  job underway: no
    vendor: PBDS
    model: DVD+-RW DS-8W1P
    revision: BD1B
    detachable: 0
    ejectable: 1
    media: optical_cd
      compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_rw
    interface: scsi
    if speed: (unknown)
    ATA SMART: not available

Changed in devicekit-disks (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Sebastien Bacher (seb128) wrote :

devicekit code

" /* device_is_optical_disc and optical_disc_* */
        if (g_udev_device_has_property (device->priv->d, "ID_CDROM_MEDIA_STATE")) {
                devkit_disks_device_set_device_is_optical_disc (device, TRUE);"

$ udevadm info --query=all --name=/dev/sr0 | grep STATE

Changed in devicekit-disks (Ubuntu):
importance: Undecided → High
status: New → Won't Fix
Martin Pitt (pitti) wrote :

I can reproduce this as well. I think udev is still meant to set this flag, but apparently it broke either in the latest udev version or latest kernel. I'll check with upstream.

summary: - GNOME doesn't see audio CDs
+ does not detect audio CDs
affects: devicekit-disks (Ubuntu) → udev (Ubuntu)
Changed in udev (Ubuntu):
status: Won't Fix → Triaged
tags: added: regression-potential
Martin Pitt (pitti) wrote :

<kay> pitti: we jumped a bit forth and back with this thing
<kay> pitti: ID_CDROM_MEDIA_STATE should be for writable stuff only, basically un-finalized media

affects: udev (Ubuntu Karmic) → devicekit-disks (Ubuntu Karmic)
Changed in devicekit-disks (Ubuntu Karmic):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package devicekit-disks - 005-0ubuntu5

devicekit-disks (005-0ubuntu5) karmic; urgency=low

  * Add git-fix-cd-detection.patch: Fix CD-ROM detection with current udev.
    Patch taken from git head. (LP: #400742)

 -- Martin Pitt <email address hidden> Fri, 17 Jul 2009 19:06:09 +0200

Changed in devicekit-disks (Ubuntu Karmic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers