public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [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; 5+ messages in thread
From: 胡连勤 @ 2026-02-09  8:38 UTC (permalink / raw)
  To: perex@perex.cz, tiwai@suse.com, Cryolitia PukNgae, pav@iki.fi,
	胡连勤, jussi@sonarnerd.net,
	roy.vegard.ovesen@gmail.com
  Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org

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 related	[flat|nested] 5+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
  2026-02-09  8:38 [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio 胡连勤
@ 2026-02-09  9:19 ` Takashi Iwai
  2026-02-09  9:26   ` 答复: " 胡连勤
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2026-02-09  9:19 UTC (permalink / raw)
  To: 胡连勤
  Cc: perex@perex.cz, tiwai@suse.com, Cryolitia PukNgae, pav@iki.fi,
	jussi@sonarnerd.net, roy.vegard.ovesen@gmail.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org

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] 5+ messages in thread

* 答复: [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
  2026-02-09  9:19 ` Takashi Iwai
@ 2026-02-09  9:26   ` 胡连勤
  2026-02-09  9:34     ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: 胡连勤 @ 2026-02-09  9:26 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: perex@perex.cz, tiwai@suse.com, Cryolitia PukNgae, pav@iki.fi,
	jussi@sonarnerd.net, roy.vegard.ovesen@gmail.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org

Hi  Takashi:

> > 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.

I accidentally deleted it. Do I need to modify it and resend the patch?

Thanks
Lianqin

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

* Re: 答复: [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
  2026-02-09  9:26   ` 答复: " 胡连勤
@ 2026-02-09  9:34     ` Takashi Iwai
  2026-02-09  9:39       ` 答复: " 胡连勤
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2026-02-09  9:34 UTC (permalink / raw)
  To: 胡连勤
  Cc: Takashi Iwai, perex@perex.cz, tiwai@suse.com, Cryolitia PukNgae,
	pav@iki.fi, jussi@sonarnerd.net, roy.vegard.ovesen@gmail.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org

On Mon, 09 Feb 2026 10:26:50 +0100,
胡连勤 wrote:
> 
> Hi  Takashi:
> 
> > > 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.
> 
> I accidentally deleted it. Do I need to modify it and resend the patch?

No worry, I already applied with the manual edit.


thanks,

Takashi

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

* 答复: 答复: [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
  2026-02-09  9:34     ` Takashi Iwai
@ 2026-02-09  9:39       ` 胡连勤
  0 siblings, 0 replies; 5+ messages in thread
From: 胡连勤 @ 2026-02-09  9:39 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: perex@perex.cz, tiwai@suse.com, Cryolitia PukNgae, pav@iki.fi,
	jussi@sonarnerd.net, roy.vegard.ovesen@gmail.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org

Hi  Takashi:

> > > > 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.
> >
> > I accidentally deleted it. Do I need to modify it and resend the patch?
> 
> No worry, I already applied with the manual edit.

OK, I'll check it more thoroughly next time.

Thanks
Lianqin

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

end of thread, other threads:[~2026-02-09  9:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09  8:38 [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio 胡连勤
2026-02-09  9:19 ` Takashi Iwai
2026-02-09  9:26   ` 答复: " 胡连勤
2026-02-09  9:34     ` Takashi Iwai
2026-02-09  9:39       ` 答复: " 胡连勤

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