Re: Internal microphone not working
Ashton Fagg wrote: > I've translated that since I'm not sure those among us speak rude, > codescending clown. And now far fewer people want to help you. Such a winner...
Re: Internal microphone not working
Mihai Popescu writes: > [ ... ] > > So, why do you trim outputs? Where is the full dmesg? Do you fear something? > > Do you realize that your and other people's problems with sound in > particular CAN BE related to other hardware present in your computer or a > specific configuration? I'm not sure who you're replying to here, but I imagine what you're trying to say is: "It'd be helpful if you posted a full, unabridged dmesg output. Thanks" I've translated that since I'm not sure those among us speak rude, codescending clown. Now that I've done that, I'm happy to oblige with my dmesg. (I'll leave the irony of the fact you've whined about someone apparently trimming something while completely trimming your own quote so as to be totally useless, alone) OpenBSD 6.8-current (GENERIC.MP) #142: Tue Oct 27 15:23:47 MDT 2020 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 16332681216 (15576MB) avail mem = 15822307328 (15089MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xbf912000 (68 entries) bios0: vendor LENOVO version "R1CET36W(1.05 )" date 06/11/2020 bios0: LENOVO 20UH000CUS acpi0 at bios0: ACPI 6.3 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT SSDT SSDT IVRS SSDT SSDT TPM2 SSDT MSDM BATB HPET APIC MCFG SBST WSMT VFCT SSDT CRAT CDIT FPDT SSDT SSDT SSDT UEFI SSDT SSDT BGRT acpi0: wakeup devices GPP0(S3) RESA(S3) GPP4(S4) GPP5(S3) L850(S3) GPP6(S3) GPP7(S3) GP17(S3) XHC0(S3) XHC1(S3) LID_(S4) SLPB(S3) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Ryzen 7 PRO 4750U with Radeon Graphics, 1697.07 MHz, 17-60-01 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu0: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache, 8MB 64b/line disabled L3 cache cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Ryzen 7 PRO 4750U with Radeon Graphics, 1696.81 MHz, 17-60-01 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu1: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache, 8MB 64b/line disabled L3 cache cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu1: disabling user TSC (skew=-381968623) cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Ryzen 7 PRO 4750U with Radeon Graphics, 1696.81 MHz, 17-60-01 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu2: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache, 8MB 64b/line disabled L3 cache cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu2: disabling user TSC (skew=-381968588) cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Ryzen 7 PRO 4750U with Radeon Graphics, 1696.81 MHz, 17-60-01 cpu3:
Re: Internal microphone not working
[ ... ] So, why do you trim outputs? Where is the full dmesg? Do you fear something? Do you realize that your and other people's problems with sound in particular CAN BE related to other hardware present in your computer or a specific configuration?
Re: Internal microphone not working
Marcus MERIGHI writes: > what does > $ sysctl kern.audio.record > say? [fagg@moon][~][0] -> sysctl kern.audio.record kern.audio.record=1
Re: Internal microphone not working
* Ashton Fagg [2020-10-27 20:31:29 -0400]: I'm running a ThinkPad T14s. There's been some recent additions to the azalia driver to help make audio work a little better on this machine (it now works and seems to get configured correctly). However, I'm having problems getting my internal microphone to work. I compiled my kernel with AZALIA_DEBUG (output attached), and it seems as though the microphone is being picked up (also reflected in mixerctl and audioctl). If I run something like Audacity to try and record audio, it just flat-lines which makes me think it is attaching to the mic-jack, not the internal microphone itself, but mixerctl doesn't seem to offer a suggestion of what to change. Audio recording is enabled in sysctl, and the device is configured as accessible in the BIOS. Any suggestions appreciated. I also encounter this issue on a Thinkpad X1 8th gen. I set kern.audio.record=1. Recording through an external microphone through the combined headphone/mic minijack works fine, but the built-in mic does not. OpenBSD 6.8 (GENERIC.MP) #98: Sun Oct 4 18:13:26 MDT 2020 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 16325971968 (15569MB) avail mem = 15816130560 (15083MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x766ac000 (71 entries) bios0: vendor LENOVO version "N2WET19W (1.09 )" date 07/01/2020 bios0: LENOVO 20UAS5PC00 acpi0 at bios0: ACPI 6.1 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT HPET APIC MCFG ECDT SSDT SSDT SSDT NHLT BOOT SSDT LPIT WSMT SSDT DBGP DBG2 MSDM BATB DMAR UEFI FPDT acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 2399 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 7087.96 MHz, 06-8e-0c 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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c 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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c 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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c 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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 3, package 0 cpu4 at mainbus0: apid 1 (application processor) cpu4: Intel(R) Core(TM) i7-10510U CPU
Re: Internal microphone not working
Hello Ashton, ash...@fagg.id.au (Ashton Fagg), 2020.10.28 (Wed) 01:31 (CET): > However, I'm having problems getting my internal microphone to work. what does $ sysctl kern.audio.record say? Marcus
Internal microphone not working
I'm running a ThinkPad T14s. There's been some recent additions to the azalia driver to help make audio work a little better on this machine (it now works and seems to get configured correctly). However, I'm having problems getting my internal microphone to work. I compiled my kernel with AZALIA_DEBUG (output attached), and it seems as though the microphone is being picked up (also reflected in mixerctl and audioctl). If I run something like Audacity to try and record audio, it just flat-lines which makes me think it is attaching to the mic-jack, not the internal microphone itself, but mixerctl doesn't seem to offer a suggestion of what to change. Audio recording is enabled in sysctl, and the device is configured as accessible in the BIOS. Any suggestions appreciated. inputs.dac-2:3=126,126 inputs.dac-0:1=126,126 record.adc-0:1_mute=off [ off on ] record.adc-0:1=124,124 record.adc-2:3_mute=off [ off on ] record.adc-2:3=124,124 outputs.spkr_source=dac-2:3 [ dac-2:3 ] outputs.spkr_mute=off [ off on ] outputs.spkr_eapd=on [ off on ] inputs.mic=85,85 outputs.mic_dir=input-vr80 [ none input input-vr0 input-vr50 input-vr80 input-vr100 ] outputs.hp_source=dac-0:1 [ dac-2:3 dac-0:1 ] outputs.hp_mute=off [ off on ] outputs.hp_boost=off [ off on ] outputs.hp_eapd=on [ off on ] record.adc-2:3_source=mic { mic } record.adc-0:1_source=mic { mic } outputs.mic_sense=unplugged [ unplugged plugged ] outputs.hp_sense=unplugged [ unplugged plugged ] outputs.spkr_muters=hp { hp } outputs.master=126,126 outputs.master.mute=off [ off on ] outputs.master.slaves=dac-2:3,dac-0:1,spkr,hp { dac-2:3 dac-0:1 spkr hp } record.volume=124,124 record.volume.mute=off [ off on ] record.volume.slaves=adc-0:1,adc-2:3 { adc-0:1 adc-2:3 mic } record.enable=sysctl [ off on sysctl ] name=azalia1 mode= pause=1 active=0 nblks=16 blksz=480 rate=48000 encoding=s16le play.channels=2 play.bytes=0 play.errors=0 record.channels=2 record.bytes=0 record.errors=0 azalia1 at pci6 dev 0 function 6 "AMD 17h/1xh HD Audio" rev 0x00: apic 33 int 12 azalia_reset: resetting azalia_reset: reset counter = 4999 azalia_reset: reset counter = 4991 azalia1: host: High Definition Audio rev. 1.0 azalia1: host: 4 output, 4 input, and 0 bidi streams azalia1: found a codec at #0 azalia_init_corb: CORB allocation succeeded. azalia_init_corb: CORBWP=0; size=256 azalia_init_rirb: RIRB allocation succeeded. azalia_init_rirb: RIRBRP=0, size=256 azalia1: codec[0] vid 0x10ec0257, subid 0x508217aa, rev. 0.1, HDA version 1.0 azalia1: nidstart=1 #functions=1 azalia_codec_init: FTYPE result = 0x0101 azalia_codec_init: There are 35 widgets in the audio function. encodings=1 PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> inamp: mute=0 size=0 steps=0 offset=0 outamp: mute=0 size=0 steps=0 offset=0 gpio: wake=0 unsol=1 gpis=0 gpos=0 gpios=3 azalia1: dac02 wcap=41d encodings=1 PCM formats=e0060<24bit,20bit,16bit,48kHz,44.1kHz> outamp: mute=0 size=2 steps=87 offset=87 azalia1: dac03 wcap=41d encodings=1 PCM formats=e0060<24bit,20bit,16bit,48kHz,44.1kHz> outamp: mute=0 size=2 steps=87 offset=87 azalia1: vendor04 wcap=f0 azalia1: vendor05 wcap=f0 azalia1: dac06 wcap=611 encodings=1 PCM formats=e05e0<24bit,20bit,16bit,192kHz,96kHz,88.2kHz,48kHz,44.1kHz> azalia1: adc07 wcap=10051b encodings=1 PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> inamp: mute=1 size=2 steps=63 offset=23 connections=0x24; selected=0x24 azalia1: adc08 wcap=10051b encodings=1 PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> inamp: mute=1 size=2 steps=63 offset=23 connections=0x23; selected=0x23 azalia1: adc09 wcap=10051b encodings=1 PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> inamp: mute=1 size=2 steps=63 offset=23 connections=0x22; selected=0x22 azalia1: vendor0a wcap=f0 azalia1: vendor0b wcap=f0 azalia1: vendor0c wcap=f0 azalia1: vendor0d wcap=f0 azalia1: vendor0e wcap=f0 azalia1: vendor0f wcap=f0 azalia1: vendor10 wcap=f0 azalia1: vendor11 wcap=f0 azalia1: black12 wcap=40040b cap=20 [15/00] color=black device=spkr conn=none conntype=1/8 location=rear chassis=external special=none inamp: mute=0 size=39 steps=3 offset=0 azalia1: black13 wcap=40040b cap=20 [15/00] color=black device=spkr conn=none conntype=1/8 location=rear chassis=external special=none inamp: mute=0 size=39 steps=3 offset=0 azalia1: unknown14 wcap=40058d cap=10014 [01/00] color=unknown device=spkr conn=fixed conntype=analog location=n/a chassis=internal special=none outamp: mute=1 size=0 steps=0 offset=0 connections=0x2; selected=0x2 azalia1: vendor15 wcap=f0 azalia1: vendor16 wcap=f0 azalia1: vendor17