04-26-2024, 05:58 PM
(04-26-2024, 09:58 AM)romain Wrote: Hello,
I have moodeaudio ~pre4 installed on my pi 5. Each time I reboot output device reverts to PI HDMI 1 instead of keeping my SMSL SU-9 PRO USB DAC selection.
I used aplay-l to get a list of audio devices. I created a copy of /etc/alsa.conf using nano and used the card number of the device I wanted.
Code:
admin@MoodeBoss:/etc $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Boss2 [Allo Boss2], device 0: fe203000.i2s-allo-cs43130 allo-cs43130-0 [fe203000.i2s-allo-cs43130 allo-cs43130-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
admin@MoodeBoss:/etc $ sudo nano /etc/alsa.conf
defaults.pcm.card [your card number]
defaults.ctl.card [your card number]