steelseries-led/README.md

55 lines
2.4 KiB
Markdown
Raw Permalink Normal View History

2018-06-30 00:10:11 -04:00
# steelseries-led
## About steelseries-led
2015-04-12 14:10:34 -04:00
steelseries-led is a utility for controlling the backlight of the SteelSeries
keyboards included in many MSI laptops. The keyboard is broken up into three
backlight regions (left, middle, and right) which can be set to different
colors and intensities independently of each other. Using the official Windows
utility, one can set the color and brightness for the three regions, as well as
select various other modes such as breathe and wave. The goal of this program
is to replicate that functionality as well as possibly add additional modes and
features.
2018-06-30 00:10:11 -04:00
**NOTE:** While this program may work for other SteelSeries keyboards, it is not
2015-04-12 14:10:34 -04:00
guaranteed. My development efforts with be focused solely on supporting the
keyboard included in MSI laptops, specifically the MSI GS60 Ghost. This
keyboard does not have a model name or number as far as I know, but I believe
that most MSI gaming laptops use the same one. The Origin EVO15-S keyboard may
also work with this program since it is just a re-branded Ghost, but again I
make no guarantees.
Currently, the program is in a very alpha state. The only mode which works
correctly is normal mode. For the time being, this requires setting the color
of each section separately, followed by setting the mode to normal.
2018-06-30 00:10:11 -04:00
## Required packages
2015-04-12 14:10:34 -04:00
2018-06-30 00:10:11 -04:00
steelseries-led depends on the hidapi library which can be found [here](http://www.signal11.us/oss/hidapi/).
2015-04-12 14:10:34 -04:00
2018-06-30 00:10:11 -04:00
## Compiling and Running
2015-04-12 14:10:34 -04:00
2018-06-30 00:10:11 -04:00
Running `make` will compile steelseries-led and produce a single executable.
2015-04-12 14:10:34 -04:00
2018-06-30 00:10:11 -04:00
You can run `steelseries-led help` for details on how to use the program and
2015-04-12 14:10:34 -04:00
what arguments are supported.
This program must be run with root privileges in order to send data to the
keyboard. If you want to avoid this, you can either change the permissions of
2018-06-30 00:10:11 -04:00
the device file manually (i.e. `chmod o+w /dev/bus/usb/<bus>/<device>`, where
2018-06-30 00:13:32 -04:00
\<bus> and \<device> can be found by running `lsusb`), or you can create a udev
2015-04-12 14:10:34 -04:00
rule to do this for you at boot. I have had very limited success with the udev
method, since the rules typically get applied very early in the boot process
before USB devices get initialized.
2018-06-30 14:48:55 -04:00
## How to report bugs?
2015-04-12 14:10:34 -04:00
2018-06-30 14:48:55 -04:00
Open an issue on the issue tracker.
2015-04-12 14:10:34 -04:00
Please indicate what OS and architecture you are using, as well as output from
the program showing the bug, if possible. Please read this entire README first,
as it may be something mentioned above or not yet supported.