Unable to achieve 30fps using 'read()' in C
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?
Thanks,
Rgds
nik2031
Quoted 1 line · wei kin
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
Quoted 3 lines
Rgds,
nik2031
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 23 lines · wei kin
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 Expressdmesg | 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 usinguhci_hcdand 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 usinguhci_hcdand 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 usinguhci_hcdand address 4 usb 4-1: configuration #1 chosen from 1 choice
Quoted 6 lines
dmesg | grep Logitech
input: ImPS/2 Logitech Wheel Mouse as /class/input/input2I 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/video0is no V4L2 device'.Do anyone have any idea?
You use the gspca v1 which is not v4l2 compliant. Please, switch to gspca v2 (look at my web page). Note that for your webcam, the subdriver has some remaining problems. I hope to fix them soon.
Regards.
Signature · 8 lines
Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ -- video4linux-list mailing list Unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list