Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: DT Overlay `rpi-cirrus-wm5102' renamed `cirrus-wm5102'
#1
Hi Tim et al,

My Cirrus Logic card no longer works and is no longer available to select in DT overlays in Moode audio config.
The rpi-ciurrus-wm5102 was renamed to cirrus-wm5102 per /boot/overlays/cirrus-wm5102.dtbo.

Could the renamed overlay be added to the DT overlay list? 
Alternatively, is there a way I can manually configure it without blowing everything up? 

Thx in advance...

Drew
Reply
#2
Looks like the Pi devs renamed a few overlays :-0

Below is from the the /boot/overlays/README file. Also notice that the name rpi-dac has been deprecated and the new name is i2s-dac. 

Code:
Name:   cirrus-wm5102
Info:   Configures the Cirrus Logic Audio Card
Load:   dtoverlay=cirrus-wm5102
Params: <None>

Name:   i2s-dac
Info:   Configures any passive I2S DAC soundcard.
Load:   dtoverlay=i2s-dac
Params: <None>

Name:   rpi-dac
Info:   This overlay has been renaamed to i2s-dac.
Load:   <Deprecated>

I'll add to the TODO list.

In the meantime run the command below to fix the cirrus name so that it appears in the DT overlay list.

Code:
sudo sed -i s/rpi-cirrus/cirrus/ /usr/local/bin/moodeutl
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(03-17-2023, 10:32 AM)Tim Curtis Wrote: Looks like the Pi devs renamed a few overlays :-0

Below is from the the /boot/overlays/README file. Also notice that the name rpi-dac has been deprecated and the new name is i2s-dac. 

Code:
Name:   cirrus-wm5102
Info:   Configures the Cirrus Logic Audio Card
Load:   dtoverlay=cirrus-wm5102
Params: <None>

Name:   i2s-dac
Info:   Configures any passive I2S DAC soundcard.
Load:   dtoverlay=i2s-dac
Params: <None>

Name:   rpi-dac
Info:   This overlay has been renaamed to i2s-dac.
Load:   <Deprecated>

I'll add to the TODO list.

In the meantime run the command below to fix the cirrus name so that it appears in the DT overlay list.

Code:
sudo sed -i s/rpi-cirrus/cirrus/ /usr/local/bin/moodeutl

I think you need to add -i in order to modify the file, otherwise you'll just see the changed stream...
Reply
#4
(03-17-2023, 10:49 AM)Nutul Wrote:
(03-17-2023, 10:32 AM)Tim Curtis Wrote: Looks like the Pi devs renamed a few overlays :-0

Below is from the the /boot/overlays/README file. Also notice that the name rpi-dac has been deprecated and the new name is i2s-dac. 

Code:
Name:   cirrus-wm5102
Info:   Configures the Cirrus Logic Audio Card
Load:   dtoverlay=cirrus-wm5102
Params: <None>

Name:   i2s-dac
Info:   Configures any passive I2S DAC soundcard.
Load:   dtoverlay=i2s-dac
Params: <None>

Name:   rpi-dac
Info:   This overlay has been renaamed to i2s-dac.
Load:   <Deprecated>

I'll add to the TODO list.

In the meantime run the command below to fix the cirrus name so that it appears in the DT overlay list.

Code:
sudo sed -i s/rpi-cirrus/cirrus/ /usr/local/bin/moodeutl

I think you need to add -i in order to modify the file, otherwise you'll just see the changed stream...

Oops.

I updated the posts and added the -i option.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(03-17-2023, 10:32 AM)Tim Curtis Wrote: Looks like the Pi devs renamed a few overlays :-0

Below is from the the /boot/overlays/README file. Also notice that the name rpi-dac has been deprecated and the new name is i2s-dac. 

Code:
Name:   cirrus-wm5102
Info:   Configures the Cirrus Logic Audio Card
Load:   dtoverlay=cirrus-wm5102
Params: <None>

Name:   i2s-dac
Info:   Configures any passive I2S DAC soundcard.
Load:   dtoverlay=i2s-dac
Params: <None>

Name:   rpi-dac
Info:   This overlay has been renaamed to i2s-dac.
Load:   <Deprecated>

I'll add to the TODO list.

In the meantime run the command below to fix the cirrus name so that it appears in the DT overlay list.

Code:
sudo sed -i s/rpi-cirrus/cirrus/ /usr/local/bin/moodeutl

Thanks guys. All working now  Smile
Reply


Forum Jump: