Closed lm41 closed 3 years ago
Only merge if this work on Ubuntu. (Tested on Manjaro)
For completeness sake: someone reported (on Discord) the GoXLR is not found anymore when removing the ,0
on Manjaro.
We should investigate further before merging this.
I will set up a couple of VM's with different distributions so I can easily test against the different distro's.
If we have one extra case of Manjaro working fine, it is probably something specific with his setup and we can merge this, but for now I'd put this on hold until we know more.
If we have one extra case of Manjaro working fine, it is probably something specific with his setup and we can merge this, but for now I'd put this on hold until we know more.
As I said, on my Manjaro machine it works fine.
If it seems to work on some distros and not others, perhaps there could be extra versions of configure_goxlr.sh
and configure_goxlr_mini.sh
that don't include the zero. Then during install it could run the appropriate configure script, pause and ask the user for a Y/N if there is errors, and if so to run the following jack_control stop
, jack_control exit
, pulseaudio --kill
then the other version, which ever works is the one entered in .profile.
The downside obviously being every change will need to be made in 4 files now, instead of 2 but opens it up to more people.
[...], which ever works is the one entered in .profile.
The downside obviously being every change will need to be made in 4 files now, instead of 2 but opens it up to more people.
We are trying to get this work with systemd. So there are 4 more files. But I think that this check would be a good idea. What do you think @T-Grave ?
Thought about this some more and remembered the install script reboots at the end, I wasn't sure what this was for since JACK2 and PulseAudio both start automatically when installed and any config changes can be applied by simply pulseaudio --kill
which made me question why it rebooted in the first place. In any case the above idea won't work if the install script reboots, or at best it needs to run pulseaudio --kill
first which makes the reboot unneeded. I opened #20 to note this and so people can test on other distros.
Having 4 different files seems like a headache, I think it makes more sense to have only 1 file and dynamically get the identifiers. Everything we cannot determine dynamically goes into a config file instead and we read from there.
Up until now we only have one instance of someone having an issue without the 0, maybe we should just merge this see if more people have issues and try and determine why that is the case when it pops up :) We can always post "add ,0" as a temp workaround for the rare cases where it's an issue
Closes #15
I was also the only person with the issue having the 0 though so it seems like a rare issue either way. Hard to see which way is less rare to be the default then can config the option for the other, you know? Will leave it up to you guys on which one you want default, on the config I'm working on I've already included a toggle to fix the issue anywho, will work in either direction.
Deleted the ", 0" after "hw:GoXLR"