Friday, March 07, 2025

Re: sndio, uaudio and buffer xruns (clicking/popping)

On 07.03.2025 11:31, Alexandre Ratchov wrote:

[snip]

>> https://youtu.be/Vbi5f1SlXZw?si=5pjaMI4aAf6Luewx&t=380 (at the 6:20
>> mark, the link should take you there)
>>
>
>This may be a uaudio(4) bug. Try to record audio during few hours with
>"aucat -o" on an idle system and see if sndiod blows (remember to
>disable nightly cron jobs if you test during the night).

I'll set this up and let it run for the night. I'll report back with the
results.

>The sound reminds the sound of usb ring buffer overruns. This often
>happens when the system runs long kernel code-paths that prevent the
>usb drivers from making progress timely.
>
>I've noticed that putting the uaudio device on the root hub helps, but
>this is system dependent.

I've actually done this and the artifacting sound (the 'robot noise')
went away. I used an USB2 port (reserved for keyboard and mouse, but I
can plug those into an USB3 port too) as well, which also seemed to
help.

>Disabling kernel features that you don't need during recording also
>helps (ex. access point scans if you use wired network, power-saving
>features, glx if you don't need 3d rendering, unused programs that
>allocate/free big amounts of memory and so on).

Noted, will look into that.

[snip]

>> I've already messed with the sndiod flags, currently set at:
>>
>> sndiod_flags=-s default -m play,mon -s mon -r 48000 -b 24000
>>
>> Which should give a buffer of 500ms (according to the OpenBSD multimedia
>> page)
>>
>
>The USB controller has its own buffers, that's why increasing the
>audio(4) buffer doesn't improve usb-specific problems.
>
>FWIW, "-z 480 -b 960" is supposed to work on a modern system.

Noted.

>> Throwing larger buffers at it does not seem to alleviate the issue.
>> Needless to say, this makes creating videos and videoconferencing
>> somewhat unfeasable.
>>
>> Playback is absolutely fine however.
>
>Surprising. Do voice-only calls work better?

No idea, I'll have to test that. I did have a videoconference call
(jitsi meet) this morning and with the MOTU in the root hub on USB2 did
get me through the call without the audio weirdness I usually get.

>Could you post a complete dmesg to show the paths of usb devices to
>the host controllers?

Sure thing:

