From: Takashi Iwai <tiwai@suse.de>
To: Xucheng Pan <panxucc@gmail.com>
Cc: linux-sound@vger.kernel.org, tiwai@suse.com, perex@perex.cz,
linux-usb@vger.kernel.org
Subject: Re: [PATCH] ALSA: usb-audio: Re-read descriptors for Xiaomi 2717:d005
Date: Tue, 29 Sep 2026 11:35:01 +0200 [thread overview]
Message-ID: <87ecec2yey.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260923152552.943151-1-panxucc@gmail.com>
On Wed, 23 Sep 2026 17:25:52 +0200,
Xucheng Pan wrote:
>
> 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>
Applied to for-next branch now. Thanks.
Takashi
prev parent reply other threads:[~2026-09-29 9:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 15:25 [PATCH] ALSA: usb-audio: Re-read descriptors for Xiaomi 2717:d005 Xucheng Pan
2026-09-29 9:35 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ecec2yey.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-sound@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=panxucc@gmail.com \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.