Griffin Powermate on Linux

For a while I've used a Griffin PowerMate USB knob as a scroll wheel. It works really well, and is much faster for scrolling long pages, as well as easier on my fingers than the traditional mouse wheel.

Every time I set it up on a new computer, however, I forget how to do it, so here are my definitive instructions:

  1. Create /etc/udev/rules.d/powermate.rules with the following content:
    SUBSYSTEM=="input", ATTRS{idVendor}=="077d", ATTRS{idProduct}=="0410", SYMLINK+="powermate", MODE="660", GROUP="video"
  2. Make sure you're a member of the video group. Alternatively, create a new system group, such as input, and add your user to that group. Change GROUP="video" to suit.
  3. Restart udev
    sudo restart udev
  4. Install evrouter from http://www.bedroomlan.org/projects/evrouter (Debian/Ubuntu i386 and AMD64 packages available).
  5. Create /etc/evrouterrc (or $HOME/.evrouterrc) with:
    Window ""
    "Griffin PowerMate" "" any key/256 "XButton/2"
    "Griffin PowerMate" "" any rel/7/1 "XButton/5"
    "Griffin PowerMate" "" any rel/7/-1 "XButton/4"
  6. Create /usr/local/bin/powermate with:
    #!/bin/sh
    evrouter -c /etc/evrouterrc /dev/powermate
  7. Setup your session to auto-run powermate on login (or just be lazy like me and run it when you need it).

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <strike> <u> <div> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <h1> <h2> <h3> <h4> <h5> <h6> <span> <br> <br /> <p> <pre>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Image CAPTCHA
Enter the characters shown in the image.