Okay, sorry. Found the tar.xgz-File. Still fails with Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. your card at hw:USB (or its driver) is not configured in the expected manner: could not find control matching string 'Scarlett 6i6 USB-Sync' Anyway, I guess, you expected this. Anyway, thanks for your effort so far. Let me know if I can do anything.
Thanks a lot @ascorbicorpheus! I wanted to download it, seems there is only a quicktime source file or something when I hit "Download". Is it supposed to be like that?
Your alsa driver/hardware revision seems to be implemented considerably differently from mine. I don't see any explicit output switches. I believe they might be attached to the output volume controls; I will look into this when I have time to do so.
Fixed 2/25/21, for my hardware revision. I will work on a fix that will be compatible with your amixer output, which is rather different from mine.
Fixed 2/25/21. Let me know if the new version doesn't work for you. 1.2.4 seems to assign numid's somewhat non-deterministically. The code has been adapted to reflect that situation.
update for alsa 1.2.4
It will be a bit of a rewrite but I believe that I will have time to implement that solution this week. That would be awesome. I really would like to have a usefull interface for my focusrite. =)
I am also using alsa 1.2.4 and our numid scheme is totally different. I have never seen this happen before. It might be that you are simply using a newer hardware revision and the driver is assigning the controls to different ID's based on that. At this point, I think the best way to solve this is to poll alsa for the numid's instead of hard-coding them into the software. It will be a bit of a rewrite but I believe that I will have time to implement that solution this week.
qsismixer can't find focusrite, although alsamixer finds controls #1
update all changes from past few years to sourceforge's git repo
Thanks for the heads up, I failed to come across that one in my search. I'll certainly check with that thread to see if there is anything I can do to help this along.
Thre seems to be some new driver development here: https://linuxmusicians.com/viewtopic.php?f=6&t=18862 Maybe you can pariticipate in testing with 6i6 as well..
6i6 support was added in 2014 and there been only some minor updates to it since then. Scarlett 2nd gen seems to have been introduced only in 2016 so I guess someone would need to add support for them. Perhaps you could ask the original mixer driver author "arges"? His email from 2014 can also been seen in the description of the original commit. The code checking the usb ids is here - based on above the 1st gen 6i6 is listed as 1235:8012.
Could it be that the 2nd generation 6i6 isn't supported by the Linux USB sound/usb/mixer_scarlett.c kernel driver? I've got a similar problem with a 2nd generation scarlett 6i6. The USB ID is 1235:8203. This appears to be the same ID of the device in the first post.
No control over interface ALSA 4.18
Fixed
It's the new ALSA, they've broken this program with their updates before; they broke it the same way this time. If there are no hidden side effects, I should have a fix pushed shortly.
No control over interface ALSA 4.18
I had to change the name of the device in the source from ""Scarlett 6i6 USB-Sync" to "Scarlett 6i6 USB-Sync Clock Source". Then everything works perfectly for me. The version of ALSA lib on my system (Manjaro) is 1.1.5 and the kernel is 4.14.29-1-rt25-MAJARO. $ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version k4.14.29-1-rt25-MANJARO. $ cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf2610000 irq 31 1 [USB ]: USB-Audio - Scarlett 6i6 USB Focusrite...
*2nth gen 6i6 (prod. 201704) Kernel 4.8.0-53-generic ~ $ amixer -Dhw:USB controls numid=5,iface=MIXER,name='Clock Source' numid=3,iface=MIXER,name='Internal Validity' numid=4,iface=MIXER,name='S/PDIF Validity' numid=2,iface=PCM,name='Capture Channel Map' numid=1,iface=PCM,name='Playback Channel Map' ~ $ aplay --version aplay: version 1.1.0 by Jaroslav Kysela <perex@perex.cz> ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog] Subdevices:...
This is a bug in alsa, not a bug in qsismix. The controls that qsismix uses to interact with the 6i6 hardware should be listed under amixer controls, but for some unknown reason are not available under some system configurations. A possible work-around is to disable pulseaudio when you want to use alsa's mixer controls, although I am not sure that pulseaudio is always the culprit and pulse runs along with alsa on my system without issue.
*2nth gen 6i6 (prod. 201704) ~ $ amixer -Dhw:USB controls numid=5,iface=MIXER,name='Clock Source' numid=3,iface=MIXER,name='Internal Validity' numid=4,iface=MIXER,name='S/PDIF Validity' numid=2,iface=PCM,name='Capture Channel Map' numid=1,iface=PCM,name='Playback Channel Map' ~ $ aplay --version aplay: version 1.1.0 by Jaroslav Kysela <perex@perex.cz> ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice...
*2nth gen 6i6 (201704) ~ $ amixer -Dhw:USB controls numid=5,iface=MIXER,name='Clock Source' numid=3,iface=MIXER,name='Internal Validity' numid=4,iface=MIXER,name='S/PDIF Validity' numid=2,iface=PCM,name='Capture Channel Map' numid=1,iface=PCM,name='Playback Channel Map' ~ $ aplay --version aplay: version 1.1.0 by Jaroslav Kysela <perex@perex.cz> ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice...
~ $ amixer -Dhw:USB controls numid=5,iface=MIXER,name='Clock Source' numid=3,iface=MIXER,name='Internal Validity' numid=4,iface=MIXER,name='S/PDIF Validity' numid=2,iface=PCM,name='Capture Channel Map' numid=1,iface=PCM,name='Playback Channel Map' ~ $ aplay --version aplay: version 1.1.0 by Jaroslav Kysela <perex@perex.cz> ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB...
Actually, this looks like another iteration of a bug where in some versions of alsa, an 'Internal Validity' control is present and in other versions, it isn't. Can you let me know the output of the following? $ amixer -Dhw:USB controls $ aplay --version $ aplay -l The way I had fixed it was to define alsa <1.1.1 as 'no internal validity', and alsa >= 1.1.2 as 'internal validity'. Maybe alsa 1.1.1 is the only one without internal validity?
Actually, this looks like another iteration of a bug where in some versions of alsa, an 'Internal Validity' control is present and in other versions, it isn't. Can you let me know the output of the following? $ amixer -Dhw:USB controls $ aplay --version $ aplay -l The way I had fixed it was to define alsa <1.1.1 as 'no internal validity', and alsa >= 1.1.2 as 'internal validity'. Maybe alsa 1.1.1 is the only one without internal validity?
couple minor bug fixes
got string 'Clock Source'
I do not believe that this is a problem with qsismix. It is a problem with alsa. You should be able to access mixer controls by running alsamixer -Dhw:USB If the native alsa tool doesn't work, neither can qsismix. However: I have seen a similar issue before that seems to affect USB soundcards, where alsa controls are unavailable when pulseaudio is running. Try disabling pulseaudio as a possible work-around fix, depending on your system configuration. If you can see the controls on alsamixer but qsismix...
So alsa isn't properly loading the controls for your 6i6. Strange, as I recall alsa 1.1.0 working with my 6i6. You all might have a new hardware revision that isn't properly recognized by the software driver? I would be interested to hear back if anyone updates alsa to a newer version and gets the card working that way. I also recall someone reporting a problem where the alsa controls didn't work right when pulseaudio was running. They could load qsismix just fine when pulse wasn't activated, but...
alsamixer -Dhw:USB let's me toggle between Clock source S/PDIFand Clock source Internal There are no controls for recording.
Those of you who have the 'Clock Source' bug, if you run alsamixer -Dhw:USB do you get the full set of mixer controls? If not, then this is really a bug where alsa isn't properly recognizing your 6i6, not a bug with my program. I use the same interface that the alsamixer program does to interface with the sound card, I just use a different way to access the elements because I know what to expect from the sound card and can generate the mixer GUI statically instead of dynamically.
I am honestly at a total loss here... there is a bug where the program doesn't care what driver you ask it to use and just uses hw:USB, which I will fix presently, but for you all that actually doesn't make a difference. Your drivers are under the default name. So it looks like the problem is that alsa's "mixer controls" interface, which I used to interact with the sound card on every functional level of the program, seems to be totally absent for you guys. Instead of the 150+ mixer controls, you...
Op 01-12-17 om 18:15 schreef torsten [Masked]: So have you tried: 'qsismix -Dhw:USB1'? $ qsismix -Dhw:USB0 your card at hw:USB (or its driver) is not configured in the expected manner: looking for string 'Scarlett 6i6 USB-Sync'', got string 'Clock Source' kUsbSync = 3 compiled against alsa version : 1.1.0 running with alsa version : 1.1.0 If these versions do not match, try recompiling qsismix against the libasound2-dev headers matching the alsa version currently running on your system $ qsismix...
So have you tried: 'qsismix -Dhw:USB1'?
I have a slightly different output related to the audio interface. HTH $ aplay -l * Lijst van PLAYBACK hardware-apparaten * kaart 0: PCH [HDA Intel PCH], apparaat 0: ALC3202 Analog [ALC3202 Analog] Sub-apparaten: 1/1 Sub-apparaat #0: subdevice #0 kaart 0: PCH [HDA Intel PCH], apparaat 3: HDMI 0 [HDMI 0] Sub-apparaten: 1/1 Sub-apparaat #0: subdevice #0 kaart 0: PCH [HDA Intel PCH], apparaat 7: HDMI 1 [HDMI 1] Sub-apparaten: 1/1 Sub-apparaat #0: subdevice #0 kaart 0: PCH [HDA Intel PCH], apparaat 8:...
Hello Frederick, i have the same problem: your card at hw:USB (or its driver) is not configured in the expected manner: looking for string 'Scarlett 6i6 USB-Sync'', got string 'Clock Source' kUsbSync = 3 compiled against alsa version : 1.1.0 running with alsa version : 1.1.0 If these versions do not match, try recompiling qsismix against the libasound2-dev headers matching the alsa version currently running on your system aplay -l brings: **** Liste der Hardware-Geräte (PLAYBACK) **** Karte 0: PCH...
Without sudo apt-get install libasound2-dev I got the compile "fatal error: alsa/asoundlib.h: No such file or directory" from include/mainWindow.h:8.0 With libasound2-dev available I just got these two warnings during build: scr/mixsis.cpp: In constructor 'MixSis::MixSis(MixSisCtrl*, const char*, QObject*)': scr/mixsis.cpp:48:45: warning: ignoring return value of 'size_t fread(void* size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buffer,1,15,grabber.get());...
Without sudo apt-get install libasound2-dev I got the compile "fatal error: alsa/asoundlib.h: No such file or directory" from include/mainWindow.h:8.0 With libasound2-dev available I just got these two warnings during build: scr/mixsis.cpp: In constructor 'MixSis::MixSis(MixSisCtrl*, const char*, QObject*)': scr/mixsis.cpp:48:45: warning: ignoring return value of 'size_t fread(void* size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buffer,1,15,grabber.get());...
Without sudo apt-get install libasound2-dev I got the compile "fatal error: alsa/asoundlib.h: No such file or directory" from include/mainWindow.h:8.0 With libasound2-dev available I just got these two warnings during build: scr/mixsis.cpp: In constructor 'MixSis::MixSis(MixSisCtrl*, const char*, QObject*)': scr/mixsis.cpp:48:45: warning: ignoring return value of 'size_t fread(void* size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buffer,1,15,grabber.get());...
Without sudo apt-get install libasound2-dev I got the compile "fatal error: alsa/asoundlib.h: No such file or directory" from include/mainWindow.h:8.0 With libasound2-dev available I just got these two warnings during build: scr/mixsis.cpp: In constructor 'MixSis::MixSis(MixSisCtrl*, const char*, QObject*)': scr/mixsis.cpp:48:45: warning: ignoring return value of 'size_t fread(void* size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buffer,1,15,grabber.get());...
Without sudo apt-get install libasound2-dev I got the compile "*fatal error: alsa/asoundlib.h: No such file or directory" * from include/mainWindow.h:8.0 With libasound2-dev available I just got these two warnings during build: scr/mixsis.cpp: In constructor 'MixSis::MixSis(MixSisCtrl*, const char*, QObject*)': scr/mixsis.cpp:48:45: warning: ignoring return value of 'size_t fread(void* size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buffer,1,15,grabber.get());...
Do you have multiple USB sound cards? It is possible that another sound card is using hw:USB, even a sound card attached to your laptop or a monitor might use the USB bus. When I call amixer -Dhw:USB controls, I get a list of about 200 alsa controls for the 6i6. What do you get as output for aplay -l? If you call aplay -l, you should get output that looks like Card n: ??? [Scarlett 6i6 USB]… If ??? is different than USB, try running qsismix -Dhw:??? and see if that works. For example, if you get...
Do you have multiple USB sound cards? It is possible that another sound card is using hw:USB, even a sound card attached to your laptop or a monitor might use the USB bus. When I call amixer -Dhw:USB controls, I get a list of about 200 alsa controls for the 6i6. What do you get as output for aplay -l? If you call aplay -l, you should get output that looks like Card n: ??? [Scarlett 6i6 USB]... If ??? is different than USB, try running qsismix -Dhw:??? and see if that works.
Do you have multiple USB sound cards? It is possible that another sound card is using hw:USB, even a sound card attached to your laptop or a monitor might use the USB bus. When I call amixer -Dhw:USB controls, I get a list of about 200 alsa controls for the 6i6. What do you get as output for aplay -l? If you call aplay -l, you should get output that looks like Card n: ??? [Scarlett 6i6 USB]... If ??? is different than USB, try running qsismix -Dhw:??? and see if that works.
$ cat /usr/include/alsa/version.h / * version.h / define SND_LIB_MAJOR 1 /*< major number of library version / define SND_LIB_MINOR 1 /*< minor number of library version / define SND_LIB_SUBMINOR 0 /*< subminor number of library version / define SND_LIB_EXTRAVER 1000000 /**< extra version number, used mainly for betas / / library version / define SND_LIB_VERSION ((SND_LIB_MAJOR<<16)|\ (SND_LIB_MINOR<<8)|\ SND_LIB_SUBMINOR) /* library version (string) / define SND_LIB_VERSION_STR "1.1.0" $ aplay --version...
Tried the new version of te repo and rebuilt the application. Running it still reveal: $ /usr/local/bin/qsismix your card at hw:USB (or its driver) is not configured in the expected manner: looking for string 'Scarlett 6i6 USB-Sync'', got string 'Clock Source' kUsbSync = 3 compiled against alsa version : 1.1.0 running with alsa version : 1.1.0 If these versions do not match, try recompiling qsismix against the libasound2-dev headers matching the alsa version currently running on your system Op 30-10-17...
You may be right about the libasound2-dev/alsa conflict. Since then I've reinstalled Ubuntu (on 17.10 now) and the new version of qsismixer works perfectly. Qt5 aplay: version 1.1.3 Ubuntu 17.10 Thanks very much for the software. If there's anymore information I can give that would still be useful, let me know.
various updates, new cfg code, etc
I have pushed a new version of the software that incorporates a self-diagnostic of the basic issue related to this problem. I am not yet sure, however, whether I have coded for all variations of the alsa driver for the 6i6 card. jack theedom: I would not be surprised if you are building against a different version of libasound2-dev compared to the version of alsa that is running on your system. The self-diagnostic should be able to tell you how to fix the issue in your case. I could possibly just...
I have pushed a new version of the software that incorporates a self-diagnostic of the basic issue related to this problem. I am not yet sure, however, whether I have coded for all variations of the alsa driver for the 6i6 card. jack theedom: I would not be surprised if you are building against a different version of libasound2-dev compared to the version of alsa that is running on your system. The self-diagnostic should be able to tell you how to fix the issue in your case. I could possibly just...
I have pushed a new version of the software that incorporates a self-diagnostic of the basic issue related to this problem. I am not yet sure, however, whether I have coded for all variations of the alsa driver for the 6i6 card. jack theedom: I would not be surprised if you are building against a different version of libasound2-dev compared to the version of alsa that is running on your system. The self-diagnostic should be able to tell you how to fix the issue in your case.
Hi all, sorry this ticket went unnoticed for so long. I had forgotten to update my email address on sourceforge. The data I need in order to fix this bug is the output of the following: cat /usr/include/alsa/version.h aplay --version amixer -Dhw:USB controls Note that 200+ lines of output are expected and that if the version indicated by alsa/version.h does not match the version indicated by aplay --version then the fix may simply be for you to build the progam against libasound2-dev headers that...
Hi all, sorry this ticket went unnoticed for so long. I had forgotten to update my email address on sourceforge. The data I need in order to fix this bug is the output of the following: cat /usr/include/alsa/version.h aplay --version amixer -Dhw:USB controls Note that 200+ lines of output are expected and that if the version indicated by version.h does not match aplay --version then the fix may simply be for you to build the progam against alsa headers that match the version of that api which your...
Hi all, sorry this ticket went unnoticed for so long. I had forgotten to update my email address on sourceforge. The data I need in order to fix this bug is the output of the following: cat /usr/include/alsa/version.h aplay --version amixer -Dhw:USB controls Note that 200+ lines of output are expected and that if the version indicated by version.h does not match aplay --version then the fix is simply for you to build the progam against alsa headers that match the version of that api which your system...
Compiled against libasound2 1.1.0
Compiled against libasound2 1.10
$ cat /proc/asound/devices 1: : sequencer 2: [ 0] : control 3: [ 0- 0]: digital audio playback 4: [ 0- 0]: digital audio capture 5: [ 0- 3]: digital audio playback 6: [ 0- 7]: digital audio playback 7: [ 0- 8]: digital audio playback 8: [ 0- 0]: hardware dependent 9: [ 0- 3]: hardware dependent 10: [ 1] : control 11: [ 1- 0]: digital audio playback 12: [ 1- 0]: digital audio capture 13: [ 1- 0]: raw midi 14: [ 2] : control 15: [ 2- 0]: raw midi 16: [ 3] : control 17: [ 3- 0]: raw midi 33: : time...
$ cat /proc/asound/card1/usbmixer USB Mixer: usb_id=0x12358203, ctrlif=0, ctlerr=0 Card: Focusrite Scarlett 6i6 USB at usb-0000:00:1d.0-1.8.1, high speed USB Mixer: usb_id=0x12358203, ctrlif=0, ctlerr=0 Card: Focusrite Scarlett 6i6 USB at usb-0000:00:1d.0-1.8.1, high speed Unit: 40 Control: name="Clock Source", index=0 Info: id=40, control=1, cmask=0x0, channels=1, type="U8" Volume: min=1, max=2, dBmin=0, dBmax=0
/proc/asound/card1/usbmixer show less over here USB Mixer: usb_id=0x12358203, ctrlif=0, ctlerr=0 Card: Focusrite Scarlett 6i6 USB at usb-0000:00:1d.0-1.8.1, high speed USB Mixer: usb_id=0x12358203, ctrlif=0, ctlerr=0 Card: Focusrite Scarlett 6i6 USB at usb-0000:00:1d.0-1.8.1, high speed Unit: 40 Control: name="Clock Source", index=0 Info: id=40, control=1, cmask=0x0, channels=1, type="U8" Volume: min=1, max=2, dBmin=0, dBmax=0
/proc/asound/card1/usbmixer show less over here USB Mixer: usb_id=0x12358203, ctrlif=0, ctlerr=0 Card: Focusrite Scarlett 6i6 USB at usb-0000:00:1d.0-1.8.1, high speed USB Mixer: usb_id=0x12358203, ctrlif=0, ctlerr=0 Card: Focusrite Scarlett 6i6 USB at usb-0000:00:1d.0-1.8.1, high speed Unit: 40 Control: name="Clock Source", index=0 Info: id=40, control=1, cmask=0x0, channels=1, type="U8" Volume: min=1, max=2, dBmin=0, dBmax=0
Similar fault here. your card at hw:USB does not appear to be a Scarlett 6i6. looking for string 'Scarlett 6i6 USB-Sync'', got string 'Internal Validity' Here's an extract from /proc/asound/card1/usbmixer: Unit: 40 Control: name="Sample Clock Source", index=0 Unit: 40 Control: name="Scarlett 6i6 USB-Sync", index=0 Info: id=40, control=1, cmask=0x0, channels=1, type="U8" Volume: min=1, max=2, dBmin=0, dBmax=0 Unit: 41 Control: name="Internal Validity", index=0 Info: id=41, control=2, cmask=0x0, channels=1,...