/powermate-linux

:penguin: Linux userspace driver for the Griffin PowerMate.

Primary LanguageC

PowerMate Linux Driver

This is a small Linux userspace driver for the Griffin PowerMate. 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

Create a udev rule by creating the file /etc/udev/rules.d/60-powermate.rules

ACTION=="add", ENV{ID_USB_DRIVER}=="powermate", SYMLINK+="input/powermate", MODE="0666"

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

Download the binary here.

Run

Simply run the executable with ./powermate.

Make it run automatically on login somehow. The program can handle the device being disconnected and connected without problems.

Compile

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

Changes

RSS Release feed

v5 - 2015-12-16 - diff:

  • Properly detect new sink volume.

v4 - 2015-12-16 - diff:

  • Detect sink change.
  • Handle louder than 100% better.

v3 - 2015-04-24 - diff:

  • Movie mode -- hold knob down for one second to turn off LED.
  • Device no longer has to be connected when program starts.
  • Program is now single-threaded.

v2 - 2015-04-11 - diff:

  • The LED is now updated when the volume changes.
  • The program now uses PulseAudio directly. If this is an issue for you, use v1.

v1 - 2015-04-09:

  • Initial release.