raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.02k stars 4.95k forks source link

USB Webcam not enumerating after firmware update #2139

Closed roerch closed 6 years ago

roerch commented 7 years ago

As mentioned in #1709 there seems to be a regression between commits 528b516135111e0184336d3c290001c2681a675a and a86bfee5b47a74c13056997f1e4d8b9d8090b398.

Problem: I have (besides other things) a webcam connected to my Raspberry via a externally powered hub. The hub itself is Single TT, but today I verified that the same issue happens with a MultiTT hub. After booting (if at all) the webcam can be used once, after which it is being reset by dwc_otg and not enumerating anymore. With kernel 4.9.24 this was working fine, with kernel 4.9.25 and above, the above problem occurs. Another thing maybe worth to mention: The webcam works with 4.9.25 and above if I edit the cmdline.txt to set dwc_otg.fiq_fsm_enable to 0 (NOP FIQ) - however this then breaks an USB 1.0 device by delivering garbled data and is no solution for me either. Let me know, if you need further input from my side.

Output of dmesg:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.25+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #994 Fri Apr 28 16:46:40 BST 2017
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt:Machine model: Raspberry Pi Model B Rev 2
[    0.000000] cma: Reserved 8 MiB at 0x1d400000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 122880
[    0.000000] free_area_init_node: node 0, pgdat c0914814, node_mem_map dcfc8000
[    0.000000]   Normal zone: 1080 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 122880 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 468428K/491520K available (5943K kernel code, 489K rwdata, 1948K rodata, 404K init, 734K bss, 14900K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xde800000 - 0xff800000   ( 528 MB)
    lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc05d5e1c   (5944 kB)
      .init : 0xc083f000 - 0xc08a4000   ( 404 kB)
      .data : 0xc08a4000 - 0xc091e6c8   ( 490 kB)
       .bss : 0xc091e6c8 - 0xc09d5ec8   ( 734 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000029] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000072] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000172] bcm2835: system timer (irq = 27)
