From: wei kin <kin2031@yahoo.com>
To: video4linux-list@redhat.com
Subject: Re: Unable to achieve 30fps using 'read()' in C
Date: Sat, 29 Nov 2008 21:26:06 -0800 (PST) [thread overview]
Message-ID: <980206.90162.qm@web39701.mail.mud.yahoo.com> (raw)
Hi guys, thanks for the advice. However, after I install gspca v2 and run the API example in http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec/a16706.htm, I still get only 5fps. I am still wondering how others manage to get higher fps. Or do I need other programming technique such as thread programming to achieve that?
Thanks.
Rgds,
nik2031
On Sat, 2008-11-29 at 00:27 -0800, wei kin wrote:
> I installed qc-usb-0.6.6 and gspca-modules-2.6.18-5-xen-686 in my debian 2.6.18-5-xen. Below are what I got:
>
> lsusb
> Bus 004 Device 004: ID 046d:0920 Logitech, Inc. QuickCam Express
>
> dmesg | grep usb
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> usb usb1: configuration #1 chosen from 1 choice
> usb usb2: configuration #1 chosen from 1 choice
> usb usb3: configuration #1 chosen from 1 choice
> usb usb4: configuration #1 chosen from 1 choice
> usb 4-1: new full speed USB device using uhci_hcd and address 2
> usb 4-1: configuration #1 chosen from 1 choice
> usb usb5: configuration #1 chosen from 1 choice
> sda:<6>usb 4-1: USB disconnect, address 2
> usb 4-1: new full speed USB device using uhci_hcd and address 3
> usb 4-1: configuration #1 chosen from 1 choice
> usbcore: registered new driver gspca
> usb 4-1: USB disconnect, address 3
> usb 4-1: new full speed USB device using uhci_hcd and address 4
> usb 4-1: configuration #1 chosen from 1 choice
>
> dmesg | grep Logitech
> input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
>
> I did try out the API example in http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec/a16706.htm. However, I get error message stated that '/dev/video0 is no V4L2 device'.
>
> Do anyone have any idea?
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next reply other threads:[~2008-11-30 5:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-30 5:26 wei kin [this message]
2008-11-30 8:58 ` Unable to achieve 30fps using 'read()' in C Nicolas
-- strict thread matches above, loose matches on Subject: below --
2008-11-29 8:27 wei kin
2008-11-29 8:47 ` Jean-Francois Moine
2008-11-28 8:02 wei kin
2008-11-28 13:02 ` Jonathan Lafontaine
2008-11-28 15:33 ` Jackson Yee
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=980206.90162.qm@web39701.mail.mud.yahoo.com \
--to=kin2031@yahoo.com \
--cc=video4linux-list@redhat.com \
/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