Michael0x2a
Michael0x2a

Reputation: 63978

Logitech Unifying Receiver Protocol?

Is there a place where I can find documentation or an SDK about the Logitech Unifying Receiver?

I recently obtained a wireless mouse, which came with a Logitech Unifying Receiver (a small USB dongle that plugs into the computer and communicates with the mouse/other compatible devices (such as keyboards)).

I wanted to try writing an app for my smartphone that pretends to be a mouse and sends data to the receiver.

I was able to monitor the data from the USB bus by using usbmon, and could probably use that to hack something out, but wanted to know if I could find the info I need somewhere on the internet without having to derive it on my own.

I'm going to try using SL4A on Android, if that helps any.

Upvotes: 10

Views: 16238

Answers (4)

Alban Browaeys
Alban Browaeys

Reputation: 36

An Arduino compatible C library for the Unifying protocol Logitech Unifying Protocol Implementation I don't know the status of the code nor have I tested it.

I believe you cannot use your phone hardware to emulate a Logitech Unifying device. You will need to plug the hardware into the phone to do so (an arduino for one).

Upvotes: 0

Lekensteyn
Lekensteyn

Reputation: 66375

I have discovered some Logitech documents on a shared folder in Google Docs via this Chromium bug report. For convenience, I converted all doc(x) files to PDFs and put those on https://lekensteyn.nl/files/logitech/.

You will find Logitech HID++ 1.0 Specification for Unifying Receivers (pdf) very interesting, it describes the USB traffic (instead of the 2.4GHz wireless traffic as noted by Avery). My article Logitech Unifying for Linux: Reverse Engineering and unpairing tool documents a way to capture the traffic with usbmon and QEMU. It also includes tools to make the usbmon output prettier to read (for this protocol).

Upvotes: 11

user91
user91

Reputation: 71

This is Avery, aka Tequals0. The USB dongle is a USB HID mouse/keyboard device, so all that traffic that you are seeing is basically generic HID traffic- if you want to pair your phone to your dongle, you will have to emulate the wireless traffic, not the USB traffic-that is generated by the dongle.

Upvotes: 7

Alexander
Alexander

Reputation: 913

There is some info at Tequals0 blog, and AveryLouie also got some python tool operating with unifying

Upvotes: 5

Related Questions