dvd device changes after new dvd inserted

Bug #218572 reported by rhavenn
4
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: udev

Running Kubuntu Hardy Beta on x86. I only have a single DVD/CD device (Sony CD-RW / DVD).
I use my computer to watch movies. The initial beta worked fine, but after running synaptic a few times over the last few weeks the following problem has shown up.

If I boot the computer with a DVD in the drive it will create /dev/dvd correctly. However, if I eject the DVD and re-insert it or a new DVD the system will create /dev/dvd1 and kaffeine, etc... won't play as they can't find the device. Annoyingly however Kaffeine prompts to install libdvdcss which seems wierd??? But that's a different matter. The /dev/dvd device is removed completely.

Anyways, my /etc/udev/rules.d/70-persistent-cd.rules looks like this:
--------------------------------------
# This file maintains persistent names for CD/DVD reader and writer devices.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-cd-generator.rules
# file; however you are also free to add your own entries provided you
# add the ENV{GENERATED}=1 flag to your own rules as well.
# SONY_CD-RW_CRX320E (pci-0000:00:08.0-ide-0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
# CD-RW_CRX320E (pci-0000:00:08.0-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:08.0-scsi-0:0:0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:08.0-scsi-0:0:0:0", SYMLINK+="cdrw1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:08.0-scsi-0:0:0:0", SYMLINK+="dvd1", ENV{GENERATED}="1"
-------------------------------------------
I can fix the situation by changing the cdrom1,cdrw1,dvd1 to just cdrom,cdrw,dvd and /etc/init.d/udev restart
It lists this file as being auto-generated by 75-persistent-cd-generator.rules which doesn't exist . I don't know enough about udev to delve further.

Let me know what you need.

Revision history for this message
Paul Worrall (nicknak) wrote :

Created a separate bug #250232 to record the incorrect comment about 75-persistent-cd-generator.rules

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

I remember seeing this bug on hardy. Don't have much details now though except that in my case it was mplayer showing errors.

I am now using intrepid and don't see a problem there.

Changed in udev:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Sounds like we fixed this

Changed in udev (Ubuntu):
status: Confirmed → Fix Released
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.