Cannot play DVDs in Slackware 14
I find that I cannot play DVDs with Slackware 14.
I have found a solution of sorts here http://www.linuxquestions.org/questi...6/#post4400562 /dev/dvd/ is missing and Quote:
as suggested there? |
Yes, I would try deleting /etc/udev/rules.d/70-persistent-cd.rules, rebooting, and seeing what happens. If it still doesn't work then we can dig deeper to find out what the problem may be. Does that file contain anything at the moment?
|
Strange. I've got a /dev/dvd, not created by me, which is a link to /dev/sr0. I've no problems playing DVDs with Eric's VLC.
|
I will look at 70-persistent-cd.rules when I get to my PC tonight.
As far as I know I have a rather standard setup. Clean install of Slackware 64 with multilib. I do use the 3.4.11 kernel because this has the kernel-efi stub and I am booting off EFI ( most reliable way I found of allowing dual booting with Win7 on my machine). Slackware is on an SSD except for /var and /home which are on a standard hard drive and /tmp which is in RAM. I did discover that smplayer allows one to play DVDs on /dev/sr0 which would be another way round. |
Funny, I deleted my /etc/udev/rules.d/70-persistent-cd.rules for giggles, rebooted, it did not generate a new one. I too have a symlink for /dev/cdrom>/dev/sr0 but no /dev/dvd>/dev/sr0 . Is udev not discovering the cdrom, I assume it did since there was a file there originally. Oh, and after deleting the rules, the symlink for cdrom is still there.
|
Interesting, I've lost all my /dev/dvd* symlinks too (not that I'd noticed as I tend to just use /dev/sr0 directly). Wonder if it is because I'm using a newer kernel.
|
Here's what I've got:
Code:
bash-4.2$ ls -l /dev | grep dvd* |
slack -current 32b for me
|
This is what udev tells me about /dev/sr0
Code:
root@ws1:~# udevadm info --query all --name=/dev/sr0 |
From mine:
Code:
root@slackdesk:~# udevadm info --query all --name=/dev/sr0 |
Mine:
Code:
[root@dtd:dan]# udevadm info --query all --name=/dev/sr0 |
Quote:
|
For some reason mine isn't being assigned a /dev/disk/by-path entry and that looks to be breaking the call to write_cd_rules in "75-cd-aliases-generator.rules"
Interestingly, neither is my primary sata harddisk sda so this issue might be wider than just dvd devices. The missing symlink seems to be a result of ID_PATH not being set, which looks like it comes from 60-persistent-storage.rules I can't be arsed to track this any further, I'll just ignore the symlinks and continue to use the real device name. UDEV! What a bag-o-shite! |
me had also lost all /dev/dvd and /dev/cdrom links on all machines in the household. rather than doing a PhD in Udev I decided to change the the device name to /dev/sr0 in all relevant applications...
|
Quote:
As a test I erased the /etc/udev/rules.d/70-persistent-cd.rules and tried several kernels. 3.2.29-huge and the 70-persistent-cd.rules is missing and the /dev/dvd still missing 3.2.35-huge and the 70-persistent-cd.rules is missing and the /dev/dvd still missing 3.7.1-huge and the 70-persistent-cd.rules is missing and the /dev/dvd still missing I copied over a version of the 70-persistent-cd.rules from a version of slackware 14.0 stable on the same box and got the following results: 3.2.29-huge and the /dev/dvd is there! 3.2.35-huge and the /dev/dvd is there! 3.7.1-huge and the /dev/dvd is missing... So there are actually two problems. 1) If the 70-persistent-cd.rules file is gone it will not be re-created. 2) Even if there is a 70-persistent-cd.rules file, it will not create a /dev/dvd link on a 3.7.1 kernel |
Quote:
3.7.1-smp from -current |
I also have /dev/dvd with the 3.3.29 kernel but not with 3.4.18
|
Thank you Pat, this mornings update to udev in -current worked a charm :)
|
Confirmed, udev update is also working here. Thanks Pat.
|
I ran into this issue with kernel 3.6.7 as well... http://www.linuxquestions.org/questi...7/#post4836191
|
Quote:
I erased the old /etc/udev/rules.d/70-persistent-cd.rules and it was recreated after rebooting. |
And with kernel 3.4.18
Should it be ok to update udev if I am not running current? |
Well it seems Ok after upgrading so I will mark this as solved.
|
All times are GMT -5. The time now is 01:24 PM. |