sndiod and multiple audio devices

2022-08-13 Thread Isaac Meerwarth

Greetings all,

I recently bought a logi webcam and I was able to configure it with help 
from the FAQ.  However, when I switched the default audio device from 
rsnd/0 to rsnd/1 via sndiod(8) two things happen:


1) I am able to record audio through my webcam (rsnd/1)

2) I loose audio out in my headphones (rsnd/0??)

My headphones are attached to my desktop through 3.5mm jack on the 
motherboard.


After consulting sndiod(8) I believe I need to set up a sub-device of 
some sort but my comprehension is lacking.


I think I understand the logic, what I don't understand is how to 
configure sndiod to use both devices.



dmesg attached

Isaac

0 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
vmm0 at mainbus0: SVM/RVI
umass0 at uhub0 port 1 configuration 1 interface 0 "Hitachi-LG Data Storage Inc 
Portable Super Multi Drive" rev 2.00/0.00 addr 2
umass0: using ATAPI over Bulk-Only
scsibus5 at umass0: 2 targets, initiator 0
cd0 at scsibus5 targ 1 lun 0:  removable
ulpt0 at uhub0 port 4 configuration 1 interface 0 "Brother HL-L5100DN series" 
rev 2.00/1.00 addr 3
ulpt0: using bi-directional mode
ugen0 at uhub0 port 4 configuration 1 "Brother HL-L5100DN series" rev 2.00/1.00 
addr 3
uvideo0 at uhub1 port 2 configuration 1 interface 0 "HD Webcam C270 HD Webcam 
C270" rev 2.00/1.00 addr 2
video0 at uvideo0
uaudio0 at uhub1 port 2 configuration 1 interface 3 "HD Webcam C270 HD Webcam 
C270" rev 2.00/1.00 addr 2
uaudio0: class v1, high-speed, sync, channels: 0 play, 2 rec, 3 ctls
audio1 at uaudio0
umass1 at uhub1 port 7 configuration 1 interface 0 "Seagate Expansion SW" rev 
3.20/18.01 addr 3
umass1: using SCSI over Bulk-Only
scsibus6 at umass1: 2 targets, initiator 0
sd6 at scsibus6 targ 1 lun 0:  
serial.0bc2203bNAC819CJ
sd6: 3815447MB, 512 bytes/sector, 7814037167 sectors
uhidev0 at uhub2 port 1 configuration 1 interface 0 "Yubico YubiKey 
OTP+FIDO+CCID" rev 2.00/5.43 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev1 at uhub2 port 1 configuration 1 interface 1 "Yubico YubiKey 
OTP+FIDO+CCID" rev 2.00/5.43 addr 2
uhidev1: iclass 3/0
fido0 at uhidev1: input=64, output=64, feature=0
ugen1 at uhub2 port 1 configuration 1 "Yubico YubiKey OTP+FIDO+CCID" rev 
2.00/5.43 addr 2
uhub3 at uhub2 port 4 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" 
rev 2.10/6.34 addr 3
uhidev2 at uhub3 port 2 configuration 1 interface 0 "Logitech Gaming Mouse 
G900" rev 2.00/1.05 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 16 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uhidev3 at uhub3 port 2 configuration 1 interface 1 "Logitech Gaming Mouse 
G900" rev 2.00/1.05 addr 4
uhidev3: iclass 3/0, 17 report ids
uhidpp0 at uhidev3
ukbd1 at uhidev3 reportid 1: 8 variable keys, 6 key codes
wskbd2 at ukbd1 mux 1
ucc0 at uhidev3 reportid 3: 652 usages, 18 keys, array
wskbd3 at ucc0 mux 1
uhid0 at uhidev3 reportid 4: input=1, output=0, feature=0
uhidev4 at uhub3 port 3 configuration 1 interface 0 "ZSA Technology Labs Planck 
EZ Glow" rev 2.00/0.00 addr 5
uhidev4: iclass 3/1
ukbd2 at uhidev4: 8 variable keys, 6 key codes
wskbd4 at ukbd2 mux 1
uhidev5 at uhub3 port 3 configuration 1 interface 1 "ZSA Technology Labs Planck 
EZ Glow" rev 2.00/0.00 addr 5
uhidev5: iclass 3/0, 5 report ids
uhid1 at uhidev5 reportid 3: input=2, output=0, feature=0
ucc1 at uhidev5 reportid 4: 672 usages, 18 keys, array
wskbd5 at ucc1 mux 1
ukbd3 at uhidev5 reportid 5: 128 variable keys, 0 key codes
wskbd6 at ukbd3 mux 1
ugen2 at uhub3 port 5 "VIA Labs, Inc. USB Billboard Device" rev 2.01/0.01 addr 6
uhub4 at uhub2 port 8 configuration 1 interface 0 "VIA Labs, Inc. USB3.0 Hub" 
rev 3.20/6.34 addr 7
vscsi0 at root
scsibus7 at vscsi0: 256 targets
softraid0 at root
scsibus8 at softraid0: 256 targets
sd7 at scsibus8 targ 1 lun 0: 
sd7: 3815447MB, 512 bytes/sector, 7814035553 sectors
root on sd0a (9819c30129901e02.a) swap on sd0b dump on sd0b
amdgpu0: NAVI10 40 CU rev 0x02
amdgpu0: 2560x1440, 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
wsdisplay0: screen 1-5 added (std, vt100 emulation)
[drm] perform_link_training_with_retries: Link training attempt 1 of 4 failed
[drm] perform_link_training_with_retries: Link training attempt 2 of 4 failed
[drm] perform_link_training_with_retries: Link training attempt

Re: latest amd64 snap hangs on "root on sd0a..."

2023-06-21 Thread Isaac Meerwarth
I am having the same issue with the same snapshot/architecture. It 
continued to boot after i let it sit for 10 or so minutes.



On 6/21/23 12:27, Mikhail wrote:

Just installed latest amd64 install73.img from cdn.openbsd.org

OpenBSD 7.3-current (GENERIC.MP) #1253 Tue Jun 20 13:52:16 MDT 2023

and after installation it can't proceed further than

root on sd0a (..) swap on sdb0b dump on sd0b

Was working fine couple days ago.

Is it known issue?

OpenBSD 7.3-current (GENERIC.MP) #1253: Tue Jun 20 13:52:16 MDT 2023
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 34006142976 (32430MB)
avail mem = 32955891712 (31429MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x3f085000 (54 entries)
bios0: vendor INSYDE Corp. version "03.05" date 08/23/2022
bios0: Framework Laptop (12th Gen Intel Core)
efi0 at bios0: UEFI 2.8
efi0: INSYDE Corp. rev 0x305
acpi0 at bios0: ACPI 6.3
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI SSDT SSDT SSDT SSDT SSDT SSDT SSDT TPM2 SSDT LPIT 
WSMT SSDT SSDT DBGP DBG2 NHLT ECDT HPET APIC MCFG SSDT DMAR SSDT SSDT SSDT SSDT 
FPDT ASF! PHAT BGRT
acpi0: wakeup devices PEG0(S4) PEGP(S4) PEGP(S4) PEGP(S4) XHCI(S4) XDCI(S4) 
HDAS(S4) CNVW(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) 
RP04(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpihpet0 at acpi0: 1920 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: 12th Gen Intel(R) Core(TM) i5-1240P, 4390.59 MHz, 06-9a-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,WAITPKG,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
10-way L2 cache, 12MB 64b/line 8-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 38MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.2.0.1.0.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: 12th Gen Intel(R) Core(TM) i5-1240P, 4390.59 MHz, 06-9a-03
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
10-way L2 cache, 12MB 64b/line 8-way L3 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 8 (application processor)
cpu2: 12th Gen Intel(R) Core(TM) i5-1240P, 4388.98 MHz, 06-9a-03
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
10-way L2 cache, 12MB 64b/line 8-way L3 cache
cpu2: smt 0, core 4, package 0
cpu3 at mainbus0: apid 9 (application processor)
cpu3: 12th Gen Intel(R) Core(TM) i5-1240P, 4390.65 MHz, 06-9a-03
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
10-way L2 cache, 12MB 64b/line 8-way L3 cache
cpu3: smt 1, core 4, package 0
cpu4 at mainbus0: apid 16 (application processor)
cpu4: 12th Gen Intel(R) Core(TM) i5-1240P, 3692.12 MHz, 06-9a-03
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,M

Re: latest amd64 snap hangs on "root on sd0a..."

2023-06-22 Thread Isaac Meerwarth

Latest snapshot booted normally.

OpenBSD 7.3 GENERIC.MP#1254 amd64



On 6/21/23 12:27, Mikhail wrote:

Just installed latest amd64 install73.img from cdn.openbsd.org

OpenBSD 7.3-current (GENERIC.MP) #1253 Tue Jun 20 13:52:16 MDT 2023

and after installation it can't proceed further than

root on sd0a (..) swap on sdb0b dump on sd0b

Was working fine couple days ago.

Is it known issue?





Getting archived mailing list mail with majordomo

2022-06-24 Thread Isaac Meerwarth

Hello misc,

I've been trying to retrieve archived mailing list mail.  I tried 
sending "archive-get misc 101001" to majord...@openbsd.org but my 
request is denied.


I haven't found any remedies google-dorking marc.info.  Ideally, I'd 
like to download a full archive of misc and ports.  Any ideas or solutions?



Thanks,

Isaac



Re: Getting archived mailing list mail with majordomo

2022-06-24 Thread Isaac Meerwarth

On 6/24/22 12:31, Todd C. Miller wrote:

On Fri, 24 Jun 2022 12:18:46 -0400, Isaac Meerwarth wrote:


I've been trying to retrieve archived mailing list mail.  I tried
sending "archive-get misc 101001" to majord...@openbsd.org but my
request is denied.

I haven't found any remedies google-dorking marc.info.  Ideally, I'd
like to download a full archive of misc and ports.  Any ideas or solutions?

This is disabled in majordomo because it doesn't act the way people
expect.  What that would do is to cause majordomo to re-send all
the archived messages to you, one by one.  That can quickly overwhelm
the destination and get the mail server banned as a spam source.
Is there an official repository for browsing mailing list archives? 
marc.info seems reputable but unofficial.

Unfortunately, there isn't currently a way to download the
archives in mailbox format, which is probably what you want.

Luckily, I am young and can build a nice repository myself!

I'll be sitting pretty in 5 years :)


Thank you for your timely response,

Isaac