hey all - don't jump to conclusions - readme carefully
what i can't do
play dvd as user with xv
what i can do
play ANY dvd/video as root
play dvd as user with another video output
play avi from harddisk and cdrom as user with xv
so, user can use xv as long as it is not with the dvd. i think there is a permissions issue but i dunno how to start looking
all playback is set run from /dev/cdroms/cdrom0 based on Sarah's suggestion and the fact that i couldn't get the symlink to remain after reboots????
if you are using udev you may have to set the path as /mnt/cdrom (or something). I was having similar path problems with udev and some apps and it was annoying me enough for me to switch back to devfs.
I am not your friend
To read a dvd, your player has to have read access to the block device. In this example, it's probably /dev/cdroms/cdrom0 (or 1 or whatever) and that is a symlink to something in /dev/ide/...
You need to set your /etc/devfsd.conf to give group/world read access to that device. I create a disk group and put anyone I want to be able to access the dvd into that group, then give the group read access to the device, but you can do it however you want.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
REGISTER ^ide/host0/bus1/target0/lun0/cd PERMISSIONS root.cd 440
i added that to /etc/devfsd.conf and it all seems to work now :oops: sorry i didn't try it earlier. does this look ok?
can you actually chmod /dev devices when using devfs? i tried to do chmods on the cdrom devs so do i need to undo this? i did chmod 777 :oops: