Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/video and devfs
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
MrChucho
n00b
n00b


Joined: 05 Feb 2003
Posts: 44
Location: Tulsa, OK

PostPosted: Fri Jun 27, 2003 10:17 pm    Post subject: /dev/video and devfs Reply with quote

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
View user's profile Send private message
MrChucho
n00b
n00b


Joined: 05 Feb 2003
Posts: 44
Location: Tulsa, OK

PostPosted: Fri Jun 27, 2003 10:36 pm    Post subject: Reply with quote

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... :oops:

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
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Fri Jun 27, 2003 10:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
petu
Apprentice
Apprentice


Joined: 01 Sep 2002
Posts: 269
Location: Turku, Finland

PostPosted: Sun Jun 29, 2003 5:57 pm    Post subject: Reply with quote

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
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