Recieved my HiFiBerry DAC today. Red the online manuals recarding the installation and configuration.
As you guessed it didn't work after reboot. Do I have DOA?
The Postman had been a little rough also, but nothing more than bended RCA >:) https://goo.gl/photos/twHKACqpSXbqb1VR7
circuit board and solderings seemed just fine.
aplay -l
aplay: device_list:252: no soundcards found...
lshw -short
H/W path Device Class Description
===============================================
system Raspberry Pi 2 Model B Rev 1.1
/0 bus Motherboard
/0/0 processor cpu
/0/1 processor cpu
/0/2 processor cpu
/0/3 processor cpu
/0/4 memory 925MiB System memory
/0/5 scsi0 storage
/0/5/0.0.0 /dev/sda disk Elements 107C
/0/5/0.0.0/1 /dev/sda1 volume EFI GPT partition
/0/6 scsi1 storage
/0/6/0.0.0 /dev/sdb disk SCSI Disk
/0/6/0.0.0/1 /dev/sdb1 volume EXT4 volume
/0/6/0.0.0/2 /dev/sdb2 volume EXT4 volume
/1 eth0 network Ethernet interface
-------------------------
My sysinfo:
uname -r
4.1.7-v7+
-------------------------
cat /etc/issue
Raspbian GNU/Linux 7 \n \l
-------------------------
tail -1 /boot/config.txt
dtoverlay=hifiberry-dacplus
-------------------------
lsmod | egrep "bcm2708_dmaengine|snd_soc_pcm5102a|snd_soc_hifiberry_dac"
snd_soc_pcm5102a 1654 0
snd_soc_hifiberry_dacplus 2685 0
snd_soc_hifiberry_dac 2420 0
snd_soc_core 132622 4 snd_soc_hifiberry_dac,snd_soc_pcm5102a,snd_soc_hifiberry_dacplus,snd_soc_bcm2708_i2s
snd_pcm 74825 3 snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine
-------------------------
cat /etc/asound.conf
#HifiBerry configuration
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}
Date
Votes
11 comments
-
HiFiBerry team Hi,
often small config problems can cause this type of issues. I see that you are using kernel 4.1.7. This is really new, we haven't tested this one yet. Therefore I'm not sure if there might be even a problem with this kernel.
Please use our installer to install and configure the system:
https://www.hifiberry.com/2015/09/help-us-to-help-you/
Let us know if this work.
Best regards
Daniel -
Tero Kirjavainen I just ran rpi-update, also noticed rather new kernel :) Well I can always downgrade...
But I'try your suggestion first. -
Tero Kirjavainen I don't have any Windows nor will ever pay for one or buy harware including one. :)
OSX is too locked down for me obeying their will.
I read between the line you want me to install OpenElec?
(will try that next.) -
Tero Kirjavainen Meh it needs to be installed and installation needs display and display needs power cord and display needs hdmi to dvi converter and display need display cable and user needs peace and quiet.
OpenElec boots and gets ip-address. Not gonna connect display to it tonight, so Iäll continue tomorrow.
Light still doesn't turn on on hifiberry. -
HiFiBerry team There is no need to install OpenElec. With our installer you can install Raspbian, OpenElec and other distributions - it's your choice.
Best regards
Daniel -
Anton Daniel, he can't use the installer, since he's using neither Windows nor Mac.
Just to test, you could either use our test image or maybe Volumio.
With both you should at least get the DAC running to check if it is ok. OpenELEC works for this purpose of course as well, but you are right, you would need a screen. Volumio and OpenELEC, when not installed from our installer, need to be switched in the audio options to the DAC.
If you get from one of these audio out (and the LED working), the DAC should be fine at least... -
Tero Kirjavainen I wasn't up to the task roaming under the table connecting the display. But today was different story.
I connected display and launched OpenElec
-------------------------------
OPENELEC
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################
OpenELEC (official) Version: 5.0.8
OpenELEC:~ # uname -a
Linux OpenELEC 3.18.10 #1 SMP Tue Mar 31 14:50:33 CEST 2015 armv7l GNU/Linux
OpenELEC:~ #
FROM DMESG:
[ 0.000000] Linux version 3.18.10 (stephan@buildserver.openelec.tv) (gcc version 4.9.2 (GCC) ) #1 SMP Tue Mar 31 14:50:33 CEST 2015
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi 2 Model B
OpenELEC:~ # aplay -l
aplay: device_list:268: no soundcards found...
OpenELEC:~ #
OpenELEC:~ # vcdbg log msg
001151.803: HDMI:EDID version 1.3, 0 extensions, screen size 43x27 cm
001151.867: HDMI:EDID features - videodef 0xea standby suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
001151.952: HDMI:EDID found preferred DMT detail timing format: 1680x1050p @ 60 Hz (58)
001151.993: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
001152.032: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
001152.068: HDMI:EDID found DMT format: code 8, 800x600p @ 56 Hz in established timing I/II
001152.107: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
001152.144: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
001152.184: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
001152.224: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
001152.264: HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
001152.353: HDMI:EDID standard timings block x 8: 0x0101 8180 8140 714F 0101 0101 0101 0101
001152.406: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 1
001152.457: HDMI:EDID found DMT format: code 32, 1280x960p @ 60 Hz (4:3) in standard timing 2
001152.507: HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 3
001152.542: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
001152.681: HDMI:EDID preferred mode remained as DMT (58) 1680x1050p @ 60 Hz with pixel clock 146 MHz
001157.056: HDMI:Setting property pixel encoding to Default
001157.076: HDMI:Setting property pixel clock type to PAL
001157.097: HDMI:Setting property content type flag to No data
001157.118: HDMI:Setting property fuzzy format match to enabled
001162.950: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined
001162.975: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined
001162.997: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined
001163.019: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined
001163.038: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined
001163.059: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined
001163.081: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined
001163.100: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined
001163.120: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined
001163.140: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined
001163.160: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined
001163.182: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined
001163.205: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined
001181.528: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<<
001193.686: hdmi: HDMI:EDID version 1.3, 0 extensions, screen size 43x27 cm
001193.756: hdmi: HDMI:EDID features - videodef 0xea standby suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
001193.844: hdmi: HDMI:EDID found preferred DMT detail timing format: 1680x1050p @ 60 Hz (58)
001193.890: hdmi: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
001193.930: hdmi: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
001193.972: hdmi: HDMI:EDID found DMT format: code 8, 800x600p @ 56 Hz in established timing I/II
001194.012: hdmi: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
001194.055: hdmi: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
001194.096: hdmi: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
001194.137: hdmi: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
001194.183: hdmi: HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
001194.272: hdmi: HDMI:EDID standard timings block x 8: 0x0101 8180 8140 714F 0101 0101 0101 0101
001194.326: hdmi: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 1
001194.379: hdmi: HDMI:EDID found DMT format: code 32, 1280x960p @ 60 Hz (4:3) in standard timing 2
001194.431: hdmi: HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 3
001194.474: hdmi: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
001194.613: hdmi: HDMI:EDID preferred mode remained as DMT (58) 1680x1050p @ 60 Hz with pixel clock 146 MHz
001194.631: hdmi: HDMI: hotplug attached with DVI support
001194.706: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001197.206: hdmi: HDMI: power_on to DMT mode SWXGA+@60
001199.385: hdmi: HDMI: Action callback added to queue to happen at frame 0
001216.280: *** Restart logging
001216.948: Read command line from file 'cmdline.txt'
boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet
001231.819: Can't find 'kernel7.img' on boot device - rc 2
001231.936: Loading 'kernel.img' from SD card
001602.454: Kernel trailer DTOK property says yes
001602.591: Loading 'bcm2709-rpi-2-b.dtb' from SD card
001629.385: dtparam: arm_freq=900000000
001691.618: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
003382.325: vchiq_core: vchiq_init_state: slot_zero = 0xee800000, is_master = 1
003385.984: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
003389.951: gpioman: gpioman_get_pin_num: pin LEDS_RUNNING not defined
003389.977: gpioman: gpioman_get_pin_num: pin LEDS_NAND_ACTIVITY not defined
003389.999: gpioman: gpioman_get_pin_num: pin LEDS_USB_ACTIVITY not defined
003390.022: gpioman: gpioman_get_pin_num: pin LEDS_FATAL_ERROR not defined
003390.041: gpioman: gpioman_get_pin_num: pin LEDS_APP_OK not defined
003390.062: gpioman: gpioman_get_pin_num: pin LEDS_APP_FAILED not defined
003390.085: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_AUTH not defined
003390.105: gpioman: gpioman_get_pin_num: pin LEDS_HDCP_UNAUTH not defined
003390.125: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_ON not defined
003390.146: gpioman: gpioman_get_pin_num: pin LEDS_DVI_ON not defined
003390.166: gpioman: gpioman_get_pin_num: pin LEDS_HDMI_HPD_UP not defined
003390.190: gpioman: gpioman_get_pin_num: pin LEDS_REMOTE_CONTROL not defined
003390.212: gpioman: gpioman_get_pin_num: pin LEDS_ARM_CONTROLLED not defined
003390.562: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x0000003a
011722.659: hdmi: HDMI:Setting property pixel clock type to PAL
011722.771: hdmi: HDMI: power_on to DMT mode SWXGA+@60
011722.815: hdmi: HDMI: Action detach added to queue to happen at frame 629
011722.838: hdmi: HDMI: Action change_mode added to queue to happen at frame 629
011722.862: hdmi: HDMI: Action attach added to queue to happen at frame 629
011722.886: hdmi: HDMI: Action start_mode added to queue to happen at frame 629
011722.908: hdmi: HDMI: Action callback added to queue to happen at frame 629
>not much was loaded at this stage :P
OpenELEC:~ # lsmod
Module Size Used by
bcm2708_rng 801 0
No /etc/boot.txt file so I manually loaded modules
OpenELEC:/ # modprobe snd_soc_bcm2708
modprobe: FATAL: Module snd_soc_bcm2708 not found.
OpenELEC:/ # modprobe bcm2708_dmaengine
OpenELEC:/ # modprobe snd_soc_pcm5102a
OpenELEC:/ # modprobe snd_soc_hifiberry_dac
OpenELEC:/ # lsmod
Module Size Used by
snd_soc_hifiberry_dac 2167 0
snd_soc_pcm5102a 1463 0
snd_soc_core 104953 2 snd_soc_hifiberry_dac,snd_soc_pcm5102a
snd_compress 6924 1 snd_soc_core
snd_pcm_dmaengine 2811 1 snd_soc_core
snd_pcm 60222 3 snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine
snd_timer 16287 1 snd_pcm
snd 38962 4 snd_soc_core,snd_timer,snd_pcm,snd_compress
bcm2708_rng 801 0
OpenELEC:/ #
And because openElec seems rather stripped down... didnät even see what services were running....
OpenELEC:~ # id
uid=0(root) gid=0(root) groups=0(root)
OpenELEC:~ # service --status-all
-sh: service: not found
This won't help my testing at all...
So situtation is the same, no life in the card.
ps: (at this stage I haven't red all the new posts), wil do that next -
Tero Kirjavainen Will try the test image next, https://www.hifiberry.com/files/images/hifiberry-testimage.zip -
HiFiBerry team This looks like you did not configure the driver in /boot/config.txt
You can't load the modules by hand if the device-tree overlay is not configured correctly as this enables access to the hardware.
Best regards
Daniel -
HiFiBerry team This looks like you did not configure the driver in /boot/config.txt
You can't load the modules by hand if the device-tree overlay is not configured correctly as this enables access to the hardware.
Best regards
Daniel -
Tero Kirjavainen HW is fine, got sound from the testimage.
So now I can start hunting the reason why it won't activate in Rasbian. :)
Before I downgrade my firmware, I'll do some backupping.
But thanks for the SUPERB SUPPORT!!!
Didn't got annoyed by my attitude.
ps: Anyone who want's to verify is HW allright:
1.) Download testimage: https://www.hifiberry.com/files/images/hifiberry-testimage.zip
2.) Extract/install it to SDcard
# dd if=hifiberry-testimage.img of=/dev/mmcblk0 bs=4M
256+0 records in
256+0 records out
1073741824 bytes (1.1 GB) copied, 69.0383 s, 15.6 MB/s
3.) Turn on the audio equipment and boot Raspberry.
Please sign in to leave a comment.