First of all thank you for the very quick delivery to Austria, it just took two days!
I am new to the whole Raspberry Pi community but I have some linux experience. I just bought a Raspberry Pi 3 and run it with Raspbian. Since I also use it as an MPD server, I wanted to increase the sound quality and ordered a HiFiBerry DAC+.
When it arrived I made a dumb mistake and plugged the DAC+ on the running Raspberry Pi 3, which resulted in a black screen and I had to reboot. I am not sure if this broke something because I cannot get the HifiBerry to work. Unfortunately, I dont have a second Raspberry PI to test...
I also tried a pre-configured image with the HiFiBerry Installer, but it gives me the same error (soundcard not detected), when I tried the test tone generator it only booted to the rainbow screen.
If i measure the voltage with a multimeter on the dac+ the output is 5V.
I followed the guide for the latest linux kernel and my /etc/modules contains:
[quote]
i2c-dev
ipv6
[/quote]
/boot/config.txt contains:
[quote]
....
# Enable audio (loads snd_bcm2835)
dtparam=audio=off #deactivated for hifiberry
#HiFiBerry
dtoverlay=hifiberry-dacplus
dtdebug=1
[/quote]
and asound.conf in /etc
[quote]
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}
[/quote]
here my outputs:
aplay -l and sudo aplay -l
[quote]
aplay: device_list:268: no soundcards found...
[/quote]
lsmod
[quote]
Module Size Used by
xt_multiport 1756 1
iptable_filter 1409 1
ip_tables 11637 1 iptable_filter
x_tables 12507 3 ip_tables,xt_multiport,iptable_filter
bnep 10340 2
hci_uart 17943 1
btbcm 5929 1 hci_uart
bluetooth 326105 22 bnep,btbcm,hci_uart
sg 18319 0
joydev 9024 0
brcmfmac 186599 0
brcmutil 5661 1 brcmfmac
cfg80211 427855 1 brcmfmac
snd_soc_hifiberry_dacplus 3972 0
snd_soc_pcm512x_i2c 2243 0
snd_soc_bcm2835_i2s 6354 0
snd_soc_hifiberry_dac 2511 0
snd_soc_pcm512x 17268 1 snd_soc_pcm512x_i2c
rfkill 16037 4 cfg80211,bluetooth
snd_soc_core 125885 4 snd_soc_pcm512x,snd_soc_bcm2835_i2s,snd_soc_hifiberry_dac,snd_soc_hifiberry_dacplus
snd_pcm_dmaengine 3391 1 snd_soc_core
regmap_i2c 3393 1 snd_soc_pcm512x_i2c
snd_pcm 75698 5 snd_soc_pcm512x,snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine,snd_soc_hifiberry_dacplus
snd_timer 19160 1 snd_pcm
snd 51844 3 snd_soc_core,snd_timer,snd_pcm
i2c_bcm2708 4770 0
bcm2835_gpiomem 3040 0
bcm2835_wdt 3225 0
evdev 11396 6
clk_hifiberry_dacpro 2278 0
uio_pdrv_genirq 3164 0
uio 8000 1 uio_pdrv_genirq
i2c_dev 5859 0
fuse 83461 3
ipv6 347530 84
[/quote]
dmesg
[quote]
[ 22.984260] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered
[ 22.984276] snd-rpi-hifiberry-dacplus soc:sound: snd_soc_register_card() failed: -517
[/quote]
sudo vcdbg log msg
[quote]
000922.635: HDMI:EDID version 1.3, 0 extensions, screen size 44x30 cm
000922.699: HDMI:EDID features - videodef 0x80 !standby !suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
000922.788: HDMI:EDID found preferred DMT detail timing format: 1680x1050p @ 60 Hz (57)
000922.827: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
000922.866: HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
000922.903: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
000922.941: HDMI:EDID found DMT format: code 8, 800x600p @ 56 Hz in established timing I/II
000922.977: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
000923.015: HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
000923.053: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
000923.091: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
000923.128: HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
000923.167: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
000923.207: HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
000923.296: HDMI:EDID standard timings block x 8: 0xB300 8180 8140 714F 0101 0101 0101 0101
000923.350: HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 0
000923.401: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 1
000923.451: HDMI:EDID found DMT format: code 32, 1280x960p @ 60 Hz (4:3) in standard timing 2
000923.501: HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 3
000923.536: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
000923.693: HDMI:EDID preferred mode remained as DMT (57) 1680x1050p @ 60 Hz with pixel clock 119 MHz
000941.741: HDMI:Setting property pixel encoding to Default
000941.759: HDMI:Setting property pixel clock type to PAL
000941.778: HDMI:Setting property content type flag to No data
000941.796: HDMI:Setting property fuzzy format match to enabled
001129.619: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<<
001141.753: hdmi: HDMI:EDID version 1.3, 0 extensions, screen size 44x30 cm
001141.823: hdmi: HDMI:EDID features - videodef 0x80 !standby !suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
001141.913: hdmi: HDMI:EDID found preferred DMT detail timing format: 1680x1050p @ 60 Hz (57)
001141.958: hdmi: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
001141.999: hdmi: HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
001142.041: hdmi: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
001142.080: hdmi: HDMI:EDID found DMT format: code 8, 800x600p @ 56 Hz in established timing I/II
001142.122: hdmi: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
001142.162: hdmi: HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
001142.205: hdmi: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
001142.248: hdmi: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
001142.290: hdmi: HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
001142.331: hdmi: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
001142.377: hdmi: HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
001142.467: hdmi: HDMI:EDID standard timings block x 8: 0xB300 8180 8140 714F 0101 0101 0101 0101
001142.522: hdmi: HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 0
001142.575: hdmi: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 1
001142.626: hdmi: HDMI:EDID found DMT format: code 32, 1280x960p @ 60 Hz (4:3) in standard timing 2
001142.677: hdmi: HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 3
001142.717: hdmi: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
001142.875: hdmi: HDMI:EDID preferred mode remained as DMT (57) 1680x1050p @ 60 Hz with pixel clock 119 MHz
001142.892: hdmi: HDMI: hotplug attached with DVI support
001142.958: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001145.424: hdmi: HDMI: power_on to DMT mode SWXGA+rb
001148.594: hdmi: HDMI: Action callback added to queue to happen at frame 0
001165.958: *** Restart logging
001170.260: Read command line from file 'cmdline.txt'
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
001422.184: Loading 'kernel7.img' to 0x8000 size 0x407460
001436.221: Kernel trailer DTOK property says yes
001436.237: Kernel trailer DDTK property says yes
001442.265: Loading 'bcm2710-rpi-3-b.dtb' to 0x40f460 size 0x3ae9
001455.816: dtdebug: /aliases:i2c_vc=i2c0
001461.232: dtdebug: /__symbols__:i2c_vc=i2c0
001465.573: dtdebug: /__overrides__:i2c_vc=i2c0
001473.981: dtdebug: /__overrides__:i2c_vc_baudrate=i2c0_baudrate
001476.961: dtdebug: /aliases:i2c=i2c1
001482.541: dtdebug: /__symbols__:i2c=i2c1
001486.959: dtdebug: /__overrides__:i2c=i2c1
001489.956: dtdebug: /aliases:i2c_arm=i2c1
001495.529: dtdebug: /__symbols__:i2c_arm=i2c1
001500.000: dtdebug: /__overrides__:i2c_arm=i2c1
001508.532: dtdebug: /__overrides__:i2c_baudrate=i2c1_baudrate
001517.127: dtdebug: /__overrides__:i2c_arm_baudrate=i2c1_baudrate
001517.155: dtparam: uart0_clkrate=48000000
001520.013: dtdebug: Found override uart0_clkrate
001520.064: dtdebug: override uart0_clkrate: cell target clock-frequency @ offset 0 (size 4)
001533.253: dterror: not a valid FDT - err -9
001533.263: Failed to load HAT overlay
001533.279: dtparam: i2c_arm=off
001536.066: dtdebug: Found override i2c_arm
001536.102: dtdebug: override i2c_arm: string target 'status'
001542.457: dtparam: spi=off
001545.342: dtdebug: Found override spi
001545.377: dtdebug: override spi: string target 'status'
001550.206: dtparam: audio=off
001553.204: dtdebug: Found override audio
001553.240: dtdebug: override audio: string target 'status'
001564.594: dtdebug: Opened overlay file 'overlays/hifiberry-dacplus.dtbo'
001579.305: Loaded overlay 'hifiberry-dacplus'
001579.400: dtdebug: Found fragment 0 (offset 36)
001585.274: dtdebug: merge_fragment(/clocks,/fragment@0/__overlay__)
001590.032: dtdebug: merge_fragment(/clocks/dacpro_osc,/fragment@0/__overlay__/dacpro_osc)
001590.057: dtdebug: +prop(compatible)
001590.821: dtdebug: +prop(#clock-cells)
001591.676: dtdebug: +prop(phandle)
001592.523: dtdebug: merge_fragment() end
001592.552: dtdebug: merge_fragment() end
001592.625: dtdebug: Found fragment 1 (offset 184)
001597.213: dtdebug: merge_fragment(/soc/i2s@7e203000,/fragment@1/__overlay__)
001597.240: dtdebug: +prop(status)
001598.673: dtdebug: merge_fragment() end
001598.731: dtdebug: Found fragment 2 (offset 260)
001606.429: dtdebug: merge_fragment(/soc/i2c@7e804000,/fragment@2/__overlay__)
001606.456: dtdebug: +prop(#address-cells)
001607.572: dtdebug: +prop(#size-cells)
001608.694: dtdebug: +prop(status)
001613.527: dtdebug: merge_fragment(/soc/i2c@7e804000/pcm5122@4d,/fragment@2/__overlay__/pcm5122@4d)
001613.555: dtdebug: +prop(#sound-dai-cells)
001614.762: dtdebug: +prop(compatible)
001615.858: dtdebug: +prop(reg)
001617.029: dtdebug: +prop(clocks)
001618.186: dtdebug: +prop(status)
001619.401: dtdebug: merge_fragment() end
001619.431: dtdebug: merge_fragment() end
001619.513: dtdebug: Found fragment 3 (offset 480)
001629.654: dtdebug: merge_fragment(/soc/sound,/fragment@3/__overlay__)
001629.679: dtdebug: +prop(compatible)
001630.555: dtdebug: +prop(i2s-controller)
001631.819: dtdebug: +prop(status)
001632.698: dtdebug: merge_fragment() end
001636.848: dtdebug: /aliases:serial0=uart1
001639.897: dtdebug: /aliases:serial1=uart0
001640.013: dtparam: uart1=off
001642.958: dtdebug: Found override uart1
001642.992: dtdebug: override uart1: string target 'status'
001710.611: dtparam: arm_freq=1200000000
001713.673: dtdebug: Found override arm_freq
001713.724: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4)
001723.658: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4)
001733.669: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4)
001743.753: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4)
001753.935: dtparam: core_freq=400000000
001757.561: dtdebug: Found override core_freq
001757.610: dtdebug: override core_freq: cell target clock-frequency @ offset 0 (size 4)
001765.983: dtparam: cache_line_size=64
001769.054: dtdebug: Found override cache_line_size
001769.101: dtdebug: override cache_line_size: cell target cache-line-size @ offset 0 (size 4)
001776.275: dtdebug: delete_node(/hat)
001805.547: dtdebug: delete_node(/__local_fixups__)
001812.975: Device tree loaded to 0x2fffbe00 (size 0x41cf)
001815.266: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
003463.805: vchiq_core: vchiq_init_state: slot_zero = 0xf6c80000, is_master = 1
003468.087: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
003473.071: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000039
[/quote]