Failed to attach to default card (Headphone audio problem on retropie)
September 18, 2024, 19:55
qualco
Hey Guys,
I just build a arcade bartop but I came across a issue that includes the audio.
The HDMI Audio worked fine but its understandable, that I didnt want the very low volume from the monitor i'm using in my build.
For this problem I bought a speaker with a AUX (Headphone Jack 3.5mm connection), which will not work. I set the setting to use Headphone on Raspi-config and Audio settings. I also set the following commands in the config.txt file:
(This line should already be in the file, but if it's not then make sure to add it)
dtparam=audio=on
(Pretends no audio formats are supported by HDMI display, forcing all sound out the 3.5mm headphone jack.)
hdmi_ignore_edid_audio=1
As i tried to fix it i came across the error:
VolumeControl::init() - Failed to attach to default card!
AudioManager Error - Unable to open SDL audio: ALSA: Couldn't open audio device: No such file or directory
I'm using the newest retropie version for the Raspberry Pi 4 4GB
I would be very glad if someone could help me, because i've searched the internet for many hours and tried stuff with no success 😦