Skip to contentSkip to conversation

ALSA: usb-audio: Add delay quirk for HIK camera

PATCH In review Kuangyi Chiang 2 participants 2 messages Oct 29 – Oct 31 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: usb-audio: Add delay quirk for HIK camera

Audio control requests that set the volume sometimes time out on the HIK 1080P Camera (2bdf:0280).

Adding a 1ms delay between control messages avoids the issue. Apply QUIRK_FLAG_CTL_MSG_DELAY_1M for this device.

---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)
sound/usb/quirks.c +2 -0
index a54fabc..d2920bd 100644
@@ -2532,6 +2532,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
 	DEVICE_FLG(0x2b73, 0x0047, /* AlphaTheta EUPHONIA */
 		   QUIRK_FLAG_PLAYBACK_FIRST | QUIRK_FLAG_GENERIC_IMPLICIT_FB),
+	DEVICE_FLG(0x2bdf, 0x0280, /* HIK 1080P Camera */
+		   QUIRK_FLAG_CTL_MSG_DELAY_1M),
 	DEVICE_FLG(0x2d95, 0x8011, /* VIVO USB-C HEADSET */
 		   QUIRK_FLAG_CTL_MSG_DELAY_1M),
 	DEVICE_FLG(0x2d95, 0x8021, /* VIVO USB-C-XE710 HEADSET */
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Kuangyi Chiang

Audio control requests that set the volume sometimes time out on the HIK 1080P Camera (2bdf:0280).

Adding a 1ms delay between control messages avoids the issue. Apply QUIRK_FLAG_CTL_MSG_DELAY_1M for this device.

Applied now. Thanks.

Takashi