Kodi Community Forum

Full Version: Hifiberry Digi & Raspberry Pi B
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
HI,
I have a brand new Hifiberry and this modul will not work. Kodi Version 5.0.1
I have use the howto :https://www.hifiberry.com/guides/openelec-configuration/

The output I get is :
EG-OpenELEC:~/backups # aplay -l
aplay: device_list:268: no soundcards found...

and dmesg shows me

[ 5.341237] bcm2708_rng_init=d6a1a000
[ 6.481000] wm8804 1-003b: Failed to read device ID: -1
[ 6.481041] wm8804 1-003b: ASoC: failed to probe CODEC -1
[ 6.481133] snd-hifiberry-digi snd-hifiberry-digi.0: ASoC: failed to instantiate card -1
[ 6.481235] snd-hifiberry-digi snd-hifiberry-digi.0: snd_soc_register_card() failed: -1
[ 6.481290] snd-hifiberry-digi: probe of snd-hifiberry-digi.0 failed with error -1
[ 6.698128] systemd-journald[168]: Received request to flush runtime journal from PID 1

Where is the problem?

P.S.: I haven't found a actually discussion about this problem
That howto is out of date, and should be ignored.

See https://github.com/raspberrypi/firmware/...ays/README

Add "dtoverlay=hifiberry-digi" to config.txt.

However, the required overlay files are currently missing from OpenELEC 5.0.1 (at least for Pi2, not sure about Pi1).

You can download the overalys from here (save the file hifiberry-digi-overlay.dtb into your overlays folder of the FAT partition), or use one of my test builds (based on Kodi 15) which does include the overlays.
That's quiet easy. There is just one additional point.
The Kernel at Kodi 5.0.1 is just at version
EG-OpenELEC:~ # dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.17.8 (

I need 3.18 to use dtoverlay.
How can I upgrade? Just with a test build?
Ah yes, it's only OpenELEC 5.0.1 on the Pi2 that is using the updated 3.18 kernel. The Pi1 is still using the older kernel which doesn't yet support device tree (in which case that howto should apply, but you're better off with device tree as it's the future for Raspberry Pi 1 and 2).

To upgrade to a kernel 3.18 Pi1 test build just download the tar file, copy it to your Update folder and reboot. Note that my test builds are based on Kodi 15, which despite being alpha is very stable, but is using an updated video database schema (v91). If you want to switch back to official builds, just copy the official tar into your Update folder, reboot and delete/drop MyVideos91.
Ok. Now I understand why I'm confused. Have you a valid link of an build, who is the right one. I do not find a .tar file of an test build.
Test builds. Links are in the first post. Try the last build, #0205 - click on the RPi link to download.
Hi,

I have installed the #0205 buiild. The modules are loaded, but dmesg shows the following:
[ 11.101525] snd-hifiberry-digi sound: ASoC: CPU DAI (null) not registered
[ 11.101622] snd-hifiberry-digi sound: snd_soc_register_card() failed: -517
[ 11.101674] platform sound: Driver snd-hifiberry-digi requests probe deferral
[ 11.108420] snd-hifiberry-digi sound: ASoC: CPU DAI (null) not registered
[ 11.108516] snd-hifiberry-digi sound: snd_soc_register_card() failed: -517
[ 11.108571] platform sound: Driver snd-hifiberry-digi requests probe deferral
[ 11.166376] wm8804 1-003b: Failed to read device ID: -1
[ 11.166420] wm8804 1-003b: ASoC: failed to probe component -1
[ 11.166511] snd-hifiberry-digi sound: ASoC: failed to instantiate card -1
[ 11.166655] snd-hifiberry-digi sound: snd_soc_register_card() failed: -1
[ 11.166704] snd-hifiberry-digi: probe of sound failed with error -1

and
# aplay -l
aplay: device_list:268: no soundcards found...

What can I do?
What is in your config.txt?

Also: "vcdbg log msg 2>&1 | pastebinit" and paste the url.
Arrrhh Sorry posted in wrong section Sad
(2015-02-07, 00:27)invisable Wrote: [ -> ]Milhouse do you know if openvpn has been disabled on your latest build.
I must admit I've missed a few but on #0205 im having trouble conecting and it seems to be missing from usr/sbin ?
By the way thanks for all the hard work and time you put into these builds. It's appreciated !!

Yes dropped, but should be available in the unofficial repo.

https://github.com/OpenELEC/OpenELEC.tv/pull/3772
Hi Milhouse,

hope this will help. My config.txt, actually I haven't change anything.

################################################################################
# Bootloader configuration - config.txt
################################################################################

################################################################################
# Memory (System/GPU configuration )
################################################################################

# default GPU memory split (do not change if you do not know what you are doing)
gpu_mem=128

# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
gpu_mem_256=112
gpu_mem_512=160
gpu_mem_1024=256

################################################################################
# Overclocking settings
# WARNING: Do not change/enable if you do not know what you are doing!
# The System may become unstable or you can have data corruption or
# you can loose your warranty if you set wrong settings
#
# please read: http://elinux.org/RPi_config.txt#Overclo...figuration
################################################################################

# Overclock mode settings.
#
# default recommended values are: arm_freq | core_freq | sdram_freq | over_voltage
# no overclocking : 700 | 250 | 400 | 0
# mode 'Modest' : 800 | 300 | 400 | 0
# mode 'Medium' : 900 | 333 | 450 | 2
# mode 'High' : 950 | 450 | 450 | 6

# arm_freq=700
# core_freq=250
# sdram_freq=400
# over_voltage=0

# set to 'force_turbo=1' to disable dynamic overclocking (you can lose your warranty!)
force_turbo=0

# If you have any data corruption using Turbo Mode and overclocking
# try with this setting uncommented
# If this still fails, try to use Medium mode without "over_voltage=2"
# If it ultimately keeps failing, forget about this until it gets fixed
# Use a more conservative mode that will works fine in any cases:
# initial_turbo=30

################################################################################
# Overscan settings
################################################################################

# Make display smaller to stop text spilling off the screen
# see also http://www.raspberrypi.org/phpBB3/viewto...67&t=15700
# overscan_scale=1
# disable_overscan=1

# Adapt overscan values to your needs
# overscan_left=57
# overscan_right=59
# overscan_top=20
# overscan_bottom=20

################################################################################
# various settings see also: http://elinux.org/RPi_config.txt
################################################################################

# Force HDMI even if unplugged or powered off
# hdmi_force_hotplug=1

# Doesn't sent initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
hdmi_ignore_cec_init=1

################################################################################
# License keys to enable GPU hardware decoding for various codecs
# to obtain keys visit the shop at http://www.raspberrypi.com
################################################################################

decode_MPG2=0x7b54cb55
decode_WVC1=0xaaec227d
# decode_DTS=0x00000000
# decode_DDP=0x00000000

dtoverlay=hifiberry-digi

################################################################################
# End of default configuration
# all values below this line were inserted from config.txt.bk (your old config)
# and can be merged with the above values
################################################################################

EG-OpenELEC:~ # vcdbg log msg 2>&1 | pastebinit
http://sprunge.us/IjBa

Are these the informations you have asked for?
This should now be working. Only other thing I can suggest is that you try one of my OpenELEC test builds - OE 5.0.1 for Pi1 is based on the 3.17.8 kernel, but my test builds are using 3.18.5 and I've had confirmation of my builds working with hifiberry.
Ah, as I said previously - OE 5.0.1 builds for Pi1 do NOT support device tree. Switch to one of my builds and we can continue the discussion on device tree. Otherwise contact hifiberry for support.