[    0.000636] Console: colour dummy device 80x30
[    0.001410] console [tty1] enabled
[    0.001466] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060343] pid_max: default: 32768 minimum: 301
[    0.060801] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060871] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.061973] Disabling cpuset control group subsystem
[    0.062248] CPU: Testing write buffer coherency: ok
[    0.062359] ftrace: allocating 21709 entries in 64 pages
[    0.177741] Setting up static identity map for 0x8200 - 0x8238
[    0.179797] devtmpfs: initialized
[    0.188630] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.189142] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.189242] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.190558] pinctrl core: initialized pinctrl subsystem
[    0.192070] NET: Registered protocol family 16
[    0.194542] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.204512] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.204607] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.204751] Serial: AMBA PL011 UART driver
[    0.207659] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.254324] bcm2835-dma 20007000.dma: DMA legacy API manager at de80d000, dmachans=0x1
[    0.257022] SCSI subsystem initialized
[    0.257354] usbcore: registered new interface driver usbfs
[    0.257529] usbcore: registered new interface driver hub
[    0.257862] usbcore: registered new device driver usb
[    0.267813] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-04-27 17:19
[    0.269799] clocksource: Switched to clocksource timer
[    0.324548] VFS: Disk quotas dquot_6.6.0
[    0.324748] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.325087] FS-Cache: Loaded
[    0.325491] CacheFiles: Loaded
[    0.344908] NET: Registered protocol family 2
[    0.346337] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.346496] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.346629] TCP: Hash tables configured (established 4096 bind 4096)
[    0.346761] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.346828] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.347186] NET: Registered protocol family 1
[    0.347972] RPC: Registered named UNIX socket transport module.
[    0.348050] RPC: Registered udp transport module.
[    0.348088] RPC: Registered tcp transport module.
[    0.348124] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.349255] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    0.351889] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.371867] FS-Cache: Netfs 'nfs' registered for caching
[    0.373649] NFS: Registering the id_resolver key type
[    0.373770] Key type id_resolver registered
[    0.373814] Key type id_legacy registered
[    0.378210] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.378673] io scheduler noop registered
[    0.378739] io scheduler deadline registered (default)
[    0.379240] io scheduler cfq registered
[    0.385388] BCM2708FB: allocated DMA memory 5d500000
[    0.385519] BCM2708FB: allocated DMA channel 0 @ de80d000
[    0.393736] Console: switching to colour frame buffer device 82x26
[    0.404093] bcm2835-rng 20104000.rng: hwrng registered
[    0.406881] vc-cma: Videocore CMA driver
[    0.409449] vc-cma: vc_cma_base      = 0x00000000
[    0.412126] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.414753] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.417776] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    0.448000] brd: module loaded
[    0.463074] loop: module loaded
[    0.465530] Loading iSCSI transport class v2.0-870.
[    0.468800] usbcore: registered new interface driver smsc95xx
[    0.471411] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.700225] Core Release: 2.80a
[    0.702694] Setting default values for core params
[    0.705047] Finished setting default values for core params
[    0.907775] Using Buffer DMA mode
[    0.910254] Periodic Transfer Interrupt Enhancement - disabled
[    0.912746] Multiprocessor Interrupt Enhancement - disabled
[    0.915233] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.917814] Dedicated Tx FIFOs mode
[    0.920969] WARN::dwc_otg_hcd_init:1055: FIQ DMA bounce buffers: virt = 0xdd514000 dma = 0x5d514000 len=9024
[    0.926040] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[    0.938929] dwc_otg: Microframe scheduler enabled
[    0.939061] WARN::hcd_init_fiq:459: FIQ on core 0 at 0xc04507c8
[    0.941684] WARN::hcd_init_fiq:460: FIQ ASM at 0xc0450aa4 length 36
[    0.944348] WARN::hcd_init_fiq:486: MPHI regs_base at 0xde8a5000
[    0.947139] dwc_otg 20980000.usb: DWC OTG Controller
[    0.949909] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[    0.952704] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[    0.955363] Init: Port Power? op_state=1
[    0.957896] Init: Power Port (0)
[    0.960849] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.963539] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.966159] usb usb1: Product: DWC OTG Controller
[    0.968721] usb usb1: Manufacturer: Linux 4.9.25+ dwc_otg_hcd
[    0.971364] usb usb1: SerialNumber: 20980000.usb
[    0.975059] hub 1-0:1.0: USB hub found
[    0.977705] hub 1-0:1.0: 1 port detected
[    0.981114] dwc_otg: FIQ enabled
[    0.981125] dwc_otg: NAK holdoff enabled
[    0.981130] dwc_otg: FIQ split-transaction FSM enabled
[    0.981149] Module dwc_common_port init
[    0.981650] usbcore: registered new interface driver usb-storage
[    0.984683] mousedev: PS/2 mouse device common for all mice
[    0.988827] bcm2835-wdt 20100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.992030] bcm2835-cpufreq: min=700000 max=700000
[    0.995289] sdhci: Secure Digital Host Controller Interface driver
[    0.997972] sdhci: Copyright(c) Pierre Ossman
[    1.001089] sdhost-bcm2835 20202000.sdhost: could not get clk, deferring probe
[    1.004219] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.007478] ledtrig-cpu: registered to indicate activity on CPUs
[    1.010654] hidraw: raw HID events driver (C) Jiri Kosina
[    1.013734] usbcore: registered new interface driver usbhid
[    1.016508] usbhid: USB HID core driver
[    1.020546] vchiq: vchiq_init_state: slot_zero = 0xdd580000, is_master = 0
[    1.026134] Initializing XFRM netlink socket
[    1.029439] NET: Registered protocol family 17
[    1.032828] Key type dns_resolver registered
[    1.037941] registered taskstats version 1
[    1.041291] vc-sm: Videocore shared memory driver
[    1.044098] [vc_sm_connected_init]: start
[    1.047892] [vc_sm_connected_init]: end - returning 0
[    1.057826] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    1.897386] console [ttyAMA0] enabled
[    1.906398] sdhost: log_buf @ dd513000 (5d513000)
[    1.989876] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.998282] of_cfs_init
[    2.023756] of_cfs_init: OK
[    2.030208] Waiting for root device /dev/mmcblk0p2...
[    2.039655] random: fast init done
[    2.047180] Indeed it is in host mode hprt0 = 00021501
[    2.221522] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.240812] mmc0: new high speed SDHC card at address aaaa
[    2.250060] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.259485] Indeed it is in host mode hprt0 = 00001101
[    2.328008] mmcblk0: mmc0:aaaa SL32G 29.7 GiB
[    2.342119]  mmcblk0: p1 p2
[    2.459110] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.473323] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.496542] devtmpfs: mounted
[    2.503220] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.513078] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.524656] Freeing unused kernel memory: 404K (c083f000 - c08a4000)
[    2.534168] This architecture does not have kernel memory protection.
[    2.545131] hub 1-1:1.0: USB hub found
[    2.552884] hub 1-1:1.0: 3 ports detected
[    2.879931] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.993238] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    3.013883] systemd[1]: Detected architecture 'arm'.
[    3.022942] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.033170] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.048195] smsc95xx v1.0.5
[    3.146883] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:87:c9:c8
[    3.260109] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[    3.272471] NET: Registered protocol family 10
[    3.282851] systemd[1]: Inserted module 'ipv6'
[    3.296960] systemd[1]: Set hostname to <lucy>.
[    3.438647] uart-pl011 20201000.serial: no DMA platform data
[    3.474335] usb 1-1.2: New USB device found, idVendor=1941, idProduct=8021
[    3.484400] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.560340] hid-generic 0003:1941:8021.0001: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-20980000.usb-1.2/input0
[    3.689943] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    3.842247] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[    3.852438] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.862889] usb 1-1.3: Product: USB2.0 Hub
[    3.880510] hub 1-1.3:1.0: USB hub found
[    3.896916] hub 1-1.3:1.0: 4 ports detected
[    4.229927] usb 1-1.3.2: new high-speed USB device number 6 using dwc_otg
[    4.485624] usb 1-1.3.2: New USB device found, idVendor=046d, idProduct=09a1
[    4.495890] usb 1-1.3.2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[    4.509241] usb 1-1.3.2: SerialNumber: 53B6BE20
[    4.579242] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    4.609604] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    4.623732] usb 1-1.3.3: new high-speed USB device number 7 using dwc_otg
[    4.634839] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.649764] systemd[1]: Expecting device dev-ttyAMA0.device...
[    4.663470] systemd[1]: Starting Remote File Systems (Pre).
[    4.677120] systemd[1]: Reached target Remote File Systems (Pre).
[    4.771071] usb 1-1.3.3: New USB device found, idVendor=0781, idProduct=5567
[    4.780817] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.793094] usb 1-1.3.3: Product: Cruzer Blade
[    4.799941] usb 1-1.3.3: Manufacturer: SanDisk
[    4.806660] usb 1-1.3.3: SerialNumber: 4C530002840602101381
[    4.833999] usb-storage 1-1.3.3:1.0: USB Mass Storage device detected
[    4.844326] scsi host0: usb-storage 1-1.3.3:1.0
[    4.939997] usb 1-1.3.4: new high-speed USB device number 8 using dwc_otg
[    5.095419] usb 1-1.3.4: New USB device found, idVendor=05e3, idProduct=0608
[    5.105410] usb 1-1.3.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.118426] usb 1-1.3.4: Product: USB2.0 Hub
[    5.213829] hub 1-1.3.4:1.0: USB hub found
[    5.251197] hub 1-1.3.4:1.0: 4 ports detected
[    5.370810] fuse init (API version 7.26)
[    5.926227] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.27 PQ: 0 ANSI: 6
[    5.952409] sd 0:0:0:0: [sda] 122107136 512-byte logical blocks: (62.5 GB/58.2 GiB)
[    5.981199] sd 0:0:0:0: [sda] Write Protect is off
[    5.988675] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    5.999982] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    6.035860]  sda: sda1
[    6.053781] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    6.708927] systemd-udevd[127]: starting version 215
[    8.742206] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    8.864408] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[    9.877166] media: Linux media interface: v0.10
[   10.110997] Linux video capture interface: v2.00
[   10.313208] usb 1-1.3.2: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
[   10.313233] usb 1-1.3.2: [5] FU [Mic Capture Volume] ch = 1, val = 4608/7680/1
[   10.314626] usbcore: registered new interface driver snd-usb-audio
[   10.569706] uvcvideo: Found UVC 1.00 device <unnamed> (046d:09a1)
[   10.604437] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 4 was not initialized!
[   10.604470] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 10 was not initialized!
[   10.604487] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 12 was not initialized!
[   10.604501] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 8 was not initialized!
[   10.604515] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 11 was not initialized!
[   10.604530] uvcvideo 1-1.3.2:1.0: Entity type for entity Processing 2 was not initialized!
[   10.604545] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 13 was not initialized!
[   10.604559] uvcvideo 1-1.3.2:1.0: Entity type for entity Camera 1 was not initialized!
[   10.605384] input: UVC Camera (046d:09a1) as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/input/input0
[   10.626696] usbcore: registered new interface driver uvcvideo
[   10.626712] USB Video Class driver (1.1.1)
[   11.743741] systemd-journald[124]: Received request to flush runtime journal from PID 1
[   12.870094] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.988901] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   12.995919] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   14.040735] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   14.064090] usb 1-1.3.2: reset high-speed USB device number 6 using dwc_otg
[   15.551010] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[   18.269966] random: crng init done
[   21.029583] Adding 102396k swap on /var/swap.  Priority:-1 extents:129 across:1754856k SSFS
[   94.491565] uvcvideo: Failed to set UVC probe control : -71 (exp. 26).
[  257.129651] usb 1-1.3.2: USB disconnect, device number 6
[  257.247676] usb 1-1.3.2: new full-speed USB device number 9 using dwc_otg
[  257.347590] usb 1-1.3.2: device descriptor read/64, error -32
[  257.567590] usb 1-1.3.2: device descriptor read/64, error -32
[  257.787602] usb 1-1.3.2: new full-speed USB device number 10 using dwc_otg
[  257.887625] usb 1-1.3.2: device descriptor read/64, error -32
[  258.107610] usb 1-1.3.2: device descriptor read/64, error -32
[  258.327616] usb 1-1.3.2: new full-speed USB device number 11 using dwc_otg
[  258.767682] usb 1-1.3.2: device not accepting address 11, error -32
[  258.867641] usb 1-1.3.2: new full-speed USB device number 12 using dwc_otg
[  259.307648] usb 1-1.3.2: device not accepting address 12, error -32
[  259.308052] usb 1-1.3-port2: unable to enumerate USB device

