Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/27escape/device-blinkstick
Device-BlinkStick
https://github.com/27escape/device-blinkstick
Last synced: about 1 month ago
JSON representation
Device-BlinkStick
- Host: GitHub
- URL: https://github.com/27escape/device-blinkstick
- Owner: 27escape
- Created: 2014-06-26T07:45:28.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2020-12-10T09:46:14.000Z (about 4 years ago)
- Last Synced: 2023-08-24T02:54:46.382Z (over 1 year ago)
- Language: Perl
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
# Device-BlinkStick
Control a BlinkStick (http://blinkstick.com/).
Aims to provide a similar set of functions as the python implementation,
but obviously in perl!The command line script is called 'stick', rather than blinkstick, so that you can
have both installed on your system, as this perl version currently does not have
all the features of the python command line script.## Installation
You may have issues with Device::USB, you may have to install this by hand.
Make sure you have libusb-dev installed (unix) and remove the lineVERSION => '0.36',
From line 17 ot lib/Device/USB.pm - this is part of the Inline block and the source of build/install
problems. You may also get a message likeInsecure dependency in chdir while running with -T switch at /home/kevin/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1/Inline/C.pm line 868
We will have to ignore this and 'make install' anyway to get Device::USB installed and working
To get things working as a user you will need to grant permissions to USB
echo "SUBSYSTEM==\"usb\", ATTR{idVendor}==\"20a0\", ATTR{idProduct}==\"41e5\", MODE:=\"0666\"" | sudo tee /etc/udev/rules.d/85-blinkstick.rules
This may also require a reboot, though a 'service udev restart' may also do the trick