Problems with Webcam and USB 3.X

From: Nilton Jose Rizzo <rizzo_at_i805.com.br>
Date: Tue, 13 Apr 2021 20:38:07 -0300 (-03)
Hi all,


	I was using a FreeBSD current version, has a long time.
   I was using a 13-CURRENT from November or December of 2019, I'm not remember
exactly month.
	In last december I need to upgrade my hardware to Asus Gamming B450 BR mother board with a Ryzer 5 2600 with 16GB RAM because my old machine (a FX8300 was broken), but i'm not reinstall a FreeBSD or upgrade, I just put the older HD to boot and all work fine.
	In last month, I upgrade to 14-current and some things stop to work.
	The webcamd create two devices ( /dev/video{0,1} ) and the pwcview open the window, but not show image, onle a green screen, but the webcam active LED turn on.
	When I change or unpluged webcam from USB, the pcm, probabity there mic, not de attach and send a continuos message:

Apr 13 20:28:30 valfenda kernel: pcm6: unregister: mixer busy
Apr 13 20:28:30 valfenda kernel: pcm6: Waiting for sound application to exit!
Apr 13 20:28:43 valfenda kernel: pcm6: unregister: mixer busy
Apr 13 20:28:43 valfenda kernel: pcm6: Waiting for sound application to exit!
Apr 13 20:28:43 valfenda kernel: pcm6: unregister: mixer busy
Apr 13 20:28:43 valfenda kernel: pcm6: Waiting for sound application to exit!
Apr 13 20:28:43 valfenda kernel: pcm6: unregister: mixer busy
Apr 13 20:28:43 valfenda kernel: pcm6: Waiting for sound application to exit!
Apr 13 20:28:43 valfenda kernel: pcm6: unregister: mixer busy
Apr 13 20:28:43 valfenda kernel: pcm6: Waiting for sound application to exit!
Apr 13 20:28:43 valfenda kernel: pcm6: unregister: mixer busy
Apr 13 20:28:43 valfenda kernel: pcm6: Waiting for sound application to exit!
Apr 13 20:28:43 valfenda kernel: pcm6: unregister: mixer busy
Apr 13 20:28:43 valfenda kernel: pcm6: Waiting for sound application to exit!

 It's no resolve replug the webcam, only restart the system.
 And when its occur, I cant get any infomation with usbconfig command
 mouse and keyboard continue working, but if I plug a pendrive or a new dev in USB, it's not reconise.

 The USB 3.1 not was reconise by FreeBSD.

 when I create a meet in Jitsi, the webcam show image, but its seens like loose horizontal and vertical sync.

Neither cheese, OBS-Studio, google meet or other applications can get image from webcam.

My system is:
FreeBSD valfenda 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n245766-4084b1ab041: Thu Apr  1 08:29:59 UTC 2021     root_at_releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

from neofetch
```                        `       rizzo_at_valfenda 
  ` `.....---.......--.```   -/    -------------- 
  +o   .--`         /y:`      +.   OS: FreeBSD 14.0-CURRENT amd64 
   yo`:.            :o      `+-    Uptime: 1 day, 7 hours, 10 mins 
    y/               -/`   -o/     Packages: 972 (pkg) 
   .-                  ::/sy+:.    Shell: csh tcsh 6.22.03 
   /                     `--  /    Resolution: 1920x1080 
  `:                          :`   DE: Xfce4 4.16 
  `:                          :`   WM: Xfwm4 
   /                          /    WM Theme: Desert-Teal-Blue-XFCE-1.3 
   .-                        -.    Theme: Adwaita [GTK2], Breeze [GTK3] 
    --                      -.     Icons: gnome [GTK2] 
     `:`                  `:`      Terminal: xterm 
       .--             `--.        CPU: AMD Ryzen 5 2600 (12) _at_ 3.393GHz 
          .---.....----.           GPU: GP107 [GeForce GTX 1050 Ti] 
                                   Memory: 5910MiB / 16272MiB 

