View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-13-2006, 12:49 PM   #1
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:
if I don't have a /dev/video0 node, I have to create it with
coz I don't have it, I follow such recipe with the commands:
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, 01:27 PM   #2
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 503
Blog Entries: 1

Rep: Reputation: Disabled
created device node disappears on reboot

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.

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

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


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 12:28 PM
Created new partition. No device node for it. udev Slack10.2 myslfkeepslippin Linux - General 5 02-01-2006 03:16 PM
Floppy device node missing. jcormacey Red Hat 2 01-25-2006 06:05 AM
Problem in opening node created by mknod bond_7942 Linux - Software 3 11-02-2005 05:12 AM
device icons created automatically after reboot mushmaster Linux - Newbie 2 08-14-2004 08:00 PM

All times are GMT -5. The time now is 02:19 AM.

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