Hi all, thanks for your suggestions. I also just want to say that I really appreciate all of the work that has gone into Volumio - it’s a great piece of software, really like it, just want to get the DIGI+ to work with it!
The problem I now have is that I can’t select the Hifiberry DAC as the Output Device.
Any of the others works fine but selecting the Hifiberry DAC and saving doesn’t give me the ‘Configuration Update’ message and after about a minute I get spinning white dots and a hung interface. Using just the IP address instead of volumio.local doesn’t help.
After about 5 minutes I restart via ssh and the Output Device is not changed i.e. still not Hifiberry DAC.
Do this,
disable the i2s dac. save. reboot.
enable i2s dac, select hifiberry digi, save then reboot
if you don’t get any sound, click save again in the playback options
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}
Rebooted and used mplayer to play two mp3s through the hifiberry digi+ so I am certain my Digi+ is okay. I’ve seen the TOSLINK light when it’s working and the connection to the speakers is good.
VOLUMIO
Back to Volumio and I’ve flashed the SD Card again, enabled I2S, selected HifiBerry Digi, rebooted tried to play the same mp3s, disabled I2S rebooted etc. all without any joy. While I had the monitor connected I got a couple of error messages:
bcm2835-i2s 20203000.i2s: I2S SYNC error!
and
bcm2835-dma 20007000.dma: DMA transfer could not be terminated
If I knew which config files needed adjusting I’d happily do it myself via ssh but I don’t think it’s the same as Raspbian is it?
Tried saving and rebooting on my RPI B+. Only effect was that Output Device now said 'Hifiberry Digi; instead of Hifiberry Dac.
But then I tried a new RPI 3 B and it works! Both rca and Toslink.
I have a slight variation to my experience compared to others I’ve read on this thread so far. I am posting here in case it may be helpful in some way to have more data.
My setup:
Raspberry Pi 2
Hifiberry DIGI+ transformer version
Using s/pdif connection (not optical)
Classe CP-800 pre-amp as DAC
My experience:
Hit Play
Wait 1 to 3 seconds, music plays with volume ramp-up effect
Music plays for to 1 to 5 seconds, then
4a) Music drops out, go to step 2
-or-
4b) Music gets “scratchy” noises, ultimately drops out, go to step 2
… and repeat until I get frustrated and pull the power connection.
I’ve read about needing to blacklist LIRC when using the Digi+ with a Raspberry Pi B+. How / where can I do that in Volumio? There is no /etc/modprobe.d/raspi-blacklist.conf
I’ve also been playing around with /etc/modules and in one configuration the TOSLINK connection did light up during the boot process which is something that I noticed in Raspbian as well. Is there a specific list of modules that needs to be in /etc/modules or is this somehow taken care of by dtoverlay=hifiberry-digi?
I can confirm that the Pi3 with Hifiberry Digi+ (transformer version) does work with volumio 2. You may want to consider just upgrading to the Pi3 and get the added performance of the new Pi?
Just to say that is what I did in the end (upgrade to a Pi3).
The HifiBerry Digi+, Raspberry Pi3 and Volumio 2.001 worked first time and play perfectly through the coax SPDIF link to my digital speakers. The Pi3 provides a much more responsive Web Interface as well which is something I hadn’t really thought about.
It does mean I have one more Pi to add to my collection (which I was trying to avoid) but another positive is that I have set one up in another room using the analogue out and so I now get to benefit from Volumio’s multi-room capabilities as well.
Thanks to everyone for their suggestions and to the Volumio team for making such a nice piece of software.
Hello,
I have some problems, blanks, with flac 192khz ( less compressed) on long songs.
May be a problem of buffer, althougth I put 40% and 12Mb.
I do not have this problem with other music players…
I have a Raspberry 2 with DIGI+.
Thanks in advance for your help.
For anyone still interested in getting their Hifiberry Digi+ working on Volumio, I believe I have found the issue. I was running into the same problem described here. I tried reflashing, resetting, everything, multiple times; tried every I2S/DAC combination, and couldn’t get any sound out of my HiFiBerry Digi+ Standard HAT.
Found out in another thread that it’s because these Digi+ Standard DAC boards were shipped with Digi+ Pro drivers on the EEPROM. When software like Volummio trys to use the HAT it sees the drivers and tries to use them, causing this error.
On my Volumio 2 system, this is what fixed it:
Run the Setup wizard and select I2S on and HiFiBerry DIGI (not Pro or anything else).
After setup, my my Config.txt looks like this; not sure why it has the duplicate entry, but I just did the standard Volumio 2 Setup Wizard; and the HAT board does NOT work yet with this:
Now, the important part is in the root of your Volumio install, Edit the UserConfig.txt file, and add this EEPROM line so that it looks like this:
Add your custom config.txt options to this file, which will be preserved during updates
force_eeprom_read=0
Now reboot your system, and try it out. Keep in mind with Optical out you’ll want to make sure whatever your plugged in to has the volume up at least a bit. I hope this helps someone! I was so frustrated with this. It’s also confusing that there is NO DIGI+ standard option in the dropdown. I wonder if Volumio could an add an option for that, and have doing so ALSO add this force_EEPROM line to the UserConfig; just a thought, don’t know if that’s possible. Good luck!
It took me a bit to realize you were referring to files located in /boot, but I did eventually figure it out and make the same changes. I have what I think is the identical setup and still no sound. I am attempting to use the rca digital out instead of the optical, so perhaps that is the issue.
Correction, I do get sound, but only at 48k. Anything higher doesn’t play. Manually setting the max at 48k does work, but I was expecting to gut the full resolution.
Update - I finally figured it out. My pre-amp DAC is limited to 48k. It was a very high-end device when made, but is essentially an antique now, so I shouldn’t be too surprised. No issue processing 24 bit, but I will never get 192k. Perhaps I will start shopping for a new DAC.