Hi there,
I'm a little familiar with Linux so I thought it shouldn't be too hard. You know the deal with Linux..researching, rtfm'ing, tryin, rebooting.. You learn all the time and it's basically ok for me when things like the hifiberry don't work out of the box. Some .conf editing here, some .xml creating there, that's all right. Unfortunately, nothing works.
What I did so far:
Tried the suggested raspmc image
followed the instructions
Green LED lights up
in xbmc and with aplay -l a soundcard is recognized, but it reads "..._dac", so not my _digi?!
dmesg shows ASoC: failed to instantiate card -1
no sound (using optical output)
Tried 2014-06-20-wheezy-raspbian.img
same results
Tried your testimage ..digi.img
followed the instructions
Green LED lights up
Test runs through, no errors, wav being played, but I can't hear it
no sound
Tried Openelec 4.0.7
followed the instructions
Green LED doesn't light up
No card recognized, no sound
found a discussion, where Daniel suggested a certain openelec update download dfgjdh....tar, says he got it to work with that
got excited, tried downloading.. 404
Please help.
Regards,
Tom
Date
Votes
9 comments
-
HiFiBerry team Hi Tom,
let's focus on the test image first. It boots, but you can't hear any sound? Does the red light on the RCA output light up?
One issue we often see are bad solder connections on the P5 connector. If one of the pins uses to transport the sound is not giving contact, there is no output. Can you check all the solder connections? Please use a multimeter to check the connection from the bottom of the Raspberry Pi to the corresponding pin of the HiFiBerry on top of the board. We also heard from (rare) cases where the traces to the P5 header on the Raspberry Pi itself were broken. If the connections are ok, testing it with another Raspberry Pi would be good to make sure that it is not this problem.
Best regards
Daniel -
tsberlin Hi Daniel,
thank you for that quick response, feels good to know somebody on your side.
I checked the solder connections and got a friendly "Beeeep" 8 times, so check X
I just booted the Testimage again, looks different today: doesn't play, throws error
No green LED
By the way, I've never seen a red light on the RCA output?! I gues this should be considered an important hint?
pi@raspberrypi ~ $ ./check-system.dac
Checking systemLinux raspberrypi 3.10.28+ #634 PREEMPT Sun Feb 2 15:16:25 GMT 2014 armv6l GNU/L inux
Kernel: 3.10.28+
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
snd_soc_pcm5102a missing in /etc/modules
Checking system
Linux raspberrypi 3.10.28+ #634 PREEMPT Sun Feb 2 15:16:25 GMT 2014 armv6l GNU/Linux
snd_soc_pcm5102a module not loaded
snd_soc_hifiberry_dac missing in /etc/modules
snd_soc_hifiberry_dac module not loaded
Sound cards
aplay: device_list:252: no soundcards found...
--2014-09-04 12:19:19-- http://www.hifiberry.com/files/sin1000_48khz.wav
Resolving www.hifiberry.com (www.hifiberry.com)... 91.250.114.49, 2a01:488:66:10 00:5bfa:7231:0:1
Kernel: 3.10.28+Connecting to www.hifiberry.com (www.hifiberry.com)|91.250.114.49|:80... connect ed.
HTTP request sent, awaiting response... 200 OK
Length: 5760044 (5.5M) [audio/x-wav]
Saving to:
sin1000_48khz.wav'
100%[======================================>] 5,760,044 1.40M/s in 4.0s
2014-09-04 12:19:23 (1.39 MB/s) - `sin1000_48khz.wav' saved [5760044/5760044]
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver return ed error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned er ror: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned err or: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directo ry
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:682: audio open error: No such file or directory
snd_soc_pcm5102a missing in /etc/modules
snd_soc_pcm5102a module not loaded
snd_soc_hifiberry_dac missing in /etc/modules
snd_soc_hifiberry_dac module not loaded
Sound cards
aplay: device_list:252: no soundcards found...
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:682: audio open error: No such file or directory`
**************************************************************************
I have no other device at the moment, what shall we try now?
PS: Interesting thing though: late last night a tried the raspbmc again, green LED lit up, and aplay-l brought up not one but 2 soundcards, dac and digi. Tried restarting xbmc via initctl then, but still only the _analog one shows up at "Audio Output". Can't say that I have the slightest clue about the logic of all this, but it's amazing :-)
By the way: so the green LED doesn't just stand for physical contact or "power on", but indicates a somewhat correct initialisation? -
HiFiBerry team Hi,
are you using the HiFiBerry DAC (anlog RCA output) or Digi (SPDIF output)? You write about the Digi, but you used the test script for the DAC. Which board are you using?
Best regards
Daniel -
tsberlin It's the Digi and I'd like to use the optical output. And of course, mio stupido.. I used this script and it's obviously for the dac:
wget www.hifiberry.com/files/dac/check-system
mv check-system check-system.dac
chmod u+rx ./check-system.dac
./check-system.dac
So, do I just have to replace the "dac" parts with "digi"? -
tsberlin Ok, got it:pi@raspberrypi ~ $ ./check-system.digi
Checking system
Linux raspberrypi 3.10.28+ #634 PREEMPT Sun Feb 2 15:16:25 GMT 2014 armv6l GNU/L inux
Kernel: 3.10.28+
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Checking drivers
snd_soc_bcm2708_i2s enbaled in /etc/modules
snd_soc_bcm2708_i2s loaded
bcm2708_dmaengine enbaled in /etc/modules
bcm2708_dmaengine loaded
snd_soc_wm8804 enbaled in /etc/modules
snd_soc_wm8804 loaded
snd_soc_hifiberry_digi enbaled in /etc/modules
snd_soc_hifiberry_digi loaded
Sound cards
aplay: device_list:252: no soundcards found...
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:682: audio open error: No such file or directory -
HiFiBerry team Hi Tom,
the green LED on the board shows, that the I2C configuration bus has been initialized. It does not mean the the card has been configured by Linux. As the LED does not light up anymore, this looks like a hardware problem. I think, we have to test the card here. Can you please return it to us, we will check and replace it.
Best regards
Daniel -
tsberlin Ok thank you, will do so. -
tsberlin Hi Daniel,
thank you for that superfast delivery of the replacement board. I just set everything up, aplay -l shows the card, green LED lights up and I can hear the test tone. Amazing :-)
However, when running check-system.digi two (irrelevant?) errors still appear:
bcm2708_dmaengine module not loaded
..
module file /lib/modules/3.12.28+/kernel/drivers/dma/bcm2708-dmaengine.ko not found
What's the message?
Regards,
Tompi@raspberrypi ~ $ ./check-system.digi
Checking system
Linux raspberrypi 3.12.28+ #710 PREEMPT Wed Sep 10 15:23:42 BST 2014 armv6l GNU/Linux
Kernel: 3.12.28+
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Checking drivers
snd_soc_bcm2708_i2s enbaled in /etc/modules
snd_soc_bcm2708_i2s loaded
bcm2708_dmaengine enbaled in /etc/modules
bcm2708_dmaengine module not loaded
snd_soc_wm8804 enbaled in /etc/modules
snd_soc_wm8804 loaded
snd_soc_hifiberry_digi enbaled in /etc/modules
snd_soc_hifiberry_digi loaded
module file /lib/modules/3.12.28+/kernel/drivers/dma/bcm2708-dmaengine.ko not found
Sound cards
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi
wm8804-spdif-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Playing WAVE 'sin1000_48khz.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo -
HiFiBerry team Hi Tom,
no problem. The name of the driver has just changed in the latest kernel release and the test script still checks for the old name. You can just ignore this message.
Best regards
Daniel
Please sign in to leave a comment.