Re: gspca v4l2
Aurélien Minet <[email protected]>
| Newsgroups | gmane.linux.drivers.spca50x.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jean-Francois, > > [snip] >> [ 482.949839] spca508: reg_read err 1 >> [ 482.949855] spca508: Error reading USB Vendor ID from Global register > [snip] > > Ok, I saw this (small) problem. It is fixed in the lastest version > (0.0.18). And in the following (0.0.19) also [ 2934.282250] gspca: probing 8086:0110 [ 2934.287859] spca508: Read from GLOBAL: USB Vendor ID 0x8086 [ 2934.293836] spca508: Read from GLOBAL: USB Product ID 0x0110 [ 2934.296829] spca508: Read from GLOBAL: Window 1 average luminance 0 [ 2934.492624] usbcore: registered new interface driver spca508 [ 2934.492863] spca508: v1.0.0 registered > To go further, I'd be happy to get a full trace, i.e.: > > 1) do > echo 0x1f > /sys/module/gspca_main/parameters/debug ok, (nice to have sysfs interface, what is comp_fac for ?) > 2) run luvcview a few seconds got a "black" outpout, ie: no output. > > 3) extract the trace from /var/log/kern.log trace is in attachment (done with 0.0.19) > Merci bien. de rien Aurélien ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Spca50x-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spca50x-devs
spca508.log
(text/x-log, 6.2 KB)
[ 3204.569701] Linux video capture interface: v2.00 [ 3204.571272] gspca: main v0.0.19 registered [ 3204.572404] spca508: camera probe [ 3204.572413] gspca: probing 8086:0110 [ 3204.578389] spca508: Read from GLOBAL: USB Vendor ID 0x8086 [ 3204.584374] spca508: Read from GLOBAL: USB Product ID 0x0110 [ 3204.587356] spca508: Read from GLOBAL: Window 1 average luminance 139 [ 3204.778162] usbcore: registered new interface driver spca508 [ 3204.778171] spca508: v1.0.0 registered [ 3251.834087] gspca: opening [ 3251.834314] gspca: open OK [ 3251.834393] gspca: querycap [ 3251.834398] gspca main driver: v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) [ 3251.834404] gspca main driver: driver=spca508, card=Intel Easy PC Camera, bus=0000:00:02.0, version=0x00000013, capabilities=0x05000001 [ 3251.834566] gspca main driver: v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605) [ 3251.834571] gspca main driver: type=video-cap [ 3251.834575] gspca main driver: width=320, height=240, format=MJPG, field=any, bytesperline=0 sizeimage=0, colorspace=0 [ 3251.834579] gspca: set fmt cap MJPG 320x240 [ 3251.834582] gspca: try fmt cap MJPG 320x240 [ 3251.834585] gspca: new format YUYV 320x240 [ 3251.834839] gspca main driver: v4l2 ioctl VIDIOC_S_PARM, dir=rw (0xc0cc5616) [ 3251.834844] gspca main driver: type=1 [ 3251.834965] gspca: reqbufs 4 [ 3251.835028] gspca: frame alloc fr_sz: 153600 [ 3251.835031] gspca: new fr_sz: 155648 [ 3251.835982] gspca: reqbufs st:0 c:4 [ 3251.835992] gspca main driver: v4l2 ioctl VIDIOC_REQBUFS, dir=rw (0xc0145608) [ 3251.835997] gspca main driver: count=4, type=video-cap, memory=mmap [ 3251.836304] gspca: querybuf [ 3251.836308] gspca main driver: v4l2 ioctl VIDIOC_QUERYBUF, dir=rw (0xc0445609) [ 3251.836314] gspca main driver: 00:00:00.00000000 index=0, type=video-cap, bytesused=0, flags=0x00000000, field=1, sequence=0, memory=mmap, offset/userptr=0x00000000, length=155648 [ 3251.836319] gspca main driver: timecode= 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 3251.836563] gspca: mmap start:b6a10000 size:155648 [ 3251.836642] gspca: querybuf [ 3251.836646] gspca main driver: v4l2 ioctl VIDIOC_QUERYBUF, dir=rw (0xc0445609) [ 3251.836651] gspca main driver: 00:00:00.00000000 index=1, type=video-cap, bytesused=0, flags=0x00000000, field=1, sequence=0, memory=mmap, offset/userptr=0x00026000, length=155648 [ 3251.836656] gspca main driver: timecode= 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 3251.836858] gspca: mmap start:b69e2000 size:155648 [ 3251.836938] gspca: querybuf [ 3251.836941] gspca main driver: v4l2 ioctl VIDIOC_QUERYBUF, dir=rw (0xc0445609) [ 3251.836946] gspca main driver: 00:00:00.00000000 index=2, type=video-cap, bytesused=0, flags=0x00000000, field=1, sequence=0, memory=mmap, offset/userptr=0x0004c000, length=155648 [ 3251.836951] gspca main driver: timecode= 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 3251.837147] gspca: mmap start:b69bc000 size:155648 [ 3251.837221] gspca: querybuf [ 3251.837224] gspca main driver: v4l2 ioctl VIDIOC_QUERYBUF, dir=rw (0xc0445609) [ 3251.837229] gspca main driver: 00:00:00.00000000 index=3, type=video-cap, bytesused=0, flags=0x00000000, field=1, sequence=0, memory=mmap, offset/userptr=0x00072000, length=155648 [ 3251.837234] gspca main driver: timecode= 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 3251.837488] gspca: mmap start:b6996000 size:155648 [ 3251.837562] gspca: qbuf 0 [ 3251.837625] gspca: qbuf q:1 i:0 o:0 [ 3251.837628] gspca main driver: v4l2 ioctl VIDIOC_QBUF, dir=rw (0xc044560f) [ 3251.837633] gspca main driver: 00:00:00.00000000 index=0, type=video-cap, bytesused=0, flags=0x00000002, field=0, sequence=0, memory=mmap, offset/userptr=0x00000000, length=0 [ 3251.837638] gspca main driver: timecode= 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 3251.837831] gspca: qbuf 1 [ 3251.837893] gspca: qbuf q:2 i:0 o:0 [ 3251.837896] gspca main driver: v4l2 ioctl VIDIOC_QBUF, dir=rw (0xc044560f) [ 3251.837901] gspca main driver: 00:00:00.00000000 index=1, type=video-cap, bytesused=0, flags=0x00000002, field=0, sequence=0, memory=mmap, offset/userptr=0x00000000, length=0 [ 3251.837905] gspca main driver: timecode= 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 3251.838105] gspca: qbuf 2 [ 3251.838167] gspca: qbuf q:3 i:0 o:0 [ 3251.838170] gspca main driver: v4l2 ioctl VIDIOC_QBUF, dir=rw (0xc044560f) [ 3251.838175] gspca main driver: 00:00:00.00000000 index=2, type=video-cap, bytesused=0, flags=0x00000002, field=0, sequence=0, memory=mmap, offset/userptr=0x00000000, length=0 [ 3251.838179] gspca main driver: timecode= 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 3251.838373] gspca: qbuf 3 [ 3251.838433] gspca: qbuf q:0 i:0 o:0 [ 3251.838436] gspca main driver: v4l2 ioctl VIDIOC_QBUF, dir=rw (0xc044560f) [ 3251.838441] gspca main driver: 00:00:00.00000000 index=3, type=video-cap, bytesused=0, flags=0x00000002, field=0, sequence=0, memory=mmap, offset/userptr=0x00000000, length=0 [ 3251.838446] gspca main driver: timecode= 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 3251.941932] gspca main driver: v4l2 ioctl VIDIOC_STREAMON, dir=-w (0x40045612) [ 3251.941946] gspca main driver: type=video-cap [ 3251.941948] gspca: stream on [ 3251.942265] gspca: init transfer [ 3251.942269] gspca: set iso ep [ 3251.942272] gspca: get iso nbalt 8 [ 3251.942274] gspca: test ISOC alt 7 endpoint 0x81 [ 3251.942276] gspca: ISOC alt 7 endpoint 0x81 OK [ 3251.961954] gspca: iso packet size 1023 [ 3251.973173] gspca: submit all URBs [ 3251.973453] gspca: stream on OK YUYV 320x240 [ 3251.973538] gspca: dqbuf [ 3260.277257] gspca main driver: err: [ 3260.277266] gspca main driver: v4l2 ioctl VIDIOC_DQBUF, dir=rw (0xc0445611) [ 3260.278510] gspca: closing [ 3260.282708] gspca: kill transfer [ 3260.288841] gspca: urb out of sequence [ 3260.288852] gspca: unknown urb [ 3260.290842] gspca: urb out of sequence [ 3260.290852] gspca: unknown urb [ 3260.291833] gspca: urb out of sequence [ 3260.291843] gspca: unknown urb [ 3260.309570] gspca: stream off OK [ 3260.309821] gspca: frame free [ 3260.309899] gspca: closed