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

HDMI sound only, never on jack (default rpi audio output) #89

Closed
sashahilton00 opened this issue Jan 29, 2018 · 8 comments
Closed

HDMI sound only, never on jack (default rpi audio output) #89

sashahilton00 opened this issue Jan 29, 2018 · 8 comments

Comments

@sashahilton00
Copy link
Member

Issue by CelsoSantos
Tuesday Sep 19, 2017 at 09:46 GMT
Originally opened as plietar/librespot#249


I don't know if this is somehow related to #217 but for some reason I can't make audio output through jack on my RPi3 with latest OSMC installed. Only HDMI works.

I've tried running with --device hw:0 without success.

After some reading around, I've tried checking my output devices with aplay -L having the following output:

osmc@osmc:~/.kodi$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
dmix:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct sample mixing device
dmix:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct sample snooping device
hw:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 ALSA
    Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    Hardware device with all software conversions

From this I've already tried a bunch of different configurations where the --device parameter will contain any of the names present in this list. I still can't make the sound output go through Jack.

How can I achieve this? It's really important to me to keep the TV off while playing music so I don't want to rely on HDMI for audio output as I have a set of speaker only for this.

@sashahilton00
Copy link
Member Author

Comment by awiouy
Wednesday Sep 20, 2017 at 20:18 GMT


https://www.raspberrypi.org/documentation/configuration/audio-config.md
Have you tried the following command:
amixer cset numid=3 0

@sashahilton00
Copy link
Member Author

Comment by CelsoSantos
Friday Sep 22, 2017 at 18:25 GMT


Hello @awiouy , Yes I have, I still only get HDMI sound :(

I'm using OSMC and I really don't see a way I can get the audio through the default jack to work unfortunately..

@sashahilton00
Copy link
Member Author

Comment by berrnd
Sunday Oct 01, 2017 at 15:13 GMT


Hi,

had the same problem ... for me the in the Raspberry Pi documentation referenced commands worked ... see my comment in dtcooper/raspotify#22.

@ComlOnline
Copy link
Contributor

@CelsoSantos Do you still get this issue?

@CelsoSantos
Copy link

CelsoSantos commented Jan 29, 2018 via email

@ComlOnline
Copy link
Contributor

If you could re check that would be great! Ill leave this open for now.

@sashahilton00
Copy link
Member Author

@CelsoSantos have you had a chance to try it out?

@bspans
Copy link

bspans commented Apr 7, 2018

This works for my Rpi2 running OSMC.

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

No branches or pull requests

4 participants