Skip to content

Clarett USB and Clarett+ / Linux 6.7

Compare
Choose a tag to compare
@geoffreybennett geoffreybennett released this 13 Nov 14:15
· 0 commits to master since this release

This release has the Scarlett2 code that is going into Linux 6.7:

  • Support for all remaining Clarett USB (2Pre, 4Pre, 8Pre) and Clarett+ devices (2Pre, 4Pre)
    (Clarett+ 8Pre support has been in the kernel since 6.1)
  • Default enabled (no need for device_setup=1)
  • Working Level Meters

I'm trying something different this time, distributing the kernel source of just sound/usb, which should be a whole lot easier, quicker, and safer for you to try out.

You'll need to first install your distro's kernel-devel or linux-headers package (must match your running kernel version). This is most likely to work if you're running a 5.15, 6.5, or 6.6 kernel. Other versions might or might not work (please open an issue if it doesn't work).

Download and unpack snd-usb-audio-kmod-$VER.tar.gz:

# select one:
VER=5.15.138c1
VER=6.5.11c1
VER=6.6.2c1

wget https://github.com/geoffreybennett/scarlett-gen2/releases/download/v6.5.11c1/snd-usb-audio-kmod-$VER.tar.gz
tar xzvf snd-usb-audio-kmod-$VER.tar.gz
cd snd-usb-audio-kmod-$VER

Then to build and install the kernel module:

KSRCDIR=/lib/modules/$(uname -r)/build
make -j4 -C $KSRCDIR M=$(pwd)
sudo make -j4 -C $KSRCDIR M=$(pwd) INSTALL_MOD_DIR=updates/snd-usb-audio modules_install
sudo depmod 
reboot

This will install into /lib/modules/$(uname -r)/updates/snd-usb-audio. You can delete that directory then rerun depmod if you want to uninstall.

If you update your kernel later on, you'll need to rebuild/reinstall the driver, at least until you upgrade to Linux 6.7 where this code is already included. Then you don't need any of this anymore.

After connecting your interface, use dmesg|grep -i focusrite -A5 -B5 to check. You should see something like Focusrite ... Mixer Driver enabled. And in alsamixer there should be a lot of controls.

For a nice GUI to use with this, see https://github.com/geoffreybennett/alsa-scarlett-gui