Skip to contentSkip to conversation

Question about video4linux.agent

DISCUSSION Jerry 1 participant 1 message Nov 7, 2005

lore
Share & tools
lore

Jerry

author
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel