Skip to content

Possible FIQ high speed isochronous transfer issue #2363

@antonblanchard

Description

@antonblanchard

I have two USB webcams (a Logitech C270 and a Logitech QuickCam Pro 9000) and neither of them work on my Raspberry Pi 3 running either the 4.9 or 4.14 kernels.

I start up guvciew and the application prints an endless stream of:

V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first

and in the dmesg:

[  184.869874] usb 1-1.2: reset high-speed USB device number 4 using dwc_otg
[  187.657763] uvcvideo: Failed to set UVC probe control : -71 (exp. 26).
[  187.658183] uvcvideo: Failed to set UVC commit control : -71 (exp. 26).

If I kill and restart guvcview, both the webcam and the keyboard get reset:

[  208.147954] usb 1-1.2: USB disconnect, device number 4
[  208.247784] usb 1-1.2: new full-speed USB device number 8 using dwc_otg
[  208.347737] usb 1-1.2: device descriptor read/64, error -32
[  208.567739] usb 1-1.2: device descriptor read/64, error -32
[  208.787697] usb 1-1.2: new full-speed USB device number 9 using dwc_otg
[  208.887672] usb 1-1.2: device descriptor read/64, error -32
[  209.107689] usb 1-1.2: device descriptor read/64, error -32
[  209.227731] usb 1-1-port2: attempt power cycle
[  209.887624] usb 1-1.2: new high-speed USB device number 10 using dwc_otg
[  210.135972] usb 1-1.2: New USB device found, idVendor=046d, idProduct=0825
[  210.135983] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[  210.135988] usb 1-1.2: SerialNumber: B834B130
[  210.136520] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
[  210.226177] uvcvideo 1-1.2:1.0: Entity type for entity Extension 4 was not initialized!
[  210.226190] uvcvideo 1-1.2:1.0: Entity type for entity Extension 6 was not initialized!
[  210.226196] uvcvideo 1-1.2:1.0: Entity type for entity Extension 7 was not initialized!
[  210.226201] uvcvideo 1-1.2:1.0: Entity type for entity Processing 2 was not initialized!
[  210.226206] uvcvideo 1-1.2:1.0: Entity type for entity Extension 3 was not initialized!
[  210.226212] uvcvideo 1-1.2:1.0: Entity type for entity Camera 1 was not initialized!
[  210.226458] input: UVC Camera (046d:0825) as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input6
[  210.256390] usb 1-1.2: set resolution quirk: cval->res = 384
[  210.257178] usb 1-1.4: USB disconnect, device number 5
[  210.257190] usb 1-1.4.3: USB disconnect, device number 6
[  210.698020] usb 1-1.4.4: USB disconnect, device number 7
[  211.247528] usb 1-1.4: new full-speed USB device number 11 using dwc_otg
[  211.388420] usb 1-1.4: New USB device found, idVendor=04b3, idProduct=3016
[  211.388436] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  211.388445] usb 1-1.4: Product: USB 1.1 2 port downstream low-power hub
[  211.388453] usb 1-1.4: Manufacturer: Lite-On Tech
[  211.390591] hub 1-1.4:1.0: USB hub found
[  211.391153] hub 1-1.4:1.0: 4 ports detected
[  211.717498] usb 1-1.4.3: new low-speed USB device number 12 using dwc_otg
[  211.889044] usb 1-1.4.3: New USB device found, idVendor=04b3, idProduct=3019
[  211.889062] usb 1-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  211.889071] usb 1-1.4.3: Product: IBM USB Travel Keyboard with UltraNav
[  211.889079] usb 1-1.4.3: Manufacturer: Lite-On Tech
[  211.908362] input: Lite-On Tech IBM USB Travel Keyboard with UltraNav as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0/0003:04B3:3019.0005/input/input7
[  211.978313] hid-generic 0003:04B3:3019.0005: input,hidraw0: USB HID v1.00 Keyboard [Lite-On Tech IBM USB Travel Keyboard with UltraNav] on usb-3f980000.usb-1.4.3/input0
[  211.996875] input: Lite-On Tech IBM USB Travel Keyboard with UltraNav as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.1/0003:04B3:3019.0006/input/input8
[  212.057884] hid-generic 0003:04B3:3019.0006: input,hidraw1: USB HID v1.00 Device [Lite-On Tech IBM USB Travel Keyboard with UltraNav] on usb-3f980000.usb-1.4.3/input1
[  212.157435] usb 1-1.4.4: new low-speed USB device number 13 using dwc_otg
[  212.317257] usb 1-1.4.4: New USB device found, idVendor=06cb, idProduct=0009
[  212.317266] usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  212.317271] usb 1-1.4.4: Product: Composite TouchPad / TrackPoint
[  212.317276] usb 1-1.4.4: Manufacturer: Synaptics Inc.
[  212.329039] input: Synaptics Inc. Composite TouchPad / TrackPoint as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.0/0003:06CB:0009.0007/input/input9
[  212.329330] hid-generic 0003:06CB:0009.0007: input,hidraw2: USB HID v1.00 Mouse [Synaptics Inc. Composite TouchPad / TrackPoint] on usb-3f980000.usb-1.4.4/input0
[  212.341553] input: Synaptics Inc. Composite TouchPad / TrackPoint as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.1/0003:06CB:0009.0008/input/input10
[  212.341846] hid-generic 0003:06CB:0009.0008: input,hidraw3: USB HID v1.00 Mouse [Synaptics Inc. Composite TouchPad / TrackPoint] on usb-3f980000.usb-1.4.4/input1

So far I have found that disabling FIQ handling of high speed isochronous transfers fixes it:

dwc_otg.fiq_fsm_mask=0x3

I'll try and investigate it some more on the weekend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions