Logitech Unifying Receiver Protocol?
Asked Answered
A

4

10

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.

Arterialize answered 23/2, 2012 at 7:25 Comment(0)
R
5

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

Recoup answered 16/5, 2012 at 12:18 Comment(2)
There have since been a (fully working) utility developed for providing the functionality. The source is open at lekensteyn.nl/logitech-unifying.htmlRecoup
I don't get it. If I understood it correctly, OP seems to be emulating a wireless keyboard using an Android phone. then why did he monitor the communication between the USB receiver and the system? And isn't the work in your link is doing what Logitech's management software does, that is talking to the USB dongle? How does it help his case? He needs to send the wireless signal to the dongle.Seiler
S
10

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).

Spirituel answered 6/4, 2013 at 9:39 Comment(0)
G
7

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.

Gean answered 2/8, 2012 at 18:53 Comment(1)
Yeah, so the accepted work or Tequals0 is not the thing that can help this task, right? I searched for this to know if I could create a custom wireless mouse using an Arduino and reuse a Logitech receiver USB dongle. I was looking for the wireless communication protocol between the mouse and the dongle. Is there any existing work on that, or should I give up (because I myself is not talented enough to be able to reverse-engineer a likey-encrypted wireless traffic).Seiler
R
5

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

Recoup answered 16/5, 2012 at 12:18 Comment(2)
There have since been a (fully working) utility developed for providing the functionality. The source is open at lekensteyn.nl/logitech-unifying.htmlRecoup
I don't get it. If I understood it correctly, OP seems to be emulating a wireless keyboard using an Android phone. then why did he monitor the communication between the USB receiver and the system? And isn't the work in your link is doing what Logitech's management software does, that is talking to the USB dongle? How does it help his case? He needs to send the wireless signal to the dongle.Seiler
M
0

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).

Millisent answered 6/9 at 23:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.