HIFIBerry and Rasplex 7

Thank you all for the hard work on version 7 - it’s brilliant!

I see that I can use a Hifiberry (music only). I’m sorry if this is covered elsewhere, but could someone point me to the settings I need to adjust (if any) for the Hifiberry.

Thank you - I realise you are busy at the moment, but a pointer in the right direction would be much appreciated.

@Malcolm Clark said:
Thank you all for the hard work on version 7 - it’s brilliant!

I see that I can use a Hifiberry (music only). I’m sorry if this is covered elsewhere, but could someone point me to the settings I need to adjust (if any) for the Hifiberry.

Thank you - I realise you are busy at the moment, but a pointer in the right direction would be much appreciated.

Have a look at the release notes, once you updated config.txt and rebooted go to audio output and select the the HiFiBerry in audio output device.

Regards

Thank you for the reply Ned - sorry I should have looked at the release notes.

However, this is the relevant part of config.txt (after editing):


# Required overlay for LIRC to function
# dtoverlay=lirc-rpi

# Required for hyperion / lightberry
dtparam=spi=on

# Uncomment to enable the sdhost driver
# dtoverlay=sdhost

# Uncomment to enable HiFiBerry overlay
# NOTE: You must disable the lirc-rpi overlay (or change lirc GPIO pin) for HiFiBerry to work correctly
# dtoverlay=hifiberry-amp
dtoverlay=hifiberry-dacplus
# dtoverlay=hifiberry-digi

I have commented the second line, and uncommented the dtoverlay for the hifiberrydacplus

But I’m only getting HDMI, analog or optical/coax as an option in the audio output device.

I don’t remember optical/coax showing up on my other PPi2 - I will have to check when I get home from work.

Could optical/coax be the right setting, or should I definitely have an option for Hifiberry.

Thank you again.
Malcolm

PS - sorry about the way in which my text from config.txt has appeared above. Do the hashes (that I copied in from my config.txt, but which don’t appear above) affect the formatting options on this forum - I guess they must!

Yes they do, can you put four spaces before each line, you can preview before you post, can you try again as I’m not sure what is what. Thanks.

Regards

Thank you Ned - I’ve recopied the section from config.txt and added 4 spaces to each line - it’s still a bit odd in the way it displays, but much better than before - I hope this helps you to see what I’ve done:

# Required overlay for LIRC to function

dtoverlay=lirc-rpi

# Required for hyperion / lightberry
  dtparam=spi=on

# Uncomment to enable the sdhost driver
# dtoverlay=sdhost

# Uncomment to enable HiFiBerry overlay
# NOTE: You must disable the lirc-rpi overlay (or change lirc GPIO pin) for HiFiBerry to work correctly

dtoverlay=hifiberry-amp

 dtoverlay=hifiberry-dacplus

dtoverlay=hifiberry-digi

Thanks, looks better.

What you have is fine, if you’re not a Hyperion user comment out that line.

In 0.7.0 there are two sections for audio output, leave the first as HDMI labelled ‘Audio output’ (first item in list) and then select the DacPlus in the second labelled ‘Audio output device’ (ninth item in list).

Regards

Thank you Ned.
That’s stunning. I’ve now got 2 x Rasplex in my home - both on version 7. One attached to my TV as per normal; the other (with the HIFiBerry DAC+) is attached to my hi fi and I’m currently listening to Bach - controlled by my Android phone app. I’m not saying it’s true HiFi (I’ve got vinyl and CDs for that) - but it’s more than adequate for casual listening to the music on my Plex server (some of which I don’t have physical media for).
PS - the reason why I don’t always have physical media for everything is because I’ve purchased music on line (not the ‘free’ alternative!)
PPS - thank you again - I’m so happy with this!

Glad you’ve got it sorted, I wouldn’t call it HiFidelity but it a damn sight better than the standard analogue out (although that is better in 0.7.0, different player for music, hence the second audio options).

PS - I use the DacPlus with 3.5mm jack so I can add a Bluetooth transmitter and listen on my Bluetooth headphones, without the need to connect to an amp.

Regards

Hi, i’m very sorry to be as bad as this but I can’t find the /boot/config.txt file. I’m actually connected in ssh to my RPi with rasplex and in the main directory there is no boot folder. Can someone explains me in details how to do ? Thank you

TheMineGeek

In no way do I claim to be an expert, but I took the card out of my RPi, stuck it in my PC (with a suitable adaptor of course!) browsed to the folder and then edited the config.txt. I normally edit stuff in notepad, but when I opened the file in notepad it was poorly formatted and so I then opened in wordpad.

Hope this helps

Thanks a lot that worked

@TheMineGeek said:
Hi, i’m very sorry to be as bad as this but I can’t find the /boot/config.txt file. I’m actually connected in ssh to my RPi with rasplex and in the main directory there is no boot folder. Can someone explains me in details how to do ? Thank you

TheMineGeek

@Malcolm Clark said:
In no way do I claim to be an expert, but I took the card out of my RPi, stuck it in my PC (with a suitable adaptor of course!) browsed to the folder and then edited the config.txt. I normally edit stuff in notepad, but when I opened the file in notepad it was poorly formatted and so I then opened in wordpad.

Hope this helps

To edit the config.sys file using SSH:

SSH into the Rpi

root@[ipaddressof Rpi]

enter password ‘rasplex’

Enter the following:

mount -o remount,rw /flash

Then enter the following:

nano /flash/config.txt

Make the changes and then press Ctrl + X, press Y and Enter.

Job done.

Regards

For info, here’s a copy of my config.txt file for one of my RPi1’s

################################################################################
# Overclock mode settings.
################################################################################

arm_freq=950
core_freq=450
sdram_freq=450
over_voltage=6

################################################################################
# License keys to enable GPU hardware decoding for various codecs
################################################################################

decode_MPG2=mylicensekey
decode_WVC1=mylicensekey
# decode_DTS=0x00000000
# decode_DDP=0x00000000

################################################################################
#
# >>>>>>>> RasPlex default settings override <<<<<<<<<
#
################################################################################

hdmi_force_hotplug=1
hdmi_drive=2
gpu_mem_512=160

# Required for hyperion/lightberry
# dtparam=spi=on

# Required overlay for LIRC to function
# dtoverlay=lirc-rpi

# Uncomment to enable the sdhost driver
# dtoverlay=sdhost

# Uncomment to enable HiFiBerry overlay
# NOTE: You must disable the lirc-rpi overlay (or change lirc GPIO pin) for HiFiBerry to work correctly
# dtoverlay=hifiberry-amp
# dtoverlay=hifiberry-dac
dtoverlay=hifiberry-dacplus
# dtoverlay=hifiberry-digi

################################################################################
# End of default configuration
# all values below this line were inserted from config.txt.bk (your old config)
# and can be merged with the above values
################################################################################

Thank you for your help. It perfectly works know. Awesome job from Rasplex devs

Hello
I’m about to buy hifiberry device but before, I would like to be sure that it would suit my needs… I red the supports was limited and it was working with music only… Is it still the true ? or are the hifiberry products completely supported now ? Thank you for your advices :slight_smile:
Best regards

Still only supports music.

Regards

Thank you for your quick answer ! Is there in your knowledge some others dac that are supported by rasplex ?

It’s the only DAC supported at the moment.

Regards

Is there audio output on HDMI and Hifiberry at the same time? So I can watch a movie and have Dts via HDMI , but when I play some music the Hifiberry out can be used?
Thanks in advance an keep up the good work!
ToM