You are not logged in.

#1 2005-05-11 23:16:56

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

dvd's don't play: not sure why? [SOLVED]

Hi all,

I'm trying to play dvd's in applications (totem, mplayer,vlc) but Arch won't play nicely tongue  Here's my fstab:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
usbfs                  /proc/bus/usb usbfs  defaults            0      0

#/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
#/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
#/dev/floppy/0          /mnt/fl   vfat      user,noauto             0      0

/dev/sdb3 swap swap defaults 0 0
/dev/sdb4 / reiserfs defaults 0 0
/dev/sdb2 /boot reiserfs defaults 0 0
/dev/sdb1 /mnt/files ntfs noauto,user,rw,gid=100,umask=0000 0 0
/dev/cdroms/cdrom1 /mnt/dvd auto user,noauto,unhide 0 0
/dev/hdc                /media/dvdwriter        auto    user,exec,noauto,comment=managed 0 0
/dev/hdb                /media/cdwriter         auto    user,exec,noauto,comment=managed 0 0
/dev/fd0                /media/floppy           auto    user,exec,noauto,comment=managed 0 0

I added the line

/dev/cdroms/cdrom1 /mnt/dvd auto user,noauto,unhide 0 0

just now to test if it would work that way... and it did! So why doesn't it normally?
Needless to say, a trained eye can see that normally I don't mount my dvd and cd drive manually: they are done by HAL or UDEV if I'm right?

If I try to use totem without my added line above, totem shows an error "/dev/hdc: permission needed" I'm guessing this has something to do with my problem...

P.S. I am in the following groups: users, audio, video

Thanks


There is no spoon in Arch...

Offline

#2 2005-05-11 23:33:59

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: dvd's don't play: not sure why? [SOLVED]

What is the output of ls -l /dev/hdc ?
It should be root:optical - if you have this add your user to group optical and try again.

Latest udev has also some changes that can do wrong group permission. If you have root:disk read this:
http://bugs.archlinux.org/?do=details&id=2691
http://bbs.archlinux.org/viewtopic.php?t=12071

Offline

#3 2005-05-11 23:45:55

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

Re: dvd's don't play: not sure why? [SOLVED]

lanrat, you were right! so this is the case then? optical is used for (duh!) optical drives and their playback?


There is no spoon in Arch...

Offline

#4 2005-05-12 10:39:52

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: dvd's don't play: not sure why? [SOLVED]

It's just used for /dev/hdc - you can't have many group permissions for one device :-)

I don't know how it works internally in a dvd player but it complained about an access to /dev/hdc.

Offline

#5 2005-06-16 15:37:33

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: dvd's don't play: not sure why? [SOLVED]

I had the same problem and I am in the optical group. Some programs will not look at /media/dvdwriter or cdwriter for access. What I had to do to get it to work was to symlink the /media/dvdwriter to /mnt/dvd and cdwriter to /mnt/cd. This made my other apps recognise the cd's/dvd's.

But, how can I force in fstab to add ro to the options line. If I manually put it in, then, on a reboot, the ro option is gone.

Thanks!!!

Joe

Offline

#6 2005-06-16 23:51:04

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

Re: dvd's don't play: not sure why? [SOLVED]

EmbraceThePenguin wrote:

I had the same problem and I am in the optical group. Some programs will not look at /media/dvdwriter or cdwriter for access. What I had to do to get it to work was to symlink the /media/dvdwriter to /mnt/dvd and cdwriter to /mnt/cd. This made my other apps recognise the cd's/dvd's.

But, how can I force in fstab to add ro to the options line. If I manually put it in, then, on a reboot, the ro option is gone.

Thanks!!!

Joe

If you are reffering to the options of the /media/... drives, then I have the exact same question... after reading the docs I cant see a solution (you need to read up on fstab-sync) If I get a solution I'll post it here


There is no spoon in Arch...

Offline

Board footer

Powered by FluxBB