Relevant output of sudo lsusb -v before the camera is reset and removed:

Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x046d Logitech, Inc.
  idProduct          0x09a1 QuickCam Communicate MP/S5500
  bcdDevice            0.08
  iManufacturer           0
  iProduct                0
  iSerial                 2 53B6BE20
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength         1301
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0
      iFunction               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0
      iInterface              0
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength          133
        dwClockFrequency       48.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x0004000e
          Auto-Exposure Mode
          Auto-Exposure Priority
          Exposure Time (Absolute)
          Privacy
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier      16384
        bControlSize            2
        bmControls     0x0000175b
          Brightness
          Contrast
          Saturation
          Sharpness
          White Balance Temperature
          Backlight Compensation
          Gain
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0
        bmVideoStandards     0x1b
          None
          NTSC - 525/60
          SECAM - 625/50
          NTSC - 625/50
      VideoControl Interface Descriptor:
        bLength                27
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {82066163-7050-ab49-b8cc-b3855e8d221e}
        bNumControl            10
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            2
        bmControls( 0)       0xff
        bmControls( 1)       0x03
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                27
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                13
        guidExtensionCode         {82066163-7050-ab49-b8cc-b3855e8d221f}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            2
        bmControls( 0)       0x7f
        bmControls( 1)       0x01
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                28
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                10
        guidExtensionCode         {82066163-7050-ab49-b8cc-b3855e8d2252}
        bNumControl            24
        bNrPins                 1
        baSourceID( 0)          4
        bControlSize            3
        bmControls( 0)       0xff
        bmControls( 1)       0xff
        bmControls( 2)       0xff
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               4
        iTerminal               0
      ** UNRECOGNIZED:  20 41 01 0c 82 06 61 63 70 50 ab 49 b8 cc b3 85 5e 8d 22 50 14 01 04 03 ff ff 0f 00 00 00 00 00
      ** UNRECOGNIZED:  20 41 01 08 82 06 61 63 70 50 ab 49 b8 cc b3 85 5e 8d 22 51 03 01 04 03 19 00 00 00 00 00 01 00
      ** UNRECOGNIZED:  20 41 01 0b 82 06 61 63 70 50 ab 49 b8 cc b3 85 5e 8d 22 55 01 01 04 03 01 00 00 00 00 00 00 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      VideoStreaming Interface Descriptor:
        bLength                            16
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         3
        wTotalLength                      742
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       5
        bStillCaptureMethod                 2
        bTriggerSupport                     1
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                    11
        bmaControls( 1)                    11
        bmaControls( 2)                    11
      VideoStreaming Interface Descriptor:
        bLength                            11
        bDescriptorType                    36
        bDescriptorSubtype                  6 (FORMAT_MJPEG)
        bFormatIndex                        1
        bNumFrameDescriptors                6
        bFlags                              1
          Fixed-size samples: Yes
        bDefaultFrameIndex                  3
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  1536000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                  2027520
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                  6144000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                  8110080
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            960
        wHeight                           720
        dwMinBitRate                 55296000
        dwMaxBitRate                165888000
        dwMaxVideoFrameBufferSize     1382400
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  3
        dwFrameInterval( 0)            666666
        dwFrameInterval( 1)           1000000
        dwFrameInterval( 2)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            35
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               6
        wWidth( 0)                        160
        wHeight( 0)                       120
        wWidth( 1)                        176
        wHeight( 1)                       144
        wWidth( 2)                        320
        wHeight( 2)                       240
        wWidth( 3)                        352
        wHeight( 3)                       288
        wWidth( 4)                        640
        wHeight( 4)                       480
        wWidth( 5)                        960
        wHeight( 5)                       720
        bNumCompressionPatterns             6
        bCompression( 0)                    5
        bCompression( 1)                   10
        bCompression( 2)                   15
        bCompression( 3)                   20
        bCompression( 4)                   25
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        2
        bNumFrameDescriptors                7
        guidFormat                            {59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  3
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  1536000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                  2027520
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                  6144000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                  8110080
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         666666
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
        dwFrameInterval( 3)            666666
        dwFrameInterval( 4)           1000000
        dwFrameInterval( 5)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            960
        wHeight                           720
        dwMinBitRate                 55296000
        dwMaxBitRate                110592000
        dwMaxVideoFrameBufferSize     1382400
        dwDefaultFrameInterval        1000000
        bFrameIntervalType                  2
        dwFrameInterval( 0)           1000000
        dwFrameInterval( 1)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           960
        dwMinBitRate                 98304000
        dwMaxBitRate                196608000
        dwMaxVideoFrameBufferSize     2457600
        dwDefaultFrameInterval        1333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)           1333333
        dwFrameInterval( 1)           2000000
      VideoStreaming Interface Descriptor:
        bLength                            35
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               7
        wWidth( 0)                        160
        wHeight( 0)                       120
        wWidth( 1)                        176
        wHeight( 1)                       144
        wWidth( 2)                        320
        wHeight( 2)                       240
        wWidth( 3)                        352
        wHeight( 3)                       288
        wWidth( 4)                        640
        wHeight( 4)                       480
        wWidth( 5)                        960
        wHeight( 5)                       720
        wWidth( 6)                       1280
        wHeight( 6)                       960
        bNumCompressionPatterns             7
        bCompression( 0)                    5
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0180  1x 384 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0280  1x 640 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0320  1x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x03b0  1x 944 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       7
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0a80  2x 640 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       8
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b20  2x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       9
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0be0  2x 992 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting      10
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1380  3x 896 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting      11
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x13fc  3x 1020 bytes
        bInterval               1
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         2
      bInterfaceCount         2
      bFunctionClass          1 Audio
      bFunctionSubClass       2 Streaming
      bFunctionProtocol       0
      iFunction               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           38
        bInCollection           1
        baInterfaceNr( 0)       3
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          1
        bSourceID               5
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 5
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x03
          Mute Control
          Volume Control
        iFeature                0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0044  1x 68 bytes
        bInterval               4
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
P33M commented 7 years ago

