0

module snd_soc_hifiberry_dacplus broken in kernel 5.4.18

Hello,

 

running on Raspi3 / libreelec, hifiberry can't be loaded in kernel 5.4.18.

Booting kernel 5.4.11 on the very same Raspi and config.txt works just fine

raspiLibreELEC:~ # aplay -l
aplay: device_list:272: no soundcards found...
raspiLibreELEC:~ # uname -a
Linux raspiLibreELEC 5.4.18 #1 SMP Sun Feb 16 21:05:03 GMT 2020 armv7l GNU/Linux
raspiLibreELEC:~ # lsmod
Module Size Used by
hidp 28672 0
aes_arm_bs 24576 4
crypto_simd 16384 1 aes_arm_bs
cryptd 20480 3 crypto_simd
hci_uart 45056 1
btbcm 16384 1 hci_uart
serdev 20480 1 hci_uart
bluetooth 442368 24 hidp,hci_uart,btbcm
ecdh_generic 16384 2 bluetooth
ecc 36864 1 ecdh_generic
8021q 28672 0
bcm2835_codec 32768 0
snd_soc_pcm512x_i2c 16384 0
videobuf2_dma_contig 24576 1 bcm2835_codec
videobuf2_memops 20480 1 videobuf2_dma_contig
brcmfmac 274432 0
brcmutil 20480 1 brcmfmac
snd_soc_pcm512x 32768 1 snd_soc_pcm512x_i2c
snd_soc_hifiberry_dacplus 16384 0
v4l2_mem2mem 20480 1 bcm2835_codec
videobuf2_v4l2 24576 2 bcm2835_codec,v4l2_mem2mem
cfg80211 561152 1 brcmfmac
videobuf2_common 45056 3 bcm2835_codec,v4l2_mem2mem,videobuf2_v4l2
rfkill 24576 4 bluetooth,cfg80211
bcm2835_gpiomem 16384 0
videodev 180224 4 bcm2835_codec,videobuf2_common,v4l2_mem2mem,videobuf2_v4l2
i2c_bcm2835 16384 0
snd_soc_bcm2835_i2s 20480 0
mc 45056 5 bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
fixed 20480 0
wireguard 135168 0
ip6_udp_tunnel 16384 1 wireguard
udp_tunnel 16384 1 wireguard
raspiLibreELEC:~ # dmesg|grep hifiberry
[ 7.185696] snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
[ 7.409770] snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
[ 7.419868] snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
[ 7.546983] Modules linked in: snd_soc_pcm512x_i2c(+) videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.548495] Modules linked in: snd_soc_pcm512x_i2c(+) videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.552649] Modules linked in: snd_soc_pcm512x_i2c(+) videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.712001] snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
[ 7.720195] Modules linked in: bcm2835_codec(C) snd_soc_pcm512x_i2c videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.720637] Modules linked in: bcm2835_codec(C) snd_soc_pcm512x_i2c videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
[ 7.721015] Modules linked in: bcm2835_codec(C) snd_soc_pcm512x_i2c videobuf2_dma_contig videobuf2_memops brcmfmac brcmutil snd_soc_pcm512x snd_soc_hifiberry_dacplus v4l2_mem2mem videobuf2_v4l2 cfg80211 videobuf2_common rfkill bcm2835_gpiomem videodev i2c_bcm2835 snd_soc_bcm2835_i2s mc fixed wireguard(O) ip6_udp_tunnel udp_tunnel
raspiLibreELEC:~ #

See https://forum.libreelec.tv/core/attachment/5977-dmesg-txt for full dmesg.

I've already opened threads on https://forum.libreelec.tv/thread/21404-hifiberry-module-snd-soc-hifiberry-dacplus-broken-in-kernel-5-4-18/#post135057 and https://forum.kodi.tv/showthread.php?tid=343068&pid=2925752#pid2925752 , but guys over there think it's related to the kernel, not libreelec distribution.

 

 

6 comments

Please sign in to leave a comment.