-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
18i8 Scarlett - This card can't output sound. But, the proprietary options apears and works for Alsamixer #3
Comments
@HinTak Please, ask me the information you may need to debug it. I would be glad if it's work. I'm already happy to get all the proprietary options working without Windows ! |
Fine, I just deleted my /var/lib/alsa/asound.state and it works after reboot ! |
Everything is fine, the driver seems flawless ! |
Was there any messages in dmesg or /var/log/kern.log or /var/log/* ? (Don't know what pop-os distro is). On hindsight it is probably obvious that alsa got confused by left over states from the non-patched driver. Would be nice to get the new driver code to drop / auto-correct any wrong and left over settings though; if it is possible. @mikefaille if you have the patience, or the next time you upgrade, etc, dump the listing of amixer settings with "amixer contents -c N" and "amuser scontents -c N" where N is your scarlett device number. |
Before and after breakage... |
@HinTak I would help as much you need me ! I will do that tomorrow. You just need to ask and I cooperate. I want this driver on the mainline kernel. |
I got the same problem again ! Also, I just realize the issue occur when I use the option Here, there is a video proving everything is fine on my side. Because you may not understand my english, I would describe how I make sure everything is ok on my side. First, I realize the sound wasn't working as usual using alsa + jack + my external synth. (after I turn on and off the configuration During this video demonstration, here is my alsa config : Finally, I think it's important to mention that I did use the option As last note, when I use the switch |
Now, I would try to |
To permit the upload, I added the .log to my |
Oh ! if I factory reset the sound card from Windows, when I connect the card to linux, it reload my configuration as my |
Ok, I found how to fix this issue. The minimal sequence :
Here is the alsa state when I can get my direct connection of my microphone |
I also reproduce the bug for the 3rd time. Here is the minimal sequence :
Here is my alsa state right after this sequence (after configuring my microphone |
😱 I just discovered that my sound outputs (1 & 2) work because : my sound is on mute according alsamixer!!! Here, it's the last version of my working setup. |
@mikefaille does Cc @sadko4u you probably have a better idea of what to do? |
The Speaker switching works in interesting way for Scarlett devices. The mixer implementation from my version of driver automatically restores the state of device from so-called 'Software configuration area' stored inside of the Scarlett device. So actually you are not required to store the ALSA configuration for your device at all since the device stores it inside. And I think sometimes it may yield to unexpected behaviour due to the conflict of 'internal' state of the device and saved ALSA configuration of the mixer. The main problem is that configuration for 18i20 device and 18i8 device is a bit different respective to internal mixer/router and input/output port mapping. That's why I'm currently crowdfunding money for purchasing the 18i8 device. In some cases the mixer/router seems to be working improperly. |
As a note, the parameter |
If you need pcap, please poke me. |
There's nothing to look in the dmesg. For the detailed information there's a debug version of the driver with debug output inserted into code: |
@sadko4u I will install this one for tomorrow. |
I haven't looked yet, but it is customary to do just include debug statements either at compile time (with preprocessor macro |
@mikefaille @sadko4u I have managed to move this issue to the split out scarlett sound-usb kernel-module repo (you should get notification of this message from the new location); and I have merged all the debug code into here too - found one bug with the debug version of the driver ( sadko4u/focusrite-scarlett-backports#8 ) To enable debugging, insert a single line "#define DEBUG 1" at the top of @sadko4u having looked at the debug code, yes, I think they should be removed completely before submitting upstream. Also, many of the statements are simply about reaching specific routines or specific points in the code, and can be replace by the generic |
I have updated the 'v5.12-sound-master' branch as the default, which also contains two post-submission fixes (one for 18i8 gen 3). People should use that branch now. It sounds like the code submitted upstream + the recent fixes should address this? Anyway, the sound master branch is tracking what is in the sound maintainer's tree, and probably should be used until / unless there is any substantial further work to be included. |
I'm not sure if there is anything to fix. When you turn Speaker Switching Off, the global mute is activated (this is normal behaviour as per the Focusrite manual) and you need to deactivate the mute using alsamixer/qasmixer or using the mute button on the interface (18i20 only). It is very confusing for the 18i8 because there is no physical mute button/indicator. @mikefaille The screenshot from your video shows the global mute on (4th column, 5th item). If you switch the mute off then sound should work again. Can you confirm that this works with the latest driver? |
The ".pad_input_count = 4" (from 2) post-submission change is specifically said to affect 18i8 - what is the effect of not having it? |
I see Takashi had commented on the index.id issue, and upstream had a little correction on it. Anyway, unless we have big upcoming changes we should try to use backported upstream and hopefully see / fix any further issues. |
Not having it means that the third and fourth pad controls are missing. |
I don't know what the "index.id issue" is, and I can't find a message from Takashi about it. Can you clarify? |
Sorry I meant https://mailman.alsa-project.org/pipermail/alsa-devel/2021-June/186606.html , which was partly added afterwards in 8120b7e |
Please feel free to continue the exchange, but I am closing this issue now, as the original problem seems to have gone. |
Oh, right. Yes, that was in the set of patches I already submitted upstream: |
The sound/usb part of 5.14-rc1 continues to only need a one line change (3c0afbc) to be built against 5.12, so hopefully we should get more widespread testing of the new code . |
I'm able to install the driver without issue.
I use the branch
v5.11-scarlett-gen3
and I configure the module with those options :Without this driver, it works perfectly after configuring the sound card using Windows 10 + VMWARE then after using the device under Linux.
With the patched module, I also tried to configure the sound card under windows with a basic configuration under Linux using Jack and it doesn't work.
My kernel version :
Linux pop-os 5.11.0-7614-generic #15~1618626693~21.04~ecb25cd-Ubuntu SMP Thu Apr 22 15:59:53 UTC x86_64 x86_64 x86_64 GNU/Linux
The git hash used for this module : b802378
Branch : v5.11-scarlett-gen3
Here is my alsa config if it could be usefull :
Here is my Jack configuration :

The text was updated successfully, but these errors were encountered: