]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: usb-audio: Add quirk flags for SC13A
authorAi Chao <aichao@kylinos.cn>
Wed, 17 Jun 2026 02:52:34 +0000 (10:52 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 Jun 2026 09:05:48 +0000 (11:05 +0200)
commit8956950dab22fbaefe92ca1980728165c5da793d
treea6bf67c49b7f44a6e295b5e41733513a5f2e1aca
parent7d69804a35103a50852eae41bfe6a2e0061c68fd
ALSA: usb-audio: Add quirk flags for SC13A

The SC13A ( VID 0x1ff7, PID 0x0f81) not support reading the current
sample rate and results in an error message printed to kmsg. Set
QUIRK_FLAG_GET_SAMPLE_RATE to skip the sample rate check.

Quirky device sample:
  usb 3-5.2.4.1: new high-speed USB device number 11 using xhci_hcd
  usb 3-5.2.4.1: New USB device found, idVendor=1ff7, idProduct=0f81
  usb 3-5.2.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  usb 3-5.2.4.1: Product: SC13A
  usb 3-5.2.4.1: Manufacturer: Linux Foundation
  usb 3-5.2.4.1: SerialNumber: 000002
  usb 3-5.2.4.1: Found UVC 1.50 device SC13A (1ff7:0f81)
  usb 3-5.2.4.1: 3:1: cannot get freq at ep 0x86
  usb 3-5.2.4.1: Warning! Unlikely big volume range (=4096),
    cval->res is probably wrong.
  usb 3-5.2.4.1: [5] FU [Mic Capture Volume] ch = 1, val = 0/4096/1
  usbcore: registered new interface driver snd-usb-audio
  usb 3-5.2.4.1: 3:1: cannot get freq at ep 0x86
  usb 3-5.2.4.1: 3:1: cannot get freq at ep 0x86

Signed-off-by: Ai Chao <aichao@kylinos.cn>
Link: https://patch.msgid.link/20260617025234.3344935-1-aichao@kylinos.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c