View previous topic :: View next topic |
Author |
Message |
MrChucho n00b
Joined: 05 Feb 2003 Posts: 44 Location: Tulsa, OK
|
Posted: Fri Jun 27, 2003 10:17 pm Post subject: /dev/video and devfs |
|
|
I'm trying to get my webcam to work. I've got video4linux support and se401 (USB) support compiled it. I can load the modules, etc.
What I'm trying to do is figure out how to get "/dev/video" and/or "/dev/v4l" created. I know I can just use MAKEDEV to make the devices, but can't I also let devfs handle this? I assume I need to add something to "/etc/modules.conf" via "/etc/modules.d/". Am I totally off-base or what?
RMC |
|
Back to top |
|
|
MrChucho n00b
Joined: 05 Feb 2003 Posts: 44 Location: Tulsa, OK
|
Posted: Fri Jun 27, 2003 10:36 pm Post subject: |
|
|
OMG. It's funny how things don't work WHEN THEY'RE NOT PLUGGED IN! I wish there was as way to retract this post...
For what it's worth, the relevant devfs configuration files are:
In /etc/modules.devfs:
Code: | # Video capture devices
alias /dev/video* /dev/v4l
alias /dev/vbi* /dev/v4l
|
In /etc/devfsd.conf:
Code: | # Video4Linux devices
REGISTER v4l/.* PERMISSIONS root.video 660
|
|
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Fri Jun 27, 2003 10:38 pm Post subject: |
|
|
You can delete your posts with the x in the top right corner. Of course now I've posted here you can't. Mahahaha _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
petu Apprentice
Joined: 01 Sep 2002 Posts: 269 Location: Turku, Finland
|
Posted: Sun Jun 29, 2003 5:57 pm Post subject: |
|
|
MrChucho wrote: |
In /etc/modules.devfs:
Code: |
# Video capture devices
alias /dev/video* /dev/v4l
alias /dev/vbi* /dev/v4l
|
|
IMHO it's not wise to modify /etc/modules.devfs file because it will be overwrited when devfsd is reinstalled. Instead one should add /etc/modules.d/video file and add the contents there. _________________ Never be afraid to try something new. Remember, amateurs built the
ark; professionals built the Titanic. -- Anonymous |
|
Back to top |
|
|
|