From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 29 Sep 2004 10:22:24 +0000 Subject: Re: udev device nodes won't come back Message-Id: <1096453344.5070.11.camel@localhost.localdomain> List-Id: References: <415A5FCA.2000805@nodivisions.com> In-Reply-To: <415A5FCA.2000805@nodivisions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, 2004-09-29 at 03:10 -0400, Anthony DiSante wrote: > Hello, > > I'm running udev 030 on a Gentoo / 2.6.8 system, and I'm having some trouble > with my tv tuner card. While trying to get things working, I noticed that > the /dev/v4l directory was only present when the bttv module was loaded. > But at one point after a system lockup, /dev/v4l was there even though bttv > was *not* loaded. > > So I deleted /dev/v4l expecting it to be properly re-created when I loaded > bttv... but that didn't happen. How can I fix this? Does running /sbin/udevstart create the node? What is in the db? [kay@pim ~]$ udevinfo -q all -p /sys/class/video4linux/video0 P: /sys/class/video4linux/video0 N: video0 T: c M: 020660 S: video O: root G: root F: /etc/udev/rules.d/50-udev.rules L: 33 U: 45486 What does udevtest print? [kay@pim ~]$ udevtest /sys/class/video4linux/video0 version 032 looking at '/class/video4linux/video0' configured rule in '/etc/udev/rules.d/50-udev.rules' at line 33 applied, 'video0' becomes '%k' creating device node '/dev/video0', major = '81', minor = '0', mode = '020660', uid = '0', gid = '0' How does the corresponding /sys-device entry look like? [kay@pim ~]$ tree /sys/class/video4linux/ /sys/class/video4linux/ `-- video0 |-- bridge |-- brightness |-- contrast |-- custom_id |-- dev |-- device -> ../../../devices/pci0000:00/0000:00:1d.1/usb3/3-1 |-- driver -> ../../../bus/usb/drivers/usb |-- exposure |-- hue |-- model |-- name |-- saturation `-- sensor Good luck, Kay ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel