Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to set up /dev/dvd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
azlan
Guru
Guru


Joined: 11 Nov 2002
Posts: 381
Location: Seattle WA USA

PostPosted: Sat Mar 08, 2003 1:31 pm    Post subject: how to set up /dev/dvd Reply with quote

ok getting on with things I want to try my dvd player, but it is currently configured as /dev/cdrom.
I have googled around a bit and could find very little. quick search on gentoo didn't come up with much either.
I haven't installed a dvd player because I know it is going to look for /dev/dvd and something about raw device access?
ya, anyhoo a couple of pointers would help.
I have compiled my kernel with support (I hope) so I just need to make the device files (I think).
_________________
there is no crazy, only violet and non violet..
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sat Mar 08, 2003 1:51 pm    Post subject: Reply with quote

When I want to use my DVD I access it trough the same device as the CDROM, /dev/cdroms/cdrom0. I simply configured kmplayer to look there and it goes.

Also, /dev/cdrom is a symlink to /dev/cdroms/cdrom0, so if you want to use /dev/dvd you might create a symlink.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
dna42
n00b
n00b


Joined: 26 Feb 2003
Posts: 72

PostPosted: Sat Mar 08, 2003 2:43 pm    Post subject: Reply with quote

just uncomment the following lines in /etc/devfsd.conf
Code:
LOOKUP          ^dvd$           CFUNCTION GLOBAL mksymlink ${mntpnt}/cdroms/cdrom0 dvd
REGISTER        ^cdroms/cdrom0$  CFUNCTION GLOBAL mksymlink ${devpath} dvd
UNREGISTER      ^cdroms/cdrom0$  CFUNCTION GLOBAL unlink dvd

make sure you replace cdrom0 with the appropriate drive
Back to top
View user's profile Send private message
e2ka
n00b
n00b


Joined: 03 Nov 2002
Posts: 56

PostPosted: Wed Mar 12, 2003 5:51 am    Post subject: Reply with quote

once you've uncommented the lines, how do you "refresh" the /dev ?

-e2ka
Back to top
View user's profile Send private message
Grunt
n00b
n00b


Joined: 20 Dec 2002
Posts: 19

PostPosted: Fri Mar 21, 2003 12:32 pm    Post subject: Reply with quote

ps -ax | grep devfs

And then

kill -HUP pid from above

This causes devfs to reread it's config.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum