-
Notifications
You must be signed in to change notification settings - Fork 5
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
Rotary doesn't work with Volumio 2.246 #7
Comments
Is it just the rotary encoder script that doesn't work? |
Yes @nullgat see this volumio/Volumio2#1307 too. I'll check what happened although the script should have handled the new name too. If you have it handy what does |
aplay -l outputs AFAICT the script should still be working. What's the error you get? |
@nullgat could you also provide the output of |
fixed config.txt and got the aplay output to look identical, but still receive this
on a zero w and using amp zero |
Looks like you do not have the package python-alsaaudio installed. |
Solved, I had to manually install some dependencies, python, alsaaudio, and RPI.GPIO. Not sure why these weren't already on my pi, or not being fixed by the install script? |
I guess Volumio just don't have that stuff installed by default to keep it lightweight |
@nullgat the install already takes care of installing those two libraries so I am not really sure what happened with your particular installation. Glad you fixed things in the end. |
@francesco-vannini will ALSA itself already be installed on all systems? Not just the python add on? |
Indeed the problem for this issue was the lack of -y in the install script. We'll fix that |
Modified for silent install by adding -y to apt-get install see #7
Cannot get this to work on Volumio (v. 2.368). Don't want to open a new issue though.. During install I got this error:
After manually installing python-alsaaudio and python.rpi-gpio following error occurs:
|
Volumio seems to have changed something for which the Digital mixer is no longer available
I don't know how to sort this at the moment, let's keep an eye at there next version. @tvoverbeek do you have any ideas? |
aplay and amixer of course reports the same
amixer finally finds the Digital mixer when issuing:
|
Put an issue on volumio github?
…On Mon, Feb 26, 2018 at 11:18 AM, Ciccio ***@***.***> wrote:
Reopened #7 <#7>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADNCuvAJ_0P8p_KcO0_rv7_vNeaCZkyjks5tYpLpgaJpZM4O8PXp>
.
|
Noticed on the Volumio github that the justboom cards are specified as I2S without any mixer definition. Could that have something to do with it? I am no audio expert ... |
@francesco-vannini has that changed from before?
…On 2 Mar 2018 12:49, "Ton van Overbeek" ***@***.***> wrote:
Noticed on the Volumio github that the justboom cards are specified as I2S
without any mixer definition. Could that have something to do with it? I am
no audio expert ...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADNCupGhwkzxraRKs9kfvMoJjMe6pe3Yks5taT_PgaJpZM4O8PXp>
.
|
I think they used to have hardware mixer for the amp/DAC driver.
Same as hifiberry and iqaudio
@tvoverbeek where are you seeing that?
…On 2 Mar 2018 14:01, ***@***.*** wrote:
@francesco-vannini has that changed from before?
On 2 Mar 2018 12:49, "Ton van Overbeek" ***@***.***> wrote:
> Noticed on the Volumio github that the justboom cards are specified as
> I2S without any mixer definition. Could that have something to do with it?
> I am no audio expert ...
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#7 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADNCupGhwkzxraRKs9kfvMoJjMe6pe3Yks5taT_PgaJpZM4O8PXp>
> .
>
|
From https://github.com/volumio/Volumio2/blob/master/app/plugins/system_controller/i2s_dacs/dacs.json the justboom definitions:
justboom-digi has an empty mixer definition. |
Ah yes that's correct, it should do. You can't change volume with the Digi.
It has not got a hardware volume control
On 2 Mar 2018 17:03, "Ton van Overbeek" <[email protected]> wrote:
From https://github.com/volumio/Volumio2/blob/master/app/
plugins/system_controller/i2s_dacs/dacs.json the justboom definitions:
{"id":"justboom-amp","name":"JustBoom Amp
Boards","overlay":"justboom-dac","alsanum":"1","mixer":"Digital","modules":"","script":"","eeprom_name":["JustBoom
DAC HAT","JustBoom DAC HAT v1.1"],"needsreboot":"yes"},
{"id":"justboom-dac","name":"JustBoom DAC
Boards","overlay":"justboom-dac","alsanum":"1","mixer":"Digital","modules":"","script":"","eeprom_name":["JustBoom
DAC HAT","JustBoom DAC HAT v1.1"],"needsreboot":"yes"},
{"id":"justboom-digi","name":"JustBoom Digi
Boards","overlay":"justboom-digi","alsanum":"1","mixer":"","modules":"","script":"","eeprom_name":["JustBoom
Digi HAT","JustBoom Digi HAT v1.1"],"needsreboot":"yes"},
justboom-digi has an empty mixer definition.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADNCuuzRSlJkJT6r53_bV7HKRzQIx8REks5taXtegaJpZM4O8PXp>
.
|
The interesting/annoying bit is that alsamixer shows instead the mixer with the various controls. I really don't understand what happened and how it should be fixed in Volumio. |
What did it show before?
I thought we never had volume control with the Digi?
Or we did but just only in software?
…On 5 Mar 2018 08:42, "Ciccio" ***@***.***> wrote:
The interesting/annoying bit is that alsamixer shows instead the mixer
with the various controls. I really don't understand what happened and how
it should be fixed in Volumio.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADNCuu1_e_k42vMBN2Ha8n24qAwpGNvRks5tbPpfgaJpZM4O8PXp>
.
|
For the Digi is a different story and in fact we have a virtual control for that in the script. @fabbaf is however using a DAC so the "Digital" control should be listed when issuing:
or on the shell
In previous versions of Volumio we had no problems with this. |
Found out what the problem is. Nothing to do with Volumio, but a logic error in jb-rotary.py. If the internal sound card is also present, then justboom is card 1 and the internal one card 0. |
Well spotted @tvoverbeek on both accounts. Something must have changed in Volumio though because as wrong as the code was it used to work before so maybe the onboard audio card maybe used to get disabled and now isn't anymore. Good that getting rid of those bugs will make the code more robust, you are a star ... as usual |
Just submitted PR #10. |
Good day! I have the system RPi Zero + Justboom Amp Zero + Volumio v2.368. Installed the plug-in on the encoder and still it does not work. When the script is manually started, the signal from the encoder goes, but there are no changes in the volumio mixer. When run systemctl status jb-rotary.service Apr 11 03:16:19 luckymen systemd[1]: Started Starts JustBoom Rotary Volume ...l. What could be the problem??? |
https://github.com/francesco-vannini Today, the plugin has been reinstalled, but nothing has changed volumio@luckymen:~$ systemctl -l status jb-rotary.service Apr 12 03:51:23 luckymen systemd[1]: Started Starts JustBoom Rotary Volume Control. |
Looking at jb-rotary.py I think the issue is that volumio recently changed the internal names of the justboom cards.
The text was updated successfully, but these errors were encountered: