From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jerry" Date: Mon, 07 Nov 2005 07:19:46 +0000 Subject: Question about video4linux.agent Message-Id: <012901c5e36b$a1e655c0$9700a8c0@jerrynb> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Dear Sir, Environment: Suse 9.1 professional Kernel: 2.6.4-52-smp Project: writing USB driver for CMOS sensor problem description: 1. the code modified from ov511 sample source code. 2. the driver has been registered successfully. 3. videodev module also be installed 4. the devices and drivers is located in /sys/bus/usb/devices and /sys/bus/usb/drivers instead of /proc/bus/usb. 5. when I execute the following code, rc=usb_control_msg(wis->dev, usb_rcvctrlpipe(wis->dev,0), 3, //REG_IO USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, 0, 0x02, &wis->cbuf[0],1,HZ); I got the return value of rc=-32, means Stalled(device not responding) and error messages I got from /var/log/messages is linux /sbin/hotplug[4172]: no runnable /etc/hotplug/video4linux.agent is installed. 6. I cannot find video4linux.agent in my system. Can anybody help me to solve this problem ? Thanks and Regards, Jerry ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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