Bug 219158
Summary: | ASUS GA402XY (ACL285) Headset mic not working with 6.9 and 6.10 kernel | ||
---|---|---|---|
Product: | Drivers | Reporter: | Austrum (austrum.lab) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | NEW --- | ||
Severity: | normal | CC: | austrum.lab, gio.spacedev |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: | |
Attachments: | $(dmesg | grep -iE 'snd|hda|realtek|alc|cirrus') and $(cat /proc/asound/card2/codec#0) |
Description
Austrum
2024-08-14 14:14:39 UTC
System Information: Laptop Model: Asus ROG G14 GA402XY Codec: Realtek ALC285 + Cirrus Logic CS35L41 Operating System: Arch Linux Kernel: Issue starts from version 6.9; 6.8.x works (tested up to 6.8.9) Desktop Environment: KDE 6.2.3 + Wayland I performed a bisection to identify the cause of the headset microphone issue. The first commit introducing the problem is the following: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0e02ca29a5634dfb90fe1bad9467ee0965a1e170 Starting from this commit, the headset microphone is no longer recognized. After investigating further, it seems the issue is related to the sort.r function in lib/sort.c. To verify, I checked out the latest stable kernel and replaced the sort.r function with the version from the last known "good" kernel (commit https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/lib/sort.c?id=db946a42226052a13fbce8757ff77b3107dd2030#n210). With this change, the headset microphone works correctly, even on the latest kernel. |