No sound using hifiberry dac2 pro with te latest version of volumio installed on raspberry pi 4. I'm using the headphones (which works).
When I play the track the green led on the hifiberry module light up so I'm assuming it's working ok but still no sound.
I'm using Hifiberry DAC+ Pro driver on volumio as stated in a previous thread here from the support.
Best Regards,
Filippo
26 comments
-
Filippo Corsi (I'm using Volumio 2.861)
-
Filippo Corsi (I'm trying to play a 16bit 44.1 KhZ FLAC file)
-
HiFiBerry team Do I understand you correctly that the headphone output isn't working? Did you check the RCA output?
-
Filippo Corsi I can't check the rca output atm. Anyway I tryed to restart Volumio and now I can't either listen any sound and see any light activated on the hifiberry module when I play or pause a track :/
Nothing happens. The only thing I could achieve was being able to listen to the audio via an audio system connected via jack audio to a display which is connected to raspberry pi 4 via hdmi.
But when I disconnect the hdmi cable from the raspberry pi 4 nothing happens, and now also the small light is gone :/ -
Filippo Corsi Ok I tested the hifiberry dac 2 Pro with Hifiberry OS and the headphones out now works so I believe there are no hardware problems. But also with hifiberry os I was still having some problems. I couldn't pause the track, the virtual button it's not working and also the volume slider wasn't working. The music library was indeed loaded correctly in the hifiberry UI. I don't know if I had to do any kind of special configuration on hifiberry os because I didn't, I tried to play music from a usb drive right off the bat after I starting up hifibarry os
p.s (the first time I tried to start up hifiberry os it got stuck on the UI and I couldn't move the cursor or do anything) -
Harrie Woldring Filippo Corsi I have exactly the same problems with my new dac2 pro . Sometimes suddenly i do have sound from the rca outputs but mostly not. Its just not stable. When it works , then without changing something ,it definitely works NOt after a restart.
I first thought it was de drivers under the volumio OS but with hifiberry OS i also have sometimes a green light on the board when a file is played but no sound on rca and headphone output.
I DO have sound on the original raspberry 4 headphones output !. Also i've seen it worked on RCA output without the green led on??!
I 've played with modifying the config.txt with dtoverlay=hifiberry-dacplus and force_eeprom_read=0 but not really works.
I've gave it up for now and use the raspberry jack output for now and maybe try again when the board is really supported ?
-
HiFiBerry team There is no "really supported". The driver is already there for years. The only functionality that is missing with older kernels is the headphone driver.
If you don't get output sometimes, check the connections of the board to the Pi. -
Harrie Woldring HiFiBerry team i've inspected the connection several times. I even shorted the spacers a little bit. I've installed the newest december version of volumio or hifiberryos , both reacts the same way. sometimes sound output from rca connection but mostly not. And what do i have to do for the headphone output to work? It also didnt work with hifiberryos. I'm thinking about returning the card to the shop.
-
HiFiBerry team Headphone output just works with the latest version of HiFiBerryOS. It's also possible that your Pi is defective or your power supply isn't stable enough.
-
Karl Loewenich Hi all I'm struggeling since a few days with the same problem mentioned in this thread. I'm using volumio version 2.861 as well. I am doing my experiments with the webradio and tried only the headphone output of my brandnew DAC2 Pro since I have no RCA connectors available. Using the volumio (I made an SD card with the latest image) with the DAC 2 Pro I have never had any sound at all. Sometimes at random I see the green LED lit on the DAC and I can turn this of and on clicking on start/stop in the volumio interface. Also in a random way -at least up to now I didn't discover a systematics - I see the message "Failed to open Alsa device "hw:2.0": no such file or directory". Following a suggestion I saw somewhere to circumvent this, I then set in the settings DAC I2S configuration to "NO" and restart. After restart and changing again to Hifiberry DAC+ PRO the message disappears but again no sound.
When I use I2s NO and using the Sound Plug of the Raspberry PI or HDMI I can hear the sound of the radiostations. Also, when I use DAC 2 PRO (Headphone) without Volumio, that is, using the Raspberry PI OS alone, there are no problems at all. Without any settings right out of the box the RPI system detects the DAC2 PRO and I can chose it on the RPI after rightclick on the loudspeaker symbol. So all in all it can be said that for me volumio works OK, the DAC2 PRO works OK but they don't play nice with each other. Is there anything that can be done about it?
-
HiFiBerry team As far as I understand, Volumio still uses an older 4.x kernel and not the current 5.x. Overlays from 4.x don't work well on 5.x and vice versa. Therefore, you need to make sure, that it does not use the overlay from the EEPROM on the board:
https://www.hifiberry.com/blog/configuration-changes-in-linux-5-4/ -
Karl Loewenich Dear HifiBerry team. Thank you for your suggestion. When I issue uname -a on the Raspberry pi with my Volumio System (latest version i.e 2.861) I get Linux volumio 4.19.118-v71......
So it uses the older Kernel as you anticipated. I tried to prevent the configuration from beeing loaded from EEPROM inserting "
force_eeprom_read=0" in /boot/config.txt That did not help either. No sound.
in the configuration guide it is written to remove"dtparam=audio=on". I tried this as well. It did not help.
In my first e-mail i wrote
"
Also, when I use DAC 2 PRO (Headphone) without Volumio, that is, using the Raspberry PI OS alone, there are no problems at all. Without any settings right out of the box the RPI system detects the DAC2 PRO and I can chose it on the RPI after rightclick on the loudspeaker symbol"
I discovered now that this is not always the case. I own several RPIs and tried one of them with several of my SD cards. I found only two combinations which worked right away: 5.4.51 and 5.4.72. Sd cards with Kernel 5.4.79 and 4.19.93 did not play sound. I'm not an expert, so I suspect that the behavior depends on the Software installed and not on the Version of the Kernel. I'm quite frustrated and close to abbandon my new DAC2 Pro altogether.
-
HiFiBerry team Did you not only add the force_eeprom_read line, but also add the dtoverlay line?
In general there are no known issues with current 5.4 kernels and 4.19 kernel will also work (without headphone support) when not using the EEPROM.
-
HiFiBerry team BTW: HiFiBerryOS will detect you DAC2 Pro without having to configure anything.
-
Karl Loewenich Hi Hifiberry team,
the issue is that the headphones output of the DAC2Pro does not seam to work in every situation. This is not a problem for me because what I am really after, is to feed the DAC output into the AUX input of my beloved Tivoli Audio Model One which has only AM/FM capabilities and transform it this way into a Webradio to listen to my favorite radiostations in Svizzerland and Spain. Until today I could listen to theese stations only with the horrible sound of my Smartphone ;-)) Today I got a double RCA to 3,5mm Jack converter and so now I'm able to use the RCA output of my DAC2PRO which works like charm with Volumio right out of the box. I did not try the HifiBerryOS yet but will do so soon. Thank you!
Karl
-
HiFiBerry team The headphone output requires a 5.4 kernel as the old kernel does not have the driver included. On older kernels, you need to initialize the headphone amplifier:
https://support.hifiberry.com/hc/en-us/community/posts/360014056677-DAC2-Pro-no-output-on-headphones
If you're connecting to a line-levbel input, the RCA output is the right way. Even though it will also work with the headphone amplifier, output quality for this use case is best via the RCA outputs. -
Harrie Woldring I've returned the card to the shop.
There are a lot of troubles and stability issues. And even with hifiberry os itself on pi4...
I'm now trying to find a card which always works on a pi4
-
clivem The headphone output requires a 5.4 kernel as the old kernel does not have the driver included. On older kernels, you need to initialize the headphone amplifier
Just a reminder, there might still be some 5.4 kernels out there as part of distro builds, that even if they have a 5.4 kernel where the headphone detection code was added, have an early 5.4.x version that does not include the https://github.com/raspberrypi/linux/commit/7c449ffffc06099f89ca0ceac9816d2e6f46b615 fix, so the card might never be initialised. Just saying.... Although I'd assume by now, distributions should have updated their packages/images to a later kernel that includes it.
-
Karl Loewenich Hi all,
I will do like Harrie Woldring did, i.e. give my DAC2 Pro back together with the metallic box which most probably has been designed by a mathematician or theoretical physicist or by someone else who never got his hans dirty in doing practical work.
Since two weeks I spend days and nights in trying to get this working. Sometimes I had the illusion that it worked and then the next day when I switched it on again: no sound. I tried all the suggestions I could find in the internet. I used the hifiberry- and the volumio OS more the latter than the former because if it works, it is really nice with the possibility to command it with the application on the phone and possibility to insert RSS feeds.
But now with all those delusions I'm done with it. I understand that perhaps this forum ist not the right place for my complaints because volumio is not Hifiberry. But this is the problem you always have when doing projects using products of two different companies to interface.
To my mind there must be something random/spurious in the hardware which causes the trouble. Sometimes the green led on the Dac is on sometimes not, sometimes I see no error messages in the volumio interface and nevertheless there is no sound....This seems to be confirmed by the many suggeststions tor troubleshooting the "Alsa device error" which have something of a VOODOO magic: reboot your system several times or shut down the system wait 20 seconds and the pull the plug and restart ; exclude the I2C, shut down, reboot set your DAC again ... I tried theese too but they never worked.
This is unfortunate because I like the system aund the quality of the sound but it is all too annoying.
-
HiFiBerry team Did you check that the force_eeprom_read=0 is in your config.txt? Volumio might have removed it.
-
Karl Loewenich I put force_eeprom_read=0 in the first line of the file
-
Marco Dear All,
I read all the comment and suggestion from the HifiBerry Team.
I think there are 2 different issues that are easy to confuse:
1- the headphones jack cannot work in Volumio, SOLUTION: buy a 4€ RCA to jack adapter on Amazon, end of the story.
2- the DAC2Pro with Volumio after reboot doesn't work anymore with "Alsa HW 2.0" error, SOLUTION: after the first configuration with everything working fine, switch off the pi, edit config.txt and insert command.
force_eeprom_read=0
restart the pi3.I have a pi3 with DAC2Pro and in that condition finally everything works fine: jingle at boot, the led on the DCA2Pro turn on when playback, volyme control works, now it's perfect!
-
Karl Loewenich Dear all,
lately I'm still having only very rarely the 'Alsa HW 2.0 error'. If you are trying to track down an error/problem you should only change o n e thing/condition at a time. Unfortunately I did not obey to that rule so now I'm not sure what caused the improvement. Anyway, also with the "force_eprom_read=0" line I still hathe the problem. I feel an improvement came from flashing a new microSD card.
I still have the problem though, that after turning on the system, I cannot set the output volume. To fix this I have to press the "save" button in the "audio output" section.
-
Marco Maybe can help, I post my confi.txt file with pi3 B+
Do you use a 3.1A power supply?
With the standard phone charger of 1A I had issues too.
my config.txt above, usercofig.txt it's empty.
initramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1
force_eeprom_read=0include userconfig.txt
#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-dacplus -
Karl Loewenich Hi Marco,
thank you, I appreciate your help very much. I proceeded now like written in your previous post as of point 2): Flashed a new microSD card and started the Raspi with it. Made the Wifi connection with volumio (i don't have the Ethernet, I work with a Smartphone hotspot) and did all the settings in the volumio interface. I closed the interface, inserted Immediately after that the line force_eeprom_read=0 in the file /boot/config.txt ( my dtoverlay is as in your post) and restarted the Raspi.
I already restarted the Raspi 3 times and everything is working fine now. I even have immediate volume- control. I am quite confident now that there will be no other surprises. Thanks to you and the communtity my nightmare has come to an end now.
Thanks again Karl
Actually I had the "force_eeprom_read=0" inserted even before the last try but maybe it is essential to do this immediately after the firtst configuration
-
Allan Bowyer I had the same "no sound" issue from RCA on the DAC2 HD, volumio and Raspi4b. I was able to get sound out of the headphone jack. The force _eeprom_read=0 solved it for me. Thanks!