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):||21 September 2006|
|PDF File Size:||17.71 Mb|
|ePub File Size:||4.32 Mb|
|Price:||Free* [*Free Regsitration Required]|
Knowing we’re looking for 2 values battery charge and light meterwe just need to observe and compare logitrch packet emitted on the wire with the values displayed by the Logitech Solar App.
Logitech K750 keyboard and Unifying Receiver Linux support
Endpoints are regrouped into an interface. Since 2 bytes were changing, I guessed that it was coded on 16 bits, and therefore logigech was easy to correlate the value with the Solar App.
Therefore I’m supporf this as some sort of useful mark for now. This opens a whole new world. What the Logitech application does The Logitech application under Windows works that way: We’re going to write a small application using libusb.
Pushing this same button while the application is running will makes the light meter activated: It has an incredible useful feature: We know how to triggers the light meter, and we know how to decode the packets. All of this and more is well and better su;port in the chapter 13 of Linux Device Drivers, Third Edition. Logietch all this, the next step was clear: Once everything was set-up, I ran my beloved Wireshark.
It’s not perfect and does not check for error codes, be careful. Fortunately, it was easy to decode. Now you probably wonder where the data are in this. At one point they are emitted less often and do not contain the value for the light meter anymore, suggesting that the control packet sent earlier triggers the activation of the light meter for a defined period.
So the first task to accomplish is, unfortunately, to reverse engineer the program. Simply doing modprobe usbmon will work. This keyboard, like many of the new wireless devices from Logitech, uses the Unifying interface. I discovered a bit too late that Drew Fisher did lohitech good presentation on USB reverse engineering at 28c3.
Logitech K keyboard and Unifying Receiver Linux support
With this driver, each device attached to the receiver is recognized as one different device. The Logitech application under Windows works that way: To communicate with an USB device, we communicate with one of suppirt endpoints. This activity being quite energy consuming, it emptied the whole battery. Here’s the interesting packets that I noticed once K50 excluded the noise: Building our solar k70 Now we’ve enough information to build our own very basic solar application. Interrupt packets, a packet send spontaneously; Controls packets, used for command and status operations.
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.
Here’s the interesting packets that I noticed once I excluded the noise:. There’s also several types of packets in the USB wire protocol, and at least two of them interest us there, they are:. There’s a an URB of type interrupt sent each time you press any key with some data in it. This is the one sent by the keyboard to the host and that aupport the data we want to retrieve. My problem is that there’s obviously no way to know the battery status from Linux, the provided application only working on Windows.
To sniff lofitech happens on the USB, you need to load the usbmon Linux kernel module.
When pressed, a LED will light up on the keyboard: But sending this to the keyboard will trigger an interesting thing: Recently, a driver called hid-logitech-dj has been added to the Linux kernel. It’s an USB receiver that can be attached up to 6 differents devices mouse, keyboards….