Open F1LT3R opened 5 months ago
I have tried download https://github.com/geoffreybennett/scarlett-gen2/releases/download/v6.8-v1.0/snd-usb-audio-kmod-6.5-v1.0.tar.gz and follow the instructions.
I got the following output:
user@computer:pwd=MyPassword1234
user@computer:~/Desktop/snd-usb-audio-kmod-6.5-v1.0$ KSRCDIR=/lib/modules/$(uname -r)/build
user@computer:~/Desktop/snd-usb-audio-kmod-6.5-v1.0$ make -j4 -C $KSRCDIR M=$(pwd) clean
make: Entering directory '/usr/src/linux-headers-6.5.0-27-generic'
make: Leaving directory '/usr/src/linux-headers-6.5.0-27-generic'
user@computer:~/Desktop/snd-usb-audio-kmod-6.5-v1.0$ make -j4 -C $KSRCDIR M=$(pwd)
make: Entering directory '/usr/src/linux-headers-6.5.0-27-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/misc/ua101.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/usbusx2y.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/device.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/chip.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/comm.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/usX2Yhwdep.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/audio.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/misc/snd-ua101.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/hiface/chip.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/midi.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/usx2yhwdeppcm.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/control.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/midi.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/hiface/pcm.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/control.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/firmware.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/hiface/snd-usb-hiface.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/us122l.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-usx2y.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/bcd2000/bcd2000.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/input.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/pcm.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/bcd2000/snd-bcd2000.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/capture.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-us122l.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/card.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/snd-usb-caiaq.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/clock.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/snd-usb-6fire.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/driver.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/endpoint.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/format.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/helper.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/midi.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/implicit.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/mixer.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/mixer_quirks.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/mixer_scarlett.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/midibuf.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/pcm.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/mixer_scarlett2.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/mixer_us16x08.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/playback.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/pod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/mixer_s1810c.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/podhd.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/toneport.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/pcm.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/variax.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-line6.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/power.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-pod.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-podhd.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-toneport.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-variax.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/proc.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/quirks.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/stream.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/validate.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/midi2.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/media.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/midi.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usb-audio.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usbmidi-lib.o
MODPOST /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/Module.symvers
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usb-audio.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usbmidi-lib.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/misc/snd-ua101.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-usx2y.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-us122l.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/snd-usb-caiaq.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/snd-usb-6fire.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/hiface/snd-usb-hiface.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/bcd2000/snd-bcd2000.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-line6.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-pod.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-podhd.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-toneport.mod.o
CC [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-variax.mod.o
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usb-audio.ko
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usbmidi-lib.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usbmidi-lib.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usbmidi-lib.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/misc/snd-ua101.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/misc/snd-ua101.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/misc/snd-ua101.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-usx2y.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usb-audio.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/snd-usb-audio.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-us122l.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-usx2y.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-usx2y.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/snd-usb-caiaq.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-us122l.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/usx2y/snd-usb-us122l.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/snd-usb-6fire.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/snd-usb-caiaq.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/caiaq/snd-usb-caiaq.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/hiface/snd-usb-hiface.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/snd-usb-6fire.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/6fire/snd-usb-6fire.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/bcd2000/snd-bcd2000.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/hiface/snd-usb-hiface.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/hiface/snd-usb-hiface.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-line6.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/bcd2000/snd-bcd2000.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/bcd2000/snd-bcd2000.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-pod.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-line6.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-line6.ko due to unavailability of vmlinux
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-pod.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-pod.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-podhd.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-podhd.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-podhd.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-variax.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-variax.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-variax.ko due to unavailability of vmlinux
LD [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-toneport.ko
BTF [M] /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-toneport.ko
Skipping BTF generation for /home/user/Desktop/snd-usb-audio-kmod-6.5-v1.0/line6/snd-usb-toneport.ko due to unavailability of vmlinux
make: Leaving directory '/usr/src/linux-headers-6.5.0-27-generic'
user@computer:~/Desktop/snd-usb-audio-kmod-6.5-v1.0$ sudo make -j4 -C $KSRCDIR M=$(pwd) INSTALL_MOD_DIR=updates/snd-usb-audio modules_install
make: Entering directory '/usr/src/linux-headers-6.5.0-27-generic'
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/snd-usb-audio.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/snd-usbmidi-lib.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/misc/snd-ua101.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/usx2y/snd-usb-usx2y.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/snd-usbmidi-lib.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/misc/snd-ua101.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/usx2y/snd-usb-us122l.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/usx2y/snd-usb-usx2y.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/caiaq/snd-usb-caiaq.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/6fire/snd-usb-6fire.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/snd-usb-audio.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/usx2y/snd-usb-us122l.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/hiface/snd-usb-hiface.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/bcd2000/snd-bcd2000.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/caiaq/snd-usb-caiaq.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/6fire/snd-usb-6fire.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-line6.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-pod.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/hiface/snd-usb-hiface.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/bcd2000/snd-bcd2000.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-podhd.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-toneport.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-pod.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-line6.ko
INSTALL /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-variax.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-podhd.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-toneport.ko
SIGN /lib/modules/6.5.0-27-generic/updates/snd-usb-audio/line6/snd-usb-variax.ko
DEPMOD /lib/modules/6.5.0-27-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make: Leaving directory '/usr/src/linux-headers-6.5.0-27-generic'
It's unclear if those System.map
messages are show stoppers or not. (FYI: I'm not a Kernel engineer, or anything close, so I don't even know what that means.)
I rebooted and checked. I can see the card in alsamixer
but not in Ubuntu sound settings.
I updated /etc/asound.conf
to:
defaults.pcm.card 1
defaults.ctl.card 1
(Not sure if this actually made a difference)
Then moved my ~/.config/pulse
directory to ~/config/pulse.old.24-04-14
and rebooted.
Now I see my card again.
My hunch is that a system update switched my default pulse card, and then after some errors disabled it maybe.
Removing the config seemed to work, so I'll close this issue for now.
Actually, it's still not working right.
It stopped working in Ubuntu again.
I really don't know how Ubuntu does sound. I'm not sure if I should be trying to trouble shoot Pulse Audio (Which I think Ubuntu is using for the sound control panel), or if my issue is really with ALSA.
Help?
Hi @F1LT3R,
I'd suggest undoing the change you made to /etc/asound.conf
. It might also help to move aside the .config/pulse
directory again if something went wrong there, but what you really need to get it working is probably to run pavucontrol
, the pulseaudio volume control app. I find the gnome sound settings app doesn't work very well and it often doesn't let you select the sound card or the right configuration.
Also, with your driver install, I think you missed the sudo depmod
step. Note that the driver doesn't have anything to do with playing or recording audio (see https://github.com/geoffreybennett/alsa-scarlett-gui/blob/master/FAQ.md).
Please let me know if this does or doesn't help.
Regards, Geoffrey.
Thanks @geoffreybennett,
It's working again now. It still behaves strangely by becoming unavailable when I select certain options in the Ubuntu sound panel (Jellyfish). When I get a chance I will try and start everything again from scratch and pay more attention. When I got your code working I was just testing it out, not really thinking it would work -and was pleasantly shocked.
Thanks again for making this. What you've done here is absolutely phenomenal!!! (Focusrite should be paying you for this).
Which reminds me, is there any way to donate financially to this project?
I'll close this soon, assuming things are stable this time, but if I figure out something reproducible, do you want me to open a new issue, or reopen this one?
Hi @F1LT3R,
It's working again now. It still behaves strangely by becoming unavailable when I select certain options in the Ubuntu sound panel (Jellyfish).
Yeah, that's exactly what I've found too. Ubuntu 22.04 (Jammy Jellyfish) sound panel is gnome-control-center version 41.7 which is from May/2022. Perhaps they fixed it since then. But either way, pavucontrol works.
Thanks again for making this. What you've done here is absolutely phenomenal!!! (Focusrite should be paying you for this).
Thank you :slightly_smiling_face:. Although they're not paying me to work on it, I did manage to get their attention last year. If you didn't see the news, I shared it here: https://linuxmusicians.com/viewtopic.php?p=160833#p160833
Which reminds me, is there any way to donate financially to this project?
There is; please see https://github.com/geoffreybennett/alsa-scarlett-gui#donations for Liberapay and PayPal links. Donations are very much appreciated and encouraging to me.
I'll close this soon, assuming things are stable this time, but if I figure out something reproducible, do you want me to open a new issue, or reopen this one?
Reopening is good, thanks.
Regards, Geoffrey.
Firstly, it's not clear to me whether this is the right place to report this issue. But it seemed like the alsa-scarlett-gui repo was only for the GUI, so I'm trying this here:
I am no longer able to use my Clarrett+ 8 Pre in Ubuntu. I'm not sure what changed. Perhaps a system update.
I am able to use it with BitWig studio as an output, but not an input. Same for Audacity. But it's not available for Ubuntu to use from the settings control panel. None of the dropdowns here show the device, even though BitWig Studio can see it.
I tried updating
alsa-scarlett-gui
after loosing the device in Ubnutu control panel this morning. It didn't fix my issue, but the new colors look great!Here is my output for
sudo dmesg | grep -i -A 5 -B 5 focusrite