Hi,
i connected the speaker which came with the Picade Hat & Parts Kit and after following many instructions and changing my boot config to:
#Enable audio (loads snd_bcm2835)
#dtparam=audio=on
dtoverlay=i2s-mmap
dtoverlay=hifiberry-dac
and my asound.conf to:
pcm.hifiberry {
type softvol
slave.pcm “plughw:0”
control.name “Master”
control.card 0
}
pcm.!default {
type plug
slave.pcm “hifiberry”
}
I could finally get sound from the speaker, and also had my volume control back. My problem now is, that switching between headphones and speaker doesn’t work anymore.
I’m not using the Picade Hat with Retropie, i’m trying to build an mp3 Player. I’m using mpg123 for this.
If i start mpg123, the sound comes trough the speaker, i haven’t found a way to use the headphone connected to Raspberry Pi with mpg123 in this setup (worked before i connected the speaker (switching from sound over hdmi to sound from headphones)).
Testing with omxplayer shows that the headphones work, but here also, i’m not able to switch between the speaker and the headphones automaticly when I plug in the headphones.
I’ve searched long and wide and found no solution to this Problem.
Is this actually possible with this setup? If it is i would really, really appreciate any suggestions on how to accomplish this.
TIA