linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev device nodes won't come back
@ 2004-09-29  7:10 Anthony DiSante
  2004-09-29 10:22 ` Kay Sievers
  2004-09-29 18:46 ` Anthony DiSante
  0 siblings, 2 replies; 3+ messages in thread
From: Anthony DiSante @ 2004-09-29  7:10 UTC (permalink / raw)
  To: linux-hotplug

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?

Thanks,
Anthony DiSante
http://nodivisions.com/


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev device nodes won't come back
  2004-09-29  7:10 udev device nodes won't come back Anthony DiSante
@ 2004-09-29 10:22 ` Kay Sievers
  2004-09-29 18:46 ` Anthony DiSante
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2004-09-29 10:22 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev device nodes won't come back
  2004-09-29  7:10 udev device nodes won't come back Anthony DiSante
  2004-09-29 10:22 ` Kay Sievers
@ 2004-09-29 18:46 ` Anthony DiSante
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony DiSante @ 2004-09-29 18:46 UTC (permalink / raw)
  To: linux-hotplug

Kay Sievers wrote:
> 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

I had all the tv-related modules rmmoded overnight, and today when I 
modprobed bttv, all the nodes got created properly.  Very strange... I guess 
there's some kind of timeout in the code somewhere?

I'll try these tests next time though; since problems with my tv-tuner 
card(s) are never-ending, I'm sure I'll get the chance to.

Thanks,
Anthony DiSante
http://nodivisions.com/


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-29 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-29  7:10 udev device nodes won't come back Anthony DiSante
2004-09-29 10:22 ` Kay Sievers
2004-09-29 18:46 ` Anthony DiSante

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).