[ltp] can't access DVDs with xine

Marius Gedminas linux-thinkpad@linux-thinkpad.org
Tue, 4 Nov 2003 23:29:02 +0200

Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


On Tue, Nov 04, 2003 at 01:17:25PM +0100, Andr=E9 Wyrwa wrote:
> there was a similar topic recently but the information i got from this
> didn't help me, so I have to raise this again...
> I recently got a DVD drive for my T23, which works fine unter Xp, but -
> guess what - doesn't under linux.
> The only player I have installed is xine (and totem but it relies on
> xine).

I've used mplayer on my T23 with great success.  Mplayer is the best
video player I've ever used.  (It has a somewhat crappy GUI that I do
not use.)

I use ide-scsi emulation (out of sheer habit, because I do not have a
CD-RW drive, and partly because I can use cdrecord to see various
interesting numbers using its -prcap, -toc and -atip options).  /dev/dvd
in my case points to /dev/cdrom which points to /dev/scd0.  Both
/dev/scd0 and /dev/sg0 are readable and writable to the cdrom group of
which I am a member.

> More verbose output on the command line states:
> libdvdnav: Using dvdnav version 1-rc0a from http://xine.sf.net
> libdvdread: Encrypted DVD support unavailable.
> libdvdnav: Can't seek to block 32
> libdvdnav: Unable to find map file '/home/andre/.dvdnav/.map'
> libdvdread: Can't seek to block 256
> libdvdread: Can't seek to block 256
> libdvdread: Can't open file VIDEO_TS.IFO.
> libdvdnav: vm: faild to read VIDEO_TS.IFO

You might get more information if you run it with strace and inspect its
output (e.g. grep for "Permission denied" and see what file or device it
tried to open).

> I have no dvd related entry in /etc/fstab.

You do not need one for watching DVDs.

> There's a symlink /dev/dvd -> /dev/hdc with
> /dev/hdc definitely being the dvd drive.
> Permissions on /dev/hdc are brw-rw---- and it belongs to root.disk . My
> user is in the disk group and xine is running with the users id,
> checked all that.

If the user was recently added to the group, you might need to log out
and log in again for the change to take effect.  But you probably knew
that already.

Marius Gedminas
If it weren't for the last minute, nothing would get done.

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.2.3 (GNU/Linux)