ok here are the steps for ubuntu:
# 1. Install prerequisites:
sudo apt-get install git build-essential fakeroot debhelper zip libusb-1.0-0-dev python-dev
# 1a. If you want to build the DFAtmo xinelib plugin do the following step
# Note: You need libxine 1.2 packages here!
sudo apt-get install libxine-dev
# 2. Change into your home dir
# 3. Download DFAtmo files from git into sub dir dfatmo
# This has only to be done for the first time
git clone email@example.com:durchflieger/DFAtmo.git dfatmo
# 4. Change into project dir
# 5. If you want to update the project from git do the following step
git reset --hard
# 6. If you only want xbmc support without xinelib plugin do the following step
cp debian/control-dfatmo-only debian/control
# 7. Build debian packages
dpkg-buildpackage -b -D -tc -sd -us -uc
# 8. Install DFAtmo package
sudo dpkg -i ../dfatmo_0.1-0_i386.deb
# 8a. If you build the xinelib plugin install it with
sudo dpkg -i ../libxine-dfatmo-plugin_0.1-0_amd64.deb
# 9. Add permissions to access the serial port for the user who executes xbmc by adding him to group "dialout"
# If you are logged in as this user log out/in again before executing xbmc.
sudo adduser <username> dialout
# 10. Next launch xbmc and install DFAtmo xbmc addon with the zip installation function of XBMC
# The zip is located at "/usr/lib/dfatmo/dfatmo-xbmc-addon.zip"
Go into the addon settings for DFAtmo and set:
driver -> serial
driver param -> /dev/ttyS0;proto=classic
areas -> top=1 left=1 right=1
Of course set driver param to your used serial port device.
Start the DFAtmo addon in xbmc.
Start watching a video -> light should go on
If you need you can configure the mapping from areas to controller channels
individually with the "proto:" option within driver_param.
Have a look into DFAtmo README how this works.