Make the most of your warranty. Register Your Product File a warranty claim. Having issues with your keyboard, mouse or Logitech Options on macOS. Wireless Solar Keyboard K Support. Questions about your Wireless Solar Keyboard K? We’ve got the answers, videos, downloads and information you .
|Published (Last):||24 July 2005|
|PDF File Size:||12.53 Mb|
|ePub File Size:||14.86 Mb|
|Price:||Free* [*Free Regsitration Required]|
This is most interesting packet. The “light meter and battery values” packet This is most interesting packet. What’s here interesting is the last part representing the data.
Logitech K keyboard and Unifying Receiver Linux support
Found keyboard 0x0x24ec8e0 Charge: How the keyboard works This keyboard, like many of the new wireless devices from Logitech, uses the Unifying interface.
In order to solve that, I sent a request for help on the linux-input mailing list. Interfaces are regrouped into a configuration. What the Logitech application does The Logitech application under Windows works that way: There’s a an URB of type interrupt sent each time you press any key with some data in it. Success 0 URB length [bytes]: I’m particularly picky on keyboards, but this one is good. I discovered a bit too late that Drew Fisher did a good presentation on USB reverse engineering at 28c3.
You can then use Wireshark which know how to use usbmon devices and understand the USB protocol. Let’s reverse engineer this As far as I know, there’s nothing in the USB HID protocol that handles this kind of functionality battery status, light meter… in a standard way.
Interrupt packets, a packet send spontaneously; Controls packets, used for command and status operations. The Logitech application under Windows works that way: I did not need it, but I learned a few things.
So the first task to accomplish is, unfortunately, to reverse engineer the program. We have to disconnect the Logitech Unifying Receiver from the kernel. Sniffed data Once everything was set-up, I ran my beloved Wireshark. Logifech might want to take a look at it if you want to reverse engineer on USB.
Now you probably wonder where the data are in this. This keyboard, like many of the new wireless devices from Logitech, uses the Unifying interface. Therefore I’m considering this as some sort of useful mark for now. Here’s the interesting packets that I noticed once I excluded the noise:.
Endpoints are regrouped into an interface. USB stuff you need to know You don’t need to know much about USB to understand what I’ll write about below, but for the sake of comprehensibility I’ll write a couple of things here before jumping in. With that document, I may be able to understand the part I reverse engineered and convert this to a more useful and generic library using the hidraw interface so we don’t have to disconnect the devices from the kernel driver.
As far as I know, there’s nothing in the USB HID protocol that handles this kind of functionality battery status, light meter… in a standard way. You don’t need to know much about USB logiech understand what I’ll write about below, but for the sake of comprehensibility I’ll write a couple of things here before jumping in.
It’s not perfect and does not check for error codes, be careful.
Logitech K750 keyboard and Unifying Receiver Linux support
Now we’ve enough information to build our own very basic solar application. And one dark night, while fragging on QuakeLive, my keyboard stopped working: When pressed, a LED will light up on the keyboard: With all this, the next step was clear: To sniff what happens on the USB, you need to load the usbmon Linux kernel module. Anyway, my plan was the following: I’ve no idea what the GOOD part of the packet is logitch, but it’s present in every packet and it’s actually very handy to recognize such a packet.
Pushing this same button while the application is running lovitech makes the light meter activated: This activity being quite energy consuming, it emptied the whole battery.