When I bought a Logitec M570 wireless trackball I had trouble connecting it to my Logitec unifying USB dongle from my keyboard  under Linux.

I could just plug in a second USB dongle but that’s not the way to go.

Luckily there are free-software engineers who don’t fear to fight the beast 🙂

A nice fellow named  binky734 dived in and came up with a solution:
I just found an extremely simple way of getting your Unifying Receiver to function on Linux without having to bother with pairing it on Windows first. In fact, I tried pairing my M570 with Windows first, and that did not work.

 

  1. Download this small C program.
  2. Ctrl+Alt+T to open a command line and cd to your download directory
  3. $ gcc -o unifying_pair unifying_pair.c
  4. Unplug your Unifying Receiver and head to /dev
  5. Plug in your Unifying Receiver and wait for it to show up in /dev/. Mine was hidraw0.
  6. $ sudo ./unifying_pair /dev/X where X is which ever device name was in your /dev/ directory for your receiver.
  7. If your mouse is not already on, switch it on now. You might have to do the whole ‘turn it off and back on’ thing, but mine connected right away.

 

Hope this helped!