does not properly detect CD media capabilities

Bug #439701 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: udev

Just seen when debugging something else: When I insert a normal CD-RW, I get

ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_RW=1

which is bogus. This also happens for other people, e. g. in bug 439137

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: 526c13623eeda7bcc3936c7be57b2d29
CheckboxSystem: c8e8edcc4d15e0d55af04774be77e330
Date: Thu Oct 1 00:38:48 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. Latitude D430
Package: udev 147~-5
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-11-generic root=UUID=3b048108-a02f-48da-bffb-3e2ef238d47a ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: udev
Uname: Linux 2.6.31-11-generic x86_64
dmi.bios.date: 05/21/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A00
dmi.board.name: 0HU754
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA00:bd05/21/2007:svnDellInc.:pnLatitudeD430:pvr:rvnDellInc.:rn0HU754:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D430
dmi.sys.vendor: Dell Inc.

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in udev (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Can you run the /lib/udev/cdrom_id binary against your CD drive?

Changed in udev (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Martin Pitt (pitti) wrote :

No medium in drive:

$ /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1

CD-RW in drive:
$ /lib/udev/cdrom_id /dev/sr0
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD_RW=1
ID_CDROM_MEDIA_STATE=complete
ID_CDROM_MEDIA_SESSION_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1

4.7 GB DVD+RW in drive yields exactly the same result.

Changed in udev (Ubuntu):
status: Incomplete → New
Revision history for this message
Martin Pitt (pitti) wrote :

Sorry, this was a brain fart. ID_CDROM_* are the drive capabilities, ID_CDROM_MEDIA_* are the media capabilities.

When I have the DVD+RW, I correctly get

ID_CDROM_MEDIA_DVD_PLUS_RW=1

Sorry for the noise.

Changed in udev (Ubuntu):
status: New → Invalid
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 439701] Re: does not properly detect CD media capabilities

On Mon, 2009-10-12 at 07:23 +0000, Martin Pitt wrote:

> Sorry, this was a brain fart. ID_CDROM_* are the drive capabilities,
> ID_CDROM_MEDIA_* are the media capabilities.
>
I was going to say ... ;-)

Scott
--
Scott James Remnant
<email address hidden>

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.