11
« on: January 23, 2017, 02:25:34 AM »
Hi Allo team,
on weekend I received my Allo Piano Dac 1.1 along with the Kali board. First thanks for the really quick delivery!
But I couldn't make the Dac work. I've mounted it to my Pi board without the Kali board first, using the Allo power adapter.
As Pi images I've tried Libreelec 7.95.1 Beta and Volumio 2.041. Everything is connected and so far setup fine, that I can select the Pianao DAC within the Libreelec interface as well as in the Volumio interface. But no sound is coming through, neither through the RCA connectors nor through the headphone jack.
Before describing my setup further, one question: What is the on board Pi Compatibility switch for? Nowhere found a description of its purpose and when to switch to which position.
Here is my setup for Libreelec
in /flash/config.txt appened:
dtoverlay=allo-piano-dac-pcm512x-audio
dtdebug=1
The output of vcdbg log msg is:
dtdebug: Opened overlay file 'overlays/allo-piano-dac-pcm512x-audio.dtbo'
Loaded overlay 'allo-piano-dac-pcm512x-audio'
dtdebug: Found fragment 0 (offset 36)
dtdebug: merge_fragment(/soc/i2s@7e203000,/fragment@0/__overlay__)
dtdebug: +prop(status)
dtdebug: merge_fragment() end
dtdebug: Found fragment 1 (offset 112)
dtdebug: merge_fragment(/soc/i2c@7e804000,/fragment@1/__overlay__)
dtdebug: +prop(#address-cells)
dtdebug: +prop(#size-cells)
dtdebug: +prop(status)
dtdebug: merge_fragment(/soc/i2c@7e804000/pcm5142@4c,/fragment@1/__overlay__/pcm5142@4c)
dtdebug: +prop(#sound-dai-cells)
dtdebug: +prop(compatible)
dtdebug: +prop(reg)
dtdebug: +prop(status)
dtdebug: merge_fragment() end
dtdebug: merge_fragment() end
dtdebug: Found fragment 2 (offset 316)
dtdebug: merge_fragment(/soc/sound,/fragment@2/__overlay__)
dtdebug: +prop(compatible)
dtdebug: +prop(i2s-controller)
dtdebug: +prop(status)
dtdebug: merge_fragment() end
The output of dmesg is:
snd-allo-piano-dac soc:sound: ASoC: CPU DAI (null) not registered
snd-allo-piano-dac soc:sound: snd_soc_register_card() failed: -517
snd-allo-piano-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered
snd-allo-piano-dac soc:sound: snd_soc_register_card() failed: -517
snd-allo-piano-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
The output of lsmod is:
Module Size Used by
hci_uart 15605 1
btbcm 5315 1 hci_uart
bluetooth 291488 3 hci_uart,btbcm
brcmfmac 181893 0
snd_soc_pcm512x_i2c 2051 1
snd_soc_pcm512x 16692 1 snd_soc_pcm512x_i2c
snd_soc_bcm2835_i2s 5123 2
snd_soc_allo_piano_dac 2432 0
brcmutil 4893 1 brcmfmac
snd_soc_core 104527 3 snd_soc_pcm512x,snd_soc_allo_piano_dac,snd_soc_bcm2835_i2s
cfg80211 246082 1 brcmfmac
snd_pcm_dmaengine 2943 1 snd_soc_core
snd_pcm 68095 4 snd_soc_pcm512x,snd_pcm_dmaengine,snd_soc_allo_piano_dac,snd_soc_core
snd_timer 17690 1 snd_pcm
snd 41825 3 snd_timer,snd_soc_core,snd_pcm
bcm2835_gpiomem 2716 0
i2c_bcm2835 5101 0
The output of amixer -c 0 info is:
Card hw:0 'PianoDAC'/'PianoDAC'
Mixer name : ''
Components : ''
Controls : 20
Simple ctrls : 19
The output of aplay -l is:
**** List of PLAYBACK Hardware Devices ****
card 0: PianoDAC [PianoDAC], device 0: Piano DAC HiFi pcm512x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
The output of aplay -L is:
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=PianoDAC
PianoDAC,
Default Audio Device
sysdefault:CARD=PianoDAC
PianoDAC,
Default Audio Device
Checking with amixer I saw the the volume for Digital was set to 100%. All other mixer options do not seem to be relevant, right?
Is there anything else that I need to enable? Reading about the device tree stuff it looks like explicitly enabling i2s isn't needed.
Any help is very welcome!