newbie
June 9th, 2003, 00:44
I was playing with my freebsd system and thought I would setup my dvd player.
At least I thought I would. I mean I SHOULD be able to do anything I put my
mind to. :oops: Anyways it didn't quite happen. I right clicked on the screen
and came across the thing you click to setup the icon for your cd/dvd player.
When I click on the cd/dvd icon I get a message that says. home directory/Desktop/CD%2fDVD-ROM

is of type FSDevice but has no Dev= entry

Man I feel so ashamed and so incomplete. I mean what kind of bsd user doesn't have an Dev= entry. :lol:
Anyways I appreciate any info that anyone would like to share with me on this
what I need to type in for Dev= on the home file or whatever it is I need to do. :)

soup4you2
June 9th, 2003, 10:48
ln -s /dev/DVDDEVICE /dev/dvd
ln -s /dev/DVDDEVICE /dev/rdvd

then compile mplayer for use w/ dvd

WITH_DVD=yes
WITH_LIBDVDREAD=yes
WITHOUT_RUNTIME_CPUDETECTION=yes

$> mplayer -dvd 1

if you wish to use player which i kinda prefer...

Kernel_Killer
June 9th, 2003, 17:04
Hey E! Another option is to add an option to your command to gmplayer.

gmplayer -dvd-device=/dev/acd0c (or whatever the device name is)

Doing what S4u2 is saying would be the best answer, unless you decide to add the option above to your mplayer config file. Just keep in mind to run MPlayer as 'su' (I would say root, but that's too much power). :wink:

newbie
June 10th, 2003, 11:45
ln -s /dev/DVDDEVICE /dev/dvd
ln -s /dev/DVDDEVICE /dev/rdvd
Now is this something I type as a command or does it go in a file somewhere.
I appreciate the info on getting it setup with dvd players. That will come in
handy. But what I am working on right now is just getting it where I can view
data from the dvd player. Like my wallpaper collection that I have on disk for
example. When I click the icon on the screen that says cd/dvd I get the error that
is mentioned on the first message. I appreciate the helpfull information. Getting
the dvd players like mplayer or gplayer will be the next step.
Thanks alot. :)

soup4you2
June 10th, 2003, 14:29
you might want to look in your /etc/fstab file to see what device goes to your dvd player then make your symbolic links.. (ie.. the ls command) from that device to dvd and rdvd

ln -s /dev/ad0XXX /dev/dvd

and the same for rdvd..

if by chance your fstab file does not tell what the device is you can do a dmesg and scroll though the output to find out what it is...

you might also want to chmod those 2 symlinks to 644 (chmod 644 /dev/dvd) ...etc

newbie
June 10th, 2003, 16:56
Okay I realized that it would work under root. So is this normal or should I be able to
access my dvd player as regular user as well? I :oops:

Kernel_Killer
June 10th, 2003, 22:17
Running in root is normal. About the only way to mount with a user is to do a 'su' or a 'su' command. You could make it to let your users mount, but that would be one hell of a process. :D

soup4you2
June 11th, 2003, 13:30
to allow users to mount drives you need a sysctl setting of

vfs.usermount=1

then stick the elected users inside the operator group. the device you wish users to be able to mount needs approporite permissions though (644)

gorilla
November 14th, 2003, 15:37
Thanks for the mount tip. That now makes things easier.