First the good news. This is a great little product and Jörg is easy to deal with. If you are thinking about it, don't hesitate. Thank you so much for creating this product Jörg, it's awesome!
Packaging for the trip in the post (then inside a padded envelope):
Hole cut into the 'official' Raspberry Pi case to gain access to the new port:
PS: (a) by Dremel skills are not great, (b) this is not the best case to be cutting a hole there - note I needed to grind away half of the tab holding the top panel on, but it seems to have no ill-effect on the integrity of the case.
Now the only trouble I had was due to my choice of Raspbian + Kodi on the Pi. That combo will not allow you to passthrough DD/DTS over the TOSLink connection. The "passthrough device" option is locked to HDMI and disabled. By all reports the HiFiBerry Digi+ suffers the same issue. Root cause is an issue in the firmware that reports the card in a way that Kodi does not like. Affects both Kodi 14.2 and 15.0RC2. There is a patch to fix it, but getting it working is ... non-trivial.
I've not tested this myself yet, but by all reports OpenELEC5 and OSMC will work out of the box. Daniel from HifiBerry strongly recommends OpenELEC or OSMC be used in his posts on the forum (example: https://www.hifiberry.com/forums/topic/ ... ssthrough/
). Those operating systems have applied the necessary patch/hack in their version of Kodi to make it work.
I did manage to get it working in Raspbian + Kodi, but I don't recommend it. Took me two days of mucking around and compiling Kodi on the Pi2 (at 2-3 hours a pop). If you really, really want to, here's some resources:
Basic build-from-source process: http://not-guild.de/temp/kodi.txt
Patch from OpenELEC that fixes this issue, plus a bunch of others: https://github.com/OpenELEC/OpenELEC.tv ... orts.patch
Hints from me:
* You will need upwards of 3.2GB free disk space for the build
* You will probably run out of RAM during the build. Add more swap before you start.
* Because of those first two points, I ended up formatting a USB stick with ext4 and using it for the swap file + build -- no, not the most efficient way to do it, but I only had an 8GB SD card
** PS: if you do this, also put the 'ccache' on the USB drive. Set this shell variable before starting: CCACHE_DIR=/mnt/usb/.ccache export CCACHE_DIR
* The 5.95.2 patch file from OpenELEC looks like is was probably made to work with the last beta of Kodi 15.0, not RC2. I got a build failure relating to two patches that used a 'FF_BUG_GMC_UNSUPPORTED' symbol that did not exist. I manually culled the offending patches - they did not seem
important, and it still worked for me.
* I disabled CEC in my build as I did not need it, but someone on the raspberrypi forums did and had problems because the CEC library has been updated since the original build instructions were put together. If you need CEC, use the libccec-2.2.0 version (I think) (see: viewtopic.php?p=789062&sid=ec933c4d7cf7 ... 3a#p789062
* I needed NFS support, so I had to install the libnfs-dev
Raspbian package and add --enable-nfs
to the configure command
* I had a but-for-the-passthrough-issue-fully-functional Kodi 14.2 install, so I was a little naughty and just installed my custom 15.0RC2 build over the top of the existing package-installed-14.2 so I got to keep my existing startup scripts, etc. For that to work I needed to add --prefix=/usr
to the configure command. Having 14.2 installed and working first may not have been necessary, but I did not want to go all the way back to square one to find out.