OpenBSD 7.7-beta (GENERIC.MP) #581: Wed Mar 5 20:46:28 MST 2025
deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 34222215168 (32636MB)
avail mem = 33158209536 (31622MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xbd9fb000 (64 entries)
bios0: vendor American Megatrends International, LLC. version "H.J0" date 10/14/2023
bios0: Micro-Star International Co., Ltd. MS-7B79
efi0 at bios0: UEFI 2.7
efi0: American Megatrends rev 0x50011
acpi0 at bios0: ACPI 6.2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT FIDT MCFG HPET IVRS FPDT VFCT TPM2 PCCT SSDT CRAT CDIT SSDT SSDT WSMT APIC SSDT
acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) GPP7(S4) GPP8(S4) GPP9(S4) GPPA(S4) GPPB(S4) GPPC(S4) GPPD(S4) GPPE(S4) GPPF(S4) GP10(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xf0000000, bus 0-127
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu0: cpuid 1 edx=178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT> ecx=76f8320b<SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND>
cpu0: cpuid 6 eax=4<ARAT> ecx=1<EFFFREQ>
cpu0: cpuid 7.0 ebx=219c97a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA> ecx=40068c<UMIP,PKU> edx=10
cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
cpu0: cpuid 80000001 edx=2fd3fbff<NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG> ecx=75c237ff<LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX>
cpu0: cpuid 80000007 edx=6799<HWPSTATE,ITSC>
cpu0: cpuid 80000008 ebx=111ef657<IBPB,IBRS,STIBP,STIBP_ALL,IBRS_PREF,IBRS_SM,SSBD>
cpu0: cpuid 8000001F eax=1780f<SME,SEV,PFLUSH_MSR,SEVES,REQ64BITHOST,RESTINJ,ALTINJ,DBGSTSW,VTE> ecx=1fd edx=1
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 96MB 64b/line 16-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 8 (application processor)
cpu4: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu4: smt 0, core 4, package 0
cpu5 at mainbus0: apid 10 (application processor)
cpu5: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu5: smt 0, core 5, package 0
cpu6 at mainbus0: apid 12 (application processor)
cpu6: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu6: smt 0, core 6, package 0
cpu7 at mainbus0: apid 14 (application processor)
cpu7: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu7: smt 0, core 7, package 0
cpu8 at mainbus0: apid 1 (application processor)
cpu8: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu8: smt 1, core 0, package 0
cpu9 at mainbus0: apid 3 (application processor)
cpu9: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu9: smt 1, core 1, package 0
cpu10 at mainbus0: apid 5 (application processor)
cpu10: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu10: smt 1, core 2, package 0
cpu11 at mainbus0: apid 7 (application processor)
cpu11: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu11: smt 1, core 3, package 0
cpu12 at mainbus0: apid 9 (application processor)
cpu12: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu12: smt 1, core 4, package 0
cpu13 at mainbus0: apid 11 (application processor)
cpu13: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu13: smt 1, core 5, package 0
cpu14 at mainbus0: apid 13 (application processor)
cpu14: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu14: smt 1, core 6, package 0
cpu15 at mainbus0: apid 15 (application processor)
cpu15: AMD Ryzen 7 5800X3D 8-Core Processor, 3400.00 MHz, 19-21-02, patch 0a201210
cpu15: smt 1, core 7, package 0
ioapic0 at mainbus0: apid 17 pa 0xfec00000, version 21, 24 pins, can't remap
ioapic1 at mainbus0: apid 18 pa 0xfec01000, version 21, 32 pins, can't remap
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (GPP0)
acpiprt2 at acpi0: bus -1 (GPP1)
acpiprt3 at acpi0: bus -1 (GPP3)
acpiprt4 at acpi0: bus -1 (GPP4)
acpiprt5 at acpi0: bus -1 (GPP5)
acpiprt6 at acpi0: bus -1 (GPP6)
acpiprt7 at acpi0: bus -1 (GPP7)
acpiprt8 at acpi0: bus 39 (GPP8)
acpiprt9 at acpi0: bus 42 (GPP9)
acpiprt10 at acpi0: bus -1 (GPPA)
acpiprt11 at acpi0: bus -1 (GPPB)
acpiprt12 at acpi0: bus -1 (GPPC)
acpiprt13 at acpi0: bus -1 (GPPD)
acpiprt14 at acpi0: bus -1 (GPPE)
acpiprt15 at acpi0: bus -1 (GPPF)
acpiprt16 at acpi0: bus -1 (GP10)
acpiprt17 at acpi0: bus 43 (GP12)
acpiprt18 at acpi0: bus 44 (GP13)
acpiprt19 at acpi0: bus -1 (GP30)
acpiprt20 at acpi0: bus -1 (GP31)
acpiprt21 at acpi0: bus 3 (GPP2)
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
acpicmos0 at acpi0
com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
acpibtn0 at acpi0: PWRB
amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins
tpm0 at acpi0 TPM_: unsupported TPM2 start method 2
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"AMDIF030" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu1 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu2 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu3 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu4 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu5 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu6 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu7 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu8 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu9 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu10 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu11 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu12 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu13 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu14 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
acpicpu15 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS
cpu0: 3400 MHz: speeds: 3400 2800 2200 MHz
pci0 at mainbus0 bus 0
ksmn0 at pci0 dev 0 function 0 "AMD 17h Root Complex" rev 0x00
"AMD 17h IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
pchb0 at pci0 dev 1 function 0 "AMD 17h Host" rev 0x00
ppb0 at pci0 dev 1 function 1 "AMD 17h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
nvme0 at pci1 dev 0 function 0 "Intel NVMe" rev 0x03: msix, NVMe 1.3
nvme0: INTEL SSDPEKNW010T8, firmware 005C, serial BTNH92550RAV1P0B
scsibus1 at nvme0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <NVMe, INTEL SSDPEKNW01, 005C>
sd0: 976762MB, 512 bytes/sector, 2000409264 sectors
ppb1 at pci0 dev 1 function 3 "AMD 17h PCIE" rev 0x00: msi
pci2 at ppb1 bus 3
xhci0 at pci2 dev 0 function 0 "AMD 400 Series xHCI" rev 0x01: msix, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
ahci0 at pci2 dev 0 function 1 "AMD 400 Series AHCI" rev 0x01: msi, AHCI 1.3.1
ahci0: port busy after first PMP probe FIS
ahci0: port busy after first PMP probe FIS
ahci0: port 2: 6.0Gb/s
ahci0: port busy after first PMP probe FIS
ahci0: port busy after first PMP probe FIS
ahci0: port 6: 6.0Gb/s
scsibus2 at ahci0: 32 targets
sd1 at scsibus2 targ 2 lun 0: <ATA, Verbatim Vi550 S, VE0R> naa.0000000000000000
sd1: 3907018MB, 512 bytes/sector, 8001573552 sectors, thin
sd2 at scsibus2 targ 6 lun 0: <ATA, ST4000DM004-2CV1, 0001> naa.5000c500b4651cbc
sd2: 3815447MB, 512 bytes/sector, 7814037168 sectors
ppb2 at pci2 dev 0 function 2 "AMD 400 Series PCIE" rev 0x01
pci3 at ppb2 bus 32
ppb3 at pci3 dev 0 function 0 "AMD 400 Series PCIE" rev 0x01: msi
pci4 at ppb3 bus 33
ppb4 at pci3 dev 1 function 0 "AMD 400 Series PCIE" rev 0x01: msi
pci5 at ppb4 bus 34
re0 at pci5 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), msi, address 00:d8:61:a1:60:8d
rgephy0 at re0 phy 7: RTL8251, rev. 0
ppb5 at pci3 dev 2 function 0 "AMD 400 Series PCIE" rev 0x01: msi
pci6 at ppb5 bus 35
ppb6 at pci3 dev 3 function 0 "AMD 400 Series PCIE" rev 0x01: msi
pci7 at ppb6 bus 36
iwm0 at pci7 dev 0 function 0 "Intel Dual Band Wireless-AC 9260" rev 0x29, msix
ppb7 at pci3 dev 4 function 0 "AMD 400 Series PCIE" rev 0x01: msi
pci8 at ppb7 bus 37
nvme1 at pci8 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, NVMe 1.3
nvme1: Samsung SSD 970 EVO Plus 500GB, firmware 2B2QEXM7, serial S4EVNF0M313534M
scsibus3 at nvme1: 2 targets, initiator 0
sd3 at scsibus3 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q>
sd3: 476940MB, 512 bytes/sector, 976773168 sectors
ppb8 at pci3 dev 8 function 0 "AMD 400 Series PCIE" rev 0x01: msi
pci9 at ppb8 bus 38
xhci1 at pci9 dev 0 function 0 "ASMedia ASM1042AE xHCI" rev 0x00: msix, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "ASMedia xHCI root hub" rev 3.00/1.00 addr 1
pchb1 at pci0 dev 2 function 0 "AMD 17h Host" rev 0x00
pchb2 at pci0 dev 3 function 0 "AMD 17h Host" rev 0x00
ppb9 at pci0 dev 3 function 1 "AMD 17h PCIE" rev 0x00: msi
pci10 at ppb9 bus 39
ppb10 at pci10 dev 0 function 0 "ATI PCIE" rev 0xc1
pci11 at ppb10 bus 40
ppb11 at pci11 dev 0 function 0 "ATI PCIE" rev 0x00
pci12 at ppb11 bus 41
amdgpu0 at pci12 dev 0 function 0 "ATI Navi 21" rev 0xc1
drm0 at amdgpu0
amdgpu0: msi
azalia0 at pci12 dev 0 function 1 "ATI Navi 2x HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb12 at pci0 dev 3 function 2 "AMD 17h PCIE" rev 0x00: msi
pci13 at ppb12 bus 42
nvme2 at pci13 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, NVMe 1.3
nvme2: Samsung SSD 970 EVO 1TB, firmware 2B2QEXE7, serial S5H9NS0NC00731H
scsibus4 at nvme2: 2 targets, initiator 0
sd4 at scsibus4 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q>
sd4: 953869MB, 512 bytes/sector, 1953525168 sectors
pchb3 at pci0 dev 4 function 0 "AMD 17h Host" rev 0x00
pchb4 at pci0 dev 5 function 0 "AMD 17h Host" rev 0x00
pchb5 at pci0 dev 7 function 0 "AMD 17h Host" rev 0x00
ppb13 at pci0 dev 7 function 1 "AMD 17h PCIE" rev 0x00
pci14 at ppb13 bus 43
vendor "AMD", unknown product 0x148a (class instrumentation unknown subclass 0x00, rev 0x00) at pci14 dev 0 function 0 not configured
pchb6 at pci0 dev 8 function 0 "AMD 17h Host" rev 0x00
ppb14 at pci0 dev 8 function 1 "AMD 17h PCIE" rev 0x00
pci15 at ppb14 bus 44
vendor "AMD", unknown product 0x1485 (class instrumentation unknown subclass 0x00, rev 0x00) at pci15 dev 0 function 0 not configured
ccp0 at pci15 dev 0 function 1 "AMD 17h Crypto" rev 0x00
xhci2 at pci15 dev 0 function 3 "AMD 17h xHCI" rev 0x00: msix, xHCI 1.10
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x61: SMI
iic0 at piixpm0
sdtemp0 at iic0 addr 0x18: stts2004
sdtemp1 at iic0 addr 0x19: stts2004
sdtemp2 at iic0 addr 0x1a: stts2004
sdtemp3 at iic0 addr 0x1b: stts2004
iic0: addr 0x1c 00=3b 01=00 02=00 04=00 05=00 06=00 07=bb 08=00 09=33 10=03 11=02 12=00 13=01 14=00 15=3f 16=00 17=3f 20=95 21=92 22=00 32=00 words 00=3bff 01=00ff 02=00ff 03=ffff 04=00ff 05=00ff 06=00ff 07=00ff
iic0: addr 0x20 01=01 04=2a 06=2a 08=2a 09=3c 0b=18 0c=03 0d=23 0f=44 10=44 20=30 21=01 24=28 26=2a 28=2a 29=10 2b=18 2c=03 2d=23 2f=44 32=50 40=27 41=1c 42=9b 43=a8 45=05 46=01 47=03 48=05 50=0f 51=07 52=55 53=ff 60=36 61=24 62=1b words 00=0002 01=0100 02=0000 03=0054 04=2a00 05=0054 06=2a00 07=0054
iic0: addr 0x4c 00=29 01=2b 02=80 03=25 04=08 05=46 06=d8 07=46 08=d8 09=25 0a=08 0b=46 0c=d8 0d=46 0e=d8 10=20 11=00 12=00 13=00 14=00 16=07 19=7d 20=7d 21=0a 2d=00 2e=00 2f=00 31=00 32=00 33=00 34=00 35=00 36=46 37=00 38=d8 39=00 3a=7d 40=00 41=00 43=e0 44=80 45=00 46=10 47=a1 48=00 49=50 4a=3c 4b=35 4c=52 4d=02 4e=02 4f=04 50=0a 51=99 52=1c 53=12 54=05 55=0a 56=0a 57=0a 58=84 59=30 5a=10 5c=60 5d=00 5e=10 5f=46 60=46 61=2b 62=2b 63=0a 64=14 65=1e 66=28 67=32 68=3c 69=55 6a=5a 6b=28 6c=50 6d=78 6e=96 6f=b4 70=d2 71=f0 72=19 73=1e 74=23 75=28 76=2d 77=32 78=37 79=3c 7a=28 7b=50 7c=78 7d=96 7e=b4 7f=d2 80=f0 81=00 82=00 83=00 bf=00 d6=00 d7=80 d8=00 d9=00 da=11 db=2a dc=28 dd=10 de=00 e0=bb e1=bb e4=cc e6=ef e7=ef e8=12 e9=12 ec=12 ed=44 ef=04 f0=00 f1=00 f2=00 f3=00 f4=00 f5=00 f7=25 f8=80 f9=02 fa=00 fb=30 fc=4c fd=50 fe=50 ff=91 words 00=29ff 01=2bff 02=80ff 03=25ff 04=08ff 05=46ff 06=d8ff 07=46ff
spdmem0 at iic0 addr 0x50: 8GB DDR4 SDRAM PC4-17000 with thermal sensor
spdmem1 at iic0 addr 0x51: 8GB DDR4 SDRAM PC4-17000 with thermal sensor
spdmem2 at iic0 addr 0x52: 8GB DDR4 SDRAM PC4-17000 with thermal sensor
spdmem3 at iic0 addr 0x53: 8GB DDR4 SDRAM PC4-17000 with thermal sensor
iic1 at piixpm0
pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51
pchb7 at pci0 dev 24 function 0 "AMD 17h Data Fabric" rev 0x00
pchb8 at pci0 dev 24 function 1 "AMD 17h Data Fabric" rev 0x00
pchb9 at pci0 dev 24 function 2 "AMD 17h Data Fabric" rev 0x00
pchb10 at pci0 dev 24 function 3 "AMD 17h Data Fabric" rev 0x00
pchb11 at pci0 dev 24 function 4 "AMD 17h Data Fabric" rev 0x00
pchb12 at pci0 dev 24 function 5 "AMD 17h Data Fabric" rev 0x00
pchb13 at pci0 dev 24 function 6 "AMD 17h Data Fabric" rev 0x00
pchb14 at pci0 dev 24 function 7 "AMD 17h Data Fabric" rev 0x00
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
intr_establish: pic ioapic0 pin 7: can't share type 3 with 2
vmm0 at mainbus0: SVM/RVI
efifb at mainbus0 not configured
uhidev0 at uhub0 port 9 configuration 1 interface 1 "Nitrokey Nitrokey 3" rev 2.10/1.08 addr 2
uhidev0: iclass 3/0
fido0 at uhidev0: input=64, output=64, feature=0
ugen0 at uhub0 port 9 configuration 1 "Nitrokey Nitrokey 3" rev 2.10/1.08 addr 2
uhub3 at uhub0 port 17 configuration 1 interface 0 "Terminus Technology USB 2.0 Hub" rev 2.00/1.11 addr 3
ugen1 at uhub3 port 4 "Intel Bluetooth" rev 2.00/0.02 addr 4
uhub4 at uhub0 port 18 configuration 1 interface 0 "Terminus Technology USB 2.0 Hub" rev 2.00/1.11 addr 5
uhub5 at uhub0 port 19 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 6
uaudio0 at uhub0 port 20 configuration 1 interface 1 "MOTU M4" rev 2.00/1.01 addr 7
uaudio0: class v2, high-speed, sync, channels: 4 play, 4 rec, 0 ctls
audio0 at uaudio0
umidi0 at uhub0 port 20 configuration 1 interface 4 "MOTU M4" rev 2.00/1.01 addr 7
umidi0: (genuine USB-MIDI)
umidi0: out=1, in=1
midi0 at umidi0: <USB MIDI I/F>
ugen2 at uhub0 port 20 configuration 1 "MOTU M4" rev 2.00/1.01 addr 7
uhidev1 at uhub0 port 21 configuration 1 interface 0 "Razer Razer BlackWidow V3" rev 2.00/2.00 addr 8
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev2 at uhub0 port 21 configuration 1 interface 1 "Razer Razer BlackWidow V3" rev 2.00/2.00 addr 8
uhidev2: iclass 3/0, 5 report ids
ukbd1 at uhidev2 reportid 1: 128 variable keys, 0 key codes
wskbd2 at ukbd1 mux 1
ucc0 at uhidev2 reportid 2: 573 usages, 20 keys, array
wskbd3 at ucc0 mux 1
uhid0 at uhidev2 reportid 3: input=21, output=0, feature=0
uhid1 at uhidev2 reportid 4: input=21, output=0, feature=0
uhid2 at uhidev2 reportid 5: input=21, output=0, feature=0
uhidev3 at uhub0 port 21 configuration 1 interface 2 "Razer Razer BlackWidow V3" rev 2.00/2.00 addr 8
uhidev3: iclass 3/0
ums0 at uhidev3: 5 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev4 at uhub0 port 21 configuration 1 interface 3 "Razer Razer BlackWidow V3" rev 2.00/2.00 addr 8
uhidev4: iclass 3/0
uhid3 at uhidev4: input=0, output=0, feature=90
uhidev5 at uhub0 port 21 configuration 1 interface 4 "Razer Razer BlackWidow V3" rev 2.00/2.00 addr 8
uhidev5: iclass 3/0, 6 report ids
uhid4 at uhidev5 reportid 1: input=0, output=0, feature=22
uhid5 at uhidev5 reportid 2: input=0, output=0, feature=2
uhid6 at uhidev5 reportid 3: input=0, output=0, feature=28
uhid7 at uhidev5 reportid 4: input=0, output=0, feature=50
uhid8 at uhidev5 reportid 5: input=0, output=0, feature=9
uhid9 at uhidev5 reportid 6: input=0, output=0, feature=1
uhidev6 at uhub0 port 22 configuration 1 interface 0 "Corsair Commander PRO" rev 2.00/0.09 addr 9
uhidev6: iclass 3/0
uhid10 at uhidev6: input=16, output=63, feature=0
uhidev7 at uhub2 port 1 configuration 1 interface 0 "Razer Razer Basilisk V3" rev 2.00/2.00 addr 2
uhidev7: iclass 3/1
ums1 at uhidev7: 5 buttons, Z and W dir
wsmouse1 at ums1 mux 0
uhidev8 at uhub2 port 1 configuration 1 interface 1 "Razer Razer Basilisk V3" rev 2.00/2.00 addr 2
uhidev8: iclass 3/0, 5 report ids
ukbd2 at uhidev8 reportid 1: 8 variable keys, 6 key codes
wskbd4 at ukbd2 mux 1
ucc1 at uhidev8 reportid 2: 573 usages, 20 keys, array
wskbd5 at ucc1 mux 1
uhid11 at uhidev8 reportid 3: input=15, output=0, feature=0
uhid12 at uhidev8 reportid 4: input=15, output=0, feature=0
uhid13 at uhidev8 reportid 5: input=15, output=0, feature=0
uhidev9 at uhub2 port 1 configuration 1 interface 2 "Razer Razer Basilisk V3" rev 2.00/2.00 addr 2
uhidev9: iclass 3/0
ukbd3 at uhidev9: 8 variable keys, 6 key codes
wskbd6 at ukbd3 mux 1
uhidev10 at uhub2 port 1 configuration 1 interface 3 "Razer Razer Basilisk V3" rev 2.00/2.00 addr 2
uhidev10: iclass 3/0
uhid14 at uhidev10: input=0, output=0, feature=90
uhub6 at uhub2 port 2 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" rev 2.10/90.14 addr 3
uhub7 at uhub6 port 3 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" rev 2.10/90.14 addr 4
uhidev11 at uhub7 port 1 configuration 1 interface 0 "Yubico Yubikey 4 OTP+U2F+CCID" rev 2.00/4.37 addr 5
uhidev11: iclass 3/1
ukbd4 at uhidev11: 8 variable keys, 6 key codes
wskbd7 at ukbd4 mux 1
uhidev12 at uhub7 port 1 configuration 1 interface 1 "Yubico Yubikey 4 OTP+U2F+CCID" rev 2.00/4.37 addr 5
uhidev12: iclass 3/0
fido1 at uhidev12: input=64, output=64, feature=0
ugen3 at uhub7 port 1 configuration 1 "Yubico Yubikey 4 OTP+U2F+CCID" rev 2.00/4.37 addr 5
uhub7: device problem, disabling port 3
uhub8 at uhub2 port 6 configuration 1 interface 0 "VIA Labs, Inc. USB3.0 Hub" rev 3.20/90.14 addr 6
uvideo0 at uhub8 port 1 configuration 1 interface 0 "Logitech Logitech BRIO" rev 3.10/3.17 addr 7
video0 at uvideo0
uaudio1 at uhub8 port 1 configuration 1 interface 4 "Logitech Logitech BRIO" rev 3.10/3.17 addr 7
uaudio1: class v1, high-speed, sync, channels: 0 play, 2 rec, 2 ctls
audio1 at uaudio1
uhidev13 at uhub8 port 1 configuration 1 interface 5 "Logitech Logitech BRIO" rev 3.10/3.17 addr 7
uhidev13: iclass 3/0
ucc2 at uhidev13: 2 usages, 0 keys, enum
uhub9 at uhub8 port 3 configuration 1 interface 0 "VIA Labs, Inc. USB3.0 Hub" rev 3.20/90.14 addr 8
uhub10 at uhub9 port 3 configuration 1 interface 0 "VIA Labs, Inc. USB3.0 Hub" rev 3.20/90.14 addr 9
vscsi0 at root
scsibus5 at vscsi0: 256 targets
softraid0 at root
scsibus6 at softraid0: 256 targets
sd5 at scsibus6 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd5: 476679MB, 512 bytes/sector, 976240063 sectors
root on sd5a (071242ae36f92d6c.a) swap on sd5b dump on sd5b
iwm0: hw rev 0x320, fw ver 46.7e3e4b69.0, address 20:79:18:e2:21:b5
amdgpu0: SIENNA_CICHLID GC 10.3.0 72 CU rev 0x01
amdgpu0: 1920x1080, 32bpp
wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wskbd3: connecting to wsdisplay0
wskbd4: connecting to wsdisplay0
wskbd5: connecting to wsdisplay0
wskbd6: connecting to wsdisplay0
wskbd7: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

