GithubHelp home page GithubHelp logo

fouric / powermate-linux Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stefansundin/powermate-linux

0.0 2.0 0.0 40 KB

:penguin: Linux userspace driver for the Griffin PowerMate. (USB version only, Bluetooth version not supported!)

Makefile 5.49% C 94.51%

powermate-linux's Introduction

PowerMate Linux Driver

This is a small Linux userspace driver for the Griffin PowerMate (USB version only). It requires PulseAudio to work (default in Ubuntu).

For an easy to use PPA, use: https://launchpad.net/~stefansundin/+archive/ubuntu/powermate

Disclaimer

PowerMate is a registered trademark of Griffin Technologies Inc. This software is not affiliated or endorsed by them.

This software is written by Stefan Sundin and is licensed under GPLv3.

Installation

Binaries are available in the releases section.

Clone Repository

$ git clone --recurse-submodules https://github.com/stefansundin/powermate-linux.git
$ cd powermate-linux

Setup udev rule

$ sudo cp 60-powermate.rules /etc/udev/rules.d/

After copying the file, unplug and plug the device back in.

Compile

Install requirements and then compile:

$ sudo apt-get install libpulse-dev libnotify-dev
$ make

Run

Simply run the executable with ./powermate.

The program should be able to handle the device being disconnected and connected without problems.

Make it run automatically on login somehow. If you are running a standard desktop environment then there is usually a "Startup Applications" preference. This is automatically installed if you use the PPA.

You can use ./powermate -d to daemonize the program without having to update the config file.

Configuration

By default, the program changes the volume when you turn the knob clockwise and counter clockwise, but you are able to customize the program to do anything via the configuration file.

Press the knob to mute. Hold down the knob for one second to activate "movie mode". Operation is the same except the LED stays off.

powermate-linux's People

Contributors

b10n avatar fouric avatar stefansundin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.