Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

cobreces
Posts: 2
Joined: Sun Dec 01, 2019 2:29 pm

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by cobreces »

Hi!

Thank you so much for your work on this driver. It is really amazing to be able to use Scarlett on Linux. Unfortunately, I am having some issues:

I have just tested the deb packages of kernel 5.4.0-rc6s10 in my debian jessie box and tried to connect a Scarlett 6i6 2nd generation.

I created /etc/moprobe.d/scarlett.conf with:

Code: Select all

options snd_usb_audio device_setup=1
and reboot the computer.

After boot, when I switch on the Scarlett I get the following kernel messages:

Code: Select all

Dec  1 15:33:08 sulaco kernel: [ 1303.635265] usb 1-1.1: new high-speed USB device number 16 using ehci-pci
Dec  1 15:33:08 sulaco kernel: [ 1303.744431] usb 1-1.1: New USB device found, idVendor=1235, idProduct=8203, bcdDevice= 4.34
Dec  1 15:33:08 sulaco kernel: [ 1303.744435] usb 1-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
Dec  1 15:33:08 sulaco kernel: [ 1303.744437] usb 1-1.1: Product: Scarlett 6i6 USB
Dec  1 15:33:08 sulaco kernel: [ 1303.744438] usb 1-1.1: Manufacturer: Focusrite
Dec  1 15:33:08 sulaco kernel: [ 1303.744440] usb 1-1.1: SerialNumber: 00024939
Dec  1 15:33:08 sulaco kernel: [ 1303.748684] usb 1-1.1: Focusrite Scarlett Gen 2 Mixer Driver disabled; use options snd_usb_audio device_setup=1 to enable and report any issues to g@b4.vu
Interestingly, I think that device_setup option is actually activated:

Code: Select all

$modprobe -c | grep snd_usb_audio | grep options

options snd_usb_audio index=-2
options snd_usb_audio device_setup=1
I would really appreciate if you could give some light on this.
Thank you!
Harold Barrel
Posts: 1
Joined: Sun Dec 01, 2019 4:36 pm

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by Harold Barrel »

Hello everyone :-)
I'm joining this thread because I'm trying to set up my Scarlett 6i6 2nd generation on my linux machine.
I'm running Xubuntu 19.10 with kernel Linux 5.4.1-050401-lowlatency (this is what I get when I type uname -rs on the terminal).
However I can't see any available controls on alsamixer (I'm attaching a screenshot).
I also tried booting with the generic kernel, didn't work either.
Do you have any idea what could be wrong?
Attachments
alsamixer_screenshot.png
alsamixer_screenshot.png (47.05 KiB) Viewed 13029 times
geoffrey
Established Member
Posts: 276
Joined: Mon Jul 30, 2018 2:08 am
Has thanked: 43 times
Been thanked: 194 times

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by geoffrey »

Michael Willis wrote:The release notes for Linux 5.4 mention this driver:

https://kernelnewbies.org/Linux_5.4#Audio

Serious congrats! This makes me want to go out and get that second-gen 18i8 that I keep pretending that I "need" :lol:
Woohoo! And 5.4.1 is out too, so it will work for the 6i6 as well :D. https://lkml.org/lkml/2019/12/1/35
If you do get your 18i8, please let us know how it goes!
geoffrey
Established Member
Posts: 276
Joined: Mon Jul 30, 2018 2:08 am
Has thanked: 43 times
Been thanked: 194 times

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by geoffrey »

Hi cobreces,

Thank you for trying to test the driver!
cobreces wrote:I have just tested the deb packages of kernel 5.4.0-rc6s10 in my debian jessie box and tried to connect a Scarlett 6i6 2nd generation.
Please upgrade to 5.4.1 first; there are known issues with the 6i6 support in 5.4.0 and it won't work very well even after you enable it.
cobreces wrote:I created /etc/moprobe.d/scarlett.conf with:

Code: Select all

options snd_usb_audio device_setup=1
...

Code: Select all

Dec  1 15:33:08 sulaco kernel: [ 1303.748684] usb 1-1.1: Focusrite Scarlett Gen 2 Mixer Driver disabled; use options snd_usb_audio device_setup=1 to enable and report any issues to g@b4.vu
Try using "options snd_usb_audio vid=0x1235 pid=0x8203 device_setup=1" instead; if you have more than one USB audio device then the option is likely getting applied to the wrong device.

