which seem to be related to the same issue but it is not clear to me if they were resolved. Not sure which version of RasPlex i am using but I only installed RasPlex last week (24 Jan) so I guess it is a pretty recent version.
This is all new to me so any advice would be appreciated
I've been looking into the same thing for the past 2 weeks or so, and sadly it's not currently possible. As stated in your first link Hifiberry cards require linux kernel 3.10.23 or above. The current linux kernel used in Rasplex is 3.10.20. This won't change in the forseeable future as it requires Rasplex to be based on a newer version of Openelec.
An alternative solution could be to use Openelec with the plugin Plexbmc, but this setup has troubles of it's own since the current version of Plexbmc doesn't work with Plex servers where the Plex Home feature has been enabled. There are community based fixes for this issue, but I have yet to test these fixes so I cannot say how well they work.
Per the new 0.5.1 release, rasplex supports device trees and should support the hifiberry DAC. Unfortunately, just replacing the dtoverlay=lirc-rpi line with dtoverlay=hifiberry-dacplus does not work. Looking into it, dmesg gives this error:
[ 5.709137] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 5.709233] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 5.709280] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral
[ 5.716482] snd-rpi-hifiberry-dacplus sound: ASoC: CODEC DAI pcm512x-hifi not registered
[ 5.716575] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 5.716625] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral
[ 5.739122] pcm512x 1-004d: No SCLK, using BCLK: -2
[ 5.758565] snd-rpi-hifiberry-dacplus sound: pcm512x-hifi <-> 20203000.i2s mapping ok
Per the new 0.5.1 release, rasplex supports device trees and should support the hifiberry DAC. Unfortunately, just replacing the dtoverlay=lirc-rpi line with dtoverlay=hifiberry-dacplus does not work. Looking into it, dmesg gives this error:
[ 5.709137] snd-rpi-hifiberry-dacplus sound: ASoC: CPU DAI (null) not registered
[ 5.709233] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 5.709280] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral
[ 5.716482] snd-rpi-hifiberry-dacplus sound: ASoC: CODEC DAI pcm512x-hifi not registered
[ 5.716575] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 5.716625] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral
[ 5.739122] pcm512x 1-004d: No SCLK, using BCLK: -2
[ 5.758565] snd-rpi-hifiberry-dacplus sound: pcm512x-hifi <-> 20203000.i2s mapping ok
I wonder if anyone has seen better results?
Thanks,
Ian
You didn't need to replace the dtoverlay, you can have many entries for different hardware. I have an HiFiBerry on order, should be here in a couple of days, will be able to investigate the issue then.
As long as you wait I can test. Only thing I need to know is how i get rid of LIRC. I read a lot of deleting it out of config.txt, use modprobe to blacklist it but the first thing didn´t change anything and I do not know how to achieve the second one because I can not deactivate the read only fs on /etc.
wouldn't a mount -o remount,rw /etc achieve this? cannot test now but that's the standard way to remount in read-write a write-only filesystem in linux
It’s using squashfs. I already tried this, but I’m not sure of how they “requashed” the system. Standard args don’t result in a filesystem that was recognized at boot.
The problem is, GPIO 18-21 are reserved for the HiFiBerry sound port. Therefore it would be a solution if it would be possible to reconfigure LIRC to just use another port. I try to execute a script on startup but for now it is not working. I keep looking into it.