Laptop Model: Asus ROG G14 GA402XY Codec: Realtek ALC285 + Cirrus logic cs35l41 Kernel: 6.12.2 and newer System doesn't see an external mic from the headset (3.5 jack). Instead, there's only an internal mic available. It happens with 6.12.2 kernel update. Current workaround - reverse this commits: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=add3ab2485aca27bc10e3f5c1dbf6e4a0550680a https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e3ea2757c312e51bbf62ebc434a6f7df1e3a201f https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=010135da59ee7c3724655194e42d624c55758fc0 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4ed7f16070a8475c088ff423b2eb11ba15eb89b6
Created attachment 307562 [details] alsa-info_without_revert
Created attachment 307563 [details] alsa-info_with_revert
Created attachment 307564 [details] journalctl_with_revert
Created attachment 307565 [details] journalctl_without_revert
Created attachment 307566 [details] realtek_revers_patch
In attachments alsa-info and journalctl grepped with 'hda|realtek|cirrus' with revert - with reverting commits for patch_realtek (patch i'm using for that in attachment). Mic is working without revert - just as it should be with the latest kernel. Mic doesn't work.
I suppose this bug is the same as https://bugzilla.kernel.org/show_bug.cgi?id=219158 ??
(In reply to Takashi Iwai from comment #7) > I suppose this bug is the same as > https://bugzilla.kernel.org/show_bug.cgi?id=219158 > ?? Not exactly. There are 2 issues with sound: 1. Issue with sort_r function which is related to kernels 6.9 and higher. 2. Issue with patch_realtek.c which is related to kernels 6.12.2 and higher. 219158 was open due to 1st issue and it was resolved. After that it was closed (because the original issue (1st) was resolved) It mentioned 2nd issue in the discussion, but there wasn't work to resolve 2nd bug. Current bug (219743) was opened due to 2nd issue.
Could you then point exact which commit *started* breaking?
[ 10.377731] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:65:00.6/sound/card2/input53 [ 10.377776] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:65:00.6/sound/card2/input54 I think this was assigned same input device name for Mic. It maybe needs to change verb table for 0x19 and 0x1b. > -----Original Message----- > From: bugzilla-daemon@kernel.org <bugzilla-daemon@kernel.org> > Sent: Tuesday, February 4, 2025 3:22 AM > To: Kailang <kailang@realtek.com> > Subject: [Bug 219743] [REGRESSION, BISECTED] ASUS GA402XY Headset mic > stopped working after 6.12.2 > > > External mail. > > > > https://bugzilla.kernel.org/show_bug.cgi?id=219743 > > --- Comment #9 from Takashi Iwai (tiwai@suse.de) --- Could you then point > exact which commit *started* breaking? > > -- > You may reply to this email to add a comment. > > You are receiving this mail because: > You are on the CC list for the bug.
Created attachment 307571 [details] 0000-asus-rog-g14-headset-mic.patch Please test this patch. Please do "echo 1 > /sys/module/snd_hda_codec/parameters/dump_coef" Before do alsa-info.sh Then please do alsa-info.sh again.
Created attachment 307602 [details] alsa-info_dump_coef_par
Sorry for making you wait, haven't had time on a weekdays. (In reply to Takashi Iwai from comment #9) > Could you then point exact which commit *started* breaking? I suppose this is it - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e3ea2757c312e51bbf62ebc434a6f7df1e3a201f (they all kinda connected to it). (In reply to Kailiang Yang from comment #11) > Please test this patch. > > Please do "echo 1 > /sys/module/snd_hda_codec/parameters/dump_coef" Before > do alsa-info.sh > Then please do alsa-info.sh again. Done. Patch didn't help, also I can assure you that this pins fixups are correct. In the archive in attachments (alsa-info_dump_coef_par) 3 alsa-info outputs (all with parameter dump_coef) with your patch, without patches and with reverting commits from my 1st message (mic work only in this one).
Created attachment 307604 [details] 0000-alc285.patch I check the dump file. You disabled power save mode. Test attach patch maybe it helps.
(In reply to Kailiang Yang from comment #14) > 0000-alc285.patch > > Test attach patch maybe it helps. It's seems to be working, mic is showing up again, thank you!
Created attachment 307619 [details] 0000-alc285-depop-fixup.patch Fixup headset MIC no function.
On Wed, 12 Feb 2025 07:55:20 +0100, Kailang wrote: > > Fixup headset MIC no function. Applied now. Thanks. Takashi