20230115205210.20077-1-laurent.pinchart@xxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan. 16, 2023, 3:11 p.m. UTC, Ricardo Ribalda wrote:

> no need to change any code. Just do:
> 
> sudo rmmod uvcvideo; sudo modprobe uvcvideo  trace=0xffffffff
> 
> then get some frames
> 
> yavta --capture=3 /dev/video0
> 
> then run dmesg
> 
> Thanks!



Hi Ricardo,
I have a 4035:4035 and compiled the patched module today.
As I didn't see any update on the patchwork, I suppose no logs were brought to you and therefore thought I could contribute.

Here is the dmesg output:


`[13784.543780] usb 3-6: uvc_v4l2_open
[13784.546197] usb 3-6: uvc_v4l2_mmap
[13784.546384] usb 3-6: uvc_v4l2_mmap
[13784.546497] usb 3-6: uvc_v4l2_mmap
[13784.546583] usb 3-6: uvc_v4l2_mmap
[13784.546668] usb 3-6: uvc_v4l2_mmap
[13784.546762] usb 3-6: uvc_v4l2_mmap
[13784.546853] usb 3-6: uvc_v4l2_mmap
[13784.546943] usb 3-6: uvc_v4l2_mmap
[13784.554953] usb 3-6: Device requested 3060 B/frame bandwidth
[13784.554965] usb 3-6: Selecting alternate setting 11 (3060 B/frame bandwidth)
[13784.555469] usb 3-6: Allocated 5 URB buffers of 32x3060 bytes each
[13785.143551] usb 3-6: Frame complete (EOF found)
[13785.143556] usb 3-6: EOF in empty payload
[13785.143558] usb 3-6: frame 1 stats: 3967/694/4677 packets, 1/3966/4677 pts (early initial), 4676/4677 scr, last pts/stc/sof 2481712061/2486485544/459
[13785.143735] usb 3-6: uvc_v4l2_poll
[13785.243551] usb 3-6: Frame complete (EOF found)
[13785.243557] usb 3-6: frame 2 stats: 88/695/798 packets, 1/87/798 pts (early initial), 797/798 scr, last pts/stc/sof 2486500781/2491273546/559
[13785.243749] usb 3-6: uvc_v4l2_poll
[13785.343633] usb 3-6: Frame complete (EOF found)
[13785.343648] usb 3-6: frame 3 stats: 88/694/798 packets, 1/87/798 pts (early initial), 797/798 scr, last pts/stc/sof 2491289501/2496061546/658
[13785.343851] usb 3-6: uvc_v4l2_poll
[13785.344131] usb 3-6: uvc_v4l2_poll
[13785.345209] usb 3-6: uvc_v4l2_poll
[13785.345752] usb 3-6: uvc_v4l2_poll
[13785.346174] usb 3-6: uvc_v4l2_release`



And the yavta output:



`Device /dev/video0 opened: ACER HD User Facing: ACER HD Us (usb-0000:00:14.0-6).
Video format: YUYV (56595559) 1280x720
8 buffers requested.
length: 1843200 offset: 0
Buffer 0 mapped at address 0x7f9834044000.
length: 1843200 offset: 1843200
Buffer 1 mapped at address 0x7f9833e82000.
length: 1843200 offset: 3686400
Buffer 2 mapped at address 0x7f9833cc0000.
length: 1843200 offset: 5529600
Buffer 3 mapped at address 0x7f9833afe000.
length: 1843200 offset: 7372800
Buffer 4 mapped at address 0x7f983393c000.
length: 1843200 offset: 9216000
Buffer 5 mapped at address 0x7f983377a000.
length: 1843200 offset: 11059200
Buffer 6 mapped at address 0x7f98335b8000.
length: 1843200 offset: 12902400
Buffer 7 mapped at address 0x7f98333f6000.
0 (0) [-] 0 1843200 bytes 13784.183367 1701162393.013189
1 (1) [-] 1 1843200 bytes 13784.767378 1701162393.113229
2 (2) [-] 2 1843200 bytes 13784.867377 1701162393.213291
Captured 2 frames in 0.200301 seconds (9.984973 fps, 27606452.289305 B/s).
8 buffers released.`


Tell me if you need me to provide anything else.
Sorry if this issue has already been solved - I am new to this !

Best Regards





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux