I can't play a DVD by entering "
xine dvd://" at the shell. I end up getting an error about how the DVD can't be unencrypted.
It works when "
xine dvd://dev/hda" is entered ("
/dev/hda" is the block device for my DVD drive).
The following SlackBuilds were compiled and installed in this order:
libdvdcss-1.2.10-i486-1_SBo.tgz
libdvdread-4.1.3-i486-1_SBo.tgz
libdvdnav-4.1.3-i486-1_SBo.tgz
Here are the relevant links in "
/dev". To the best of my knowledge, they are all correct.
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdr -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdr0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-08 23:07 /dev/cdrom -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdrom0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdrw -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdrw0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdwriter -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/cdwriter0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-08 23:08 /dev/dvd -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvd0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvdrw -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvdrw0 -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvdwriter -> hda
lrwxrwxrwx 1 root root 3 2009-03-09 03:36 /dev/dvdwriter0 -> hda
brw-rw---- 1 root cdrom 3, 0 2009-03-09 03:36 /dev/hda
I've narrowed the problem down to either libdvdnav or libdvdread trying to access the wrong device when I ask xine to play a dvd
the normal way.
Here's some selected output from xine when DVD playback
does not work:
Code:
bash-3.1$ xine --verbose=100 dvd://
...
xine: found input plugin : DVD Navigator
libdvdnav: Using dvdnav version 1.1.15 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /dev/root mounted on / for CSS authentication
libdvdcss debug: opening target `/dev/root'
libdvdcss debug: using libc for access
libdvdcss debug: cannot open /dev/root (Permission denied)
libdvdcss error: failed to open device
libdvdread: Could not open /dev/root with libdvdcss.
libdvdread: Can't open /dev/root for reading
libdvdread: Device /dev/root inaccessible, CSS authentication not available.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/home/bloke/.dvdnav/.map'
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: faild to read VIDEO_TS.IFO
libdvdnav: Using dvdnav version 1.1.15 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
...
Here's some selected output from xine when DVD playback
does work:
Code:
bash-3.1$ xine --verbose=100 dvd://dev/hda
...
xine: found input plugin : DVD Navigator
libdvdnav: Using dvdnav version 1.1.15 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdcss debug: opening target `//dev/hda'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
...
I've highlighted what I believe to be the important differences. Everything else is just fallout, I think.
Like I said, the problem seems to be that if I don't guide xine to the correct device, my system points it to the root device. That's wrong.
Any ideas? I'm sure it's just a simple configuration problem.