GithubHelp home page GithubHelp logo

Comments (8)

yunshansimon avatar yunshansimon commented on July 20, 2024

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.

from chromium_os-raspberry_pi.

nledenyi avatar nledenyi commented on July 20, 2024

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?

from chromium_os-raspberry_pi.

yunshansimon avatar yunshansimon commented on July 20, 2024
  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

from chromium_os-raspberry_pi.

nledenyi avatar nledenyi commented on July 20, 2024

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.

from chromium_os-raspberry_pi.

MartGrat avatar MartGrat commented on July 20, 2024

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

from chromium_os-raspberry_pi.

bderen avatar bderen commented on July 20, 2024

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

from chromium_os-raspberry_pi.

adsports avatar adsports commented on July 20, 2024
  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?

from chromium_os-raspberry_pi.

rimonmath avatar rimonmath commented on July 20, 2024
  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?

from chromium_os-raspberry_pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.