From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sun, 21 Nov 2004 14:45:06 +0000 Subject: Re: Report about video4linux Message-Id: <1101048306.5030.109.camel@localhost.localdomain> List-Id: References: <1101042558.4408.0.camel@linuxbox> In-Reply-To: <1101042558.4408.0.camel@linuxbox> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, 2004-11-21 at 14:09 +0100, Frans-Willem wrote: > Nov 21 14:07:32 beemster kernel: usb 2-1: new full speed USB device > using address 5 > Nov 21 14:07:32 beemster kernel: pwc Philips PCVC740K (ToUCam > Pro)/PCVC840 (ToUCam II) USB webcam detected. > Nov 21 14:07:33 beemster kernel: pwc Registered as /dev/video0. > Nov 21 14:07:38 beemster wait_for_sysfs[4149]: either wait_for_sysfs > (udev 039)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 > > > Running FC3 Ahh, the driver is back in the FC kernel. Seems that the version of Luc Saillard (luc@saillard.org) is used. Hey Luc, care to pass the physical device down to the videodev registration to let the class driver create the symlink to the physical usb device. This is needed for e.g. HAL (hal.freedesktop.org) to recognize the device. As an example, here is my old ov511 camera with these links: [kay@pim linux.kay]$ ls -l /sys/class/video4linux/video0/ -r--r--r-- 1 root root 4096 Nov 21 15:40 bridge -r--r--r-- 1 root root 4096 Nov 21 15:40 brightness -r--r--r-- 1 root root 4096 Nov 21 15:40 contrast -r--r--r-- 1 root root 4096 Nov 21 15:40 custom_id -r--r--r-- 1 root root 4096 Nov 21 15:40 dev lrwxrwxrwx 1 root root 0 Nov 21 15:40 device -> ../../../devices/pci0000:00/0000:00:1d.1/usb3/3-1 lrwxrwxrwx 1 root root 0 Nov 21 15:40 driver -> ../../../bus/usb/drivers/usb -r--r--r-- 1 root root 4096 Nov 21 15:40 exposure -r--r--r-- 1 root root 4096 Nov 21 15:40 hue -r--r--r-- 1 root root 4096 Nov 21 15:40 model -r--r--r-- 1 root root 4096 Nov 21 15:40 name -r--r--r-- 1 root root 4096 Nov 21 15:40 saturation -r--r--r-- 1 root root 4096 Nov 21 15:40 sensor Thanks, Kay ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ 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