You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hifiberry DAC+ --- Linux 3.12.36 --- snd_soc_pcm512x module #846
with this module order (/etc/modules, no depmod installed)
bcm2708-dmaengine
virt-dma
regmap-mmio
spi-bcm2708
i2c-dev
i2c-bcm2708
snd-soc-bcm2708-i2s
snd_soc_pcm512x
snd_soc_hifiberry_dacplus
Has someone an idea what’s going on?
I see no errors using Volumio (3.18), but I assume it could also work with 3.12
[ 45.054314] pcm512x 1-004d: No SCLK, using BCLK: -2
[ 45.068245] pcm512x 1-004d: Completed initialisation - pcm512x_probe
But now the final DAC+ driver fails toload:
[ 69.109326] snd-rpi-hifiberry-dacplus snd-rpi-hifiberry-dacplus.0: ASoC: CPU DAI bcm2708-i2s.0 not registered
[ 69.131065] snd-rpi-hifiberry-dacplus snd-rpi-hifiberry-dacplus.0: snd_soc_register_card() failed: -517
[ 69.141039] platform snd-rpi-hifiberry-dacplus.0: Driver snd-rpi-hifiberry-dacplus requests probe deferral
Unfortunately the i2s module is silent during a successful boot, and there is no equivalent to spidev or i2c-dev that creates /dev/ entries.
I can't spend any more time on this, since you are creating a non-standard configuration, but I suggest you try using bcmrpi_defconfig, verify that it works, then work out what the significant differences are.
Note that it is normal to get some -517/probe deferral "errors" because load order is not guaranteed, but eventually all the components should be ready and the ALSA device will be created.
But when I configure above probed modules as static modules, DAC does not work any more.
I assume it misses some dependencies. Shouldn't these dependencies be resolved as static modules by KConfig?
Seems static modules are broken. I've checked if here is a .o file for each .ko module when module support is disabled. All drivers are there but loading fails.
So I switched to loadable modules and use this modules:
Activity
syntheticpp commentedon Feb 22, 2015
When I build all modules statically but snd-soc-pcm512x/snd-soc-hifiberry-dacplus the error looks like this:
modprobe snd_soc_pcm512x
Jan 1 00:00:40 juplym kern.err kernel: [ 40.223460] pcm512x 1-004d: Failed to get supply 'AVDD': -517
Jan 1 00:00:40 juplym kern.err kernel: [ 40.229222] pcm512x 1-004d: Failed to get supplies: -517
Jan 1 00:00:40 juplym kern.info kernel: [ 40.246831] i2c 1-004d: Driver pcm512x requests probe deferral
AVDD supply: have i missed some power modules?
pelwell commentedon Feb 22, 2015
We don't use regulators on Raspberry Pi - try removing OF_REGULATOR from your config.
pelwell commentedon Feb 22, 2015
Correction - that should have been CONFIG_REGULATOR.
syntheticpp commentedon Feb 23, 2015
Thanks, after removing pcm512x loads:
[ 45.054314] pcm512x 1-004d: No SCLK, using BCLK: -2
[ 45.068245] pcm512x 1-004d: Completed initialisation - pcm512x_probe
But now the final DAC+ driver fails toload:
[ 69.109326] snd-rpi-hifiberry-dacplus snd-rpi-hifiberry-dacplus.0: ASoC: CPU DAI bcm2708-i2s.0 not registered
[ 69.131065] snd-rpi-hifiberry-dacplus snd-rpi-hifiberry-dacplus.0: snd_soc_register_card() failed: -517
[ 69.141039] platform snd-rpi-hifiberry-dacplus.0: Driver snd-rpi-hifiberry-dacplus requests probe deferral
cat /lib/modules/3.12.36-juplym/modules.builtin | grep i2s
kernel/sound/soc/bcm/snd-soc-bcm2708-i2s.ko
Is maybe a wrong name used in snd-rpi-hifiberry-dacplus?
pelwell commentedon Feb 23, 2015
What do
dmesg | grep i2sandlsmodshow?syntheticpp commentedon Feb 23, 2015
Only above error message multiple times:
What does '.0' mean at the end of bcm2708-i2s.0? I2S bus 0?
There is also no i2s in /dev, only i2c-1.
pelwell commentedon Feb 23, 2015
And
lsmod?Unfortunately the i2s module is silent during a successful boot, and there is no equivalent to spidev or i2c-dev that creates /dev/ entries.
I can't spend any more time on this, since you are creating a non-standard configuration, but I suggest you try using bcmrpi_defconfig, verify that it works, then work out what the significant differences are.
syntheticpp commentedon Feb 23, 2015
All is build statically, so lsmod shows nothing.
I'll try with bcmrpi_defconfig.
pelwell commentedon Feb 23, 2015
Note that it is normal to get some -517/probe deferral "errors" because load order is not guaranteed, but eventually all the components should be ready and the ALSA device will be created.
syntheticpp commentedon Feb 23, 2015
OK, I've build with bcmrpi_defconfig and after startup only the module ipv6 is loaded.
Then I call
And it WORKS!
But when I configure above probed modules as static modules, DAC does not work any more.
I assume it misses some dependencies. Shouldn't these dependencies be resolved as static modules by KConfig?
syntheticpp commentedon Feb 23, 2015
Seems static modules are broken. I've checked if here is a .o file for each .ko module when module support is disabled. All drivers are there but loading fails.
So I switched to loadable modules and use this modules:
Many thanks for your hints Phil!
Merge tag 'drm-intel-fixes-2020-01-09-1' of git://anongit.freedesktop…
Merge tag 'drm-fixes-2020-01-10' of git://anongit.freedesktop.org/drm…
Merge pull request raspberrypi#846 from ojeda/drop-optlevel-diff-c