Req XBMC rPi - Change output audio source
#16
(2014-02-23, 20:40)Bullsei Wrote: i installed the newest milhouse build of Openelec(todays build) but the Hifiberry is not working, it seems like the Hifiberry modules werent enabled.
Lsmod gives me nothing
aplay -l gives me the bcm2835 ALSA card, which i can select in XBMC - Nothing about Hifiberry

Got the same results: Only the generic bcm2835 ALSA card selectable in XBMC, the specific modules for HiFiBerry (bcm2708, pcm5102) seem to be lacking in the kernel used for the last build.
Reply
#17
I've just got xbmc working with hifiberry dac. It will only work with a gotham build using dvdplayer/paplayer (not omxplayer).

This is openelec build:
https://dl.dropboxusercontent.com/u/3669...fc6264.tar

ssh in and create file:

/storage/.config/modules-load.d/hifiberry.conf
containing:
Code:
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac

You will also want to create
/storage/.xbmc/userdata/advancedsettings.xml
containing:
Code:
<advancedsettings>
  <video>
    <defaultplayer>dvdplayer</defaultplayer>
    <defaultdvdplayer>dvdplayer</defaultdvdplayer>
  </video>
</advancedsettings>
Reply
#18
Great. I will test it when I am back from work
Reply
#19
everything is working fine for me - great work.
Reply
#20
(2014-02-27, 16:25)Bullsei Wrote: everything is working fine for me - great work.

Good to hear.
Reply
#21
What about audio files? Can we use dvdplayer/paplayer for playing FLAC?
Reply
#22
Paplayer works fine for flac haven't tested dvdplayer yet
Reply
#23
Great, I will try this soon, I would love to have my HiFiBerry working.
@popcornmix could you explain how this is different than the latest Milhouse build? From what I understand, you are an XBMC dev, and he is not. But are you each working on separate forks from the master, or are you using each other's work, collaborating? Just trying to figure out which path I should follow.
Reply
#24
I can't really test until I get home, but at work I can at least connect with ssh. After installing that latest build, HiFiBerry appears to be recognized by alsa, but the built in output (analog and HDMI) no longer shows up:
Code:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Reply
#25
I've selected the audio output in XBMC as "ALSA: Default (snd_rpi_hifiberry_dac Analog)" but the sound still comes through HDMI only. I've tied turning dual audio output on and off.
On the other hand, speaker-test plays audio through the HiFiBerry.
Reply
#26
Got my Hifiberry also working, using paplayer for audio.

Thx a lot to popcornmix!
Reply
#27
(2014-02-27, 00:33)popcornmix Wrote: I've just got xbmc working with hifiberry dac. It will only work with a gotham build using dvdplayer/paplayer (not omxplayer).

This is openelec build:
https://dl.dropboxusercontent.com/u/3669...fc6264.tar

ssh in and create file:

/storage/.config/modules-load.d/hifiberry.conf
containing:
Code:
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac

You will also want to create
/storage/.xbmc/userdata/advancedsettings.xml
containing:
Code:
<advancedsettings>
  <video>
    <defaultplayer>dvdplayer</defaultplayer>
    <defaultdvdplayer>dvdplayer</defaultdvdplayer>
  </video>
</advancedsettings>

Does it work with hifiberry Digi and DTC/AC3 5.1 output?
Reply
#28
(2014-03-07, 16:22)luksol Wrote: Does it work with hifiberry Digi and DTC/AC3 5.1 output?

No, but this should support HifiBerry DAC and HifiBerry Digi:
https://dl.dropboxusercontent.com/u/3669...a2f22b.tar

The Digi needs these modules in /storage/.config/modules-load.d/hifiberry.conf
Code:
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_wm8804
snd_soc_hifiberry_digi

DTS and AC3 passthrough multichannel audio are working on the Digi (as well as stereo PCM).
Reply
#29
(2014-03-08, 23:09)popcornmix Wrote:
(2014-03-07, 16:22)luksol Wrote: Does it work with hifiberry Digi and DTC/AC3 5.1 output?

No, but this should support HifiBerry DAC and HifiBerry Digi:
https://dl.dropboxusercontent.com/u/3669...a2f22b.tar

The Digi needs these modules in /storage/.config/modules-load.d/hifiberry.conf
Code:
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_wm8804
snd_soc_hifiberry_digi

DTS and AC3 passthrough multichannel audio are working on the Digi (as well as stereo PCM).

Very good news. Does it work in omxplayer or dvdplayer?
Reply
#30
hello

I also got the hifiberry DAC working now Big Grin

Is it possible to use different soundcards/settings for the audio and video player?
I want to use the hifiberry for audio playback and multichannel via HDMI for video...
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC rPi - Change output audio source1