View previous topic :: View next topic |
Author |
Message |
azlan Guru
Joined: 11 Nov 2002 Posts: 381 Location: Seattle WA USA
|
Posted: Sat Mar 08, 2003 1:31 pm Post subject: how to set up /dev/dvd |
|
|
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 |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Sat Mar 08, 2003 1:51 pm Post subject: |
|
|
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 |
|
|
dna42 n00b
Joined: 26 Feb 2003 Posts: 72
|
Posted: Sat Mar 08, 2003 2:43 pm Post subject: |
|
|
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 |
|
|
e2ka n00b
Joined: 03 Nov 2002 Posts: 56
|
Posted: Wed Mar 12, 2003 5:51 am Post subject: |
|
|
once you've uncommented the lines, how do you "refresh" the /dev ?
-e2ka |
|
Back to top |
|
|
Grunt n00b
Joined: 20 Dec 2002 Posts: 19
|
Posted: Fri Mar 21, 2003 12:32 pm Post subject: |
|
|
ps -ax | grep devfs
And then
kill -HUP pid from above
This causes devfs to reread it's config. |
|
Back to top |
|
|
|