]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Add quirk for Focusrite Scarlett Solo
authorRoope Salmi <rpsalmi@gmail.com>
Sun, 14 Apr 2019 11:13:06 +0000 (14:13 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Apr 2019 09:37:27 +0000 (11:37 +0200)
commitdcaf0199af7e4b4e109c5c471adc5f0d6046c7f4
tree7543e6801491c933e14fb217294a23fdf5776531
parentb6c28ef796890f8c9ae90656bd4b7520a0bce6b5
ALSA: usb-audio: Add quirk for Focusrite Scarlett Solo

The device reports Synch: Synchronous on the playback interface.
This causes regular audible napping on sample rates that are not multiples
of 1 kHz. Fix to Synch: Asynchronous.

Specifically observed on Focusrite Scarlett Solo 2nd generation. I assume
the first generation model has a different device ID. A first generation
Scarlett 2i2 I was able to test advertised Synch: Asynchronous by default.

For example, with a sample rate of 44100 Hz, a silent sample is played
every 40.96 seconds (likely 44.0 samples instead of 44.1 transmitted per
USB frame on average, 4096 being the size of some internal buffer).
There may be some other bug at play here since this doesn't happen
on other platforms. However, a feedback endpoint is listed and using it
fixes the issue. That is the only change in the quirk,
but I didn't find a way to declare only it.

Tested on two units and on two different computers.

Signed-off-by: Roope Salmi <rpsalmi@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h