Your webcam is a high-speed device, so should be unaffected by that change. What's even more odd is that swapping the FIQ causes a change in the cam's behaviour.

Can you try with dwc_otg.fiq_fsm_mask=0x3 and remove the dwc_otg.fiq_fsm_enable=0 parameter?

roerch commented 7 years ago

This is an interesting hint. With dwc_otg.fiq_fsm_mask=0x3 the webcam seems to operate normally again, even on the newest kernel. It didn't initially enumerate during bootup, but after unplugging and plugging it, it immediatly worked and during use, it was reset once, but not as previously until it was removed. However dmesg shows after short runtime a worrying (?) message at the very end (this seems to be referring to my USB 1.0 device - the WH1080).

I will leave this setup running for some time, to see if it has implications on any device.

dmesg here:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.40+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1022 Sun Jul 30 11:11:04 BST 2017
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt:Machine model: Raspberry Pi Model B Rev 2
[    0.000000] cma: Reserved 8 MiB at 0x1d400000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 122880
[    0.000000] free_area_init_node: node 0, pgdat c09168d4, node_mem_map dcfc8000
[    0.000000]   Normal zone: 1080 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 122880 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 dwc_otg.fiq_fsm_mask=0x3 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 468416K/491520K available (5949K kernel code, 489K rwdata, 1952K rodata, 400K init, 734K bss, 14912K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xde800000 - 0xff800000   ( 528 MB)
    lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc05d771c   (5950 kB)
      .init : 0xc0842000 - 0xc08a6000   ( 400 kB)
      .data : 0xc08a6000 - 0xc0920788   ( 490 kB)
       .bss : 0xc0920788 - 0xc09d7f88   ( 734 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000030] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000074] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000171] bcm2835: system timer (irq = 27)
