LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2006, 11:49 AM   #1
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Rep: Reputation: 30
Question device node created using mknod dissapear after reboot


I'm trying to make a webcam work under my slack10.2/2.6.18
In fact is a so cheap cam, that it doesn't even have any label.
I discover that the driver (probably) is the sn9c102.
the point is that, according to:
http://howtos.linux.com/howtos/Webcam-HOWTO/index.shtml
if I don't have a /dev/video0 node, I have to create it with
mknod.
coz I don't have it, I follow such recipe with the commands:
Code:
mknod /dev/video0 c 81 0;chown root.users /dev/video*;chmod g+rw /dev/video0
but xawtv continue complainin' there's no /dev/video0 device.
So, I reboot waiting the new node becomes 'visible' to the system.. but when I do so, /dev/video0 doesn't exist anymore! It disappear after rebooting. is that normal? am I forgetting any command?

any idea what's wrong, or what should I do to have an operating video device node?

thanks in advance
 
Old 12-13-2006, 12:27 PM   #2
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 498
Blog Entries: 1

Rep: Reputation: 56
created device node disappears on reboot

minike,
It depends on whether you are using a 2.6 series kernel & udev on your 10.2 install. If you are using udev, it repopulates /dev with every boot. You would have to research udev (see recent-state-of-udev & writing_udev_rules) and write a udev rule for your camera. Edit: Pay particular attention to permissions.
If you are using a 2.4 series kernel, thus no udev, I don't know what may be going on.
Regards,
Bill

Last edited by TSquaredF; 12-13-2006 at 12:28 PM.
 
Old 12-13-2006, 05:12 PM   #3
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
thanks, TSquaredF !
gonna go in that direction
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Device drivers : How to insmod and mknod through an application program? shendeswanand Linux - Newbie 0 02-08-2006 11:28 AM
Created new partition. No device node for it. udev Slack10.2 myslfkeepslippin Linux - General 5 02-01-2006 02:16 PM
Floppy device node missing. jcormacey Red Hat 2 01-25-2006 05:05 AM
Problem in opening node created by mknod bond_7942 Linux - Software 3 11-02-2005 04:12 AM
device icons created automatically after reboot mushmaster Linux - Newbie 2 08-14-2004 07:00 PM


All times are GMT -5. The time now is 02:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration