Focusrite Scarlett 8i6 + Ubuntu 17.10 + KXStudio

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
paulo5150
Posts: 2
Joined: Tue Mar 06, 2018 3:40 am

Focusrite Scarlett 8i6 + Ubuntu 17.10 + KXStudio

Post by paulo5150 »

Hi Guys

I'm just a beginner on Linux and I really need some help to config my system. I'm trying to use my old macbook Aluminium to run a Ubuntu OS with KXStudio, everything works fine when you select the onboard soundcard (hw:NVidia,0 [ALC998A Analog]) in JACK Settings, but when I turn it to (hw:USB,0 [USB Audio]), I got to capture audio from the scarlett 8i6 preamp (Channel 1 and 2) and others but I didn't get nothing from the audio output. I tried so many combinations at JACK Settings and connections unsuccessfully. Every help is welcome. Thanks

The output from aplay -l
**** List of Devices PLAYBACK Hardware ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Secondary device: 8/8
Secondary device # 0: Subdevice # 0
Secondary Device # 1: Subdevice # 1
Secondary Device # 2: Subdevice # 2
Secondary Device # 3: Subdevice # 3
Secondary Device # 4: Subdevice # 4
Secondary Device # 5: Subdevice # 5
Secondary Device # 6: Subdevice # 6
Secondary Device # 7: Subdevice # 7
plate 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Secondary device: 8/8
Secondary device # 0: Subdevice # 0
Secondary Device # 1: Subdevice # 1
Secondary Device # 2: Subdevice # 2
Secondary Device # 3: Subdevice # 3
Secondary Device # 4: Subdevice # 4
Secondary Device # 5: Subdevice # 5
Secondary Device # 6: Subdevice # 6
Secondary Device # 7: Subdevice # 7
plate 1: NVidia [HDA NVidia], device 0: ALC889A Analog [ALC889A Analog]
Secondary device: 1/1
Secondary device # 0: Subdevice # 0
plate 1: NVidia [HDA NVidia], device 1: ALC889A Digital [ALC889A Digital]
Secondary device: 1/1
Secondary device # 0: Subdevice # 0
card 2: USB [Scarlett 8i6 USB], device 0: USB Audio [USB Audio]
Secondary device: 0/1
Secondary device # 0: Subdevice # 0


The output from arecord -l
**** List of Devices CAPTURE Hardware ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Secondary device: 8/8
Secondary device # 0: Subdevice # 0
Secondary Device # 1: Subdevice # 1
Secondary Device # 2: Subdevice # 2
Secondary Device # 3: Subdevice # 3
Secondary Device # 4: Subdevice # 4
Secondary Device # 5: Subdevice # 5
Secondary Device # 6: Subdevice # 6
Secondary Device # 7: Subdevice # 7
plate 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Secondary device: 8/8
Secondary device # 0: Subdevice # 0
Secondary Device # 1: Subdevice # 1
Secondary Device # 2: Subdevice # 2
Secondary Device # 3: Subdevice # 3
Secondary Device # 4: Subdevice # 4
Secondary Device # 5: Subdevice # 5
Secondary Device # 6: Subdevice # 6
Secondary Device # 7: Subdevice # 7
plate 1: NVidia [HDA NVidia], device 0: ALC889A Analog [ALC889A Analog]
Secondary device: 1/1
Secondary device # 0: Subdevice # 0
plate 1: NVidia [HDA NVidia], device 1: ALC889A Digital [ALC889A Digital]
Secondary device: 1/1
Secondary device # 0: Subdevice # 0
plate 1: NVidia [HDA NVidia], device 2: ALC889A Alt Analog [ALC889A Alt Analog]
Secondary device: 2/2
Secondary device # 0: Subdevice # 0
Secondary Device # 1: Subdevice # 1
card 2: USB [Scarlett 8i6 USB], device 0: USB Audio [USB Audio]
Secondary device: 0/1
Secondary device # 0: Subdevice # 0

The output from lspci -vnn
00:00.0 Host bridge [0600]: NVIDIA Corporation MCP79 Host Bridge [10de:0a82] (rev b1)
Flags: bus master, 66MHz, fast devsel, latency 0

00:00.1 RAM memory [0500]: NVIDIA Corporation MCP79 Memory Controller [10de:0a88] (rev b1)
Flags: bus master, 66MHz, fast devsel, latency 0

00:03.0 ISA bridge [0601]: NVIDIA Corporation MCP79 LPC Bridge [10de:0aae] (rev b2)
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0
I/O ports at 2000

00:03.1 RAM memory [0500]: NVIDIA Corporation MCP79 Memory Controller [10de:0aa4] (rev b1)
Flags: 66MHz, fast devsel

00:03.2 SMBus [0c05]: NVIDIA Corporation MCP79 SMBus [10de:0aa2] (rev b1)
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: 66MHz, fast devsel
I/O ports at 2180
I/O ports at 2140
I/O ports at 2100
Capabilities: <access denied>
Kernel driver in use: nForce2_smbus
Kernel modules: i2c_nforce2, nv_tco

