Corl3ss <corl...@corl3ss.com> writes:

> Hi everyone,
>
>
> Everything but the microphone is working well on my Thinkpad X1 carbon 7th Gen
> (20QD).
>
> I have reviewed [1] and [2] without solution.
> Below some useful data.
>
> Do you have any solution or tips ? Did I missed something ? or is it just not
> supported ?
>
> Thanks in advance for your help !!
>
> Grateful to the OpenBSD community :)
>
>
> Corl3ss
>
>
> [1] https://cdn.openbsd.org/pub/OpenBSD/7.4/amd64/install74.img
> [2] https://jcs.org/2019/08/14/x1c7#openbsd-support-log
>
> ======
> # mixerctl
> inputs.dac-2:3=112,112
> inputs.dac-0:1=112,112
> record.adc-0:1_mute=off
> record.adc-0:1=252,252
> record.adc-2:3_mute=off
> record.adc-2:3=252,252
> outputs.spkr_source=dac-2:3
> outputs.spkr_mute=off
> outputs.spkr_eapd=on
> outputs.spkr2_source=dac-0:1
> outputs.spkr2_mute=off
> outputs.spkr2_boost=off
> inputs.mic=85,85
> outputs.mic_dir=input-vr80
> outputs.hp_source=dac-0:1
> outputs.hp_mute=off
> outputs.hp_boost=off
> outputs.hp_eapd=on
> record.adc-2:3_source=mic
> record.adc-0:1_source=mic
> outputs.mic_sense=unplugged
> outputs.hp_sense=unplugged
> outputs.spkr_muters=hp
> outputs.master=112,112
> outputs.master.mute=off
> outputs.master.slaves=dac-2:3,dac-0:1,spkr,spkr2,hp
> record.volume=255,255
> record.volume.mute=off
> record.volume.slaves=adc-0:1,adc-2:3
> record.enable=sysctl
>
>
> =====
> /var/log/messages extract:
> azalia0 at pci0 dev 31 function 3 "Intel 300 Series HD Audio" rev 0x11: msi
> azalia0: codecs: Realtek ALC285, Intel/0x280b, using Realtek ALC285
> audio0 at azalia0
>
> ======
> # pcidump -v (extract of audio items only)
>  0:31:3: Intel 100 Series HD Audio
>       0x0000: Vendor ID: 8086, Product ID: 9d70
>       0x0004: Command: 0106, Status: 0010
>       0x0008: Class: 04 Multimedia, Subclass: 03 HD Audio,
>               Interface: 00, Revision: 21
>       0x000c: BIST: 00, Header Type: 00, Latency Timer: 20,
>               Cache Line Size: 00
>       0x0010: BAR mem 64bit addr: 0x00000000ef220000/0x00004000
>       0x0018: BAR empty (00000000)
>       0x001c: BAR empty (00000000)
>       0x0020: BAR mem 64bit addr: 0x00000000ef200000/0x00010000
>       0x0028: Cardbus CIS: 00000000
>       0x002c: Subsystem Vendor ID: 103c Product ID: 8184
>       0x0030: Expansion ROM Base Address: 00000000
>       0x0038: 00000000
>       0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
>       0x0050: Capability 0x01: Power Management
>               State: D0
>       0x0060: Capability 0x05: Message Signalled Interrupts (MSI)
>               Enabled: yes
> [...]
>  0:31:3: Intel 300 Series HD Audio
>         0x0000: Vendor ID: 8086, Product ID: 9dc8
>         0x0004: Command: 0006, Status: 0010
>         0x0008: Class: 04 Multimedia, Subclass: 03 HD Audio,
>                 Interface: 80, Revision: 11
>         0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
>                 Cache Line Size: 00
>         0x0010: BAR mem 64bit addr: 0x00000000ea23c000/0x00004000
>         0x0018: BAR empty (00000000)
>         0x001c: BAR empty (00000000)
>         0x0020: BAR mem 64bit addr: 0x00000000ea000000/0x00100000
>         0x0028: Cardbus CIS: 00000000
>         0x002c: Subsystem Vendor ID: 17aa Product ID: 2292
>         0x0030: Expansion ROM Base Address: 00000000
>         0x0038: 00000000
>         0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
>         0x0050: Capability 0x01: Power Management
>                 State: D0
>         0x0080: Capability 0x09: Vendor Specific
>         0x0060: Capability 0x05: Message Signalled Interrupts (MSI)
>                 Enabled: yes


Have you enabled the appropriate sysctl ? (see:
https://www.openbsd.org/faq/faq13.html#recordaudio)

# sysctl kern.audio.record=1
# echo kern.audio.record=1 >> /etc/sysctl.conf

Cheers,

Carsten

Reply via email to