Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Q-light driver

Compiling

Compiling should be simple, just clone the repo and run make within it. Compiling does require libusb

$ git clone https://github.com/KennethWilke/qlight_userspace
$ cd qlight_userspace
$ make

Usage

To run the driver you need to be root or a user in the plugdev group.

Run the qlight binary to change the state of the lights and sound device for the qlight tower.

# This will turn on the red light
$ ./qlight -r on

Lights may be on, off or blinking. Light options depends on what model you are using. Use r, y, b, g or w switches for red, yellow, blue, green and white respectively. These options can be combined.

# Turn off red light, make green blink, and white on
$ ./qlight -r off -g blink -w off

Sound is controled with the s flag. As with lights the sounds differ with each model, use the number 1-5 to choose.

# Turn on the second sound
$ ./qlight -s 2

# Turn sound back off
$ ./qlight -s off

About

A linux userspace driver for qlight warning tower models: USB56LB, USB56LS, USB56LM

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.