Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
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'
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
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?
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.
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
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....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.