On Wed, Jul 22, 2009 at 01:57:39PM +0200, Laurent Pinchart wrote:
> On Wednesday 22 July 2009 13:34:06 Rogier Wolff wrote:
> > Hi,
> >
> > I bought a 5 mpixel webcam. And as a reviewer mentioned "better than
> > 1.3 mpixel", I expected about 1.3Mpixels.
> >
> > It seems to be 0.3 mpixels: 640x480. However I can't seem to be able to
> > change resolutions in wxcam.
>
> Based on the USB VID:PID, your camera supports the following resolutions:
...
> 640x480
Correct, it seems. I'm still looking for a cheapish camera that has
a bigger sensor. Does anybody know one such webcam?
> 'lsusb -v -d 058f:3820' can help you quickly verify this.
>
> > Anyway, wxcam sees a 640x480 image, but every other program that
> > I've been trying gives errors:
> > gqcam
> > lucview
> > xine
> > codeine
> > mplayer
> >
> > gqcam is the most "informative": It shows:
> > Error reading image...
> > at a rate similar to the refresh rate.
>
> Does the driver print any error message to the kernel log ?
No.
> What error messages does luvcview print ?
None.
This is the "per frame" list of system calles.
fd 3 = link to X server
fd 4 = ??
fd 5 = /dev/video0
(I redetected my uvc cam to take first position)
26214 <... ioctl resumed> , 0x85096dc) = 0
26214 ioctl(5, VIDIOC_QBUF, 0x85096dc) = 0
26214 select(5, [4], [4], NULL, NULL) = 1 (out [4])
26214 writev(4,
[{"\205\23\r\0\204\0\0\0\r\0\200\5\16\0\200\5\1\0\300\5YUY2\0\0\0\0\0\0\0\0\200\2\0\2\0\0\0\0\200\2\0\2\200\2\0\2\0\3\3\3+\3\1\0"...,
56}, {NULL, 0}, {""..., 0}], 3) = 56
26214 select(5, [4], [], NULL, NULL) = 1 (in [4])
26214 read(4,
"\1\1#\0\0\0\0\0\3\0\200\5\0\0\0\0\4\0\0\0\0\0\0\0\0\353\222\n\0\0\0\0"...,
4096) = 32
26214 read(4, 0x84e5c38, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
26214 select(4, [3], [3], NULL, NULL) = 1 (out [3])
26214 writev(3,
[{"\22\0\17\0\3\0\200\5'\0\0\0\37\0\0\0\10\0\1\0\"\0\0\0LUVCview (c) Michel
Xhaard, 09
Fps\0\0\22\0\17\0\3\0\200\5\1\1\0\0\362\0\0\0\10\200\0\0\"\0\0\0LUVCview (c)
Michel Xhaard, 09 Fps\4\0+\0\1\0"..., 124}, {NULL, 0}, {""..., 0}], 3) = 124
26214 select(4, [3], [], NULL, NULL) = 1 (in [3])
26214 read(3,
"\34\200w\0\3\0\200\5'\0\0\0\356:7\5\0\255\242\277\332\37\t\0108\256\242\277\3\0\200\5\34\200x\0\3\0\200\5\1\1\0\0\356:7\5\0\255\242\277\332\37\t\0108\256\242\277\3\0\200\5\1\1y\0\0\0\0\0\3\0\200\5\0\0\0\0\4\0\0\0\10\0\0\0x\365\313\r\0\0\0\0"...,
4096) = 96
26214 read(3, 0x84dae38, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
26214 nanosleep({0, 10000000}, {0, 10000000}) = 0
26214 gettimeofday({1248325484, 333203}, NULL) = 0
26214 ioctl(5, VIDIOC_DQBUF <unfinished ...>
26215 <... nanosleep resumed> {0, 50000000}) = 0
26215 read(3, 0x84dae38, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
26215 read(3, 0x84dae38, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
26215 read(3, 0x84dae38, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
26215 select(4, [3], NULL, NULL, {0, 0}) = 0 (Timeout)
26215 nanosleep({0, 50000000}, {0, 50000000}) = 0
26215 read(3, 0x84dae38, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
26215 select(4, [3], NULL, NULL, {0, 0}) = 0 (Timeout)
26215 nanosleep({0, 50000000}, <unfinished ...>
26214 <... ioctl resumed> , 0x85096dc) = 0
26214 ioctl(5, VIDIOC_QBUF, 0x85096dc) = 0
My kernel log shows:
[87391.805677] usbcore: deregistering interface driver uvcvideo
[87404.523998] uvcvideo: Found UVC 1.00 device USB 2.0 PC Camera (058f:3820)
[87404.526510] input: USB 2.0 PC Camera as
/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/input/input7
[87404.544709] usbcore: registered new interface driver uvcvideo
[87404.544714] USB Video Class driver (v0.1.0)
(I first reported it showed "nothing" because I didn't realize it
printed things at startup.)
Roger.
--
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
** Delftechpark 26 2628 XH Delft, The Netherlands. KVK: 27239233 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement.
Does it sit on the couch all day? Is it unemployed? Please be specific!
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel