On Fri, Mar 26, 2010 at 4:11 AM, François Patte < francois.patte@mi.parisdescartes.fr> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 25/03/2010 23:01, Marcel Rieux a écrit :
On Thu, Mar 25, 2010 at 3:28 AM, François Patte <francois.patte@mi.parisdescartes.fr mailto:francois.patte@mi.parisdescartes.fr> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 25/03/2010 06:39, Marcel Rieux a écrit : > Since nobody seemed to report a problem playing DVDs, I decided to check > my settings. > > Smplayer and Gmplayer were both set to play DVDs from /dev/dvd > > I checked and there was no /dev/dvd. So, I did: > > ls -l /dev/dvd* > lrwxrwxrwx. 1 root root 3 2010-03-24 12:52 /dev/dvd1 -> sr0 > lrwxrwxrwx. 1 root root 3 2010-03-24 12:52 /dev/dvdrw1 -> sr0 Is it still there after reboot?
Absolutely. Since I have no access to BIOS settings to put the computer to sleep, I reboot every day. And there's not a trace of /dev/dvd , only /dev/dvd1 and /dev/dvdrw1, which are both links to /dev/sr0.
When you don't have problems, it's not the kind of settings you check closely but, since my dvd players were pointing to /dev/dvd, I would think this is the normal setting.
I believe the devices are created at boot time, no? And I even have no idea how I could prevent /dev/dvd form being created.
Yes, they are created by udev. I had the same problem as yours but my description of the problem was slightly different from yours: links /dev/dvd to /dev/sr0 were created at boot time but erased as soon as I put a cd|dvd in the drive. So I could use the drive only once!
The missing file was: /etc/udev/rules.d/70-persistent-cd.rules
Yes, I have it. Here's the content:
# DVD-RW_DVR-217D (pci-0000:00:11.0-scsi-1:0:0:0) ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1" ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1" # DVD-RW_DVR-217D (pci-0000:00:11.0-scsi-3:0:0:0) SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="cdrw1", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="dvd1", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-3:0:0:0", SYMLINK+="dvdrw1", ENV{GENERATED}="1"