[    0.000643] Console: colour dummy device 80x30
[    0.001414] console [tty1] enabled
[    0.001469] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060346] pid_max: default: 32768 minimum: 301
[    0.060812] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060880] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.061990] Disabling cpuset control group subsystem
[    0.062267] CPU: Testing write buffer coherency: ok
[    0.062373] ftrace: allocating 21716 entries in 64 pages
[    0.178766] Setting up static identity map for 0x8200 - 0x8238
[    0.180847] devtmpfs: initialized
[    0.189603] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.190132] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.190230] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.191551] pinctrl core: initialized pinctrl subsystem
[    0.193054] NET: Registered protocol family 16
[    0.195556] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.205161] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.205254] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.205397] Serial: AMBA PL011 UART driver
[    0.208205] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.256036] bcm2835-dma 20007000.dma: DMA legacy API manager at de80d000, dmachans=0x1
[    0.258884] SCSI subsystem initialized
[    0.259222] usbcore: registered new interface driver usbfs
[    0.259390] usbcore: registered new interface driver hub
[    0.259596] usbcore: registered new device driver usb
[    0.268836] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-07-28 20:15
[    0.270839] clocksource: Switched to clocksource timer
[    0.326679] VFS: Disk quotas dquot_6.6.0
[    0.326875] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.327239] FS-Cache: Loaded
[    0.327628] CacheFiles: Loaded
[    0.346819] NET: Registered protocol family 2
[    0.348287] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.348447] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.348577] TCP: Hash tables configured (established 4096 bind 4096)
[    0.348715] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.348782] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.349135] NET: Registered protocol family 1
[    0.349938] RPC: Registered named UNIX socket transport module.
[    0.350014] RPC: Registered udp transport module.
[    0.350052] RPC: Registered tcp transport module.
[    0.350086] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.351367] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    0.353844] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.373495] FS-Cache: Netfs 'nfs' registered for caching
[    0.375260] NFS: Registering the id_resolver key type
[    0.375378] Key type id_resolver registered
[    0.375420] Key type id_legacy registered
[    0.379890] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.380358] io scheduler noop registered
[    0.380422] io scheduler deadline registered (default)
[    0.381022] io scheduler cfq registered
[    0.386923] BCM2708FB: allocated DMA memory 5d500000
[    0.387055] BCM2708FB: allocated DMA channel 0 @ de80d000
[    0.431676] Console: switching to colour frame buffer device 228x61
[    0.468615] bcm2835-rng 20104000.rng: hwrng registered
[    0.469042] vc-cma: Videocore CMA driver
[    0.469216] vc-cma: vc_cma_base      = 0x00000000
[    0.469404] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.469605] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.470260] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    0.498692] brd: module loaded
[    0.512784] loop: module loaded
[    0.512985] Loading iSCSI transport class v2.0-870.
[    0.514218] usbcore: registered new interface driver smsc95xx
[    0.514500] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.743202] Core Release: 2.80a
[    0.743390] Setting default values for core params
[    0.743624] Finished setting default values for core params
[    0.944349] Using Buffer DMA mode
[    0.944533] Periodic Transfer Interrupt Enhancement - disabled
[    0.944759] Multiprocessor Interrupt Enhancement - disabled
[    0.944975] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.945233] Dedicated Tx FIFOs mode
[    0.946058] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xdd514000 dma = 0x5d514000 len=9024
[    0.946465] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
[    0.946907] dwc_otg: Microframe scheduler enabled
[    0.947030] WARN::hcd_init_fiq:459: FIQ on core 0 at 0xc04518b4
[    0.947274] WARN::hcd_init_fiq:460: FIQ ASM at 0xc0451b90 length 36
[    0.947528] WARN::hcd_init_fiq:486: MPHI regs_base at 0xde8a5000
[    0.956446] dwc_otg 20980000.usb: DWC OTG Controller
[    0.965194] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[    0.973932] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[    0.982853] Init: Port Power? op_state=1
[    0.991366] Init: Power Port (0)
[    1.000447] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.009047] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.017895] usb usb1: Product: DWC OTG Controller
[    1.026372] usb usb1: Manufacturer: Linux 4.9.40+ dwc_otg_hcd
[    1.035156] usb usb1: SerialNumber: 20980000.usb
[    1.044950] hub 1-0:1.0: USB hub found
[    1.053911] hub 1-0:1.0: 1 port detected
[    1.063392] dwc_otg: FIQ enabled
[    1.063406] dwc_otg: NAK holdoff enabled
[    1.063414] dwc_otg: FIQ split-transaction FSM enabled
[    1.063438] Module dwc_common_port init
[    1.064027] usbcore: registered new interface driver usb-storage
[    1.073453] mousedev: PS/2 mouse device common for all mice
[    1.084189] bcm2835-wdt 20100000.watchdog: Broadcom BCM2835 watchdog timer
[    1.093478] bcm2835-cpufreq: min=700000 max=700000
[    1.103127] sdhci: Secure Digital Host Controller Interface driver
[    1.111696] sdhci: Copyright(c) Pierre Ossman
[    1.121005] sdhost-bcm2835 20202000.sdhost: could not get clk, deferring probe
[    1.129928] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.139385] ledtrig-cpu: registered to indicate activity on CPUs
[    1.148394] hidraw: raw HID events driver (C) Jiri Kosina
[    1.157347] usbcore: registered new interface driver usbhid
[    1.166209] usbhid: USB HID core driver
[    1.176440] vchiq: vchiq_init_state: slot_zero = 0xdd580000, is_master = 0
[    1.188439] Initializing XFRM netlink socket
[    1.198363] NET: Registered protocol family 17
[    1.207669] Key type dns_resolver registered
[    1.218856] registered taskstats version 1
[    1.228185] vc-sm: Videocore shared memory driver
[    1.237349] [vc_sm_connected_init]: start
[    1.247163] [vc_sm_connected_init]: end - returning 0
[    1.263833] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    2.099856] console [ttyAMA0] enabled
[    2.115362] sdhost: log_buf @ dd513000 (5d513000)
[    2.150534] Indeed it is in host mode hprt0 = 00021501
[    2.226855] random: fast init done
[    2.251004] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.265765] of_cfs_init
[    2.298030] of_cfs_init: OK
[    2.311902] Waiting for root device /dev/mmcblk0p2...
[    2.360962] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.377764] Indeed it is in host mode hprt0 = 00001101
[    2.523128] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.546514] mmc0: new high speed SDHC card at address aaaa
[    2.563053] mmcblk0: mmc0:aaaa SL32G 29.7 GiB
[    2.584397]  mmcblk0: p1 p2
[    2.621545] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.637680] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.655506] hub 1-1:1.0: USB hub found
[    2.668473] hub 1-1:1.0: 3 ports detected
[    2.712560] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.730430] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.760989] devtmpfs: mounted
[    2.774920] Freeing unused kernel memory: 400K (c0842000 - c08a6000)
[    2.790887] This architecture does not have kernel memory protection.
[    3.010981] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.151567] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.168339] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.189761] smsc95xx v1.0.5
[    3.301045] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:87:c9:c8
[    3.343924] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    3.369012] systemd[1]: Detected architecture 'arm'.
[    3.431008] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[    3.615910] NET: Registered protocol family 10
[    3.633280] usb 1-1.2: New USB device found, idVendor=1941, idProduct=8021
[    3.650445] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.668348] systemd[1]: Inserted module 'ipv6'
[    3.689415] systemd[1]: Set hostname to <lucy>.
[    3.745347] hid-generic 0003:1941:8021.0001: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-20980000.usb-1.2/input0
[    3.861068] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    3.919057] uart-pl011 20201000.serial: no DMA platform data
[    4.033364] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[    4.050908] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.068525] usb 1-1.3: Product: USB2.0 Hub
[    4.136417] hub 1-1.3:1.0: USB hub found
[    4.153915] hub 1-1.3:1.0: 4 ports detected
[    4.490981] usb 1-1.3.2: new full-speed USB device number 6 using dwc_otg
[    4.601102] usb 1-1.3.2: device descriptor read/64, error -32
[    4.830999] usb 1-1.3.2: device descriptor read/64, error -32
[    5.061027] usb 1-1.3.2: new full-speed USB device number 7 using dwc_otg
[    5.155707] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    5.181457] usb 1-1.3.2: device descriptor read/64, error -32
[    5.205609] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    5.225534] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.244861] systemd[1]: Expecting device dev-ttyAMA0.device...
[    5.274292] systemd[1]: Starting Remote File Systems (Pre).
[    5.303634] systemd[1]: Reached target Remote File Systems (Pre).
[    5.421047] usb 1-1.3.2: device descriptor read/64, error -32
[    5.641033] usb 1-1.3.2: new full-speed USB device number 8 using dwc_otg
[    6.081086] usb 1-1.3.2: device not accepting address 8, error -32
[    6.181198] usb 1-1.3.2: new full-speed USB device number 9 using dwc_otg
[    6.209684] fuse init (API version 7.26)
[    6.621050] usb 1-1.3.2: device not accepting address 9, error -32
[    6.661483] usb 1-1.3-port2: unable to enumerate USB device
[    6.821048] usb 1-1.3.3: new high-speed USB device number 10 using dwc_otg
[    6.992279] usb 1-1.3.3: New USB device found, idVendor=0781, idProduct=5567
[    7.009480] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.026900] usb 1-1.3.3: Product: Cruzer Blade
[    7.041247] usb 1-1.3.3: Manufacturer: SanDisk
[    7.055531] usb 1-1.3.3: SerialNumber: 4C530002840602101381
[    7.152668] usb-storage 1-1.3.3:1.0: USB Mass Storage device detected
[    7.191866] scsi host0: usb-storage 1-1.3.3:1.0
[    7.321064] usb 1-1.3.4: new high-speed USB device number 11 using dwc_otg
[    7.453193] usb 1-1.3.4: New USB device found, idVendor=05e3, idProduct=0608
[    7.453209] usb 1-1.3.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.453222] usb 1-1.3.4: Product: USB2.0 Hub
[    7.454874] hub 1-1.3.4:1.0: USB hub found
[    7.455364] hub 1-1.3.4:1.0: 4 ports detected
[    8.029999] systemd-udevd[125]: starting version 215
[    8.248924] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.27 PQ: 0 ANSI: 6
[    8.251647] sd 0:0:0:0: [sda] 122107136 512-byte logical blocks: (62.5 GB/58.2 GiB)
[    8.253854] sd 0:0:0:0: [sda] Write Protect is off
[    8.253892] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    8.254748] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.270723]  sda: sda1
[    8.288980] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   10.168970] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[   10.409681] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   14.037260] systemd-journald[123]: Received request to flush runtime journal from PID 1
[   14.599392] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   14.981927] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   15.658273] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.755305] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   16.491210] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[   23.232036] random: crng init done
[   23.708187] Adding 102396k swap on /var/swap.  Priority:-1 extents:129 across:1754856k SSFS
[   64.203568] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   79.081020] usb 1-1.3.2: new high-speed USB device number 12 using dwc_otg
[   79.327890] usb 1-1.3.2: New USB device found, idVendor=046d, idProduct=09a1
[   79.327965] usb 1-1.3.2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[   79.327984] usb 1-1.3.2: SerialNumber: 53B6BE20
[   79.653110] media: Linux media interface: v0.10
[   79.811549] Linux video capture interface: v2.00
[   79.911462] usb 1-1.3.2: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
[   79.911492] usb 1-1.3.2: [5] FU [Mic Capture Volume] ch = 1, val = 4608/7680/1
[   79.914851] usbcore: registered new interface driver snd-usb-audio
[   80.083032] uvcvideo: Found UVC 1.00 device <unnamed> (046d:09a1)
[   80.115286] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 4 was not initialized!
[   80.115324] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 10 was not initialized!
[   80.115344] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 12 was not initialized!
[   80.115364] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 8 was not initialized!
[   80.115380] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 11 was not initialized!
[   80.115396] uvcvideo 1-1.3.2:1.0: Entity type for entity Processing 2 was not initialized!
[   80.115416] uvcvideo 1-1.3.2:1.0: Entity type for entity Extension 13 was not initialized!
[   80.115434] uvcvideo 1-1.3.2:1.0: Entity type for entity Camera 1 was not initialized!
[   80.117108] input: UVC Camera (046d:09a1) as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/input/input0
[   80.171904] usbcore: registered new interface driver uvcvideo
[   80.171921] USB Video Class driver (1.1.1)
[   91.151111] usb 1-1.3.2: reset high-speed USB device number 12 using dwc_otg
[  444.192387] Transfer to device 4 endpoint 0x1 frame 1418 failed - FIQ reported NYET. Data may have been lost.

