Posts by fichtennadel
-
-
It's not against the rules to post it here, but personally I would call it a development discussion, which has an own sub-forum.
Nope. Copy&Paste from the forum descriptions:
Development > General help for development and building with LibreELEC
Bug Reports > If you found a bug and can provide a technical description of it, post a report here
I'm not searching for workarounds, I'm not developing or building LibreELEC, I report a bug.
And now lets please stop the meta-discussion and focus on topic
-
-
yes, dtoverlay=hifiberry-dacplus
It's all on the same hardware and config.txt: using Kodi's upgrade function I've been booting millhouse build #0116 , which is ok but #0117 not. Up- and downgrade and vice versa reproduces the problem.
See also my post #763 over at LibreELEC Testbuilds for RaspberryPi (Kodi 19.0)
-
ok, so I narrowed it down, last working kernel was 5.4.11:
Code
Display More############################################## # LibreELEC # # https://libreelec.tv # ############################################## LibreELEC (Milhouse): devel-20200116210332-#0116-ge0fe762 (RPi2.arm) raspiLibreELEC:~ # uname -a Linux raspiLibreELEC 5.4.11 #3 SMP Thu Jan 16 21:04:07 GMT 2020 armv7l GNU/Linux raspiLibreELEC:~ # aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 [HiFiBerry DAC+ HiFi pcm512x-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0
-
Hi,
running on Raspi3, hifiberry can't be loaded in kernel 5.4.18, it fails with snd-rpi-hifiberry-dacplus soc:sound: ASoC: failed to init link HiFiBerry DAC+: -517
Code
Display More############################################## # LibreELEC # # https://libreelec.tv # ############################################## LibreELEC (Milhouse): devel-20200216210416-#0216-gd1fdc57 (RPi2.arm) 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:~ #
Full dmesg output see dmesg.txt.
It's not an hardware issue, hifiberry is fine when booting a different image/sd card (see hifiberry_ok.txt for log excerpts).
-
Resurrecting this thread to share my solution:
The Fire TV Stick Remote enters some kind of standby mode, which disconnects it. My (not very elegant) solution was to try every 15 seconds from the RPi to reconnect:
1. go to libreelec bluetooth settings and (re)connect the remote
2. ssh to the RPi
3. issue command echo|bluetoothctl , write down the MAC address of "Amazon Fire TV Remote", for example 11:22:33:44:55:66 (yours will of course differ!)
4. create cronjobs to try to connect every 15 seconds:
crontab -e, enter in editor:
Bash* * * * * sleep 00;echo 'connect 11:22:33:44:55:66'|bluetoothctl > /dev/null 2>&1 * * * * * sleep 15;echo 'connect 11:22:33:44:55:66'|bluetoothctl > /dev/null 2>&1 * * * * * sleep 30;echo 'connect 11:22:33:44:55:66'|bluetoothctl > /dev/null 2>&1 * * * * * sleep 45;echo 'connect 11:22:33:44:55:66'|bluetoothctl > /dev/null 2>&1
save and quit editor
5. Press the "Home" button on the remote for at least 16 seconds
6. Enjoy reconnected remote
Exercise left for the impatient: more cronjobs, less sleep