digitalist
Posts: 6
Joined: Wed May 09, 2018 2:21 pm

RasPi0W specific forced hdmi audio output

Fri Jul 13, 2018 1:00 am

I'm a Linux and RasPi newb... and I'm stuck. I have a RasPi0W running a full install of Raspbian (Jessie) with SubSonic installed.

The setup:
RasPi0W -> mini hdmi to composite cable -> PA601 (amp) -> zone selector -> in ceiling speakers

I've got subsonic running in jukebox mode but I still can't see to get audio output of the thing. Also having issues getting fstab to auto mount my network share so I'm stuck reissuing the mount command every time I reboot - but the lack of audio output is the worse of the two issues. It also takes 15-20 minutes for the webserver to come back online after rebooting the device --- is this normal? Is it possible to reduce this wait?

What I've tried:
Uncommented the 'hdmi drive=2' line in the /boot/config.txt' file.
Played with the amixer command a little but got nothing out of it.

I'm having a very hard time finding documentation with regard to forcing the hdmi audio output on a RasPi0W, specifically.

klricks
Posts: 7172
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: RasPi0W specific forced hdmi audio output

Fri Jul 13, 2018 3:25 am

Give a link to the HDMI to composite cable. The cable must be active type with electronic chips and circuits ....... Not the passive type with only mating connectors on the ends....
If the cable does not have a bulky converter box with its own external power supply, (USB or power 'brick') then it is not a suitable cable.

To force HDMI.... In /boot/config.txt remove the # from #hdmi_force_hotplug=1

Code: Select all

hdmi_force_hotplug=1
Make sure HDMI audio is selected..... Right click on speaker icon.
Also set volume..... Left click on speaker icon.

For the booting issue try setting wait for network on boot. Boot menu in sudo raspi-config.

The web server should be active immediately after boot.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

digitalist
Posts: 6
Joined: Wed May 09, 2018 2:21 pm

Re: RasPi0W specific forced hdmi audio output

Fri Jul 13, 2018 2:34 pm

yea currently using this one: http://a.co/1sedRjf

...don't mind spending the extra for a powered one... but I'm out of outlets! Is there one that is known to work that anyone can recommend maybe?

I'll check the other items and get back with feedback this evening. Thanks for the input!

klricks
Posts: 7172
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: RasPi0W specific forced hdmi audio output

Fri Jul 13, 2018 5:15 pm

digitalist wrote:
Fri Jul 13, 2018 2:34 pm
yea currently using this one: http://a.co/1sedRjf

...don't mind spending the extra for a powered one... but I'm out of outlets! Is there one that is known to work that anyone can recommend maybe?

I'll check the other items and get back with feedback this evening. Thanks for the input!
That cable won't work.
You need something like this: https://www.amazon.com/dp/B06W9LQDBB/re ... fc5d574e42
+ an RCA to RCA cable. There may be others with cable included. I have never used the above converter.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

digitalist
Posts: 6
Joined: Wed May 09, 2018 2:21 pm

Re: RasPi0W specific forced hdmi audio output

Sun Jul 15, 2018 10:23 pm

K - so I ran through the config, there's nothing there to fix the issues I'm experiencing with the unc share mapping not auto mapping on boot. The webserver still takes 15 to 20 minutes to come online. I did however succeed in getting audio output from the RasPi0W -- in jukebox mode even - so yay!

Now I just need a suitable zone selector as the one I have appears to be on the fritz. Any recommendations? On any of the points?

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13142
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: RasPi0W specific forced hdmi audio output

Sun Jul 15, 2018 10:32 pm

digitalist wrote:
Fri Jul 13, 2018 2:34 pm
yea currently using this one: http://a.co/1sedRjf

...don't mind spending the extra for a powered one... but I'm out of outlets! Is there one that is known to work that anyone can recommend maybe?

I'll check the other items and get back with feedback this evening. Thanks for the input!
Indeed just a cable won't help you to get anything analog out of a HDMI port, the text with the cable says it all.
HDMI is digital signal and RCA is analog signal, and the cable does not convert the signal. The devices themselves are the ones that need to convert the signal. If the devices do not support coding and decoding then buy an adapter separately.
What you need to get analog audio out of an HDMI port is a HDMI to VGA + analog audio converter box.

read the illustrated buying guide sticky in beginners for more info. viewtopic.php?f=91&t=83446

Return to “Troubleshooting”