/lib/udev/cdrom_id does not correctly probe audio CDs on USB drive (maverick)

Bug #742212 reported by James Henstridge on 2011-03-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Nominated for Maverick by James Henstridge

Bug Description

Binary package hint: udev

I found a number of desktop programs that deal with audio CDs were not correctly detecting the drive or claiming that it didn't have an audio disk in.

These programs were all using gvfs to enumerate drives, and the problems seemed to be due to some missing udev attributes on the drive. The cdrom_id helper program fails to correctly probe the drive:

    $ /lib/udev/cdrom_id --debug /dev/cdrom
    main: probing: '/dev/cdrom'
    cd_inquiry: INQUIRY: [CHIYOMI ][TSD80Y1 DVD RW ][D010]
    info_scsi_cmd_err: GET CONFIGURATION failed

Note the "GET CONFIGURATION failed" debug message. Using the equivalent binary from natty this command doesn't fail, and it prints some more debug info and includes the following additional attributes:


With this replacement binary in place, desktop programs like sound-juicer correctly recognise the disc.

Looking at the changes in upstream, I believe this is the change that fixes the problem:


ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: udev 162-2.2 [modified: lib/udev/cdrom_id]
ProcVersionSignature: Ubuntu 2.6.35-27.48-generic
Uname: Linux 2.6.35-27-generic x86_64
Architecture: amd64
Date: Fri Mar 25 10:38:15 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Gigabyte Technology Co., Ltd. GA-890GPA-UD3H
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-27-generic root=UUID=162ca408-b98b-4538-918e-c57d785a9e27 ro quiet splash
SourcePackage: udev
dmi.bios.date: 11/24/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FF
dmi.board.name: GA-890GPA-UD3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrFF:bd11/24/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-890GPA-UD3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-890GPA-UD3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-890GPA-UD3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

James Henstridge (jamesh) wrote :
James Henstridge (jamesh) wrote :

I had originally only been testing this with sound-juicer, but it looks like the disc probing fails for other disc types (e.g. writable media in Brasero).

For a CD-R, I get the same GET_CONFIGURATION error, and using the natty version of the tool gives additional media attributes:


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers