Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[solved] sound on audio jack instead of hdmi
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[solved] sound on audio jack instead of hdmi
25th Dec, 2023, 09:32 PM
Post: #1
mclien Offline
Registered
Posts: 6
Joined: Dec 2023
Reputation: 0
[solved] sound on audio jack instead of hdmi
Hardware
Device type and model: raspberyPi 4B, 1,5GHz 4GB
Power supply rating: 5V, 3A (USB-c)
SD card size and make/type: 32Gb, class10, HC
Network (Ethernet or wireless): Ethernet
Connected devices (TV, USB, network storage, ...): Beamer HD (hdmi), nfs-share

Log files
Link to logfile(s): let me know which one from /var/log will help wit the problem

Problem description:
All I want is getting the sound output from the headphone jack instead of the hdmi.

But all howtos are about getting it work with hdmi, which it does our of the box. Therefore I couldn't find any entry which would bind it to the head-jack (bmc2835). At least I couldn't find the corresponding entry for the /boot/config.txt

What I do have:
-the sound module bcm2835 is present in lsmod
-the kodi audio setting has only hdmi outputs select-able.
-the hdmi sound works (beamer has a lousy mini-mono speaker)
-using the hdmi output form the beamer works (so the silly hardware solution would be to have the hdmi cable upt to the beamer at the ceilling and than an extra audio cable back down to the raspi)

Sorry if I was just again to search with the right keywords.

Software
XBian version: 20231207
XBMC/Kodi version: whatever come with the above
Overclock settings: none

How to reproduce:
Install the above image on the above mentioned hardware and try to get a headphone plugged into the raspi head jack work.[/term]

EDIT: Or do I need to install alsa utils first to get it working at all?
Find all posts by this user
Quote this message in a reply
26th Dec, 2023, 02:46 AM
Post: #2
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: sound on audio jack instead of hdmi
You don't have do install anything.

I had the same problem with my 64bit test installation that I'm currently developing when I checked it.

Strangely enough I don't have the problem with my standard installation, although it is also 64bit and has the same kernel and firmware.

I found out that the firmware somehow has an error when processing the /boot/config.txt and therefore
dtparam=audio=on
is not processed correctly.

Remedy is to add a

dtoverlay=

before this parameter, then it works

I've added that dummy parameter as follows:

Code:
# ******************************************************************************
# * Various settings see also: https://elinux.org/RPi_config.txt               *
# * to obtain keys visit the shop at https://codecs.raspberrypi.com/           *
# ******************************************************************************

[all]
dtoverlay=

# Enables turbo mode from boot for the given value in seconds (up to 60) or
# until cpufreq sets a frequency. Default 0

hth
Find all posts by this user
Quote this message in a reply
26th Dec, 2023, 04:02 AM
Post: #3
mclien Offline
Registered
Posts: 6
Joined: Dec 2023
Reputation: 0
RE: sound on audio jack instead of hdmi
Thanks for that, will check that and report back.
As for the next step: Is there a parameter to set, which switches sound over hdmi of by default?

EDIT:
Sadly not working for me, still hdmi only audio
EDIT2:
Ah, mea culpa. That sets the audio to be selected in the kodi config, which lets you choose between the headphone only and both hdml and headphones parallel. Thanks a lot.

Is that something, which could/should be but into the image? or can that break something else?
Find all posts by this user
Quote this message in a reply
26th Dec, 2023, 04:25 AM
Post: #4
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: sound on audio jack instead of hdmi
You're confusing me. First you want to have sound via the audio jack and now you suddenly want to switch the sound via hdmi by parameter? Can you make up your mind?
I am not aware of such a parameter, you set everything directly in Kodi. There is also an addon in which you can set the sound device depending on the media you're playing. It's called Audio Profiles
Find all posts by this user
Quote this message in a reply
26th Dec, 2023, 04:57 AM
Post: #5
mclien Offline
Registered
Posts: 6
Joined: Dec 2023
Reputation: 0
RE: [solved] sound on audio jack instead of hdmi
(26th Dec, 2023 04:25 AM)Nachteule Wrote:  You're confusing me. First you want to have sound via the audio jack and now you suddenly want to switch the sound via hdmi by parameter? Can you make up your mind?
Ah, sorry posted to much info. I thought after fixing the /boot/config.txt it would work instantly over head jack. While that parameter enables the settings inside Kodi, which I have to change, too, of course.

I just wanted to note additionally, that now all combinations are choose-able from the Kodi settings.
And my question was, if the "dtoverlay=" should be added in the /boot/config.txt of the official xbian image, so the problem won't occur again.
Find all posts by this user
Quote this message in a reply
1st Jan, 2024, 12:34 AM
Post: #6
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: [solved] sound on audio jack instead of hdmi
(26th Dec, 2023 04:57 AM)mclien Wrote:  And my question was, if the "dtoverlay=" should be added in the /boot/config.txt of the official xbian image, so the problem won't occur again.

Don't worry, this has already been corrected and will also be official in newly built images with the release of Raspberry Pi 5
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] HDMI Audio Dropout Skywatch 11 32,096 14th Nov, 2014 07:44 AM
Last Post: Skywatch
  HDMI audio splitter experience? mmontev 0 5,476 13th May, 2014 09:29 AM
Last Post: mmontev
Music [PROBLEM] Choppy Audio at HDMI Eikatis 6 21,747 3rd Apr, 2014 04:03 PM
Last Post: kaamil20
  [PROBLEM] Audio stopped working with HDMI dmantampfl 23 77,526 19th Sep, 2013 03:11 AM
Last Post: mk01
  AUX and HDMI audio richardxtc 1 9,667 21st Apr, 2013 04:06 AM
Last Post: rikardo1979

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 14th May, 2025, 09:17 AM Powered By MyBB, © 2002-2025 MyBB Group.