XPost: linux.debian.bugs.dist
From:
[email protected]
This is a multi-part MIME message sent by reportbug.
Package: src:linux
Version: 6.12.32-1
Severity: normal
Tags: a11y
Dear Maintainer,
The builtin microphone on my Asus X507UA does not record, is
recognized and some time ago it worked on Bookworm with image-6.1.0-31,
newer images are able to record when appending snd_hda_intel.model=1043:1271
to the boot as a workaround.
The images that work with the boot option appended are, but not without
it are:
linux-image-6.15-amd64
linux-image-6.12.32-amd64
linux-image-6.1.0-37-amd64 linux-image-6.1.0-0.a.test-amd64-unsigned_6.1.129-1a~test_amd64.deb
referenced by
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100928
Also compiled from upstream 6.12.22 and 6.1.133 with the same result
The image linux-image-6.1.0-31-amd64 worked properly, the problem was introduced in 129 and the result of the bisect was
d26408df0e25f2bd2808d235232ab776e4dd08b9 is the first bad commit
commit d26408df0e25f2bd2808d235232ab776e4dd08b9
Author: Kuan-Wei Chiu <
[email protected]>
Date: Wed Jan 29 00:54:15 2025 +0800
ALSA: hda: Fix headset detection failure due to unstable sort
commit 3b4309546b48fc167aa615a2d881a09c0a97971f upstream.
The auto_parser assumed sort() was stable, but the kernel's sort() uses
heapsort, which has never been stable. After commit 0e02ca29a563
("lib/sort: optimize heapsort with double-pop variation"), the order of
equal elements changed, causing the headset to fail to work.
Fix the issue by recording the original order of elements before
sorting and using it as a tiebreaker for equal elements in the
comparison function.
Fixes: b9030a005d58 ("ALSA: hda - Use standard sort function in hda_auto_parser.c")
Reported-by: Austrum <
[email protected]>
Closes:
https://bugzilla.kernel.org/show_bug.cgi?id=219158
Tested-by: Austrum <
[email protected]>
Cc:
[email protected]
Signed-off-by: Kuan-Wei Chiu <
[email protected]>
Link:
https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <
[email protected]>
Signed-off-by: Greg Kroah-Hartman <
[email protected]>
sound/pci/hda/hda_auto_parser.c | 8 +++++++-
sound/pci/hda/hda_auto_parser.h | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
I'm attaching the output of alsa-info_alsa-info.sh script
Please let me know if I can provide more information.
-- Package-specific info:
** Version:
Linux version 6.12.32-amd64 (
[email protected]) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.12.32-1 (2025-06-07)
** Command line:
BOOT_IMAGE=/boot/vmlinuz-6.12.32-amd64 root=UUID=045188fa-a00f-47a4-ba29-e5de02b21add ro quiet splash
** Not tainted
** Kernel log:
[ 5.166203] asus_wmi: BIOS WMI version: 9.0
[ 5.166237] asus_wmi: SFUN value: 0x21
[ 5.166242] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[ 5.180341] videodev: Linux video capture interface: v2.00
[ 5.182756] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input17
[ 5.182824] intel_rapl_common: Found RAPL domain package
[ 5.182827] intel_rapl_common: Found RAPL domain dram
[ 5.187245] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer
[ 5.187249] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[ 5.187251] RAPL PMU: hw unit of domain package 2^-14 Joules
[ 5.187252] RAPL PMU: hw unit of domain dram 2^-14 Joules
[ 5.187253] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[ 5.189410] asus_wmi: fan_curve_get_factory_default (0x00110024) failed: -19 [ 5.189546] asus_wmi: fan_curve_get_factory_default (0x00110025) failed: -19 [ 5.189678] asus_wmi: fan_curve_get_factory_default (0x00110032) failed: -19 [ 5.197850] ACPI: battery: new extension: ASUS Battery Extension
[ 5.224564] intel_rapl_common: Found RAPL domain package
[ 5.224572] intel_rapl_common: Found RAPL domain core
[ 5.224574] intel_rapl_common: Found RAPL domain uncore
[ 5.224576] intel_rapl_common: Found RAPL domain dram
[ 5.228377] cryptd: max_cpu_qlen set to 1000
[ 5.234504] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[ 5.253018] Bluetooth: Core ver 2.22
[ 5.253056] NET: Registered PF_BLUETOOTH protocol family
[ 5.253059] Bluetooth: HCI device and connection manager initialized
[ 5.253070] Bluetooth: HCI socket layer initialized
[ 5.253074] Bluetooth: L2CAP socket layer initialized
[ 5.253080] Bluetooth: SCO socket layer initialized
[ 5.290727] usb 1-6: Found UVC 1.00 device USB2.0 VGA UVC WebCam (13d3:5a11) [ 5.290979] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.291229] Loaded X.509 cert '
[email protected]: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[ 5.291476] Loaded X.509 cert '
[email protected]: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[continued in next message]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)