This repository has been archived on 2025-09-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
alsa-scarlett-gui/src/iface-unknown.c
2024-02-20 23:26:10 +10:30

32 lines
949 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// SPDX-FileCopyrightText: 2022-2024 Geoffrey D. Bennett <g@b4.vu>
// SPDX-License-Identifier: GPL-3.0-or-later
#include "gtkhelper.h"
#include "iface-unknown.h"
GtkWidget *create_iface_unknown_main(void) {
GtkWidget *label = gtk_label_new(
"Sorry, I dont recognise the controls on this card.\n\n"
"These Focusrite models should be supported:\n"
" Gen 2: 6i6/18i8/18i20\n"
" Gen 3: Solo/2i2/4i4/8i6/18i8/18i20\n"
" Gen 4: Solo/2i2/4i4\n"
" Clarett USB and Clarett+ 2Pre/4Pre/8Pre\n\n"
"Are you running a recent kernel with Scarlett2 support "
"enabled?\n\n"
"Check dmesg output for “Focusrite ... Mixer Driver”:\n\n"
"dmesg | grep -A 5 -B 5 -i focusrite\n\n"
"For kernels before 6.7 you may need to create a file\n"
"/etc/modprobe.d/scarlett.conf\n"
"with an “options snd_usb_audio ...” line and reboot."
);
gtk_widget_set_margin(label, 30);
return label;
}