mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
@ 2026-06-04 12:40 胡连勤
  2026-06-04 15:28 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: 胡连勤 @ 2026-06-04 12:40 UTC (permalink / raw)
  To: perex, tiwai, Cryolitia PukNgae, pav; +Cc: linux-sound, linux-kernel

Setting up the interface when suspended/resumeing fail on this card.
Adding a reset and delay quirk will eliminate this problem.

usb 1-1: new full-speed USB device number 2 using xhci-hcd
usb 1-1: New USB device found, idVendor=3c20, idProduct=3d21
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: AB13X USB Audio
usb 1-1: Manufacturer: Generic
usb 1-1: SerialNumber: 20210726905926

Signed-off-by: Lianqin Hu <hulianqin@vivo.com>
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 3d1b3523b020..f4e885f96e83 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2487,6 +2487,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE),
 	DEVICE_FLG(0x3443, 0x930d, /* NexiGo N930W 60fps Webcam */
 		   QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16),
+	DEVICE_FLG(0x3c20, 0x3d21, /* AB13X USB Audio */
+		   QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY),
 	DEVICE_FLG(0x413c, 0xa506, /* Dell AE515 sound bar */
 		   QUIRK_FLAG_GET_SAMPLE_RATE),
 	DEVICE_FLG(0x534d, 0x0021, /* MacroSilicon MS2100/MS2106 */
-- 
2.39.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
  2026-06-04 12:40 [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio 胡连勤
@ 2026-06-04 15:28 ` Takashi Iwai
  0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2026-06-04 15:28 UTC (permalink / raw)
  To: 胡连勤
  Cc: perex, tiwai, Cryolitia PukNgae, pav, linux-sound, linux-kernel

On Thu, 04 Jun 2026 14:40:28 +0200,
胡连勤 wrote:
> 
> Setting up the interface when suspended/resumeing fail on this card.
> Adding a reset and delay quirk will eliminate this problem.
> 
> usb 1-1: new full-speed USB device number 2 using xhci-hcd
> usb 1-1: New USB device found, idVendor=3c20, idProduct=3d21
> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1: Product: AB13X USB Audio
> usb 1-1: Manufacturer: Generic
> usb 1-1: SerialNumber: 20210726905926
> 
> Signed-off-by: Lianqin Hu <hulianqin@vivo.com>

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
  2026-02-27  2:11 胡连勤
@ 2026-02-28  8:27 ` Takashi Iwai
  0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2026-02-28  8:27 UTC (permalink / raw)
  To: 胡连勤
  Cc: perex, tiwai, Cryolitia PukNgae, pav, jussi, roy.vegard.ovesen,
	linux-sound, linux-kernel

On Fri, 27 Feb 2026 03:11:02 +0100,
胡连勤 wrote:
> 
> Setting up the interface when suspended/resumeing fail on this card.
> Adding a reset and delay quirk will eliminate this problem.
> 
> usb 1-1: New USB device found, idVendor=0624, idProduct=3d3f
> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1: Product: AB13X USB Audio
> usb 1-1: Manufacturer: Generic
> usb 1-1: SerialNumber: 20210726905926
> 
> Signed-off-by: Lianqin Hu <hulianqin@vivo.com>

Thanks, applied now.


Takashi

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
@ 2026-02-27  2:11 胡连勤
  2026-02-28  8:27 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: 胡连勤 @ 2026-02-27  2:11 UTC (permalink / raw)
  To: perex, tiwai, Cryolitia PukNgae, pav, jussi, roy.vegard.ovesen
  Cc: linux-sound, linux-kernel, 胡连勤

Setting up the interface when suspended/resumeing fail on this card.
Adding a reset and delay quirk will eliminate this problem.

usb 1-1: New USB device found, idVendor=0624, idProduct=3d3f
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: AB13X USB Audio
usb 1-1: Manufacturer: Generic
usb 1-1: SerialNumber: 20210726905926

Signed-off-by: Lianqin Hu <hulianqin@vivo.com>
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 4cac0dfb0094..e06af2e757c9 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2219,6 +2219,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_ALIGN_TRANSFER),
 	DEVICE_FLG(0x05e1, 0x0480, /* Hauppauge Woodbury */
 		   QUIRK_FLAG_SHARE_MEDIA_DEVICE | QUIRK_FLAG_ALIGN_TRANSFER),
+	DEVICE_FLG(0x0624, 0x3d3f, /* AB13X USB Audio */
+		   QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY),
 	DEVICE_FLG(0x0644, 0x8043, /* TEAC UD-501/UD-501V2/UD-503/NT-503 */
 		   QUIRK_FLAG_ITF_USB_DSD_DAC | QUIRK_FLAG_CTL_MSG_DELAY |
 		   QUIRK_FLAG_IFACE_DELAY),
-- 
2.39.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
  2026-02-09  8:38 胡连勤
@ 2026-02-09  9:19 ` Takashi Iwai
  0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2026-02-09  9:19 UTC (permalink / raw)
  To: 胡连勤
  Cc: perex, tiwai, Cryolitia PukNgae, pav, jussi, roy.vegard.ovesen,
	linux-sound, linux-kernel

On Mon, 09 Feb 2026 09:38:29 +0100,
胡连勤 wrote:
> 
> Setting up the interface when suspended/resumeing fail on this card.
> Adding a reset and delay quirk will eliminate this problem.
> 
> usb 1-1: New USB device found, idVendor=001f, idProduct=0b21
> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1: Product: AB13X USB Audio
> usb 1-1: Manufacturer: Generic
> usb 1-1: SerialNumber: 20210926172016
> 
> Signed-off-by: Lianqin Hu <hulianqin@vivo.com>

Thanks, applied now.
But...

> 
>  sound/usb/quirks.c | 2 ++
>  1 file changed, 2 insertions(+)

Those lines must be after the delimiter line '--'.
I guess you accidentally removed that line.
Please check at the next time.


Takashi

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
@ 2026-02-09  8:38 胡连勤
  2026-02-09  9:19 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: 胡连勤 @ 2026-02-09  8:38 UTC (permalink / raw)
  To: perex, tiwai, Cryolitia PukNgae, pav, 胡连勤,
	jussi, roy.vegard.ovesen
  Cc: linux-sound, linux-kernel

Setting up the interface when suspended/resumeing fail on this card.
Adding a reset and delay quirk will eliminate this problem.

usb 1-1: New USB device found, idVendor=001f, idProduct=0b21
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: AB13X USB Audio
usb 1-1: Manufacturer: Generic
usb 1-1: SerialNumber: 20210926172016

Signed-off-by: Lianqin Hu <hulianqin@vivo.com>

 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 2d9f28558874..ddd343077098 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2147,6 +2147,8 @@ struct usb_audio_quirk_flags_table {
 
 static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 	/* Device matches */
+	DEVICE_FLG(0x001f, 0x0b21, /* AB13X USB Audio */
+		   QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY),
 	DEVICE_FLG(0x03f0, 0x654a, /* HP 320 FHD Webcam */
 		   QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16),
 	DEVICE_FLG(0x041e, 0x3000, /* Creative SB Extigy */
-- 
2.39.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-04 15:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04 12:40 [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio 胡连勤
2026-06-04 15:28 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2026-02-27  2:11 胡连勤
2026-02-28  8:27 ` Takashi Iwai
2026-02-09  8:38 胡连勤
2026-02-09  9:19 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome