0

module snd_soc_hifiberry_dac and white noise on Raspbmc

Hi,

I installed the Digi+ on Rapberry B+, using Rapbmc distrib, and following install guide …

aplay -l gives


**** 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: sndrpihifiber_1 [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi wm8804-spdif-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0


and available card in Xbmc is only "Alsa Default (Dac, analog)".
I do want Digi, not Dac, and digital output, not analog …

when using this configuration, I got mostly white noise out of my amp (using either optical or coax cable).

by the way, the dac module is actually loaded (while I set _dig in modules.conf)

lsmod gives


pi@raspbmc:~$ lsmod
Module Size Used by
bcm2708_wdog 2340 1
uinput 9104 1
snd_soc_hifiberry_digi 1680 0
snd_soc_hifiberry_dac 1308 0
snd_soc_pcm5102a 796 1
snd_soc_iqaudio_dac 1692 0
bcm2708_dmaengine 6276 2
virt_dma 1196 1 bcm2708_dmaengine
ipv6 251548 35
xt_state 664 0
iptable_mangle 760 0
iptable_nat 1736 0
nf_conntrack_ipv4 8860 1
nf_defrag_ipv4 760 1 nf_conntrack_ipv4
nf_nat_ipv4 2358 1 iptable_nat
nf_nat 8820 2 nf_nat_ipv4,iptable_nat
nf_conntrack 54280 5 nf_nat,xt_state,nf_nat_ipv4,iptable_nat,nf_conntrack_ipv4
iptable_filter 624 0
ip_tables 10592 3 iptable_filter,iptable_mangle,iptable_nat
x_tables 10532 4 ip_tables,xt_state,iptable_filter,iptable_mangle
snd_soc_tas5713 4128 0
snd_soc_pcm512x 6592 0
snd_soc_wm8804 6064 1
8192cu 458968 0
snd_soc_bcm2708_i2s 4668 2
regmap_mmio 1796 1 snd_soc_bcm2708_i2s
snd_soc_core 99000 8 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_hifiberry_dac,snd_soc_hifiberry_digi,snd_soc_tas5713,snd_soc_iqaudio_dac,snd_soc_pcm5102a,snd_soc_bcm2708_i2s
snd_compress 6124 1 snd_soc_core
regmap_i2c 824 4 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core,snd_soc_tas5713
snd_pcm_dmaengine 2428 1 snd_soc_core
regmap_spi 968 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm 62044 4 snd_soc_core,snd_soc_hifiberry_dac,snd_soc_iqaudio_dac,snd_pcm_dmaengine
snd_page_alloc 2984 1 snd_pcm
snd_seq 49156 0
snd_seq_device 5020 1 snd_seq
snd_timer 17252 2 snd_pcm,snd_seq
snd 41760 12 snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
i2c_bcm2708 3596 0


What should I do to have _dig as default alsa card, I so play through it in Xbmc.

Thanks

5 comments

Please sign in to leave a comment.