/Lightpack

Lightpack and Prismatik legacy open repo

Primary LanguagePascalGNU General Public License v3.0GPL-3.0

This repo is deprecated! Main development repository was moved to https://github.com/woodenshark/Lightpack

Lightpack project with Prismatik flavour

Table of content:
  Short description
  Useful URLs
  Build Prismatik with Windows
  Build with Linux
  Build with OS X
  Lightpack Firmware building

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:
  • Fully open-source under GPLv3 (hardware, software, firmware)
  • Cross-platform GUI (Qt)
  • USB HID (no need to install any drivers)
  • The device is simple to build (just Do-It-Yourself)
Useful URLs:

Prismatik build instructions for Windows

Prerequisites:

  • Qt SDK
  • Microsoft DirectX SDK
  • POSIX shell utilities MSYS for example. Make sure PATH environment variable is set for the utilities (Run → sysdm.cpl → Advanced → Environment Variable → Edit PATH system variable (C:\MinGW\msys\1.0\bin; for example), path should points directly on the utilities so utilities are available without any subdirectories)

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:

  • qt5-default
  • gtk2-engines-pixbuf
  • g++
  • libusb-dev
  • libudev-dev
  • if you are using Ubuntu: libappindicator-dev

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:

  • Qt SDK (5.0+)
  • MacOSX 10.9.sdk
Whole dependencies list for Prismatik 5.10.1:
  • QtCore.framework
  • QtGui.framework
  • QtNetwork.framework
  • QtOpenGL.framework

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. Compile Prismatik using command line:
    • cd $Lightpack/Firmware
    • make LIGHTPACK_HW=7
  4. Reboot device to bootloader and type make dfu

Please let us know if you find mistakes, bugs or errors.
Post new issue: https://github.com/woodenshark/Lightpack/issues