From: "Jerry" <jerry@wison.com.tw>
To: linux-hotplug@vger.kernel.org
Subject: Question about video4linux.agent
Date: Mon, 07 Nov 2005 07:19:46 +0000 [thread overview]
Message-ID: <012901c5e36b$a1e655c0$9700a8c0@jerrynb> (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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
reply other threads:[~2005-11-07 7:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='012901c5e36b$a1e655c0$9700a8c0@jerrynb' \
--to=jerry@wison.com.tw \
--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