| 1 | # ALSA Scarlett2 Usage With Old Kernels |
| 2 | |
| 3 | **This information is mostly for historical purposes. If you’re |
| 4 | running a kernel before 6.7, you should upgrade to a newer kernel.** |
| 5 | |
| 6 | Linux kernel 6.7 (check your version with `uname -r`) was the first |
| 7 | kernel version with the Scarlett2 driver enabled by default. It’s |
| 8 | recommended that you run 6.7 or later, or build the backported driver |
| 9 | for your kernel. If you do, then these instructions aren’t relevant; |
| 10 | continue with [INSTALL.md](INSTALL.md) for prerequisites, how to |
| 11 | build, install, and run `alsa-scarlett-gui`. |
| 12 | |
| 13 | If you’ve got a Scarlett Gen 2 or 3 or a Clarett+ 8Pre and don’t mind |
| 14 | the level meters not working, then the first kernel support was added |
| 15 | in: |
| 16 | |
| 17 | - **Scarlett Gen 2**: Linux 5.4 (bugs fixed in Linux 5.14) |
| 18 | - **Scarlett Gen 3**: Linux 5.14 |
| 19 | - **Clarett+ 8Pre**: Linux 6.1 |
| 20 | |
| 21 | ## Linux Kernel with Backported Driver (recommended) |
| 22 | |
| 23 | Install the latest version of the backported driver from here: |
| 24 | |
| 25 | https://github.com/geoffreybennett/linux-fcp/releases |
| 26 | |
| 27 | then you can ignore the instructions below. |
| 28 | |
| 29 | ## Linux Kernel before 6.7 without Backported Driver |
| 30 | |
| 31 | If you’re running a kernel before 6.7 without the backported driver, |
| 32 | you need to enable it at module load time with the `device_setup=1` |
| 33 | option to insmod/modprobe. Create a file |
| 34 | `/etc/modprobe.d/scarlett.conf` containing the appropriate line for |
| 35 | your device: |
| 36 | |
| 37 | Scarlett Gen 2: |
| 38 | |
| 39 | - **6i6**: `options snd_usb_audio vid=0x1235 pid=0x8203 device_setup=1` |
| 40 | - **18i8**: `options snd_usb_audio vid=0x1235 pid=0x8204 device_setup=1` |
| 41 | - **18i20**: `options snd_usb_audio vid=0x1235 pid=0x8201 device_setup=1` |
| 42 | |
| 43 | Scarlett Gen 3: |
| 44 | |
| 45 | - **Solo**: `options snd_usb_audio vid=0x1235 pid=0x8211 device_setup=1` |
| 46 | - **2i2**: `options snd_usb_audio vid=0x1235 pid=0x8210 device_setup=1` |
| 47 | - **4i4**: `options snd_usb_audio vid=0x1235 pid=0x8212 device_setup=1` |
| 48 | - **8i6**: `options snd_usb_audio vid=0x1235 pid=0x8213 device_setup=1` |
| 49 | - **18i8**: `options snd_usb_audio vid=0x1235 pid=0x8214 device_setup=1` |
| 50 | - **18i20**: `options snd_usb_audio vid=0x1235 pid=0x8215 device_setup=1` |
| 51 | |
| 52 | Clarett+: |
| 53 | |
| 54 | - **8Pre**: `options snd_usb_audio vid=0x1235 pid=0x820c device_setup=1` |
| 55 | |
| 56 | Or you can use a sledgehammer: |
| 57 | ``` |
| 58 | options snd_usb_audio device_setup=1,1,1,1 |
| 59 | ``` |
| 60 | to pass that option to the first 4 USB audio devices. |
| 61 | |
| 62 | To see if the driver is present and enabled: `dmesg | grep -i -A 5 -B |
| 63 | 5 focusrite` should display information like: |
| 64 | |
| 65 | ``` |
| 66 | New USB device found, idVendor=1235, idProduct=8215, bcdDevice= 6.0b |
| 67 | Product: Scarlett 18i20 USB |
| 68 | Focusrite Scarlett Gen 2/3 Mixer Driver enabled pid=0x8215 |
| 69 | ``` |
| 70 | |
| 71 | If the driver is disabled you’ll see a message like: |
| 72 | |
| 73 | ``` |
| 74 | Focusrite Scarlett Gen 2/3 Mixer Driver disabled; use options |
| 75 | snd_usb_audio vid=0x1235 pid=0x8215 device_setup=1 to enable and |
| 76 | report any issues to [email protected] |
| 77 | ``` |