Please let me know how it goes.

Thanks,
Geoffrey.
geoffrey
Established Member
Posts: 276
Joined: Mon Jul 30, 2018 2:08 am
Has thanked: 43 times
Been thanked: 194 times

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by geoffrey »

Hi Harold,
Harold Barrel wrote:Hello everyone :-)
I'm joining this thread because I'm trying to set up my Scarlett 6i6 2nd generation on my linux machine.
I'm running Xubuntu 19.10 with kernel Linux 5.4.1-050401-lowlatency (this is what I get when I type uname -rs on the terminal).
However I can't see any available controls on alsamixer (I'm attaching a screenshot).
I also tried booting with the generic kernel, didn't work either.
Do you have any idea what could be wrong?
If you run "dmesg" is there a line in there with the message "Focusrite Scarlett Gen 2 Mixer Driver disabled"? If so, try creating a file /etc/modprobe.d/scarlett.conf containing:

Code: Select all

options snd_usb_audio vid=0x1235 pid=0x8203 device_setup=1
and then reboot.

Please let us know how you go!

Thanks,
Geoffrey.
cobreces
Posts: 2
Joined: Sun Dec 01, 2019 2:29 pm

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by cobreces »

Dear geoffrey,

I have tested the Scarlett 6i6 2nd G. on kernel 5.4.1. There is still something going not well. I paste the kernel log:

Code: Select all

Dec  2 17:00:44 sulaco kernel: [   68.695915] usb 1-1.1: new high-speed USB device number 13 using ehci-pci
Dec  2 17:00:44 sulaco kernel: [   68.804959] usb 1-1.1: New USB device found, idVendor=1235, idProduct=8203, bcdDevice= 4.34
Dec  2 17:00:44 sulaco kernel: [   68.804963] usb 1-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
Dec  2 17:00:44 sulaco kernel: [   68.804964] usb 1-1.1: Product: Scarlett 6i6 USB
Dec  2 17:00:44 sulaco kernel: [   68.804966] usb 1-1.1: Manufacturer: Focusrite
Dec  2 17:00:44 sulaco kernel: [   68.804968] usb 1-1.1: SerialNumber: 00024939
Dec  2 17:00:49 sulaco kernel: [   73.851216] usb 1-1.1: Scarlett Gen 2 USB response result cmd 0 was -110
Dec  2 17:00:49 sulaco kernel: [   73.851252] snd-usb-audio: probe of 1-1.1:1.0 failed with error -22
Again, thank you very much for your work and help!.
newsound
Posts: 2
Joined: Tue Jan 28, 2020 6:57 pm

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by newsound »

hi I'm using ubuntu studio 18.4. I use Focusrite scarlet 18i8 and DAWour 5.0 as my DAW. I recorded audio, but I cannot hear sound. I cannot record 8 input channels simultaneously in ardor. how can i install the driver you made into ubuntu studio. You should tell me which software to install step by step. I would write step by step how to install which packages in https://github.com/geoffreybennett/scar ... 2 / releases) or take a video on your site. I am novice in linux

my mail: deprem98@gmail.com
User avatar
sysrqer
Established Member
Posts: 2593
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 374 times
Been thanked: 168 times
Contact:

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by sysrqer »

Has anyone got the GUI version by x42 for the 6i6 working? I just get an error:

Code: Select all