Just for completeness, my USB setup (sudo lsusb):

Bus 001 Device 011: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 010: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 012: ID 046d:09a1 Logitech, Inc. QuickCam Communicate MP/S5500
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. LAN9500 Ethernet 10/100 Adapter / SMSC9512/9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
P33M commented 7 years ago

What program are you using to read from the webcam? As it's a standard UVC cam I may be able to reproduce the condition.

roerch commented 7 years ago

I use the standard uvccapture to capture a single frame. The exact command I use is uvccapture -S90 -G60 -B150 -C60 -x960 -y720 -m -o/tmp/snap.jpg. This command is embedded into a cron job running every 10 minutes. But it either works all the time, or not at all.

JamesH65 commented 6 years ago

@roerch I knows it's been a while, but it would be worth updated to the latest kernel to see if anything gets fixed. If this is no longer an issue, please close the report.

This issue will be closed within 30 days unless further interactions are posted. If you wish this issue to remain open, please add a comment. A closed issue may be reopened if requested.

roerch commented 6 years ago

Ok, I updated now to the most recent 4.14 kernel via rpi-update (commit: 963a31330613a38e160dc98b708c662dd32631d5). Spontaneously, all seems fine, but I will monitor this for some days and if it doesn't occur again, close the issue.

roerch commented 6 years ago

After nearly a week of running the current kernel, I can confirm that my issue is not occurring anymore. Thanks for solving this.