https://github.com/treeder/logitech_unifier
A program to pair devices to a Logitech Unifying Receiver on Linux.
https://github.com/treeder/logitech_unifier
Last synced: about 1 year ago
JSON representation
A program to pair devices to a Logitech Unifying Receiver on Linux.
- Host: GitHub
- URL: https://github.com/treeder/logitech_unifier
- Owner: treeder
- Created: 2012-06-01T21:20:54.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2015-10-05T18:48:16.000Z (over 10 years ago)
- Last Synced: 2024-08-03T15:05:07.615Z (almost 2 years ago)
- Language: C
- Homepage:
- Size: 141 KB
- Stars: 352
- Watchers: 20
- Forks: 49
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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