beermix / light-pack

Automatically exported from code.google.com/p/light-pack
GNU General Public License v3.0
0 stars 0 forks source link

Lightpack project with Prismatik flavour

Table of content:
  [Short description] (https://github.com/Atarity/Lightpack#lightpack-project-with-prismatik-flavour)
  [Useful URLs] (https://github.com/Atarity/Lightpack#useful-urls)
  [Build Prismatik with Windows] (https://github.com/Atarity/Lightpack#prismatik-build-instructions-for-windows)
  [Build with Linux] (https://github.com/Atarity/Lightpack#build-instructions-for-linux)
  [Build with OS X] (https://github.com/Atarity/Lightpack#build-instructions-for-os-x)
  [Lightpack Firmware building] (https://github.com/Atarity/Lightpack#fimware-building-instructions)

Lightpack is an fully open-source and simple hardware implementation of the backlight for any computer. It's USB content-driving ambient lighting system.

Prismatik is an open-source software we buid to control Lightpack device. It grabs screen, analize picture, calculate resulting colors and provide soft and gentle lighting with Lightpack device. Moreother, you can handle another devices with Prismatik such as Adalight, Ardulight or even Alienware LightFX system.

Main features:
Useful URLs:

Prismatik build instructions for Windows

Prerequisites:

Build process:

  1. build Prismatik project

Build instructions for Linux

Prerequisites:

You will need the following packages, usually all of them are in distro's repository:

Build process:

  1. go to <repo>/Software
  2. run qmake -r && make
  3. Add a rule for UDEV. See comments from <repo>/Software/dist_linux/deb/etc/udev/rules.d/93-lightpack.rules for how to do it.
  4. Make sure <repo>/Software/qtserialport/libQt5SerialPort.so.5 is available for loading by Prismatik (place it in appropriate dir or use LD_LIBRARY_PATH variable)

Build instructions for OS X

Prerequisites:

Whole dependencies list for Prismatik 5.10.1:

Build process:

  1. Download and unpack 5.0+ Qt SDK from www.qt-project.org
  2. Build Prismatik project

to run Prismatik please make sure PythonQt libs are available for load at runtime


Fimware build instructions

  1. Install [AVR GCC Toolchain] (http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_GCC_Toolchain)
  2. Install dfu-programmer for firmware upload with $ sudo apt-get install dfu-programmer
  3. Install [Eclipse IDE] (http://www.eclipse.org/downloads/) for C/C++ Developers
  4. Install [AVR Eclipse Plugin] (http://avr-eclipse.sourceforge.net/wiki/index.php/Plugin_Download)
  5. Create new "Makefile project from existing code"
    • Set "Existing Code Location" to "Lightpack/Firmware/"
    • Set "Project Name" to "Lightpack"
    • Choose AVR-GCC Toolchain and press "finish"
  6. Reboot device to bootloader and type $ cd Lightpack/Firmware/, then $ make dfu

Please let us know if you find mistakes, bugs or errors.
Post new issue : http://code.google.com/p/lightpack/issues/list