linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: ERROR IN LOGFILE
Date: Thu, 25 Nov 2004 17:13:21 +0000	[thread overview]
Message-ID: <1101402801.13444.30.camel@localhost.localdomain> (raw)
In-Reply-To: <1101377945.5937.2.camel@localhost>

On Thu, 2004-11-25 at 17:47 +0100, Sasa Ostrouska wrote:
> On Thu, 2004-11-25 at 17:10 +0100, Kay Sievers wrote:
> > On Thu, 2004-11-25 at 11:19 +0100, Sasa Ostrouska wrote:
> > > Hi to all of you !!
> > > 
> > > I played today with my quickcam and saw the following message in the
> > > /var/log/messages 
> > > I use slackware-current and I would like to know more about that.
> > > Can somebody explain me how can I get rid of that error message ?
> > 
> > > Nov 25 11:14:05 localhost wait_for_sysfs[5761]: either wait_for_sysfs
> > > (udev 042) needs an update to handle the device
> > > '/class/video4linux/video0' properly (no device symlink) or the
> > > sysfs-support of your device's driver needs to be fixed, please report
> > > to <linux-hotplug-devel@lists.sourceforge.net>
> > 
> > It's cause the driver of your camera does not create a link in sysfs to
> > the physical device behind the videodevice. This is needed for modern
> > hardware integration or udev's BUS= matches. 
> > 
> > How does "ls -l /sys/class/video4linux/video0" look like?
> > 
> root@rc-vaio:/home/sasa# ls -l /sys/class/video4linux/video0/
> total 0
> -r--r--r--  1 root root 4096 2004-11-25 17:44 dev
> -r--r--r--  1 root root 4096 2004-11-25 17:44 name
> root@rc-vaio:/home/sasa#
> 
> 
> > What's the name of the module? Is it in the stock kernel?
> > 
> The name of the module is quickcam and it is not in the stock kernel.
> I compiled it from source. 

You may bug the author of the driver to pass the physical device to the
driver core to get the links automatically created at the videodevice
registration.

As an example, for my ov511 usb-webcam it looks like this:

  [kay@pim ~]$ tree /sys/class/video4linux/video0/
  /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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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

      parent reply	other threads:[~2004-11-25 17:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-25 10:19 ERROR IN LOGFILE Sasa Ostrouska
2004-11-25 16:10 ` Kay Sievers
2004-11-25 16:47 ` Sasa Ostrouska
2004-11-25 17:13 ` Kay Sievers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1101402801.13444.30.camel@localhost.localdomain \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).