Moode Forum
[PROBLEM] DT Overlay `rpi-cirrus-wm5102' renamed `cirrus-wm5102' - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [PROBLEM] DT Overlay `rpi-cirrus-wm5102' renamed `cirrus-wm5102' (/showthread.php?tid=5437)



DT Overlay `rpi-cirrus-wm5102' renamed `cirrus-wm5102' - Drewt - 03-17-2023

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


RE: DT Overlay `rpi-cirrus-wm5102' renamed `cirrus-wm5102' - Tim Curtis - 03-17-2023

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



RE: DT Overlay `rpi-cirrus-wm5102' renamed `cirrus-wm5102' - Nutul - 03-17-2023

(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...


RE: DT Overlay `rpi-cirrus-wm5102' renamed `cirrus-wm5102' - Tim Curtis - 03-17-2023

(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.


RE: DT Overlay `rpi-cirrus-wm5102' renamed `cirrus-wm5102' - Drewt - 03-17-2023

(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