I've found myself unable to use my laptop mic with my new OpenBSD install. Using mixerctl, I try to set values to use "mic" instead of "mic2" for inputs, but I am met with the error "mixerctl: Bad set value mic" in most cases. I have enabled the kern.audio.record sysctl and I am certain the built in microphone works as it's worked out of the box with alsa on various linux distros. Here is my mixerctl output:
inputs.dac-2:3=174,174 inputs.dac-0:1=174,174 record.adc-0:1_mute=off record.adc-0:1=252,252 record.adc-4:5_mute=off record.adc-4:5=252,252 inputs.mix_source=mic2 inputs.mix_mic2=120,120 inputs.mix2_source=dac-2:3,mix inputs.mix3_source=dac-0:1,mix record.adc-2:3_source=mic record.adc-2:3_mute=off record.adc-2:3=252,252 inputs.mic=85,85 outputs.spkr_source=mix2 outputs.spkr_mute=on outputs.spkr_eapd=on inputs.mic2=85,85 outputs.mic2_dir=input-vr80 outputs.hp_source=mix3 outputs.hp_mute=off outputs.hp_boost=off outputs.hp_eapd=on record.adc-4:5_source=mic2,mix record.adc-0:1_source=mic2,mix outputs.mic2_sense=unplugged outputs.hp_sense=plugged outputs.spkr_muters=hp outputs.master=255,255 outputs.master.mute=off outputs.master.slaves=dac-2:3,dac-0:1,spkr,hp record.volume=255,255 record.volume.mute=off record.volume.slaves=adc-0:1,adc-4:5,adc-2:3 record.enable=sysctl ...And here is my dmesg output: OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 2021 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MPreal mem = 4141572096 (3949MB)avail mem = 4000673792 (3815MB)random: good seed from bootblocksmpath0 at rootscsibus0 at mpath0: 256 targetsmainbus0 at rootbios0 at mainbus0: SMBIOS rev. 2.7 @ 0x78f06020 (15 entries)bios0: vendor coreboot version "MrChromebox" date 02/04/2018bios0: GOOGLE Auron_Yunaacpi0 at bios0: ACPI 4.0acpi0: sleep states S0 S1 S2 S3 S4 S5acpi0: tables DSDT FACP SSDT MCFG TCPA APIC HPET BGRTacpi0: wakeup devices HDEF(S3) WLAN(S3) EHCI(S3) XHCI(S3) LID0(S5) ETPA(S3)acpitimer0 at acpi0: 3579545 Hz, 24 bitsacpimcfg0 at acpi0acpimcfg0: addr 0xf0000000, bus 0-255acpimadt0 at acpi0 addr 0xfee00000: PC-AT compatcpu0 at mainbus0: apid 0 (boot processor)cpu0: Intel(R) Celeron(R) CPU 3215U @ 1.70GHz, 1696.39 MHz, 06-3d-04cpu0: 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,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,ERMS,INVPCID,RDSEED,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWNcpu0: 256KB 64b/line 8-way L2 cachecpu0: smt 0, core 0, package 0mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed rangescpu0: apic clock running at 99MHzcpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBEcpu1 at mainbus0: apid 2 (application processor)cpu1: Intel(R) Celeron(R) CPU 3215U @ 1.70GHz, 1696.09 MHz, 06-3d-04cpu1: 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,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,ERMS,INVPCID,RDSEED,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWNcpu1: 256KB 64b/line 8-way L2 cachecpu1: smt 0, core 1, package 0ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pinsacpihpet0 at acpi0: 14318179 Hzacpiprt0 at acpi0: bus 0 (PCI0)acpiprt1 at acpi0: bus 1 (RP01)acpiprt2 at acpi0: bus -1 (RP02)acpiprt3 at acpi0: bus -1 (RP03)acpiprt4 at acpi0: bus -1 (RP04)acpiprt5 at acpi0: bus -1 (RP05)acpiprt6 at acpi0: bus -1 (RP06)acpiprt7 at acpi0: bus -1 (RP07)acpiprt8 at acpi0: bus -1 (RP08)acpiec0 at acpi0acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001acpicmos0 at acpi0"INT3437" at acpi0 not configuredacpibtn0 at acpi0: LID0acpiac0 at acpi0: AC unit onlineacpibat0 at acpi0: BAT0 model "AC14B8K" serial B360 type LION oem "LGC""GOOG0004" at acpi0 not configured"PNP0A05" at acpi0 not configured"INTL9C60" at acpi0 not configureddwiic0 at acpi0 I2C0 addr 0xe1122000/0x1000 irq 7iic0 at dwiic0"ELAN0000" at iic0 addr 0x15 not configureddwiic1 at acpi0 I2C1 addr 0xe1124000/0x1000 irq 7iic1 at dwiic1acpibtn1 at acpi0: PWRB"PNP0C0B" at acpi0 not configured"PNP0C0B" at acpi0 not configured"BOOT0000" at acpi0 not configuredacpicpu0 at acpi0: C3(400@506 mwait.1@0x60), C2(700@148 mwait.1@0x33), C1(1000@0 mwait.1@0x1), PSSacpicpu1 at acpi0: C3(400@506 mwait.1@0x60), C2(700@148 mwait.1@0x33), C1(1000@0 mwait.1@0x1), PSSacpitz0 at acpi0: critical temperature is 104 degCacpipwrres0 at acpi0: TNP0, resource for TDP0acpipwrres1 at acpi0: TNP1, resource for TDP1acpivideo0 at acpi0: GFX0cpu0: using VERW MDS workaround (except on vmm entry)cpu0: Enhanced SpeedStep 1696 MHz: speeds: 1701, 1700, 1500, 1300, 1100, 900, 700, 500 MHzpci0 at mainbus0 bus 0pchb0 at pci0 dev 0 function 0 "Intel Core 5G Host" rev 0x09inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x09drm0 at inteldrm0inteldrm0: msi, BROADWELL, gen 8azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msiazalia0: No codecs foundxhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi, xHCI 1.0usb0 at xhci0: USB revision 3.0uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1"Intel 9 Series MEI" rev 0x03 at pci0 dev 22 function 0 not configuredazalia1 at pci0 dev 27 function 0 "Intel 9 Series HD Audio" rev 0x03: msiazalia1: codecs: Realtek ALC283audio0 at azalia1ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xe3pci1 at ppb0 bus 1iwm0 at pci1 dev 0 function 0 "Intel AC 7260" rev 0xcb, msipcib0 at pci0 dev 31 function 0 "Intel 9 Series LPC" rev 0x03ahci0 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x03: msi, AHCI 1.3ahci0: port 0: 6.0Gb/sscsibus1 at ahci0: 32 targetssd0 at scsibus1 targ 0 lun 0: <ATA, KingDian N480 12, Q052> t10.ATA_KingDian_N480_120GB_2018071300553_sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thinpchtemp0 at pci0 dev 31 function 6 "Intel 9 Series Thermal" rev 0x03: disabledisa0 at pcib0isadma0 at isa0com0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifopckbc0 at isa0 port 0x60/5 irq 1 irq 12pckbd0 at pckbc0 (kbd slot)wskbd0 at pckbd0: console keyboardpcppi0 at isa0 port 0x61spkr0 at pcppi0vmm0 at mainbus0: VMX/EPTefifb at mainbus0 not configureduhidev0 at uhub0 port 2 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/24.07 addr 2uhidev0: iclass 3/1ukbd0 at uhidev0: 8 variable keys, 6 key codeswskbd1 at ukbd0 mux 1uhidev1 at uhub0 port 2 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/24.07 addr 2uhidev1: iclass 3/1, 8 report idsums0 at uhidev1 reportid 2: 16 buttons, Z and W dirwsmouse0 at ums0 mux 0uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0uhidev2 at uhub0 port 2 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/24.07 addr 2uhidev2: iclass 3/0, 33 report idsuhidpp0 at uhidev2 reportid 16 device 1 mouse "Wireless Mouse" serial 43-6c-50-dduhid3 at uhidev2 reportid 32: input=14, output=14, feature=0uhid4 at uhidev2 reportid 33: input=31, output=31, feature=0uvideo0 at uhub0 port 3 configuration 1 interface 0 "HD WebCam HD WebCam" rev 2.00/0.03 addr 3video0 at uvideo0ugen0 at uhub0 port 4 "Intel product 0x07dc" rev 2.00/0.01 addr 4uhidev3 at uhub0 port 5 configuration 1 interface 0 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev3: iclass 3/1ukbd1 at uhidev3: 8 variable keys, 6 key codeswskbd2 at ukbd1 mux 1uhidev4 at uhub0 port 5 configuration 1 interface 1 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev4: iclass 3/0, 3 report idsuhid5 at uhidev4 reportid 1: input=2, output=0, feature=0uhid6 at uhidev4 reportid 2: input=1, output=0, feature=0uhid7 at uhidev4 reportid 3: input=2, output=0, feature=0vscsi0 at rootscsibus2 at vscsi0: 256 targetssoftraid0 at rootscsibus3 at softraid0: 256 targetsroot on sd0a (39278e4e17a82f90.a) swap on sd0b dump on sd0binteldrm0: 800x600, 32bppwsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0wskbd1: connecting to wsdisplay0wskbd2: connecting to wsdisplay0wsdisplay0: screen 1-5 added (std, vt100 emulation)iwm0: hw rev 0x140, fw ver 17.3216344376.0, address 6c:29:95:ce:a8:ecwskbd2: disconnecting from wsdisplay0wskbd2 detachedukbd1 detacheduhidev3 detacheduhid5 detacheduhid6 detacheduhid7 detacheduhidev4 detacheduhidev3 at uhub0 port 5 configuration 1 interface 0 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev3: iclass 3/1ukbd1 at uhidev3: 8 variable keys, 6 key codeswskbd2 at ukbd1 mux 1wskbd2: connecting to wsdisplay0uhidev4 at uhub0 port 5 configuration 1 interface 1 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev4: iclass 3/0, 3 report idsuhid5 at uhidev4 reportid 1: input=2, output=0, feature=0uhid6 at uhidev4 reportid 2: input=1, output=0, feature=0uhid7 at uhidev4 reportid 3: input=2, output=0, feature=0wskbd2: disconnecting from wsdisplay0wskbd2 detachedukbd1 detacheduhidev3 detacheduhid5 detacheduhid6 detacheduhid7 detacheduhidev4 detachedumass0 at uhub0 port 5 configuration 1 interface 0 "SanDisk Cruzer Glide" rev 2.00/1.27 addr 5umass0: using SCSI over Bulk-Onlyscsibus4 at umass0: 2 targets, initiator 0sd1 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer Glide, 1.27> removable serial.07815575320109116123sd1: 59866MB, 512 bytes/sector, 122606848 sectorssd1 detachedscsibus4 detachedumass0 detacheduhidev3 at uhub0 port 5 configuration 1 interface 0 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev3: iclass 3/1ukbd1 at uhidev3: 8 variable keys, 6 key codeswskbd2 at ukbd1 mux 1wskbd2: connecting to wsdisplay0uhidev4 at uhub0 port 5 configuration 1 interface 1 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev4: iclass 3/0, 3 report idsuhid5 at uhidev4 reportid 1: input=2, output=0, feature=0uhid6 at uhidev4 reportid 2: input=1, output=0, feature=0uhid7 at uhidev4 reportid 3: input=2, output=0, feature=0wskbd1: disconnecting from wsdisplay0wskbd1 detachedukbd0 detacheduhidev0 detachedwsmouse0 detachedums0 detacheduhid0 detacheduhid1 detacheduhid2 detacheduhidev1 detacheduhidpp0 detacheduhid3 detacheduhid4 detacheduhidev2 detacheduaudio0 at uhub0 port 2 configuration 1 interface 1 "Burr-Brown from TI USB Audio CODEC" rev 1.10/1.00 addr 2uaudio0: class v1, full-speed, sync, channels: 2 play, 2 rec, 3 ctlsaudio1 at uaudio0uhidev0 at uhub0 port 2 configuration 1 interface 3 "Burr-Brown from TI USB Audio CODEC" rev 1.10/1.00 addr 2uhidev0: iclass 3/0uhid0 at uhidev0: input=1, output=0, feature=0wskbd2: disconnecting from wsdisplay0wskbd2 detachedukbd1 detacheduhidev3 detacheduhid5 detacheduhid6 detacheduhid7 detacheduhidev4 detacheduhidev1 at uhub0 port 5 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/24.07 addr 5uhidev1: iclass 3/1ukbd0 at uhidev1: 8 variable keys, 6 key codeswskbd1 at ukbd0 mux 1wskbd1: connecting to wsdisplay0uhidev2 at uhub0 port 5 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/24.07 addr 5uhidev2: iclass 3/1, 8 report idsums0 at uhidev2 reportid 2: 16 buttons, Z and W dirwsmouse0 at ums0 mux 0uhid1 at uhidev2 reportid 3: input=4, output=0, feature=0uhid2 at uhidev2 reportid 4: input=1, output=0, feature=0uhid3 at uhidev2 reportid 8: input=1, output=0, feature=0uhidev3 at uhub0 port 5 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/24.07 addr 5uhidev3: iclass 3/0, 33 report idsuhidpp0 at uhidev3 reportid 16 device 1 mouse "Wireless Mouse" serial 43-6c-50-dduhid4 at uhidev3 reportid 32: input=14, output=14, feature=0uhid5 at uhidev3 reportid 33: input=31, output=31, feature=0audio1 detacheduaudio0 detacheduhid0 detacheduhidev0 detachedwskbd1: disconnecting from wsdisplay0wskbd1 detachedukbd0 detacheduhidev1 detachedwsmouse0 detachedums0 detacheduhid1 detacheduhid2 detacheduhid3 detacheduhidev2 detacheduhidpp0 detacheduhid4 detacheduhid5 detacheduhidev3 detacheduhidev0 at uhub0 port 2 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/24.07 addr 2uhidev0: iclass 3/1ukbd0 at uhidev0: 8 variable keys, 6 key codeswskbd1 at ukbd0 mux 1wskbd1: connecting to wsdisplay0uhidev1 at uhub0 port 2 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/24.07 addr 2uhidev1: iclass 3/1, 8 report idsums0 at uhidev1 reportid 2: 16 buttons, Z and W dirwsmouse0 at ums0 mux 0uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0uhidev2 at uhub0 port 2 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/24.07 addr 2uhidev2: iclass 3/0, 33 report idsuhidpp0 at uhidev2 reportid 16 device 1 mouse "Wireless Mouse" serial 43-6c-50-dduhid3 at uhidev2 reportid 32: input=14, output=14, feature=0uhid4 at uhidev2 reportid 33: input=31, output=31, feature=0uhidev3 at uhub0 port 5 configuration 1 interface 0 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev3: iclass 3/1ukbd1 at uhidev3: 8 variable keys, 6 key codeswskbd2 at ukbd1 mux 1wskbd2: connecting to wsdisplay0uhidev4 at uhub0 port 5 configuration 1 interface 1 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev4: iclass 3/0, 3 report idsuhid5 at uhidev4 reportid 1: input=2, output=0, feature=0uhid6 at uhidev4 reportid 2: input=1, output=0, feature=0uhid7 at uhidev4 reportid 3: input=2, output=0, feature=0wskbd2: disconnecting from wsdisplay0wskbd2 detachedukbd1 detacheduhidev3 detacheduhid5 detacheduhid6 detacheduhid7 detacheduhidev4 detachedumass0 at uhub0 port 5 configuration 1 interface 0 "SanDisk Cruzer Glide" rev 2.00/1.27 addr 5umass0: using SCSI over Bulk-Onlyscsibus4 at umass0: 2 targets, initiator 0sd1 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer Glide, 1.27> removable serial.07815575320109116123sd1: 59866MB, 512 bytes/sector, 122606848 sectorssd1 detachedscsibus4 detachedumass0 detacheduhidev3 at uhub0 port 5 configuration 1 interface 0 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev3: iclass 3/1ukbd1 at uhidev3: 8 variable keys, 6 key codeswskbd2 at ukbd1 mux 1wskbd2: connecting to wsdisplay0uhidev4 at uhub0 port 5 configuration 1 interface 1 "Hewlett Packard HP USB Slim Keyboard" rev 1.10/1.22 addr 5uhidev4: iclass 3/0, 3 report idsuhid5 at uhidev4 reportid 1: input=2, output=0, feature=0uhid6 at uhidev4 reportid 2: input=1, output=0, feature=0uhid7 at uhidev4 reportid 3: input=2, output=0, feature=0