diff options
| author | Xucheng Pan <panxucc@gmail.com> | 2026-09-23 23:25:52 +0800 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-09-29 11:33:11 +0200 |
| commit | 2d1d019ddd292ac4e570f044e936acf974a0f866 (patch) | |
| tree | b9310fc181c35fa29349f708133771a103cb80a1 /tools/lib/python/kdoc/python_version.py | |
| parent | 1bbc033983b76f41d51d4a48838bf94c5e6b6f50 (diff) | |
ALSA: usb-audio: Re-read descriptors for Xiaomi 2717:d005
The Xiaomi 2717:d005 USB audio transmitter supports Sound 2 Pro and
Sound 2 Max speakers. This issue was reproduced with two Sound 2 Pro
speakers paired in stereo. After a USB replug, Linux detects the
transmitter and exposes a hardware volume control, but moving the volume
slider changes neither the audible level nor the speakers' volume LEDs.
Windows controls the same speakers with its in-box USB Audio driver.
USB captures show standard UAC2 volume SET_CUR requests on both systems.
Re-reading the device descriptor (18 bytes), configuration header
(9 bytes), and full configuration descriptor (184 bytes on the tested
unit) after 2717:d005 is configured restores hardware volume control.
The USBFS sequence recovered the device after multiple replug tests.
Reading only the device descriptor did not restore volume control.
Perform these reads when snd-usb-audio first probes 2717:d005. Use the
configuration header's wTotalLength for the final read. If a read fails,
warn and continue probing so that playback remains available.
Tested on 7.2.6-zen2-1-zen with the existing userspace workaround
disabled. After a physical USB replug, the quirk ran when 2717:d005
appeared, and both audible volume and the speakers' LEDs followed the
KDE volume slider.
Signed-off-by: Xucheng Pan <panxucc@gmail.com>
Link: https://patch.msgid.link/20260923152552.943151-1-panxucc@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
