Focusrite Scarlett 2nd and 3rd Gen mixer driver
Moderators: MattKingUSA, khz
- sysrqer
- Established Member
- Posts: 2523
- Joined: Thu Nov 14, 2013 11:47 pm
- Has thanked: 320 times
- Been thanked: 152 times
- Contact:
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
First off, THANK YOU!! For all the work you have done and continue to do, many of us would be lost without it.geoffrey wrote: ↑Thu Mar 17, 2022 1:53 pm
I'd suggest trying the GUI https://github.com/geoffreybennett/alsa-scarlett-gui to see if you can make it work that way.
I run bullseye and, not wishing to upend my entire system for the sake of gtk4, I don't think I will be able to run this GUI any time soon. I have looked at the documentation, the ascii-art atop the source code, and beyond. Alas, I fail to understand many basic concepts within alsamixer. Could you point me in the right direction to learn and understand more about using alsamixer with these drivers? What are Mixes A-F for? Maybe some example routing configurations and their values within alsamixer could provide some understanding for lost users such as myself. I run up against so many issues doing basic routing and I am sure its not the driver's fault, but my own due to lack of understanding.
Thanks again!
-
- Established Member
- Posts: 259
- Joined: Mon Jul 30, 2018 2:08 am
- Has thanked: 34 times
- Been thanked: 173 times
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Hi Wirenoise,wirenoise wrote: ↑Wed Jun 08, 2022 8:46 pmFirst off, THANK YOU!! For all the work you have done and continue to do, many of us would be lost without it.geoffrey wrote: ↑Thu Mar 17, 2022 1:53 pm
I'd suggest trying the GUI https://github.com/geoffreybennett/alsa-scarlett-gui to see if you can make it work that way.
I run bullseye and, not wishing to upend my entire system for the sake of gtk4, I don't think I will be able to run this GUI any time soon. I have looked at the documentation, the ascii-art atop the source code, and beyond. Alas, I fail to understand many basic concepts within alsamixer. Could you point me in the right direction to learn and understand more about using alsamixer with these drivers? What are Mixes A-F for? Maybe some example routing configurations and their values within alsamixer could provide some understanding for lost users such as myself. I run up against so many issues doing basic routing and I am sure its not the driver's fault, but my own due to lack of understanding.
Thanks again!
Thanks for your message and sorry about the delay. I haven't been on LinuxMusicians in a while.
Here are some concepts that I hope will help...
Think about this from the perspective of the Scarlett interface itself (you need to be really clear about this bit):
- There are three sources of audio: Hardware Inputs, PCM Outputs (USB from PC), and Mixer Outputs
- There are three destinations for audio: Hardware Outputs, PCM Inputs (USB to PC), and Mixer Inputs
In alsamixer, there are no routing controls for the audio sources. There is one routing control for each of the audio destinations. On each of those destination routing controls you can select an audio source. So in order to route Hardware Input Analogue 2 to Hardware Output Analogue 1 you scroll across to "Item: Analogue Output 01" and select "Analogue 2".
Note that any given audio destination can only have one source selected, but one source can be sent to many destinations. If you want one destination to have audio from more than one source then you need to send the sources to mixer inputs and a mixer output to the destination.
If you've routed things to & from the mixer, then you next need to set the mixer levels. If your device has 8 mixer inputs (1-8) and 6 mixer outputs (A-F) then there are 8x6=48 volume/gain controls, one for how much of each mixer input to send to each mixer output.
I hope this helps. If not, describe what you want to achieve and I'll write that up for you. With these controls, you have complete flexibility on routing between all the audio inputs and outputs so the possibilities are endless .
Also, if you look at the routing and mixer parts of the animation on this page: https://github.com/geoffreybennett/alsa-scarlett-gui and the routing and mixer parts on this page: https://github.com/geoffreybennett/alsa ... r/USAGE.md then that may be of use in understanding how it works.
Regards,
Geoffrey.
-
- Established Member
- Posts: 45
- Joined: Thu Aug 16, 2018 8:31 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Don't do what I did and try to install GTK4 from testing... just don't. :"( You will break claudia and who knows what else lol. I just couldn't resist! Hey, at least the UI did work though. But yeah, not 100% ideal!!
...trying out AV Linux
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
i'm just switched from Windows 10 to Ubuntu 22.04.1 LTS with default current kernel. Please call me a noob and forgive me, but:
what exactly have i to do in order to get my Focusrite Scarlet 6i6 Gen2 fully recognized on ubuntu? What do i need to install and how?
I have some basic linux experience, but that subject seems to be too much for me right now. Can you help me step by step?
Would be great. Thank you!
regards,
azido
-
- Established Member
- Posts: 259
- Joined: Mon Jul 30, 2018 2:08 am
- Has thanked: 34 times
- Been thanked: 173 times
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Please follow the instructions here: https://github.com/geoffreybennett/alsa-scarlett-guiazido wrote: ↑Mon Sep 19, 2022 6:50 pm Hi there,
i'm just switched from Windows 10 to Ubuntu 22.04.1 LTS with default current kernel. Please call me a noob and forgive me, but:
what exactly have i to do in order to get my Focusrite Scarlet 6i6 Gen2 fully recognized on ubuntu? What do i need to install and how?
I have some basic linux experience, but that subject seems to be too much for me right now. Can you help me step by step?
Would be great. Thank you!
regards,
azido
If you get stuck/any issues, send through a question!
Regards,
Geoffrey.
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Hi Geoffrey!geoffrey wrote: ↑Tue Sep 20, 2022 1:23 pm Hi azido!
Please follow the instructions here: https://github.com/geoffreybennett/alsa-scarlett-gui
If you get stuck/any issues, send through a question!
Regards,
Geoffrey.
Thanks for stepping by that fast and pointing me to the right direction.
I didn't realize your driver is already embedded in the kernel and just needed to be enabled, thought i have to recompile kernel etc.
After adding scarlett.conf and followed your instructions i can configure my sound device from your gui with mostly success
However, there's one thing i still have no clue of:
My main outputs connected to the amplifier are hardware outputs 3+4. If i route PCM 1+2 to Analogue 3 & 4, i can hear music playing. So far so good.
Additionally, i hooked up a microphone to Analogue 1 IN. My goal is to listen to music AND microphone at the same time. In windows, this was done by using this settings:
So, "custom mix" enables simultaneous playback of hardware input 1 AND software output 1+2 to hardware output 3+4.
How can i set up this routing to get the same result on linux? No matter what i try, i get either signal from mic or desktop, not both at the same time. Looks like i'm missing some general knowledge here..
regards,
azido
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Found the answer right by myself, putting all 3 of them (Analog 1, PCM 1+2) into Mixer Inputs and Mixer Output A+B to analogue 3+4 gave me the result i wanted.
Now i need to find out how to set up Analog 1 independantly as a microphone source to linux. ATM i can't select anything from the focusrite scarlett as an input source, only the capture card is available as a mic source:
Any hint on that?
regards,
azido
-
- Established Member
- Posts: 405
- Joined: Mon Mar 13, 2017 6:07 am
- Has thanked: 11 times
- Been thanked: 101 times
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
AFAIK, you should be able to get your interface "working" without any tweaking at all: the subject of this thread is exposing "advanced" features of the Focusrite Scarlett devices, normally accessible only via the Windows GUI.What exactly have i to do in order to get my Focusrite Scarlet 6i6 Gen2 fully recognized on ubuntu? What do i need to install and how?
I have some basic linux experience, but that subject seems to be too much for me right now. Can you help me step by step?
Can you record from / send output to your interface at all?
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Hey tseaver,tseaver wrote: ↑Sat Sep 24, 2022 7:38 am AFAIK, you should be able to get your interface "working" without any tweaking at all: the subject of this thread is exposing "advanced" features of the Focusrite Scarlett devices, normally accessible only via the Windows GUI.
Can you record from / send output to your interface at all?
yeah, i found out it is already recognized on my current distro (Mint XFCE), although in windows i got used to use A1 Input of the scarlett with a microphone and send it as a mic source to obs. In linux all i get so far is a pulseaudio profile with 2.1 output (where i only have stereo, i don't use a subwoofer) and multichannel input profile (i only need A1 here).
In my understanding geoffrey's work is a port of focusrite control to linux, which is nice and runs smooth, but it doesn't give me additional separators of in- and outputs to the system, right?
Think i have to get familiar with jack and pulsemeeter.
cheers,
azido
- wvi
- Established Member
- Posts: 6
- Joined: Fri Nov 26, 2021 1:12 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Any idea why I am not able to see all the controls in my 18i8 3gen?
Kernel is 5.10.156.
Dmesg
Code: Select all
$ sudo dmesg | grep -i -A 5 -B5 scarlett
[ 2.348680] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.348682] usb 3-3: Product: USB2.1 Hub
[ 2.348683] usb 3-3: Manufacturer: GenesysLogic
[ 2.372666] usb 1-2: New USB device found, idVendor=1235, idProduct=8214, bcdDevice= 6.10
[ 2.372668] usb 1-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 2.372670] usb 1-2: Product: Scarlett 18i8 USB
[ 2.372671] usb 1-2: Manufacturer: Focusrite
[ 2.372672] usb 1-2: SerialNumber: F9TCP2Z1A07B8D
[ 2.396676] systemd[1]: Queued start job for default target Graphical Interface.
[ 2.401079] hub 3-3:1.0: USB hub found
[ 2.401672] hub 3-3:1.0: 4 ports detected
Scarlett modprobe config
Code: Select all
$ cat /etc/modprobe.d/scarlett.conf
#options snd_usb_audio vid=0x1235 pid=0x8211 device_setup=1
options snd_usb_audio vid=0x1235 pid=0x8214 device_setup=1
My devices.
Code: Select all
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [DELL U2720Q]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: USB [Scarlett 18i8 USB], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
This is suspisicious there should be way more things.
Code: Select all
amixer -c 2 controls
numid=4,iface=CARD,name='ADAT Validity'
numid=2,iface=CARD,name='Internal Validity'
numid=6,iface=CARD,name='Keep Interface'
numid=3,iface=CARD,name='S/PDIF Validity'
numid=5,iface=MIXER,name='Clock Source Clock Source'
numid=1,iface=PCM,name='Playback Channel Map'
-
- Established Member
- Posts: 259
- Joined: Mon Jul 30, 2018 2:08 am
- Has thanked: 34 times
- Been thanked: 173 times
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Hi @wvi,
You need at least kernel 5.14 for Gen 3 device support.
Regards,
Geoffrey.
-
- Established Member
- Posts: 10
- Joined: Sun Oct 01, 2023 8:24 am
- Has thanked: 3 times
- Been thanked: 2 times
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Hi all!
I'm a new "Focusrite Scarlett 2i2" user on Ubuntu 22.04.
First connected, the device was detected as:
Code: Select all
dmesg | grep -i -A 5 -B 5 focusrite
[ 25.564271] usb 1-1.2: new high-speed USB device number 3 using ehci-pci
[ 25.674864] usb 1-1.2: config 1 has an invalid interface number: 6 but max is 4
[ 25.674875] usb 1-1.2: config 1 has no interface number 4
[ 25.676601] usb 1-1.2: New USB device found, idVendor=262a, idProduct=9123, bcdDevice= 0.01
[ 25.676611] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 25.676614] usb 1-1.2: Product: Focusrite USB Audio
[ 25.676617] usb 1-1.2: Manufacturer: AiHeng
[ 25.678903] hid-generic 0003:262A:9123.0004: No inputs registered, leaving
[ 25.679100] hid-generic 0003:262A:9123.0004: hidraw3: USB HID v1.00 Device [AiHeng Focusrite USB Audio] on usb-0000:00:1a.0-1.2/input0
[ 56.831847] audit: type=1400 audit(1696147053.233:61): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/20092/usr/lib/snapd/snap-confine" pid=2127 comm="snap-confine" capability=12 capname="net_admin"
[ 56.831866] audit: type=1400 audit(1696147053.233:62): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/20092/usr/lib/snapd/snap-confine" pid=2127 comm="snap-confine" capability=38 capname="perfmon"
[ 56.920154] audit: type=1400 audit(1696147053.321:63): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/var/lib/" pid=2152 comm="5" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 56.920302] audit: type=1400 audit(1696147053.321:64): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/var/lib/" pid=2152 comm="5" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 56.922254] audit: type=1400 audit(1696147053.321:65): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/var/lib/" pid=2152 comm="5" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Holding the button "48v" for 5 seconds does not change anything.
I can use headphones by this driver, but there are no inputs.
If I add the file:
Code: Select all
cat /etc/modprobe.d/scarlet.conf
#options snd_usb_audio vid=0x1235 pid=0x8210 device_setup=1
options snd_usb_audio vid=0x1235 pid=0x8210 device_setup=1,1,1,1
my computer stopped for several minutes by loading after rebooting (if device is connected) and the required driver never loads.
Dear Geoffrey tell me please how I can install your driver. Thank you.
-
- Established Member
- Posts: 259
- Joined: Mon Jul 30, 2018 2:08 am
- Has thanked: 34 times
- Been thanked: 173 times
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
George G wrote: ↑Sun Oct 01, 2023 9:07 amHi all!
I'm a new "Focusrite Scarlett 2i2" user on Ubuntu 22.04.
First connected, the device was detected as:Code: Select all
dmesg | grep -i -A 5 -B 5 focusrite [ 25.564271] usb 1-1.2: new high-speed USB device number 3 using ehci-pci [ 25.674864] usb 1-1.2: config 1 has an invalid interface number: 6 but max is 4 [ 25.674875] usb 1-1.2: config 1 has no interface number 4 [ 25.676601] usb 1-1.2: New USB device found, idVendor=262a, idProduct=9123, bcdDevice= 0.01 [ 25.676611] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 25.676614] usb 1-1.2: Product: Focusrite USB Audio [ 25.676617] usb 1-1.2: Manufacturer: AiHeng [...]
Hi @George G,
That's really interesting. Even though it says "Product: Focusrite USB Audio" there, none of that actually looks like any Focusrite device I've ever seen. To start with, the vendor ID is incorrect. Vendor ID 262a is Savitech, not Focusrite, and the manufacturer there says "AiHeng". Also, the "Product" should not be "Focusrite USB Audio", but "Scarlett 2i2 USB".
An actual Focusrite 2i2 Gen 3 will look like this:
Code: Select all
Oct 01 21:57:23 f38 kernel: usb 1-3: New USB device found, idVendor=1235, idProduct=8210, bcdDevice= 5.ff
Oct 01 21:57:23 f38 kernel: usb 1-3: New USB device strings: Mfr=1, Product=3, SerialNumber=2
Oct 01 21:57:23 f38 kernel: usb 1-3: Product: Scarlett 2i2 USB
Oct 01 21:57:23 f38 kernel: usb 1-3: Manufacturer: Focusrite
Oct 01 21:57:23 f38 kernel: usb 1-3: SerialNumber: [an actual serial number here]
I think you've got a counterfeit there & I suggest you check direct with Focusrite support to confirm this. I'm curious to see photos of the device (front, back, top, and bottom) to compare with a real Gen 3 2i2. Feel free to email me if you don't want to share with all. You should also find that the Focusrite Control software doesn't detect the device. I hope you can get your money back. Let me know how you go. Good luck!
Regards,
Geoffrey.
- bluebell
- Established Member
- Posts: 1924
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 112 times
- Been thanked: 119 times
Re: Focusrite Scarlett 2nd and 3rd Gen mixer driver
Please provide a photo. This appears to be a forgery.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/