aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-03-30 10:12:31 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-03-30 10:12:31 +0200
commit36bea37e9781276e7162292ea6933a7f6404c5ee (patch)
treef3feef5053f227a394a8c459faa70270bb33588e /README.md
parent0cf14446989c8e58a2ce681246507c0803b1e370 (diff)
Initial working implementation for Alsa UCM.
Cleanup format for Alsa control GET. Status: working in progress
Diffstat (limited to 'README.md')
-rw-r--r--README.md34
1 files changed, 24 insertions, 10 deletions
diff --git a/README.md b/README.md
index f340955..7de6f53 100644
--- a/README.md
+++ b/README.md
@@ -7,9 +7,17 @@ AFB_daemon dependency on Standard Linux Distributions
-------------------------------------------------------
# handle dependencies > (OpenSuse-42.2, Fedora-25, Ubuntu 16.04.2LTS)
gcc > 4.8
- libsystemd-dev>=222
- openssl-dev
- uuid-dev
+ systemd-devel (libsystemd-dev>=222)
+ libopenssl-devel
+ uuid-devel
+ file-devel (libmagic-dev)
+ libjson-c-devel
+ alsa-devel
+ ElectricFence (BUG should not be mandatory)
+
+ OpenSuse >=42.2
+ zypper in gcc5 gdb gcc5-c++ cmake ElectricFence systemd-devel libopenssl-devel uuid-devel file-devel alsa-devel
+
libmicrohttpd with AGL patches http://iot.bzh/download/public/2016/appfw/libmicrohttpd-0.9.49-agl.tgz
afb-daemon from AGL Gerrit git clone https://gerrit.automotivelinux.org/gerrit/src/app-framework-binder
@@ -17,11 +25,11 @@ AFB_daemon dependency on Standard Linux Distributions
```
# Might want to add following variables into ~/.bashrc
# export CC=gcc-5; export CXX=g++-5 # if using gcc5
- echo "export DEST=\$HOME/opt" >>~/.bashrc
- echo "export LD_LIBRARY_PATH=\$DEST/lib64" >>~/.bashrc
- echo "export LIBRARY_PATH=\$DEST/lib64" >>~/.bashrc
- echo "export PKG_CONFIG_PATH=\$DEST/lib64/pkgconfig" >>~/.bashrc
- echo "export PATH=\$DEST/bin:\$PATH" >>~/.bashrc
+ echo "export DEST=$HOME/opt" >>~/.bashrc
+ echo "export LD_LIBRARY_PATH=$DEST/lib64" >>~/.bashrc
+ echo "export LIBRARY_PATH=$DEST/lib64" >>~/.bashrc
+ echo "export PKG_CONFIG_PATH=$DEST/lib64/pkgconfig" >>~/.bashrc
+ echo "export PATH=$DEST/bin:$PATH" >>~/.bashrc
source ~/.bashrc
# install AGL pached version of LibMicroHttpd
@@ -61,9 +69,15 @@ make install
ls
# Start the binder
-afb-daemon --token=x --ldpaths=$INSTALL_DIR/lib/audio --port=1234 --roothttp=$INSTALL_DIR/htdocs/audio-bindings --verbose
+
+# From Development Tree
+ afb-daemon --verbose --token="" --ldpaths=./build --port=1234 --roothttp=./htdoc
+
+# From $INSTALL_DIR
+ afb-daemon --verbose --token="" --ldpaths=$INSTALL_DIR/lib/audio --port=1234 --roothttp=$INSTALL_DIR/htdocs/audio-bindings
```
-Start a browser on http://localhost:1234?devid=hw:0
+# replace hd:XX with your own sound card ID ex: "hw:0", "hw:PCH", ...
+Start a browser on http://localhost:1234?devid=hw:XX
Start AlsaMixer and change volume you should see event in your browser
```