Hi ZTube,
On Tue, Mar 29, 2022 at 07:18:11PM +0200, ZTube wrote:
I'm trying to get my Focusrite Scarlett 8i6 to run with alsa, however while the sound output to the device works fine, the input does not and merely delivers a silent stream. Since I can't find any reason for the input stream to be completely silent I suspect this might be a driver bug.
$ arecord -D hw:0,0 -f S32_LE -r 48000 -c 10 | aplay
just results in complete silence
I'd be happy to provide more logs/detail if needed. Any idea what might be going on?
Thanks,
ZTube
[alsa-info.sh] https://paste.debian.net/1236037/
In your also-info.sh output I noticed that you have the PCM 1 input set to "Off", so if your Analogue 1 input is the only one with anything plugged in to it, you will not get any audio.
You can fix this by changing the capture routing using "alsamixer -cUSB". Set PCM 01 to Analogue 1.
Please check out the alsa-scarlett-gui that I recently released which replaces alsamixer functionality for Scarlett Gen 2/3 devices, shows the routing in a visual way, and lets you drag-and-drop connections: https://github.com/geoffreybennett/alsa-scarlett-gui/
Another possible cause for your problem is reported here against pipewire: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1948 but it seems that it could actually be an ALSA bug. See claudiocabral's comment:
I have the same issue on my 18i8. I've manged to reproduce it without using pipewire.
if I try to launch
aplay -D hw:USB -r 48000 -fS32_LE -c 8 /dev/zero
followed by
arecord -D hw:USB -r 48000 -fS32_LE -c20 out.wav
arecord fails with the message
arecord: set_params:1323: Broken configuration for this PCM: no configurations available
If I launch arecord first, both arecord and aplay work as intended.
Besides trying the above, you could also try downgrading your kernel to 5.10 which apparently didn't have this problem.
Regards, Geoffrey.