Hi,
I have fitted a HiFiBerryDAC to a Model B RPi running PiCorePlayer 1.18b with Squeezelite 1.7. I can view and select the HiFiBerry as an ALSA device through either the PiCorePlayer WebGUI or the via command line on the RPi. In either case I get no sound when streaming to Squeezelite.
Here's the response to 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
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
Playing a simple wav file using aplay appears to work fine (using -D hw:0,0) but again there is no sound. I am confident that the amp and connectivity is okay and that the header has connectivity on all pins.
Appreciate your advice.
Date
Votes
15 comments
-
HiFiBerry team Hi Roger,
please test the setup with our test image from here: https://www.hifiberry.com/guides/sd-card-images/
Usually the soldering on the P5 header are the problem, if the card is not working. As our cards have been factory-tested it is not impossible, but unlikely that the card itself has a hardware problem. Did you check all the header pins with a multimeter?
Best regards
Daniel -
Roger Morrow Daniel,
Thanks for the prompt reply. I tried booting using the test image, but again there is no sound.
I can confirm that there is continuity for all 8 pins of the added header.
Anything else I can try?
Thanks
Roger -
HiFiBerry team Hi Roger,
in this case, we have to check the card. Please return it to us, we will test and replace it.
The return address can be found here:
https://www.hifiberry.com/shop/money-back-guarantee/
Best regards
Daniel -
Roger Morrow Daniel,
Have you received the card yet? I sent it to the address listed.
Thanks
Roger -
HiFiBerry team Hi Roger,
did you send it to Switzerland or Germany? As I'm not in the office right now I can't check if we got something in the last days.
Best regards
Daniel -
Roger Morrow Daniel,
I sent it to the German address as per the instructions on the web page.
Cheers
Roger -
Anne (HiFiBerry team) Hi Roger,
we haven't received it yet.
Kind regards
Anne (HiFiBerry Germany) -
Anne (HiFiBerry team) Hi Roger,
we just received your package and are going to replace it.
Kind regards
Anne -
Roger Morrow Anne,
I have received the replacement and happy to confirm that everything is now working as expected. The DAC sounds great.
Many thanks for your support
Roger -
vvn2023 Hi,
I bought new hifiberry dac plus card(RAC).
I just placed it on the my raspberry pi B+ board.
Every module is loading fine and mapping also done but its done with some dummy regulators.
When i tried playing a sine tone by using the command aplay -Dhw:0 sine.wav, i am getting no sound.
Can u suggest me something to do here.
Thanks,
vvn -
HiFiBerry team What are "some dummy regulators"? What does aplay -l list?
Best regards
Daniel -
vvn2023 I am getting this log[ 6.419093] bcm2708_i2c_init_pinmode(1,2)
[ 6.722439] bcm2708_i2c_init_pinmode(1,3)
[ 7.167242] 1-004d supply AVDD not found, using dummy regulator
[ 7.472503] 1-004d supply DVDD not found, using dummy regulator
[ 7.665231] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 7.798580] 1-004d supply CPVDD not found, using dummy regulator
[ 7.894451] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 7.981500] pcm512x 1-004d: No SCLK, using BCLK: -2
[ 8.058274] random: nonblocking pool is initialized
[ 8.081677] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral
[ 8.173979] bcm2708_i2c 20804000.i2c: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[ 8.237067] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 8.262488] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 8.292581] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral
[ 8.352785] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 8.382414] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 8.407983] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral
[ 8.448450] snd-rpi-hifiberry-dacplus sound: pcm512x-hifi <-> 20203000.i2s mapping ok
[ 12.379190] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.902426] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 23.571056] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 31.854973] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2162644k SSFS
aplay -l
showing `**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
` -
HiFiBerry team Looks good. Maybe your sine.wav is in a format that the DAC driver doesn't support. You can use SOX for a simple test
sudo apt-get install sox
play -n synth sine 1000
Best regards
Daniel -
vvn2023 getting this error
play WARN alsa: can't encode 0-bit Unknown or not applicable
play FAIL sox: Sorry, there is no default audio device configured -
HiFiBerry team There can be 2 reasons for this error:
1. You did not configure /etc/asound.conf correctly
2. Another process is already using the DAC.
Can you check both?
Best regards
Daniel
Please sign in to leave a comment.