geoffreybennett / alsa-scarlett-gui

alsa-scarlett-gui is a Gtk4 GUI for the ALSA controls presented by the Linux kernel Focusrite Scarlett2 Mixer Driver
648 stars 37 forks source link

(GEN 1 DEV BRANCH #33) Can't seem to get an input or an output device. #144

Open MilkMGN opened 1 month ago

MilkMGN commented 1 month ago

alsa-scarlett-gui Issue Template

Thank you for taking the time to contribute to the alsa-scarlett-gui project. Before you submit your issue, please ensure you have checked the FAQ and provide the necessary information below.

Confirmation

Issue Category

Please select the category that best describes your issue:

Environment Details

Please provide the following details about your environment.

Linux Distribution and Version

(paste output from cat /etc/redhat-release or cat /etc/lsb_release here)

Kernel Version

(paste output from uname -r here)

Kernel Messages

(paste output from dmesg | grep -A 5 -B 5 -i focusrite here) `[ 1.642451] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d8cadf3fd9, max_idle_ns: 881590557866 ns [ 1.642598] clocksource: Switched to clocksource tsc [ 1.649187] usb 3-1: New USB device found, idVendor=1235, idProduct=800c, bcdDevice= 4.4c [ 1.649190] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.649192] usb 3-1: Product: Scarlett 18i20 USB [ 1.649193] usb 3-1: Manufacturer: Focusrite [ 1.652291] sda: sda1 [ 1.682391] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.810363] usb 3-2: new high-speed USB device number 3 using xhci_hcd [ 1.959339] usb 3-2: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3 [ 1.959343] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0

[ 1012.833348] usb 3-1: USB disconnect, device number 2 [ 1017.010914] usb 3-1: new high-speed USB device number 6 using xhci_hcd [ 1017.160953] usb 3-1: New USB device found, idVendor=1235, idProduct=800c, bcdDevice= 4.4c [ 1017.160957] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1017.160958] usb 3-1: Product: Scarlett 18i20 USB [ 1017.160959] usb 3-1: Manufacturer: Focusrite `

Focusrite Interface Series and Model

(maybe shown in kernel messages, or paste output from lsusb -d1235: if unsure)

Audio System

(use ps aux | grep -E "pulseaudio|jackd|pipewire" to check)

Issue Description

Please provide a detailed description of the issue or feature request, including steps to reproduce (if applicable), expected behavior, and actual behavior:

Hello, I have been pulling my hair out for a while now and it's 11:45 PM and I don't want to suffer.

I think i may need to upgrade my kernel?? I know its probably not related to this app and more an ALSA issue, but i can't seem to get an input device or an output device in the Ubuntu settings app. On top of this, running pacmd list-cards pacmd list-sinks & pacmd list-sources does not show my interface, either. It does show fine when running alsamixer.

I beg you for your help, Thanks


Thank you for helping improve alsa-scarlett-gui!

geoffreybennett commented 1 month ago

Hi @MilkMGN,

My first thought is that you should check pavucontrol; make sure that you have a useful profile selected under the configuration tab. If I select "Off" there, I can make my Scarlett disappear from pacmd list-sinks and list-sources, but it still shows in list-cards, so not exactly what you're reporting, but worth checking anyway.

What do aplay -l and arecord -l show? I think something is broken in your ALSA/PulseAudio configuration. If your interface shows in aplay but not pacmd then I'd say it's a PulseAudio problem. What about cat /proc/asound/cards and cat /proc/asound/USB/stream0?

The kernel driver for the 1st Gen Scarletts hasn't changed substantially in years, and that is for the mixer controls, not the audio I/O. alsa-scarlett-gui is an interface to the mixer controls, so another layer removed & not related to your issue.

Better to upgrade your distro if you're going to upgrade anything. I've found PipeWire works way better than PulseAudio.

Regards, Geoffrey.

MilkMGN commented 1 month ago

Hey, I updated to 24.04.1 yesterday. This seems to work now, however Ubuntu thinks that the sound card is a 18ch speaker system. I'll have to try PipeWire. Thanks!

geoffreybennett commented 1 month ago

That's great to hear! Yeah, Linux defaults to treating big devices as surround sound. Even for inputs! No, I don't have an 18-input surround sound recording setup :facepalm:. After you install PipeWire, load up pavucontrol and select the Pro Audio profile on the Configuration tab. That'll be a good start.