PiBUS - A Raspberry Pi-BMW Interface Board

PiBUS
(Media Center)
PTV
(Digital TV)

Software Installation

Download OpenELEC 6.0.x from the OpenELEC web site. Install OpenELEC on your Raspberry Pi and make sure it's operating normally. Use a keyboard and TV or monitor to test it. During the first boot-up, it will ask you if you want to enable SSH, make sure you do.

Automated Installation (PiBUS4 only)

Search the web on how to login to your Pi using PuTTY, this will give you a command prompt.
Once your Pi is connected to the internet, type the following two commands:

wget http://pibus.info/pibus-install.sh
bash pibus-install.sh

Manual Installation (not recommended)

Here's a list of the keyboard keys the pibus software emulates:
E46 / E39 / X5Z4 / X3 (requires -z4 parameter)
BMW Button        KeyKodi Function
Rotary Turn↑ / ↓Various
Rotary PressEnterVarious
ClockBackspaceBack
<>TabToggle Fullscreen   
<, (comma)   Previous Song
>. (dot)Next Song
Speak (wheel)SpacePause
Long-2TabToggle Fullscreen
Long-4EscapeHome
1SpacePause
4iMedia Info
2zZoom
5xStop
3
6

BMW Button        KeyKodi Function
Rotary Turn↑ / ↓Various
Rotary PressEnterVarious
<, (comma)   Previous Song  
>. (dot)Next Song
Speak (wheel)SpacePause
Long-1iMedia info
Long-2TabToggle Fullscreen
Long-4EscapeHome
1SpacePause
2zZoom
3xStop
4BackspaceBack
5
6


Audio Configuration of Kodi (formerly XBMC) OpenELEC

By default OpenELEC/Kodi will use the Raspberry Pi's 3.5mm audio jack, it needs to be re-configured to use the PiBUS 24-bit DAC.
If you used the automated installation, this is already done.
If you used the manual method, you just need to add a line to a text file from the Pi's command prompt. Execute these commands:

mount -o remount,rw /flash
echo "dtoverlay=hifiberry-dac" >> /flash/config.txt
mount -o remount,ro /flash
reboot

After the Pi reboots go to Settings > System > Audio Output, and select snd_rpi_dac from the list of choices.
Kodi screenshot