scarlett-mixer: ./src/scarlett_mixer.c:603: get_enum: Assertion `snd_mixer_selem_is_enumerated (c->elem)' failed.
Aborted
puleglot
Established Member
Posts: 135
Joined: Thu Jan 23, 2020 3:14 pm
Has thanked: 3 times
Been thanked: 13 times

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by puleglot »

sysrqer wrote: Tue Mar 03, 2020 7:37 pm Has anyone got the GUI version by x42 for the 6i6 working?
It supports 1st gen Scarletts only.
theseatedscribe
Posts: 1
Joined: Sat Mar 07, 2020 7:38 am

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by theseatedscribe »

Hello Geoffrey,

Awesome work!! However, I also seem to be among the few who are getting this error with my Scarlett 18i20 2nd Gen

Code: Select all

Scarlett Gen 2 USB response result cmd 0 was -110
After bootup, the device is unusable for audio, isn't available for selection in pavucontrol, it shows up when I run lsusb, shows up as "USB Device 0x12350x8201" in alsamixer. And that's it.

Thanks for all your work, and everyone who has contributed.
Last edited by theseatedscribe on Wed Mar 11, 2020 7:14 pm, edited 1 time in total.
Bugeyed Earl
Established Member
Posts: 6
Joined: Sat Feb 22, 2020 3:53 pm

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by Bugeyed Earl »

Hello all!

I'm really excited about the proposition of using my 18i20 (gen 2) in Linux, but I'm running into the same issue that @cobreces and @theseatedscribe reported. I get the "Scarlett Gen 2 USB response result cmd 0 was -110" error message and can't use the interface.

I'm wondering if the issue is related to the firmware version or hardware revision? My interface is running fw 1583, which I presume is the latest. I believe it was updated when I ran Focusrite Control for the first time (I bought this unit used a few months ago.) Everything works fine in Windows 10.

I've noticed that the interface is properly identified as Scarlett 18i20 USB while the module is not loaded (by not using device_setup=1 in scarlett.conf.)

Image

Oddly enough, the only control that's visible is the clock source, and it is possible to cycle through the settings:

Image

When the module is enabled, it's visible in alsamixer as USB Device 0x1235:0x8201, but no controls are accessible:

Image

I'm pretty sure I've seen this exact behavior reported by others, and I haven't seen a fix for it yet. I'm hoping someone will have a suggestion!
User avatar
khz
Established Member
Posts: 1677
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 48 times
Been thanked: 104 times

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by khz »

In the alsamixer: If you pressed the "right arrow key", there are more settings. Have you looked there? You can see that because there are arrows in the Alsamixer frame on the right.
more.png
more.png (27.63 KiB) Viewed 12934 times

. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW

  • 𝝞|𝝞|I don't care about the freedom of speech because I have nothing to say. 𝝞|𝝞𝝞|𝝞|𝝞

Bugeyed Earl
Established Member
Posts: 6
Joined: Sat Feb 22, 2020 3:53 pm

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by Bugeyed Earl »

Thanks for the suggestion, but there was one additional slider that moved off screen when I resized the window. Normally, I can see it.

One other point that I forgot to make about my troubleshooting - I've tried various kernels from 5.3.1 to 5.5.7, Ubuntu Studio, a couple of versions of Debian with updated kernels, and on 3 distinct computers with different architectures. The behavior seems identical on all, so that's why I suspect the interface is the issue.
msil
Posts: 1
Joined: Mon Feb 10, 2020 1:13 am

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by msil »

Bugeyed Earl wrote: Sat May 02, 2020 3:23 am Thanks for the suggestion, but there was one additional slider that moved off screen when I resized the window. Normally, I can see it.

One other point that I forgot to make about my troubleshooting - I've tried various kernels from 5.3.1 to 5.5.7, Ubuntu Studio, a couple of versions of Debian with updated kernels, and on 3 distinct computers with different architectures. The behavior seems identical on all, so that's why I suspect the interface is the issue.
For what it's worth, I also ran into your same issue and discovered that it was only happening on an older machine of mine (Core 2 Duo). I tested kernels from 5.4 to 5.7, alsamixer would not display the interface properly, and I would always see the following in the logs:

Code: Select all

Scarlett Gen 2 USB response result cmd 0 was -110
It was working fine with another machine of mine (i5 3rd gen) so I dd'd the OS from the working machine to the non-working one to rule out any differences in software and encountered the same issue. I have the same interface working fine on two different machines (Arch Linux and Ubuntu), both with newer CPUs (i5 3rd gen and i5 8th gen).

Maybe try your setup on a different machine to confirm this may be the case? Good luck!
Bugeyed Earl
Established Member
Posts: 6
Joined: Sat Feb 22, 2020 3:53 pm

Re: Focusrite Scarlett 6i6 and 18i8 2nd Gen mixer driver

Post by Bugeyed Earl »

Thanks for the suggestion, that's a good lead to follow! I've been trying this with my older hardware, but I can try swapping a Linux drive into my work computer this week.
Post Reply