From: Lianqin Hu <hulianqin@xxxxxxxx>
Audio control requests that sets sampling frequency sometimes fail on
this card. Adding delay between control messages eliminates that problem.
Signed-off-by: Lianqin Hu <hulianqin@xxxxxxxx>
---
v1:
- Modify the code position and sort by ID
---
sound/usb/quirks.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index ea063a14cdd8..e7b68c67852e 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2221,6 +2221,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
QUIRK_FLAG_GENERIC_IMPLICIT_FB),
DEVICE_FLG(0x2b53, 0x0031, /* Fiero SC-01 (firmware v1.1.0) */
QUIRK_FLAG_GENERIC_IMPLICIT_FB),
+ DEVICE_FLG(0x2d95, 0x8021, /* VIVO USB-C-XE710 HEADSET */
+ QUIRK_FLAG_CTL_MSG_DELAY_1M),
DEVICE_FLG(0x30be, 0x0101, /* Schiit Hel */
QUIRK_FLAG_IGNORE_CTL_ERROR),
DEVICE_FLG(0x413c, 0xa506, /* Dell AE515 sound bar */
--
2.39.0
-----邮件原件-----
发件人: Takashi Iwai <tiwai@xxxxxxx>
发送时间: 2024年8月10日 16:45
收件人: 胡连勤 <hulianqin@xxxxxxxx>
抄送: perex@xxxxxxxx; tiwai@xxxxxxxx; mbarriolinares@xxxxxxxxx; wangdicheng@xxxxxxxxxx; sean@xxxxxxxx; alexander@xxxxxxx; xristos.thes@xxxxxxxxx; knuesel@xxxxxxxxx; linux-sound@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; opensource.kernel <opensource.kernel@xxxxxxxx>; akpm@xxxxxxxxxxxxxxxxxxxx
主题: Re: [PATCH] ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET
[You don't often get email from tiwai@xxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
On Fri, 09 Aug 2024 12:38:52 +0200,
胡连勤 wrote:
>
> From: Lianqin Hu <hulianqin@xxxxxxxx>
>
> Audio control requests that sets sampling frequency sometimes fail on
> this card. Adding delay between control messages eliminates that problem.
>
> Signed-off-by: Lianqin Hu <hulianqin@xxxxxxxx>
> ---
> sound/usb/quirks.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index
> ea063a14cdd8..4c7f0f9d15de 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -2119,6 +2119,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
> QUIRK_FLAG_GENERIC_IMPLICIT_FB),
> DEVICE_FLG(0x07fd, 0x000b, /* MOTU M Series 2nd hardware revision */
> QUIRK_FLAG_CTL_MSG_DELAY_1M),
> + DEVICE_FLG(0x2d95, 0x8021, /* VIVO USB-C-XE710 HEADSET */
> + QUIRK_FLAG_CTL_MSG_DELAY_1M),
> DEVICE_FLG(0x08bb, 0x2702, /* LineX FM Transmitter */
> QUIRK_FLAG_IGNORE_CTL_ERROR),
> DEVICE_FLG(0x0951, 0x16ad, /* Kingston HyperX */
The quirk table entry is sorted in the ID number order.
Could you try to put the new entry at the right position?
thanks,
Takashi
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]