Atarity / Lightpack

Lightpack and Prismatik legacy open repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Lightpack and Prismatik legacy open repo

License:GNU General Public License v3.0


Languages

Language:C++ 25.6%Language:Pascal 25.4%Language:C 19.2%Language:C# 16.1%Language:HTML 10.3%Language:Python 1.5%Language:Makefile 0.7%Language:QMake 0.3%Language:Objective-C 0.2%Language:XSLT 0.1%Language:Shell 0.1%Language:Java 0.1%Language:Lua 0.1%Language:Inno Setup 0.1%Language:CMake 0.1%Language:CSS 0.0%Language:Assembly 0.0%Language:Ruby 0.0%Language:Perl 0.0%Language:Batchfile 0.0%Language:Scheme 0.0%