0

Hifiberry Digi issue

Hi !

I bought a digi about one month ago, and I just had time to test it the couple past days.

I followed your guide to configure the raspbmc gotham thing (adding modules, enabling external sound cards, routing sound to digi) and yet I didn't manage to make it work.

When I try to play a media (mp3, wav or whatever can fit the digi specs) I have no sound, and the visualization stuff and the play time are just frozen. (not heartbeat from the visualization, time staying at 00:00:00 ...) Videos are just muted without any error message.

aplay -l gives this output when sound not routed to the digi in raspbmc :


pi@raspbmc:~$ aplay -l
**** 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


Different from the aplay -l output when sound routed to the digi :


pi@raspbmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi wm8804-spdif-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0


I used the ./check-system.dac script, and had this result :

pi@raspbmc:~$ ./check-system.dac
Checking system

Linux raspbmc 3.10.36 #4 PREEMPT Sun Apr 13 21:25:32 UTC 2014 armv6l GNU/Linux
Kernel: 3.10.36
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
**** 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
aplay: pcm_write:1710: write error: Input/output error


When Trying with mplayer, it brings me this output :

pi@raspbmc:~$ mplayer -ao alsa:device=hw sin1000_48khz.wav
MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not open config files /home/pi/.lircrc and /etc/lirc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing sin1000_48khz.wav.
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.0 (00.0) of 30.0 (30.0) ??,?%


And then it hangs as long as I don't do anything (tested it for about 1 hour).

Note that I bought a hifiberry dac along with the digi. The dac works like a charm on both my PIs, and the digi gives me the same no-sound-nothing on both of them.

Any idea on how to make this little baby working ? :)

Have a nice day, and many thanks for the smart idea of such nice dac solution !

Best regards and long live hifiberry and crazy-audio ! :)

13 comments

Please sign in to leave a comment.