I am using Linux Mint 20 Cinnamon on a ThinkCentre M93p Type 10AA. The audio codec for this machine is a Realtek ALC283.
To configure ALSA I changed the last line of /etc/modprobe.d/alsa-base.conf to:
options snd-hda-intel model=alc283-headset
However, ALSA always shows a ALC3239 (in alsamixer for example, also dmesg)
How could I set the right codec here?
best
-a
inxi output:
Audio: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel
Device-2: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel
dmesg output:
[ 7.055769] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 7.079824] snd_hda_codec_realtek hdaudioC1D2: autoconfig for ALC3239: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
ALSA autoconfigs wrong codec regardless of .conf
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Re: ALSA autoconfigs wrong codec regardless of .conf
Hi artoff, and welcome to the forum.
I'm not going to pretend I know much about codecs, but some are almost exact copies of others.
I would suggest not fighting what ALSA is reporting, and work with what options are available for the codec ALSA is reporting. ALC283 and ALC3xxx both use the same list of options in this table, but you can't use one that specifically mentions a codec other than what ALSA is reporting:
Depending on what you're trying to accomplish, there's a good chance model=dell-headset-multi is what you're looking for. It doesn't matter that you're not using a Dell.
I'm not going to pretend I know much about codecs, but some are almost exact copies of others.
I would suggest not fighting what ALSA is reporting, and work with what options are available for the codec ALSA is reporting. ALC283 and ALC3xxx both use the same list of options in this table, but you can't use one that specifically mentions a codec other than what ALSA is reporting:
Code: Select all
ALC22x/23x/25x/269/27x/28x/29x (and vendor-specific ALC3xxx models)
===================================================================
laptop-amic
Laptops with analog-mic input
laptop-dmic
Laptops with digital-mic input
alc269-dmic
Enable ALC269(VA) digital mic workaround
alc271-dmic
Enable ALC271X digital mic workaround
inv-dmic
Inverted internal mic workaround
headset-mic
Indicates a combined headset (headphone+mic) jack
headset-mode
More comprehensive headset support for ALC269 & co
headset-mode-no-hp-mic
Headset mode support without headphone mic
lenovo-dock
Enables docking station I/O for some Lenovos
hp-gpio-led
GPIO LED support on HP laptops
hp-dock-gpio-mic1-led
HP dock with mic LED support
dell-headset-multi
Headset jack, which can also be used as mic-in
dell-headset-dock
Headset jack (without mic-in), and also dock I/O
dell-headset3
Headset jack (without mic-in), and also dock I/O, variant 3
dell-headset4
Headset jack (without mic-in), and also dock I/O, variant 4
alc283-dac-wcaps
Fixups for Chromebook with ALC283
alc283-sense-combo
Combo jack sensing on ALC283
tpt440-dock
Pin configs for Lenovo Thinkpad Dock support
tpt440
Lenovo Thinkpad T440s setup
tpt460
Lenovo Thinkpad T460/560 setup
tpt470-dock
Lenovo Thinkpad T470 dock setup
dual-codecs
Lenovo laptops with dual codecs
alc700-ref
Intel reference board with ALC700 codec
vaio
Pin fixups for Sony VAIO laptops
dell-m101z
COEF setup for Dell M101z
asus-g73jw
Subwoofer pin fixup for ASUS G73JW
lenovo-eapd
Inversed EAPD setup for Lenovo laptops
sony-hweq
H/W EQ COEF setup for Sony laptops
pcm44k
Fixed PCM 44kHz constraints (for buggy devices)
lifebook
Dock pin fixups for Fujitsu Lifebook
lifebook-extmic
Headset mic fixup for Fujitsu Lifebook
lifebook-hp-pin
Headphone pin fixup for Fujitsu Lifebook
lifebook-u7x7
Lifebook U7x7 fixups
alc269vb-amic
ALC269VB analog mic pin fixups
alc269vb-dmic
ALC269VB digital mic pin fixups
hp-mute-led-mic1
Mute LED via Mic1 pin on HP
hp-mute-led-mic2
Mute LED via Mic2 pin on HP
hp-mute-led-mic3
Mute LED via Mic3 pin on HP
hp-gpio-mic1
GPIO + Mic1 pin LED on HP
hp-line1-mic1
Mute LED via Line1 + Mic1 pins on HP
noshutup
Skip shutup callback
sony-nomic
Headset mic fixup for Sony laptops
aspire-headset-mic
Headset pin fixup for Acer Aspire
asus-x101
ASUS X101 fixups
acer-ao7xx
Acer AO7xx fixups
acer-aspire-e1
Acer Aspire E1 fixups
acer-ac700
Acer AC700 fixups
limit-mic-boost
Limit internal mic boost on Lenovo machines
asus-zenbook
ASUS Zenbook fixups
asus-zenbook-ux31a
ASUS Zenbook UX31A fixups
ordissimo
Ordissimo EVE2 (or Malata PC-B1303) fixups
asus-tx300
ASUS TX300 fixups
alc283-int-mic
ALC283 COEF setup for Lenovo machines
mono-speakers
Subwoofer and headset fixupes for Dell Inspiron
alc290-subwoofer
Subwoofer fixups for Dell Vostro
thinkpad
Binding with thinkpad_acpi driver for Lenovo machines
dmic-thinkpad
thinkpad_acpi binding + digital mic support
alc255-acer
ALC255 fixups on Acer machines
alc255-asus
ALC255 fixups on ASUS machines
alc255-dell1
ALC255 fixups on Dell machines
alc255-dell2
ALC255 fixups on Dell machines, variant 2
alc293-dell1
ALC293 fixups on Dell machines
alc283-headset
Headset pin fixups on ALC283
aspire-v5
Acer Aspire V5 fixups
hp-gpio4
GPIO and Mic1 pin mute LED fixups for HP
hp-gpio-led
GPIO mute LEDs on HP
hp-gpio2-hotkey
GPIO mute LED with hot key handling on HP
hp-dock-pins
GPIO mute LEDs and dock support on HP
hp-dock-gpio-mic
GPIO, Mic mute LED and dock support on HP
hp-9480m
HP 9480m fixups
alc288-dell1
ALC288 fixups on Dell machines
alc288-dell-xps13
ALC288 fixups on Dell XPS13
dell-e7x
Dell E7x fixups
alc293-dell
ALC293 fixups on Dell machines
alc298-dell1
ALC298 fixups on Dell machines
alc298-dell-aio
ALC298 fixups on Dell AIO machines
alc275-dell-xps
ALC275 fixups on Dell XPS models
alc256-dell-xps13
ALC256 fixups on Dell XPS13
lenovo-spk-noise
Workaround for speaker noise on Lenovo machines
lenovo-hotkey
Hot-key support via Mic2 pin on Lenovo machines
dell-spk-noise
Workaround for speaker noise on Dell machines
alc255-dell1
ALC255 fixups on Dell machines
alc295-disable-dac3
Disable DAC3 routing on ALC295
alc280-hp-headset
HP Elitebook fixups
alc221-hp-mic
Front mic pin fixup on HP machines
alc298-spk-volume
Speaker pin routing workaround on ALC298
dell-inspiron-7559
Dell Inspiron 7559 fixups
ativ-book
Samsung Ativ book 8 fixups
alc221-hp-mic
ALC221 headset fixups on HP machines
alc256-asus-mic
ALC256 fixups on ASUS machines
alc256-asus-aio
ALC256 fixups on ASUS AIO machines
alc233-eapd
ALC233 fixups on ASUS machines
alc294-lenovo-mic
ALC294 Mic pin fixup for Lenovo AIO machines
alc225-wyse
Dell Wyse fixups
alc274-dell-aio
ALC274 fixups on Dell AIO machines
alc255-dummy-lineout
Dell Precision 3930 fixups
alc255-dell-headset
Dell Precision 3630 fixups
alc295-hp-x360
HP Spectre X360 fixups
alc-sense-combo
Headset button support for Chrome platform