Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A program to pair devices to a Logitech Unifying Receiver on Linux.
C Shell
branch: master

Merge pull request #9 from ElijahLynn/typo-in-autopair-sh

Fixed typo 'attemping compilation'.
latest commit fe4afff385
Travis Reeder authored
Failed to load latest commit information.
.gitignore Add unify to gitignore.
README.md Update README.md
autopair.sh Fixed typo 'attemping compilation'.
unify.c Added support for nano receiver

README.md

Logitech Unifier

A program to pair devices to a Logitech Unifying Receiver on Linux. Also works for Nano Receiver (Non-unifying)

Logitech only provides a Windows program to do this, so if you're running Linux, you either need to pair your devices on a windows box or use the unify.c script.

Quick How To - BETA

Run:

./autopair.sh

This script which will do a bunch of stuff automatically.

  • It will automatically compile the binary (if needed)
  • mark it executable (if needed)
  • find the Logitech device in hidraw
  • run the script with additional prompting (turn off device first)

Longer How To if Above Doesn't Work

1. Compile it

gcc -o unify unify.c

2. Find your hidraw device

To find it, run the following for every hidrawX on your system until you find HID_NAME=Logitech USB Receiver:

cat /sys/class/hidraw/hidraw0/device/uevent

If hidraw0 isn't it, try hidraw1 and so on.

3. Pair it

Run:

sudo ./unify /dev/hidrawX

Where X is the matching number from step 2.

4. Turn on your device like the tool will say.

That's it! Device should work now.

Thanks

To Tycho for this article: http://tycho.ws/blog/2011/12/logitech-unifying-receiver

And Benjamin for writing the script: https://groups.google.com/forum/?fromgroups#!msg/linux.kernel/zYS6yddI8yU/9cMvg3k9xTYJ

Something went wrong with that request. Please try again.