From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8674 invoked from network); 5 Dec 2004 15:46:30 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 5 Dec 2004 15:46:30 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1Cayak-0002DZ-C7 for arch-gentoo-user@lists.gentoo.org; Sun, 05 Dec 2004 15:46:30 +0000 Received: (qmail 10999 invoked by uid 89); 5 Dec 2004 15:46:12 +0000 Mailing-List: contact gentoo-user-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-user@lists.gentoo.org X-BeenThere: gentoo-user@gentoo.org Received: (qmail 249 invoked from network); 5 Dec 2004 15:46:11 +0000 Message-ID: <33054.192.168.1.113.1102261559.squirrel@192.168.1.113> In-Reply-To: <41B3295D.1070101@planet.nl> References: <32986.192.168.1.113.1102259424.squirrel@192.168.1.113> <41B3295D.1070101@planet.nl> Date: Sun, 5 Dec 2004 10:45:59 -0500 (EST) From: "J. Patrick Campbell" To: gentoo-user@lists.gentoo.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on neo.lowmips.com X-Spam-Level: X-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Pyzor: Subject: Re: [gentoo-user] kernel 2.6.9r9 v4l missing X-Archives-Salt: 03e23bf0-4a28-474b-93f5-ab5da2271397 X-Archives-Hash: cc031a760eff697382c94fb3971b3a15 On Sun, December 5, 2004 10:29 am, Holly Bostick said: > J. Patrick Campbell wrote: >> i'm on udev and have compiled in support for my webcam and video for >> linux >> yet my /dev/v4l and /dev/video0 are missing. >> sorry if someone already answered, my router locked up overnight so i've >> been bouncing email. >> how do i create devices with udev? didn't see anything on the gentoo >> udev >> guide. >> >> Thanks, >> >> ~P > > Inexpert suggestion; corrections gratefully accepted: > > Udev creates devices on the fly. This means that it creates the devices > when something calls for them to be created. > > The easiest way I find to create devices like this (devices which will > be used later, but are not "called" by anything during boot) is to make > the drivers for such devices modular rather than compiling them directly > in, and then adding them to /etc/modules.autoload.d/kernel-2.6; that > way, when the module loads, the device is created. This is how I get my > Sidewinder gamepad to work (creating the device /dev/js0), for example-- > if I compile support directly into the kernel, udev isn't running when > the driver is loaded, because the device is detected during an earlier > stage of the boot process, so no device is created. I suppose I could > create a device in the udev config, but I have no interest in that, > since it's not a "special device that udev doesn't know about" (which is > the situation in which you are supposed to specifically configure udev > to create a device). It's supposed to do it automatically; this way, it > does. > > I would suggest that you modularize your video devices as well. > > Hope this helps. > Holly > > -- Holly, Thanks for you reply. I don't know what'sup with my kernel 2.6.9r9 but i just recompiled 2.6.9r4 and all is working great. Cam is working again. The only problem i see is i got a clock skew error message when compiling the newer kernel so i wonder if that messed things up? Although make menuconfig showed the ibm cam drivers loaded, when i zcat /proc/config.gz it showed the driver not being there. So i'm sticking with the older kernel for now. Thanks, ~P > gentoo-user@gentoo.org mailing list > > -- http://patrickcampbell.us -- gentoo-user@gentoo.org mailing list