Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Sound over HDMI #17

Closed
tomasmark79 opened this issue Feb 2, 2019 · 8 comments
Closed

No Sound over HDMI #17

tomasmark79 opened this issue Feb 2, 2019 · 8 comments

Comments

@tomasmark79
Copy link

tomasmark79 commented Feb 2, 2019

Hello.

I was trying this build on my raspberry 3b+ and none sound over HDMI cable to my TV Samsung.

I tried mount partition with the config.txt and commented the hdmi_driver=2 parameter with no success. Only Jack audio is working.

Could you please tell me what to do to try?

Thanks you.

@yunshansimon
Copy link
Member

For some reasons, the sound driver of Rpi3 isn't compatible with CRAS. The default output mode is "auto" which can't output to either HDMI or headphone. So, we wrote a configuration file to force to output channel to the headphone jack. To change it to HDMI, you need to edit the file at /etc/init/force_audio_output_to_headphones.conf. There also contains a message to how to switch between two channels.

@nledenyi
Copy link

nledenyi commented Feb 3, 2019

Can you please point me to a guide which describes how to access a shell within Chromium OS to edit that file? I simply just downloaded the image to an sd card and booted it with RPi3+, didn't build it from source. Is it not possible in that case?

@yunshansimon
Copy link
Member

  1. login
  2. Ctrl-Alt-T open a shell tab
  3. type shell to run bash
  4. Modify the file
$ sudo mount -o remount,rw /
$ sudo vi /etc/init/force_audio_output_to_headphones.conf

@nledenyi
Copy link

nledenyi commented Feb 4, 2019

Thanks, worked like a charm. As someone starting from scratch, I found this, together with other two issues (issues/9 and issues/10) really useful to get started - would be nice to persist these somewhere for others before they disappear from the issues.

@MartGrat
Copy link

MartGrat commented May 2, 2019

Hello I have the same Issue with my Pipo x8 (z3637f intel atom) I got no sound hdmi. I tried to find the file you mentioned to edit it but I could’nt find it in the iso file

@bderen
Copy link

bderen commented Mar 26, 2020

Hi, whatever I set 2 or 0 the sound always headphones. No HDMI audio. Any idea?

@adsports
Copy link

  1. login
  2. Ctrl-Alt-T open a shell tab
  3. type shell to run bash
  4. Modify the file
$ sudo mount -o remount,rw /
$ sudo vi /etc/init/force_audio_output_to_headphones.conf

hello
I try to enter with sudo but it tells me, ¨we trust have ..... ¨ and asks for my password.

How can I give write permission?

@rimonmath
Copy link

  1. login
  2. Ctrl-Alt-T open a shell tab
  3. type shell to run bash
  4. Modify the file
$ sudo mount -o remount,rw /
$ sudo vi /etc/init/force_audio_output_to_headphones.conf

I am using Raspberry Pi 4 B and latest version of this fydeos, There is no file named force_audio_output_to_headphones.conf in /etc/init

What to do now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants