On Sun, 8 Jan 2017 21:26:49 +0100
Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net> wrote:
> To patch the kernel, do I need to search an alsa / snd_usb_audio
> source file to add the ID or is it somewhere else? ...
First, look here:
https://github.com/smilingthax/alsa-driver_scarlett/commit/7a77707b66ee476dbf2b87c18fde6a2ea4ded1ec?diff=split
(This patch is now inside the mainline kernel; I did not write it)
If your second-gen has identical controls to the first-gen 18i20, then
you would have to simply insert your USB ID there and it would just
work. That is, in sound/usb/mixer.c around line 2395, create another
'case' -
case USB_ID(0x1235, 0x8201): /* Focusrite Scarlett 18i20 2nd-gen */
And in sound/usb/scarlettmixer.c after line 1226, insert
case USB_ID(0x1235, 0x8201): info = &s18i20_info; break;
Line numbers might not be 100% identical depending on your kernel
version.
That should treat your device like a first-gen 18i20, if I
didn't miss anything. No guarantee it will work, but it might.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Jan 9 00:15:02 2017
This archive was generated by hypermail 2.1.8 : Mon Jan 09 2017 - 00:15:03 EET