Problems with Webcam and USB 3.X

Nilton Jose Rizzo rizzo at i805.com.br
Tue Apr 13 23:38:15 UTC 2021


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) @ 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
 


More information about the freebsd-current mailing list