I bought a Philips AmbX Starter kit, and struggled how to configure this so it will work with X11. It's working!
What I used:
- Ubuntu Desktop 10.04 Beta2 x64
- XBMC Camelot 9.11
- Philips AmbX starter kit (Around 25 euro in NL)
- CombustD
- Boblight
1. (If not installed) install Subversion
Code:
sudo apt-get install subversion2. get combustd from svn
Code:
svn checkout http://combustd.googlecode.com/svn/branches/combustd-ruby-0.13. Download Boblight and extract it to something you want
Code:
Download: wget http://www.xs4all.nl/~loosen/boblight/boblight-1.3.tar.gz.
Tar: tar zxvf boblight-1.3.tar.gz4. Get dependencies to compile Boblight
Code:
sudo apt-get install gcc libusb-dev ruby ruby-dev libportaudio-dev libavdevice-dev libswscale-dev libavformat-dev libavcodec-dev libxrender-dev libsdl1.2-dev libc6-dev-i386 libx11-dev4. Build the package 'Boblight'
Go to the folder where you extracted Boblight and do:
Code:
sudo ./configureCode:
sudo makeCode:
sudo make install5. Configure Boblight
Open a text-editor (I used Gedit in the code-example) and edit the file 'boblight.conf
Code:
sudo nano /etc/boblight.confCode:
[global]
interface 127.0.0.1
port 19333
[device]
name AmbX_Combust
output "ruby /usr/local/combustd/applications/boblight/boblight.rb"
channels 5
type popen
interval 20000
[color]
name red
rgb FF0000
[color]
name green
rgb 00FF00
[color]
name blue
rgb 0000FF
[light]
name main
color red AmbX_Combust 1
color green AmbX_Combust 2
color blue AmbX_Combust 3
hscan 0 100
vscan 0 100And save the file.
Boblight is now configured.
6. Install and compile Ruby-usb
download and get Ruby-usb
Code:
wget http://www.a-k-r.org/ruby-usb/ruby-usb-0.2.tar.gzCode:
tar -zxvf ruby-usb-0.2.tar.gzRun ruby extconf.rb
Code:
sudo ruby extconf.rbMake & Install Ruby
sudo make && sudo make install
7. CombustD
- Extract the CombustD package you downloaded previously
- Rename the folder to combustd
- Move the folder to /usr/local
All steps are now done, time to start the daemon!
Run the following command in a shell:
Code:
sudo boblightdStart the boblight-X11 binary
Code:
boblight-X11Tweaks:
More saturation:
Add -s 20 behind the boblight-X11 exec.
To Do:
Create a file to autostart the daemon on startup and to launch the server
Add more tweaks
V. 0.1
Thanks
Thanks go to:
Bob for creating the great Boblight utility!
http://blogger.xs4all.nl/loosen/
Creators of CombustD!


Search
Help