0

Hifiberry DIGI seen as ANALOG??

(for use with raspbmc, may update)
I have purchased an Hifiberry Digi with an S/PDIF connector on it.
The P5 connector is soldered and the green light is visible on the printboard.

When I add the following lines (according to the setup manual) in /etc/modules
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_wm8804
snd_soc_hifiberry_digi

I provide the command sync and then reboot. No soundcard is available.
Then perform a testrun with ./check-system.dac, below is the logging:


Linux raspbmc 3.12.20 #2 PREEMPT Fri May 23 03:00:38 UTC 2014 armv6l GNU/Linux
Kernel: 3.12.20
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 module not loaded
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 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


When I add the lines in /etc/modules for the analog hifiberry, see below:

snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
#snd_soc_wm8804
#snd_soc_hifiberry_digi
snd_soc_pcm5102a
snd_soc_hifiberry_dac

Save the modules, sync and reboot.
Run the testscript ./check-system.dac again, below is the logging:

pi@raspbmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pc m5102a-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@raspbmc:~$ ./check-system.dac
Checking system

Linux raspbmc 3.12.20 #2 PREEMPT Fri May 23 03:00:38 UTC 2014 armv6l GNU/Linux
Kernel: 3.12.20
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"


Sound cards
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pc m5102a-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Playing WAVE 'sin1000_48khz.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, S tereo


What am I doing wrong? The Digital sound is not working

16 comments

Please sign in to leave a comment.