Re: installing DVD player
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 04 January 2002 4:24 pm, Kent West wrote:
> Richard Otte wrote:
> > I recently acquired a DVD player from another Linux machine, and am
> > considering installing it in my Linux machine. I have an IDE CD-RW in
> > the machine, and can hook the Dvd up to the end of the ribbon connected
> > to the CDRW. But I wonder what sort of software modifications I would
> > have to make to use the Dvd player. I assume it wouldn't be as simple
> > as simply making an entry into /etc/fstab. Would I have to make a new
> > Kernal? Anyway, I've never done anything like this, and if anyone has
> > any suggestions I'd like to hear them. I'm trying to decide if it is
> > worth the trouble to hook up. Thanks,
> >
> > Ric
>
> I was in your shoes a few weeks ago; ...
...[snip]
>
> The players I've tried are ogle, vlc, and xine.
>
I have an ide dvd drive - its just connected on the ribbon cable along with a
hard disk. Remember to set the jumper for master/slave as appropriate
(opposite to the other drive).
As for software, I installed the debian libcss and libdvdread2 packages (and
the -dev equivents) and then got the source of mplayer and compiled and
installed that.
As I have a kernel built with devfs there was some mucking about with the
debian devfsd package to get it to symlink /dev/dvd to the right place and to
ensure the permissions allowed writing to the dvd drive (necessary for libcss
to do its stuff).
I still had libdvdread2 failing when I put in a dvd into the drive, and
although I didn't mount the dvd, /etc/fstab was telling it to mount /dev/dvd
as an iso9660 filesystem. This was wrong. I recompiled the kernel to build
the udf filesystem as a module (iso9660 is also built as a module) and
changed /etc/fstab to specify auto (so if I put in a standard data cd it
reads that correctly as iso9660 - a dvd as a udf) as the filesystem type. I
can now play dvd's using
mplayer -dvd 1
and it works pretty well (I have noticed a very slight out of sync between
audio and video - its not obvious but it is there) on my 900MHz Athlon
(NVIDIA Geforce2 graphics card).
A minor irritation is that it reports /dev/rtc has not having the right
access permissions and it says it resorts to usleep for timing. This seems
to work OK. If I log in as root this goes away - reading the
/usr/src/linux/Documentation/rtc.txt file explains that the kernel will fail
a non root user setting the rtc to interrupt faster than 64Hz (I think
mplayer is trying to set it to 1024Hz).
- --
Alan - alan@chandlerfamily.org.uk
http://www.chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8Njt01mf3M5ZDr2kRAsA3AJ97otztPfR/kp1cG11L7xRj2Xs1lACfcw+y
JkuqI+MXLT1qIDzIouS2/kI=
=/32b
-----END PGP SIGNATURE-----
Reply to: