various updates
This commit is contained in:
24
README.md
24
README.md
@ -9,39 +9,43 @@ A Linux command line utility to control usb mail notifiers identified as:
|
|||||||
Inside the scripts folder you will find some simple bash scripts you can use to control the notifier.
|
Inside the scripts folder you will find some simple bash scripts you can use to control the notifier.
|
||||||
For example the script `mled-cputemp` will make it respond to your CPU's temperature.
|
For example the script `mled-cputemp` will make it respond to your CPU's temperature.
|
||||||
|
|
||||||
### Get and compile:
|
### Get and compile: ###
|
||||||
|
|
||||||
$ git clone https://github.com/andmarios/ledcontroller-3bit.git
|
$ git clone https://github.com/andmarios/ledcontroller-3bit.git
|
||||||
$ cd ledcontroller-3bit/
|
$ cd ledcontroller-3bit/
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
### Run:
|
### Run: ###
|
||||||
|
|
||||||
$ ./ledcontroller blue | red | green | aqua | purple | yellow | white | off
|
$ ./ledcontroller blue | red | green | aqua | purple | yellow | white | off
|
||||||
|
|
||||||
### Install permanently:
|
### Install permanently: ###
|
||||||
|
|
||||||
$ sudo install -m root -g root -m 755 ledcontroller /usr/bin/ledcontroller
|
$ sudo install -m root -g root -m 755 ledcontroller /usr/bin/ledcontroller
|
||||||
|
|
||||||
### Uninstall:
|
### Uninstall: ###
|
||||||
|
|
||||||
$ sudo rm /usr/bin/ledcontroller
|
$ sudo rm /usr/bin/ledcontroller
|
||||||
|
|
||||||
|
### Have fun: ###
|
||||||
|
|
||||||
## Requisites:
|
Take a look inside the _scripts_ directory.
|
||||||
|
|
||||||
|
## Requisites: ##
|
||||||
|
|
||||||
+ libusb:1 or libusb-1.0-dev, depending on your distribution
|
+ libusb:1 or libusb-1.0-dev, depending on your distribution
|
||||||
+ a system which can compile binaries (package build-essentials for Debian based distributions)
|
+ a system which can compile binaries (package build-essentials for Debian based distributions)
|
||||||
|
|
||||||
## Hardware:
|
## Hardware ##
|
||||||
|
|
||||||
I think [this is my notifier](http://www.andmarios.com/links/mail-usb-notifier) but I can't be
|
I think [this is my notifier](http://www.andmarios.com/links/mail-usb-notifier) but I can't be sure as I bought it a couple of years ago from eBay.
|
||||||
sure as I bought it a couple of years ago from eBay.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Copyright
|
|
||||||
|
|
||||||
This code (files `main.c` and `Makefile`) is a fork of the ledcontroller code by jmrobles <http://robleshermoso.wordpress.com>.
|
## Copyright ##
|
||||||
|
|
||||||
|
This code (files `main.c` and `Makefile`) is a fork of the ledcontroller code by jmrobles (<http://robleshermoso.wordpress.com>).
|
||||||
|
|
||||||
My contribution to this code is very small and probably I could never write this on my own.
|
My contribution to this code is very small and probably I could never write this on my own.
|
||||||
I added support for all the 7 colors of the notifier as the original code only supported the
|
I added support for all the 7 colors of the notifier as the original code only supported the
|
||||||
|
Reference in New Issue
Block a user