2010-04-10, 23:47
Hi,
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
2. get combustd from svn
3. Download Boblight and extract it to something you want
4. Get dependencies to compile Boblight
4. Build the package 'Boblight'
Go to the folder where you extracted Boblight and do:
(If some dependencies are missing, ask in this forum about it!)
and install it.
5. Configure Boblight
Open a text-editor (I used Gedit in the code-example) and edit the file 'boblight.conf
Add the following code into the file
And save the file.
Boblight is now configured.
6. Install and compile Ruby-usb
download and get Ruby-usb
Extract ruby to a folder
Run ruby extconf.rb
(If you get a error here (mkmf error) > sudo apt-get install ruby1.8-dev
Make & 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:
Start the boblight-X11 binary
Tweaks:
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!
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 subversion
2. get combustd from svn
Code:
svn checkout http://combustd.googlecode.com/svn/branches/combustd-ruby-0.1
3. 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.gz
4. 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-dev
4. Build the package 'Boblight'
Go to the folder where you extracted Boblight and do:
Code:
sudo ./configure
Code:
sudo make
Code:
sudo make install
5. Configure Boblight
Open a text-editor (I used Gedit in the code-example) and edit the file 'boblight.conf
Code:
sudo nano /etc/boblight.conf
Code:
[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 100
And 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.gz
Code:
tar -zxvf ruby-usb-0.2.tar.gz
Run ruby extconf.rb
Code:
sudo ruby extconf.rb
Make & 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 boblightd
Start the boblight-X11 binary
Code:
boblight-X11
Tweaks:
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!