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

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

Moderators: khz, MattKingUSA

geoffrey
Established Member
Posts: 35
Joined: Mon Jul 30, 2018 2:08 am

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

Postby geoffrey » Thu May 02, 2019 1:45 am

Hi all,

I'm after some help from Linux people who have a Focusrite Scarlett 6i6 or 18i8 2nd Gen...

I've written an 18i8/18i20 mixer driver and have feedback from 18i20 users that it works, but no feedback yet from 18i8 users. If you have an 18i8, please test the driver (source and binary packages available here: https://github.com/geoffreybennett/scar ... 2/releases) and let me know if it does or doesn't work.

Extending the driver to support the 6i6 as well would probably be pretty simple if I had one of those interfaces, but I don't. If you have one and can run the Focusrite Control software in a VM while running usbmon to capture the USB messages then I should be able to work out what it needs from that. Let me know if you can assist and I will write up some instructions.

Thanks,
Geoffrey.

random_username
Posts: 1
Joined: Sat May 25, 2019 12:38 pm

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

Postby random_username » Sat May 25, 2019 12:40 pm

I would be willing to buy a 6i6 gen 2 Interface.

Is this offer of yours still available? It would take about two weeks for me, to capture the usbmon output.

geoffrey
Established Member
Posts: 35
Joined: Mon Jul 30, 2018 2:08 am

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

Postby geoffrey » Wed Jun 19, 2019 2:42 pm

random_username wrote:I would be willing to buy a 6i6 gen 2 Interface.

Is this offer of yours still available? It would take about two weeks for me, to capture the usbmon output.
Hi random_username! Thanks for your message, and sorry for the delay in responding. I forgot that I need to subscribe to a thread to be notified of responses, even if I created it.

@dawitti this one's for you too (@random_username, dawitti said that he's got a 6i6 and wants to help)

So, what I need is usbmon output captured from Linux while you run the Focusrite Control software in a VM and twiddle with the routing parameters. I used virt-manager to set up the VM and "Add Hardware" -> "USB Host Device" -> "xxx:xxx Focusrite-Novation Scarlett 18i8 2nd Gen" -> Finish to connect my 18i8 to the VM.

The usbmon command I usually use is like:
usbmon -i 2 -fu -s 10000 | grep -v 'Z[io]:'

The "-fu -s 10000" options are to get all the data & in the machine-readable format. "-i 2" is to restrict capturing to bus 2. Your device might be on a different bus, so adjust to suit (use lsusb to check which bus).

What we're looking for are a lot of lines like this:

ffff8a81fc05c780 1159407068 S Co:2:055:0 s 21 02 0000 0005 0114 276 = 02300000 04015d00 00000000 00000000 00000000 00263000 01363000 02260800 03360800 04460800 05560800 06660800 07760800 08061800 09161800 0a062000 0b162000 0c262000 0d362000 0e462000 0f562000 10662000 11762000 80006000 81106000 82206000 83306000 84406000 85506000 86003000 87103000 88003000 89103000 80a16000 81b16000 00c26000 01d26000 02e26000 03f26000 04026100 05126100 06226100 07326100 00030800 01130800 02230800 03330800 04430800 05530800 06630800 07730800 08036000 09136000 0a030000 0b030000 0c030000 0d030000 0e030000 0f030000 10030000 11030000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff8a81fc05c780 1159407138 C Co:2:055:0 0 276 >
ffff8a81fc05c780 1159407144 S Ci:2:055:0 s a1 03 0000 0005 0010 16 <
ffff8a81fc05c780 1159407946 C Ci:2:055:0 0 16 = 02300000 00005d00 00000000 00000000

If you're curious, "S Co" is a control-output submission to the USB device. 2:055 is the bus and device numbers (so e.g. I could also grep "2:055" if there are other devices on the bus to filter out just the Scarlett communications). "21 02 0000 0005" are the magic numbers to talk to the vendor-specific stuff in the Scarlett. The rest of that particular line is the data to set up the routing for one sample rate. The following 3 lines are acknowledgements. That whole thing gets repeated twice for the two other sample rates.

Send through a small bit of sample output while the Focusrite Control software is running if you can get that going. The software continually polls the interface's levels so you'll see plenty of USB traffic. I'll check that it's what I'm after and then write up some more info about what things I need you to twiddle with while you capture.

Let me know if this doesn't make sense or if you need more info.

Thanks,
Geoffrey.


Return to “Computer Related Hardware”

Who is online

Users browsing this forum: No registered users and 2 guests