00:03.3 RAM memory [0500]: NVIDIA Corporation MCP79 Memory Controller [10de:0a89] (rev b1)
Flags: 66MHz, fast devsel

00:03.4 RAM memory [0500]: NVIDIA Corporation MCP79 Memory Controller [10de:0a98] (rev b1)
Subsystem: NVIDIA Corporation iMac 9,1 [10de:cb79]
Flags: 66MHz, fast devsel

00:03.5 Co-processor [0b40]: NVIDIA Corporation MCP79 Co-processor [10de:0aa3] (rev b1)
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0
Memory at d3300000 (32-bit, non-prefetchable) [size=512K]

00:04.0 USB controller [0c03]: NVIDIA Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa5] (rev b1) (prog-if 10 [OHCI])
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
Memory at d3388000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci-pci

00:04.1 USB controller [0c03]: NVIDIA Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa6] (rev b1) (prog-if 20 [EHCI])
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
Memory at d3389200 (32-bit, non-prefetchable)
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:06.0 USB controller [0c03]: NVIDIA Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa7] (rev b1) (prog-if 10 [OHCI])
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Memory at d3387000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci-pci

00:06.1 USB controller [0c03]: NVIDIA Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa9] (rev b1) (prog-if 20 [EHCI])
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Memory at d3389100 (32-bit, non-prefetchable)
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:08.0 Audio device [0403]: NVIDIA Corporation MCP79 High Definition Audio [10de:0ac0] (rev b1)
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
Memory at d3380000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:09.0 PCI bridge [0604]: NVIDIA Corporation MCP79 PCI Bridge [10de:0aab] (rev b1) (prog-if 01 [Subtractive decode])
Flags: 66MHz, fast devsel
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: d3200000-d32fffff
Capabilities: <access denied>

00:0a.0 Ethernet controller [0200]: NVIDIA Corporation MCP79 Ethernet [10de:0ab0] (rev b1)
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 26
Memory at d3386000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 21e0
Memory at d3389000 (32-bit, non-prefetchable)
Memory at d3389300 (32-bit, non-prefetchable)
Capabilities: <access denied>
Kernel driver in use: forcedeth
Kernel modules: forcedeth

00:0b.0 SATA controller [0106]: NVIDIA Corporation MCP79 AHCI Controller [10de:0ab9] (rev b1) (prog-if 01 [AHCI 1.0])
Subsystem: NVIDIA Corporation Apple iMac 9,1 [10de:cb79]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 24
I/O ports at 21d8
I/O ports at 21ec [size=4]
I/O ports at 21d0 [size=8]
I/O ports at 21e8 [size=4]
I/O ports at 21c0 [size=16]
Memory at d3384000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:10.0 PCI bridge [0604]: NVIDIA Corporation MCP79 PCI Express Bridge [10de:0aa0] (rev b1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: d2000000-d30fffff
Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
Capabilities: <access denied>
Kernel modules: shpchp

00:15.0 PCI bridge [0604]: NVIDIA Corporation MCP79 PCI Express Bridge [10de:0ac6] (rev b1) (prog-if 00 [Normal decode])
Flags: fast devsel, IRQ 20
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: d3100000-d31fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

02:00.0 VGA compatible controller [0300]: NVIDIA Corporation C79 [GeForce 9400M] [10de:0863] (rev b1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. MacBook5,1 [106b:00aa]
Flags: bus master, fast devsel, latency 0, IRQ 25
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 1000 [size=128]
Expansion ROM at d3000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: Focusrite Scarlett 8i6 + Ubuntu 17.10 + KXStudio

Post by Pablo »

Hi,

you don't mention alsamixer so I suspect the output is muted as it happened recently to another newcomer.

See viewtopic.php?f=6&t=18200
paulo5150
Posts: 2
Joined: Tue Mar 06, 2018 3:40 am

Re: Focusrite Scarlett 8i6 + Ubuntu 17.10 + KXStudio

Post by paulo5150 »

Hi,

Thanks for your answer, I checked it but no success. I found a command to see all 8i6 internal mixer parameters:

#amixer --card 2 contents|more

The results are too long and everything seems to be right.

My last attempt was find an alternative to alsamixer because I thought a little confused, I tried a mixer called "QasMixer" and it's better than alsamixer because the parameters are easier to visualize and are better grouped in the window. I changed some pcm routes and I got it, everything works fine.
User avatar
vitaminx
Established Member
Posts: 50
Joined: Sat Aug 04, 2018 11:07 am
Location: Barcelona, Spain
Contact:

Re: Focusrite Scarlett 8i6 + Ubuntu 17.10 + KXStudio

Post by vitaminx »

You probably need to patch the inputs of the Focusrite Scarlett to the inputs of your recording program.
You can do that easily with "patchage" or "catia" when jack is running.
Have you checked that?
Post Reply