Created attachment 307874 [details] journalctl --no-hostname -k > dmesg.txt Since kernel version 6.12.14 the internal microphone on an Asus X515JA stops working. It is listed as an input, but it gives no sound. It works perfectly on 6.12.13 and under, stopped working on 6.12.14 and up. I am on a default fedora workstation installation (comes with pipewire), except to make this bug report I installed a vanilla kernel by following https://docs.fedoraproject.org/en-US/quick-docs/kernel-build-custom/ with the latest 6.13.7 tarball from kernel.org. On the vanilla kernel the issue is still present, while on older kernels it is not. A while ago I reported this to redhat as well, one person claims to also experience this issue as of 6.12.14 https://bugzilla.redhat.com/show_bug.cgi?id=2347640 The issue is just with the internal microphone as my USB microphone works. I attached dmesg, please let me know if there is anything else I should provide. Any help is much appreciated.
If anyone has a patch I could test that would be amazing
Created attachment 307875 [details] lspci -v
Created attachment 307876 [details] dmidecode output
First try 6.13.7 and if it still doesn't work, please try to bisect: https://docs.kernel.org/admin-guide/bug-bisect.html
Im currently on vanilla 6.13.7, I will do a a bisect when I get home on Sunday.
(In reply to Artem S. Tashkinov from comment #4) > First try 6.13.7 and if it still doesn't work, please try to bisect: > > https://docs.kernel.org/admin-guide/bug-bisect.html I did a bisect, sorry it took so long i was accidentally doing a full rebuild every time. The bad commit ID is ef814c88415132f0597a09d8a16fcd78c04599fc https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ef814c88415132f0597a09d8a16fcd78c04599fc I will attach the log
Created attachment 307894 [details] Bisect log
The likely culprit is rather 3b4309546b48fc167aa615a2d881a09c0a97971f (and its backport to stable trees). Please give alsa-info.sh outputs from both working and non-working cases. Run the script with --no-upload and attach the outputs to Bugzilla.
Created attachment 307895 [details] not working alsainfo Here is the alsainfo when it's not working
Created attachment 307896 [details] Working alsainfo This is for kernel 6.12.0 because that's what i had installed without having to do a full rebuild.
Thanks. Could you try to pass model=1043:1271 option to snd-hda-intel module? e.g. boot with "snd_hda_intel.model=1043:1271" boot option. This should apply the existing quirk that can match with your device.
(In reply to Takashi Iwai from comment #11) > Thanks. Could you try to pass model=1043:1271 option to snd-hda-intel > module? > e.g. boot with "snd_hda_intel.model=1043:1271" boot option. > This should apply the existing quirk that can match with your device. When booting with that option the microphone works! Is there a way to make that default for this device somehow though?
The proper fix patch is below.
Created attachment 307897 [details] Fix patch
Awesome thank you so much! I will test it in an hour or so when the latest kernel from git is done building. What version of the kernel would this be in?
It slipped from my PR that has been submitted today, so it'll be likely in the second batch for 6.15-rc1 in the next week. Then it'll be backported to stable trees afterwards.
(In reply to Takashi Iwai from comment #16) > It slipped from my PR that has been submitted today, so it'll be likely in > the second batch for 6.15-rc1 in the next week. Then it'll be backported to > stable trees afterwards. Alright just tested, on the latest git version the microphone works only with your patch applied. Thank you so much for your work, can't wait until this hits stable! This issue is now resolved.