MIC issue with ASUS laptop A541U : sound configuration for ALC256 codec

The input audio MIC on ASUS laptop A541U ( SkyLake Chipset ) doesn’t operate properly.

Also documented in https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1596381

Steps to list the audio card and sub devices:

arecord -l

arecord -d 5 -f dat test-mic.wav

aplay test-mic.wav

For explanation on config for ALC256 et alia:
look into /usr/src/linux-4.4.36-8/Documentation/sound/alsa/HD-Audio-Models.txt ( requires to install kernel source zypper in kernel-source )
and search for line ALC22x/23x/25x/269/27x/28x/29x

Append following instruction

options snd-hda-intel model=laptop-dmic

in

/etc/modprobe.d/50-sound.conf

"
Hope this will help anyone,
:wink:
Luco

Do you have this working ? I can’t tell from your post. If so - congratulations.

If not, then please with PC connected to internet and mic setup to record, as a regular user, in an konsole or xterm, run the diagnostic script:


/usr/sbin/alsa-info.sh

select the SHARE/UPLOAD option, and then let script run to completion. In konsole/xterm will be a web/url address where diagnostic was uploaded. Please post that URL/address here and it may give us some ideas how to approach the problem in your case.
.

The setting as described works perfectly, yes.
Off course, running diagnosis script has been done first thing first and uploaded/shared…The log by itself didn’t provided me with infos relevant to fix.
That’s why I came to look into /usr/src/linux-4.4.36-8/Documentation/sound/alsa/HD-Audio-Models.txt ( requires to install kernel source zypper in kernel-source )
and I found at line ALC22x/23x/25x/269/27x/28x/29x
several instructions to manually adjust ALC256, in particular laptop-dmic, as it appeared that chipset is digital micro input.

To summarize, just append

options snd-hda-intel model=laptop-dmic

in

/etc/modprobe.d/50-sound.conf

Upload/share via alsa-info.sh should generate a correction package for Alsa in leap 42.2 …

Tried to make this post as straight as possible and ended-up with full bla-bla, so please go straight to the point, thx.

Regards