% pciconf -l
hostb0_at_pci0:0:0:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1450 subvendor=0x1043 subdevice=0x8747
none0_at_pci0:0:0:2:       class=0x080600 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1451 subvendor=0x1043 subdevice=0x8747
hostb1_at_pci0:0:1:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
pcib1_at_pci0:0:1:3:       class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1453 subvendor=0x1043 subdevice=0x8747
hostb2_at_pci0:0:2:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
hostb3_at_pci0:0:3:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
pcib8_at_pci0:0:3:1:       class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1453 subvendor=0x1043 subdevice=0x8747
hostb4_at_pci0:0:4:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
hostb5_at_pci0:0:7:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
pcib9_at_pci0:0:7:1:       class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1454 subvendor=0x1043 subdevice=0x8747
hostb6_at_pci0:0:8:0:      class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
pcib10_at_pci0:0:8:1:      class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1454 subvendor=0x1043 subdevice=0x8747
intsmb0_at_pci0:0:20:0:    class=0x0c0500 rev=0x59 hdr=0x00 vendor=0x1022 device=0x790b subvendor=0x1043 subdevice=0x8747
isab0_at_pci0:0:20:3:      class=0x060100 rev=0x51 hdr=0x00 vendor=0x1022 device=0x790e subvendor=0x1043 subdevice=0x8747
hostb7_at_pci0:0:24:0:     class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1460 subvendor=0x0000 subdevice=0x0000
hostb8_at_pci0:0:24:1:     class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1461 subvendor=0x0000 subdevice=0x0000
hostb9_at_pci0:0:24:2:     class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1462 subvendor=0x0000 subdevice=0x0000
hostb10_at_pci0:0:24:3:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1463 subvendor=0x0000 subdevice=0x0000
hostb11_at_pci0:0:24:4:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1464 subvendor=0x0000 subdevice=0x0000
hostb12_at_pci0:0:24:5:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1465 subvendor=0x0000 subdevice=0x0000
hostb13_at_pci0:0:24:6:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1466 subvendor=0x0000 subdevice=0x0000
hostb14_at_pci0:0:24:7:    class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1467 subvendor=0x0000 subdevice=0x0000
xhci0_at_pci0:1:0:0:       class=0x0c0330 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43d5 subvendor=0x1b21 subdevice=0x1142
ahci0_at_pci0:1:0:1:       class=0x010601 rev=0x01 hdr=0x00 vendor=0x1022 device=0x43c8 subvendor=0x1b21 subdevice=0x1062
pcib2_at_pci0:1:0:2:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43c6 subvendor=0x1b21 subdevice=0x0201
pcib3_at_pci0:2:0:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43c7 subvendor=0x1b21 subdevice=0x3306
pcib4_at_pci0:2:4:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43c7 subvendor=0x1b21 subdevice=0x3306
pcib5_at_pci0:2:5:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43c7 subvendor=0x1b21 subdevice=0x3306
pcib6_at_pci0:2:6:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43c7 subvendor=0x1b21 subdevice=0x3306
pcib7_at_pci0:2:7:0:       class=0x060400 rev=0x01 hdr=0x01 vendor=0x1022 device=0x43c7 subvendor=0x1b21 subdevice=0x3306
re0_at_pci0:7:0:0: class=0x020000 rev=0x15 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x1043 subdevice=0x8677
vgapci0_at_pci0:8:0:0:     class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1c82 subvendor=0x1043 subdevice=0x8626
hdac0_at_pci0:8:0:1:       class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de device=0x0fb9 subvendor=0x1043 subdevice=0x8626
none1_at_pci0:9:0:0:       class=0x130000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x145a subvendor=0x1043 subdevice=0x8747
none2_at_pci0:9:0:2:       class=0x108000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1456 subvendor=0x1043 subdevice=0x8747
xhci1_at_pci0:9:0:3:       class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x145f subvendor=0x1043 subdevice=0x8747
none3_at_pci0:10:0:0:      class=0x130000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1455 subvendor=0x1043 subdevice=0x8747
ahci1_at_pci0:10:0:2:      class=0x010601 rev=0x51 hdr=0x00 vendor=0x1022 device=0x7901 subvendor=0x1043 subdevice=0x8747
hdac1_at_pci0:10:0:3:      class=0x040300 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1457 subvendor=0x1043 subdevice=0x86c7
 
Received on Tue Apr 13 2021 - 21:38:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC