* Question about video4linux.agent
@ 2005-11-07 7:19 Jerry
0 siblings, 0 replies; only message in thread
From: Jerry @ 2005-11-07 7:19 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-07 7:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 7:19 Question about video4linux.agent Jerry
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).