Skip to content
This repository has been archived by the owner on Jan 1, 2019. It is now read-only.
/ Lightpack Public archive
forked from psieg/Lightpack

Lightpack and Prismatik open repository

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE-TEMPLATE
Notifications You must be signed in to change notification settings

Archomeda/Lightpack

 
 

Repository files navigation

Lightpack project with Prismatik flavour

Modified version which includes various improvements for Windows, esp. a Desktop Duplication API Grabber

Table of content:
  [Short description] (#lightpack-project-with-prismatik-flavour)
  [Useful URLs] (#useful-urls)
  [Build Prismatik with Windows] (#prismatik-build-instructions-for-windows)
  [Build with Linux] (#build-instructions-for-linux)
  [Build with OS X] (#build-instructions-for-os-x)
  [Lightpack Firmware building] (#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:

  • 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, you may need to set %QTDIR%
  • Windows SDK or Microsoft DirectX SDK
  • POSIX shell utilities MSYS for example. It may help to have the PATH environment variable set for the utilities (Run → sysdm.cpl → Advanced → Environment Variable → Edit PATH system variable (C:\MinGW\msys\1.0\bin; for example)

####Build process:

  1. go to <repo>/Software
  2. copy and edit build-vars.prf accoring to your machine
  3. optional, if locales changed: run update_locales.bat or ./update_locales.sh (slow on Windows)
  4. run scripts/win32/generate_sln.sh
  5. build Lightpack.sln with MSBuild / VisualStudio

####Building an installer:

  1. run scripts/win32/prepare_installer.sh
  2. build dist_windows/script.iss (64bit) or script32.iss (32bit) with ISCC (the InnoSetup compiler)

###Build instructions for Linux ####Prerequisites: You will need the following packages, usually all of them are in distro's repository:

  • qt5-default
  • libqt5serialport5-dev
  • build-essential
  • libgtk2.0-dev
  • libusb-1.0-0-dev
  • libnotify-dev
  • libudev-dev
  • qttools5-dev-tools
  • if you are using Ubuntu: libappindicator-dev

####Build process:

  1. go to <repo>/Software
  2. optional, if locales changed: run ./update_locales.sh
  3. run qmake -r
  4. run make

####Building a deb package:

  1. run scripts/linux/prepare_installer.sh
  2. cd dist_linux and run build-deb.sh

####Manual deployment: Instead of building a deb package, you can:

  1. 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.
  2. 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


###Firmware 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. Contributions are welcome.
Post new issue : https://github.com/psieg/Lightpack/issues

About

Lightpack and Prismatik open repository

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE-TEMPLATE

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Pascal 25.7%
  • C++ 25.4%
  • C 18.7%
  • C# 16.2%
  • HTML 10.4%
  • Python 1.5%
  • Other 2.1%