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
Date
Votes
23 comments
-
HiFiBerry team OpenElec now has also switched to device_tree_overlays. Therefore the gudie won't work anymore. However there seems to be another issue with missing device tree overlays in OpenElec. I'm not sure how to fix this. I'm waiting for feedback from the OpenElec developers:
http://openelec.tv/forum/110-update-openelec/75200-failed-to-load-device-tree-overlay#130791
Best regards
Daniel -
Jens Lantermann You are right, the Milhouse builds are at kernel Version 3.18. But all official releases are still below that version. I have the Kernel 3.16.3. Official release 4.2.1
I have tried it with both config versions at hifiberry.conf
#snd_soc_bcm2708_i2s
#bcm2708_dmaengine
#snd_soc_wm8804
#snd_soc_hifiberry_digi
snd_soc_bcm2708
bcm2708_dmaengine
snd_soc_hifiberry_digi
Which modules are the right one?
And my dmesg shows me:
[ 5.091177] snd-hifiberry-digi snd-hifiberry-digi.0: ASoC: CPU DAI bcm2708-i2s.0 not registered
[ 5.091253] snd-hifiberry-digi snd-hifiberry-digi.0: snd_soc_register_card() failed: -517
[ 5.091296] platform snd-hifiberry-digi.0: Driver snd-hifiberry-digi requests probe deferral
[ 5.159161] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
[ 5.174380] systemd[1]: Failed to start Load Kernel Modules.
[ 5.174681] systemd[1]: Unit systemd-modules-load.service entered failed state.
[ 5.835947] systemd-journald[179]: Received request to flush runtime journal from PID 1
[ 5.894014] systemd-udevd[185]: starting version 216
[ 6.181241] Console: switching to colour dummy device 80x30
[ 7.072209] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[ 7.072434] snd-hifiberry-digi snd-hifiberry-digi.0: ASoC: CODEC wm8804.1-003b not registered
[ 7.072499] snd-hifiberry-digi snd-hifiberry-digi.0: snd_soc_register_card() failed: -517
[ 7.072540] platform snd-hifiberry-digi.0: Driver snd-hifiberry-digi requests probe deferral
[ 7.090452] pcm512x 1-004d: Failed to reset device: -5
[ 7.090611] pcm512x: probe of 1-004d failed with error -5
[ 7.093791] pcm512x 1-004c: Failed to reset device: -5
[ 7.093947] pcm512x: probe of 1-004c failed with error -5
[ 7.094608] wm8804 1-003b: Failed to read device ID: -1
[ 7.094634] wm8804 1-003b: ASoC: failed to probe CODEC -1
[ 7.094709] snd-hifiberry-digi snd-hifiberry-digi.0: ASoC: failed to instantiate card -1
[ 7.094791] snd-hifiberry-digi snd-hifiberry-digi.0: snd_soc_register_card() failed: -1
[ 7.094826] snd-hifiberry-digi: probe of snd-hifiberry-digi.0 failed with error -1 -
HiFiBerry team The driver looks ok so far, however the "Failed to read device ID: -1" looks like the I2C driver is missing or might be blacklisted.
Best regards
Daniel -
Jens Lantermann When I switch to the modules :
My hifiberry.conf
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_wm8804
snd_soc_hifiberry_digi
My Loaded modules
Module Size Used by
snd_soc_tas5713 4760 0
snd_soc_pcm512x_i2c 1481 0
snd_soc_pcm512x 6092 1 snd_soc_pcm512x_i2c
snd_soc_hifiberry_digi 2143 0
snd_soc_wm8804 6900 0
regmap_spi 1465 1 snd_soc_wm8804
regmap_i2c 1974 3 snd_soc_wm8804,snd_soc_pcm512x_i2c,snd_soc_tas5713
snd_soc_bcm2708_i2s 5577 0
snd_soc_core 100609 5 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_hifiberry_digi,snd_soc_tas5713,snd_soc_bcm2708_i2s
snd_compress 7084 1 snd_soc_core
snd_pcm_dmaengine 2927 1 snd_soc_core
regmap_mmio 2181 1 snd_soc_bcm2708_i2s
snd_pcm 62712 2 snd_soc_core,snd_pcm_dmaengine
snd_timer 17660 1 snd_pcm
snd 41549 4 snd_soc_core,snd_timer,snd_pcm,snd_compress
bcm2708_rng 808 0
And dmesg shows me:
[ 5.370438] wm8804 1-003b: Failed to read device ID: -1
[ 5.370470] wm8804 1-003b: ASoC: failed to probe CODEC -1
[ 5.370556] snd-hifiberry-digi snd-hifiberry-digi.0: ASoC: failed to instantiate card -1
[ 5.370643] snd-hifiberry-digi snd-hifiberry-digi.0: snd_soc_register_card() failed: -1
[ 5.370684] snd-hifiberry-digi: probe of snd-hifiberry-digi.0 failed with error -1
[ 6.136185] systemd-journald[182]: Received request to flush runtime journal from PID 1
[ 6.143989] systemd-udevd[186]: starting version 216
[ 6.368539] Console: switching to colour dummy device 80x30
[ 7.257580] pcm512x 1-004d: Failed to reset device: -5
[ 7.257734] pcm512x: probe of 1-004d failed with error -5
[ 7.262249] pcm512x 1-004c: Failed to reset device: -5
[ 7.262401] pcm512x: probe of 1-004c failed with error -5
Does this looks better? Which driver is the I2C driver? -
Jens Lantermann If I install your openelec Version, it looks like an Analog Hifiberry Digi. But I have an optical output on the board. So it must be an Hifiberry Digi- :-)
HiFiBerry:~ # aplay -l
**** 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
HiFiBerry:~ #
How can this be? -
HiFiBerry team Hi Jens,
this means that the device wasn't recognised. Did you try our test image? We have seen rare cases where the boards wasn't working at all. Usually this was a power supply issue.
Please try first with the test image:
https://www.hifiberry.com/guides/sd-card-images/
Best regards
Daniel -
Jens Lantermann Hi Daniel,
I have downloaded your Image and ...
HiFiBerry:~ # aplay -l
aplay: device_list:268: no soundcards found...
HiFiBerry:~ # lsmod
Module Size Used by
snd_soc_pcm512x_i2c 1481 0
snd_soc_hifiberry_dacplus 2059 0
snd_soc_pcm512x 6092 1 snd_soc_pcm512x_i2c
snd_soc_hifiberry_digi 2143 0
snd_soc_wm8804 6900 0
regmap_spi 1465 1 snd_soc_wm8804
regmap_i2c 1974 2 snd_soc_wm8804,snd_soc_pcm512x_i2c
snd_soc_bcm2708_i2s 5577 0
snd_soc_core 100601 5 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_hifiberry_digi,snd_soc_hifiberry_dacplus,snd_soc_bcm2708_i2s
snd_compress 7084 1 snd_soc_core
snd_pcm_dmaengine 2927 1 snd_soc_core
regmap_mmio 2181 1 snd_soc_bcm2708_i2s
snd_pcm 62712 2 snd_soc_core,snd_pcm_dmaengine
snd_timer 17660 1 snd_pcm
snd 41549 4 snd_soc_core,snd_timer,snd_pcm,snd_compress
bcm2708_rng 808 0
HiFiBerry:~ # dmesg
dmesg shows
[ 6.414082] wm8804 1-003b: Failed to read device ID: -1
[ 6.414120] wm8804 1-003b: ASoC: failed to probe CODEC -1
[ 6.414233] snd-hifiberry-digi snd-hifiberry-digi.0: ASoC: failed to instantiate card -1
[ 6.414345] snd-hifiberry-digi snd-hifiberry-digi.0: snd_soc_register_card() failed: -1
[ 6.414395] snd-hifiberry-digi: probe of snd-hifiberry-digi.0 failed with error -1
[ 6.435233] snd-rpi-hifiberry-dacplus snd-rpi-hifiberry-dacplus.0: ASoC: CODEC pcm512x.1-004d not registered
[ 6.435322] snd-rpi-hifiberry-dacplus snd-rpi-hifiberry-dacplus.0: snd_soc_register_card() failed: -517
[ 6.435368] platform snd-rpi-hifiberry-dacplus.0: Driver snd-rpi-hifiberry-dacplus requests probe deferral
What specification muste the powersupply met? I'm using a 5V and 2A power supply. -
HiFiBerry team Hi,
the power supply must be quite stable. Unfortunately many suppliers just specify maximal current. This doesn't say a lot about the power supply. One thing that can be a problem is ripple. We have seen power supplies where the output voltage is 5V, but with additional 0.5V ripple and noise. This can cretae poblems. Do you have another power supply to test?
Otherwise you have to return the board to us and we need to test the Digi here.
Best regards
Daniel -
Jens Lantermann Hello,
I have tried your test-image and several other Images with 5 different power supplys.
The only output I can see is:
[ 6.414082] wm8804 1-003b: Failed to read device ID: -1
[ 6.414120] wm8804 1-003b: ASoC: failed to probe CODEC -1
[ 6.414233] snd-hifiberry-digi snd-hifiberry-digi.0: ASoC: failed to instantiate card -1
[ 6.414345] snd-hifiberry-digi snd-hifiberry-digi.0: snd_soc_register_card() failed: -1
[ 6.414395] snd-hifiberry-digi: probe of snd-hifiberry-digi.0 failed with error -1
[ 6.435233] snd-rpi-hifiberry-dacplus snd-rpi-hifiberry-dacplus.0: ASoC: CODEC pcm512x.1-004d not registered
[ 6.435322] snd-rpi-hifiberry-dacplus snd-rpi-hifiberry-dacplus.0: snd_soc_register_card() failed: -517
[ 6.435368] platform snd-rpi-hifiberry-dacplus.0: Driver snd-rpi-hifiberry-dacplus requests probe deferral
or
HiFiBerry:~ # aplay -l
**** 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
HiFiBerry:~ #
if I load the DAC module.
What can I do?
Kind regards -
HiFiBerry team Ok, it looks like we have to check the board here. Please send it to us (if you live in th EU, to our Germany office, otherwise to Switzerland). We will check and replace it, if the board is faulty.
The addresses can be found here:
https://www.hifiberry.com/shop/money-back-guarantee/
Best regards
Daniel -
HiFiBerry team Ok, it looks like we have to check the board here. Please send it to us (if you live in th EU, to our Germany office, otherwise to Switzerland). We will check and replace it, if the board is faulty.
The addresses can be found here:
https://www.hifiberry.com/shop/money-back-guarantee/
Best regards
Daniel -
Jens Lantermann Hi,
I have send my hifiberry Digi to your Germayn office. Can I get any information about the status?
Kind regards
Jens -
Anne (HiFiBerry team) Hi Jens,
we received your package yesterday and will send your replacement today.
Kind regards
Anne -
Jens Lantermann Hi,
I got my replacement today. I have downloaded openelec version 5.0.3 from openelec.tv and have configured it like explained (https://www.hifiberry.com/guides/configuring-the-sound-card-in-openelec-with-device-tree-overlays/).
No hifiberry digi Soundmodule is loaded.
From my point of view the kernel is not able to load overlays, because it is still version Linux version 3.17.8.
Any idea? -
HiFiBerry team Hi Jens,
OpenElec 5.0.3 should use 3.18.x. However the 5.0.3 version for the Raspberry Pi 1 has a bug and device_tree_overlay is not enabled:
http://openelec.tv/forum/124-raspberry-pi/75516-device-tree-overlay-rpi1-vs-rpi2
The Raspberry Pi 2 version works fine.
If you use the Raspberry Pi 1, you need to configure it "the old way". However with the next version most likely you need to change the configuration to the new devcie_tree setup.
Best regards
Daniel -
Jens Lantermann Hi,
I'm a little bit frustrated, I have done the following installation process.
- Download Raspberry Pi 1 Software Imgage from Openelec.tv (5.0.3)
- Konfiguration of hifiberry like https://www.hifiberry.com/guides/openelec-configuration/
- reboot
- dmesg shows me the following
[ 7.963225] wm8804 1-003b: Failed to read device ID: -1
[ 7.963263] wm8804 1-003b: ASoC: failed to probe CODEC -1
[ 7.963349] snd-hifiberry-digi snd-hifiberry-digi.0: ASoC: failed to instantiate card -1
[ 7.963440] snd-hifiberry-digi snd-hifiberry-digi.0: snd_soc_register_card() failed: -1
[ 7.963488] snd-hifiberry-digi: probe of snd-hifiberry-digi.0 failed with error -1
I have bought a brand new powerplug with a stabilized 5V output.
Where is the problem? What do I wrong.
Kind regards -
HiFiBerry team Hi Jens,
does the green LED on the board light up on boot?
Best regards
Daniel -
Jens Lantermann Do you mean the hifiberry board? I have never seen a led light there.
What can that mean? -
HiFiBerry team But you have the Digi+, not the DAC+ - right? Did you try our test image from here:
https://www.hifiberry.com/guides/sd-card-images/
Daniel -
Jens Lantermann Hi Daniel,
I have ordered a digi not a digi+, because of I have only a RPI 1. My digi has an optical adapter on it, so I think I have a digi and it do looks like your digi.
Kind regards -
Jens Lantermann How can I verify that my board features the P5 connector?
Kind regards. -
HiFiBerry team Check out this video, it shows the P5 connector and how to solder the pin header:
https://vimeo.com/79610450
Best regards
Daniel -
Jens Lantermann Hi Daniel,
i solved the problem. I have build the connectors in like in the video.
Now everything works fine.
Kind regards
Please sign in to leave a comment.