x42 / scarlett-mixer

Quickly hacked scarlett-mixer GUI for Linux/ALSA
GNU General Public License v2.0
122 stars 23 forks source link

Installation problem #13

Open aloey opened 6 years ago

aloey commented 6 years ago

I have followed the bash commands in the README. However, when I do ./scarlett-mixer hw:2 I will only see:

Device `hw:2' is not supported
Error: GUI was not initialized.
bye.

I am trying to use my Scarlett 18i8 and I am using 18.04 ubuntu.

x42 commented 6 years ago

Is this an older, 1st generation, Scarlett device that is supported by Linux? The linux driver does not support the mixer of newer Scarlett devices yet.

Devicehw:2' is not supported` either means that "hw:2" (3rd hardware soundcard, start counting at 0) is not a Scarlett device or an unsupported device

You could try

./scarlett-mixer --print-controls hw:2

That will print the soundcard's name, or simply list all devices with aplay -l or cat /proc/asound/cards

does amixer -D hw:2

aloey commented 6 years ago

@x42 I am a first timer on Linux. So I am very confused with all this.

To answer your questions, This is Focusrite Scarlett 18i8. It is also gen 1.

./scarlett-mixer --print-controls hw:2 will still result in "No such file or directory"

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  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

cat /proc/asound/cards

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdf340000 irq 132
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xdf080000 irq 17
 2 [USB            ]: USB-Audio - Scarlett 18i8 USB
                      Focusrite Scarlett 18i8 USB at usb-0000:00:14.0-1, high speed

I am not sure what you mean by "does amixer -D hw:2" I typed that in my terminal but I just got a really big chunks of text.