(Note, this is with the uaudio plugged into the root hub, there is also
a Logitech BRIO which is in an external powered USB3 hub)

usbdevs:

Controller /dev/usb0:
addr 01: 1022:0000 AMD, xHCI root hub
addr 02: 20a0:42b2 Nitrokey, Nitrokey 3
addr 03: 1a40:0101 Terminus Technology, USB 2.0 Hub
addr 04: 8087:0025 Intel, Bluetooth
addr 05: 1a40:0101 Terminus Technology, USB 2.0 Hub
addr 06: 05e3:0610 Genesys Logic, USB2.0 Hub
addr 07: 07fd:0008 MOTU, M4
addr 08: 1532:024e Razer, Razer BlackWidow V3
addr 09: 1b1c:0c10 Corsair, Commander PRO
Controller /dev/usb1:
addr 01: 1b21:0000 ASMedia, xHCI root hub
Controller /dev/usb2:
addr 01: 1022:0000 AMD, xHCI root hub
addr 02: 1532:0099 Razer, Razer Basilisk V3
addr 03: 2109:2817 VIA Labs, Inc., USB2.0 Hub
addr 04: 2109:2817 VIA Labs, Inc., USB2.0 Hub
addr 05: 1050:0407 Yubico, Yubikey 4 OTP+U2F+CCID
addr 06: 2109:0817 VIA Labs, Inc., USB3.0 Hub
addr 07: 046d:085e Logitech, Logitech BRIO
addr 08: 2109:0817 VIA Labs, Inc., USB3.0 Hub
addr 09: 2109:0817 VIA Labs, Inc., USB3.0 Hub

Cheers,
Emiel Kollof

No comments:

Post a Comment