From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mAT8RVNW026754 for ; Sat, 29 Nov 2008 03:27:31 -0500 Received: from web39708.mail.mud.yahoo.com (web39708.mail.mud.yahoo.com [209.191.106.54]) by mx3.redhat.com (8.13.8/8.13.8) with SMTP id mAT8RGVZ023323 for ; Sat, 29 Nov 2008 03:27:17 -0500 Date: Sat, 29 Nov 2008 00:27:16 -0800 (PST) From: wei kin To: video4linux-list@redhat.com MIME-Version: 1.0 Message-ID: <368069.23199.qm@web39708.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Unable to achieve 30fps using 'read()' in C Reply-To: kin2031@yahoo.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: 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 =A0sda:<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/video4lin= ux/API/V4L2_API/spec/a16706.htm. However, I get error message stated that= =A0 '/dev/video0 is no V4L2 device'. Do anyone have any idea? Thanks, Rgds nik2031 On Fri, Nov 28, 2008 at 3:02 AM, wei kin wrote: > Hi all, I am new in v4l programming. What I did in my code is I used 'read( )' in C programming to read images from my Logitech Quickcam Express. My problem is I can't get 30frames per second, what I got is just 5fps when I loop and read for 200times. Do anyone know why is it under performance? Thanks > > Rgds, > nik2031 =0A=0A=0A -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list