How to force hdmi output?


I am testing a HDMI to audio converter, but it is not working as Raspberry does not “sense” a TV. I have also put “output=hdmi” in the settings.ini, but it doesn’t work.

Is there a way to force the HDMI audio output?

Those convertors generally don’t work when it comes to being automatically detected. Post your musicbox_startup log.

Here it is:

Initializing MusicBox...
Setting sound configuration...
Probing sound devices:
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
* Found internal device: card0
* Found internal device: card0
Selected card=0  (i2s=  output=hdmi  usb=  intc=0)
Using audio card0 (hdmi)
MusicBox name is MusicBox
ifup: interface wlan0 already configured
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit

Listening on LPF/eth0/b8:27:eb:47:06:37
Sending on   LPF/eth0/b8:27:eb:47:06:37
Sending on   Socket/fallback
Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd.
Starting Dropbear SSH server: dropbear.
Starting daemon monitor: monit.
My IP address is
Connect to me in your browser at http://MusicBox.local or

So, should I not consider these HDMI audio adapters?

They’re fine if that’s what you must use. Just remember they are a bit of a hack. Hdmi is supposed to report the formats it can support but these things get that wrong so sometimes don’t work very well. I need to check the code again but from the log it seems like it’s getting the hdmi selection correct. Is this adapter of yours known to work?

I don’t know. I have just bought it and never tested. I suspect it was too cheap.

I will try an external USB audio card. Maybe more reliable. What is your experience about the best audio output?

Thank you! I will stay with the internal audio.