NetBSD-Bugs archive

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

Re: kern/56115: uvideo does not work on rpi4



(repost as gnats doesn't know previous mail)

I rebuilt kernel with {USB,XHCI}_DEBUG, set
sysctl -w hw.xhci.debug=10, and re-run mplayer.

% mplayer tv://
[...]
Selected video codec: [rawyuy2] vfm: raw (RAW YU[  43.2245361] input control context: 32 bytes @ 0xffffc000adef1000
[  43.2385004] 00 00 00 00 09 00 00 00  00 00 00 00 00 00 00 00 | ................
[  43.2457881] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 | ................
[  43.2457881] input endpoint context: 32 bytes @ 0xffffc000adef1080
[  43.2591506] 00 00 00 00 28 02 fc 03  01 50 82 08 00 00 00 00 | ....(....P......
[  43.2664396] fc 03 00 00 00 00 00 00  00 00 00 00 00 00 00 00 | ................
[  43.2664396] output context: 32 bytes @ 0xffffc000adeef060
[  43.2791086] 01 00 00 00 28 02 fc 03  01 50 82 08 00 00 00 00 | ....(....P......
[  43.2791086] fc 03 00 00 00 00 00 00  00 00 00 00 00 00 00 00 | ................
Y2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout
v4l2: select timeout
v4l2: select timeout
v4l2: select timeout
v4l2: select timeout
v4l2: select timeout
v4l2: select timeout

I've found some ERRs in vmstat -u usbhist.

1618818118.241226 xhci_intr#21@0: called!
1618818118.241227 xhci_intr1#21@0: called: USBSTS 0x00000018
1618818118.241231 xhci_softintr#21@0: called: er: xr_ep 146 xr_cs 0
1618818118.241232 xhci_handle_event#27@0: called: event: 0xffffc0009d97f920 0x0000000008825000 0x12000000 0x03038000
1618818118.241232 xhci_event_transfer#26@0: called!
1618818118.241232 xhci_event_transfer#26@0: ERR 18 slot 3 dci 3
1618818118.241233 xhci_device_isoc_done#1@0: called: 0xffff0000fb332680 slot 3 dci 3
1618818118.241350 xhci_intr#22@0: called!
1618818118.241351 xhci_intr1#22@0: called: USBSTS 0x00000018
1618818118.241355 xhci_softintr#22@0: called: er: xr_ep 147 xr_cs 0
1618818118.241355 xhci_handle_event#28@0: called: event: 0xffffc0009d97f930 0x0000000008825010 0x12000000 0x03038000
1618818118.241355 xhci_event_transfer#27@0: called!
1618818118.241356 xhci_event_transfer#27@0: ERR 18 slot 3 dci 3
1618818118.241474 xhci_intr#23@0: called!
1618818118.241475 xhci_intr1#23@0: called: USBSTS 0x00000018
1618818118.241479 xhci_softintr#23@0: called: er: xr_ep 148 xr_cs 0
1618818118.241479 xhci_handle_event#29@0: called: event: 0xffffc0009d97f940 0x0000000008825020 0x12000000 0x03038000
1618818118.241479 xhci_event_transfer#28@0: called!
1618818118.241480 xhci_event_transfer#28@0: ERR 18 slot 3 dci 3

It looks like running out of bandwidth.



Home | Main Index | Thread Index | Old Index