05-27-2021, 08:20 PM
(This post was last modified: 05-27-2021, 08:28 PM by keldo.
Edit Reason: Typos
)
Thanks Tim, modifying the moodeutl script indeed allows to list and enable the right overlay.
To get a working Cirrus/Wolfson card, there are 2 more steps, which I manually did via SSH :
- adding a "/etc/modprobe.d/cirrus.conf" file (with the right content "softdep arizona-spi pre: arizona-ldo1")
- adding the configuration scripts for the card (http://www.horus.com/~hias/tmp/cirrus/ci...cripts.tgz) somewhere useful - I chosed /usr/local/bin - and running one of them at choice to enable an output.
Then, after a reboot, I could listen to some music. Great ! ... and thanks for the quick reaction.
Now, there are some more steps to go before we can reach a "production grade" support of this audio card :
1) Pack the needed files with the base image of Moode (if the author of the driver - Hias - is OK with that ...) or find a way to automatically download and install them when the rpi-cirrus-wm5102 overlay is selected.
2) Find a nice way to select/enable the different outputs (SPDIF out, Line out, Speakers, Headphones) from the GUI
3) Explain to MPD how to use the different hardware volume controls available in the card
4) Optionnaly, make some useful use of the different inputs available (SPDIF in, Line in, etc.)
5) Adding the card to the DB of know I2S cards in Moode would be nice too.
I'm willing to help for those steps if I can get some initial directions.
Note : I used to be a programmer 25 years ago, but I'm an absolute beginner when it comes to Python.
To get a working Cirrus/Wolfson card, there are 2 more steps, which I manually did via SSH :
- adding a "/etc/modprobe.d/cirrus.conf" file (with the right content "softdep arizona-spi pre: arizona-ldo1")
- adding the configuration scripts for the card (http://www.horus.com/~hias/tmp/cirrus/ci...cripts.tgz) somewhere useful - I chosed /usr/local/bin - and running one of them at choice to enable an output.
Then, after a reboot, I could listen to some music. Great ! ... and thanks for the quick reaction.
Now, there are some more steps to go before we can reach a "production grade" support of this audio card :
1) Pack the needed files with the base image of Moode (if the author of the driver - Hias - is OK with that ...) or find a way to automatically download and install them when the rpi-cirrus-wm5102 overlay is selected.
2) Find a nice way to select/enable the different outputs (SPDIF out, Line out, Speakers, Headphones) from the GUI
3) Explain to MPD how to use the different hardware volume controls available in the card
4) Optionnaly, make some useful use of the different inputs available (SPDIF in, Line in, etc.)
5) Adding the card to the DB of know I2S cards in Moode would be nice too.
I'm willing to help for those steps if I can get some initial directions.
Note : I used to be a programmer 25 years ago, but I'm an absolute beginner when it comes to Python.