LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2004, 09:45 AM   #1
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Rep: Reputation: 15
xine dvd


I'm having problems playing dvd on my SuSE 9 Kde3.2.2.
Ive followed these articles
http://www.linuxquestions.org/questi...ticle&artid=28
and this
http://www.linuxquestions.org/questi...ight=xine+suse
This is the Xine output
inux:~> xine -p dvd:/
This is xine (X11 gui) - a free video player v0.99.1.
(c) 2000-2003 The xine Team.
libdvdnav: Using dvdnav version 1-rc4 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
libdvdnav: vm: faild to open/read the DVD
 
Old 05-05-2004, 09:59 AM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Sounds like you don't have a /dev/dvd Did you actually check to see if this link existed or if suse named it something else? like /dev/cdrom or cdrecorder or dvdrecorder?
 
Old 05-05-2004, 10:21 AM   #3
franzfranz
Member
 
Registered: Mar 2004
Location: Indiana, US
Distribution: gentoo
Posts: 87

Rep: Reputation: 15
you've mounted your dvd?
 
Old 05-05-2004, 10:22 AM   #4
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
My fstab looks like this
/dev/cdrecorder /media/cdrecorder
/dev/cdrom /media/cdrom
In xine settup 'device used for dvd playback' Ive tried
/dev/dvd
/dev/cdrom
/dev/cdrecorder
All of which give the same error 'vm: faild to open/read the DVD'

Last edited by Riichard; 05-05-2004 at 10:23 AM.
 
Old 05-05-2004, 11:02 AM   #5
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
It could be a permission problem of such device.
First make sure your /dev/dvd is actually pointing to the proper device by
ls -l /dev/dvd
then include yourself as normal user (login name) into disk group.
Not sure disk group actually exist on Suse, may be such device is included in a different group.
Hope this helps

ciao
 
Old 05-05-2004, 11:32 AM   #6
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
It doesnt look like dev/dvd points to the right device
apollo@linux:~> ls -l /dev/dvd
lrwxrwxrwx 1 root root 8 2004-05-01 18:10 /dev/dvd -> /dev/hdc

Since my fstab is like this
/dev/cdrecorder /media/cdrecorder
/dev/cdrom /media/cdrom

Theres no dev/dvd in fstab or am i totally confused
 
Old 05-05-2004, 11:45 AM   #7
franzfranz
Member
 
Registered: Mar 2004
Location: Indiana, US
Distribution: gentoo
Posts: 87

Rep: Reputation: 15
i think that's what it's supposed to look like. xine plays dvds for me and that's where my /dev/dvd points to, but i also have /dev/dvd in my fstab. maybe the problem is that suse's mountpoints are /media/xxx?
 
Old 05-05-2004, 05:01 PM   #8
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Ah. Yours should be set to /dev/cdrom as that is your dvd drive. Suse does that to me... but /dev/cdrom works fine. If you are mounting the dvd, don't. As a dvd doesnt need to be mounted to be played and this might be whats screwing it up.
 
Old 05-05-2004, 05:07 PM   #9
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
It is not necessary you have an entry of /dev/dvd in your fstab.
As you can see from ls -l output this link exist and points to /dev/hdc that i guess is your dvd player or combo drive.
Please also note /dev/hdc is owned by root and is included in root group.
So unless you are included into root group you do not have any permission on such file.
A temporary fix while you do some search could be you create a group by
(be root first)
addgroup dvd_users
chown root.dvd_users /dev/hdc
chmod g+rx /dev/hdc
chmod g+rx /dev/dvd ( not strictly necessary, just to make sure)
Add yourself to dvd_users group
At this point you should have the necessary permissions on your /dev/hdc /dev/dvd
Also make sure you have libdvdccs correctly installed (it seems they are, but you never know)
Hope this helps
Ciao

Last edited by urka58; 05-05-2004 at 05:11 PM.
 
Old 05-06-2004, 07:19 AM   #10
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
I've got it working, thanks, my permissions are sorted out.

But there still seems to be a problem with dma.
I turn the computer on and do this
/sbin/hdparm -d /dev/hdc
it tells me dma is on and a dvd plays fine.
However if I eject that dvd (using the eject in xine) and try to play another xine hangs
if I do this again
/sbin/hdparm -d /dev/hdc
the terminal sort of hangs, the only thing I can do is reboot if I want to watch another dvd.
I'm nearly there....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xine and DVD hog Linux - Software 16 10-11-2004 07:44 PM
xine and dvd chop Linux - Software 6 06-15-2004 08:20 AM
how to tell xine where dvd is edsmithers Linux - Software 10 11-12-2003 03:34 AM
Xine dvd problem: no dvd button hwood7587 Linux - Software 3 08-18-2003 10:40 AM
xine and DVD steve Linux - General 0 04-06-2001 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration