diff --git a/doc/2-PI.rst b/doc/2-PI.rst index ee271ee..61da887 100644 --- a/doc/2-PI.rst +++ b/doc/2-PI.rst @@ -41,6 +41,27 @@ For the Boîtes Électriques Server's executable to be able to run correctly, yo Then go to: ``9 Advanced Options`` -> ``A5 SPI`` -> ```` -> ```` -> ```` Warning : this must be done before executing the server (``be-server``), else it won't run. + +FFMPEG +~~~~~~ + +To read the songs, the ``ffmpeg`` program is required. However, it is not directly available from the official Raspbian repo. + +Fortunately, the deb-multimedia repo offers a Raspberry Pi-compatible package for ``fmpeg``. So, you must add this repo to your ``/etc/apt/sources.list``, by insering the fllowing line in the file:: + + deb http://www.deb-multimedia.org jessie main non-free + +Then, update your packages cache, import the repo's GPG key and install ``ffmpeg``:: + + # apt-get update && apt-get install deb-multimedia-keyring + # apt-get install ffmpeg + +ALSA +~~~~ + +To be able to play the songs correctly, ALSA needs a bit of configuration. To do so, just open the ``/etc/asound.conf`` file and replace its content with this : + + defaults.ctl.!card 1; Wifi bridge setup ----------------- @@ -128,6 +149,8 @@ And enable it with ``systemctl``:: # systemctl enable dnsmasq +Now, you are ready to compile the server ! + Bugs ---- diff --git a/share/asound.conf b/share/asound.conf new file mode 100644 index 0000000..e14cee1 --- /dev/null +++ b/share/asound.conf @@ -0,0 +1 @@ +defaults.ctl.!card 1;