From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932185Ab1I2PWj (ORCPT ); Thu, 29 Sep 2011 11:22:39 -0400 Received: from mailout04.t-online.de ([194.25.134.18]:40958 "EHLO mailout04.t-online.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932123Ab1I2PWh (ORCPT ); Thu, 29 Sep 2011 11:22:37 -0400 Message-ID: <4E848D29.4050405@t-online.de> Date: Thu, 29 Sep 2011 17:22:17 +0200 From: =?ISO-8859-1?Q?Richard_Sch=FCtz?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Nestor Lopez Casado CC: Benjamin Tissoires , Dmitry Torokhov , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, rtitmuss@logitech.com, ogay@logitech.com, jzanone@logitech.com Subject: Re: [PATCH v5 1/1] HID: Add full support for Logitech Unifying receivers References: <1316018905-4175-1-git-send-email-nlopezcasad@logitech.com> <4E77A221.1060909@t-online.de> <4E7BA605.3020908@t-online.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-ID: bVAJF4ZFohofDtCnIJfQLqfv+wI7sk-XTKUp06xyDClJQ9ub13MyPqs5TMYpC+4gEq X-TOI-MSGID: 6b442c35-7bbe-4e17-9e87-8a04e657b344 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 23.09.2011 00:21, schrieb Benjamin Tissoires: > On Thu, Sep 22, 2011 at 23:17, Richard Schütz wrote: >> Am 22.09.2011 22:48, schrieb Benjamin Tissoires: >>> >>> Hi Richard, >>> >>> here, you'll find a small C program that allows you to do a pairing of >>> a new device to a receiver. >> >> Thanks. >> >> Could you also add the possibility to remove a pairing? It would be nice if >> the program would print the product name of device detected during the >> pairing process, too. > > mmm... this would be more complicated: > - the first problem is a NDA and political one. As I worked in > Logitech, I had access to some internal (confidential) documentation. > I was able to release this piece of code as it can be easily retrieved > by adding a spy on the usb stack when doing the pairing on windows. > Discovering the command that removes devices is not so easy (to my > mind), thus, I can not give it right now. Please note that I asked > them if I could release this magic sequence, and it went quite high in > the hierarchy (but this piece of code has nothing to do with Logitech, > just to be clear). > - the second problem is more a technical one. The removal of the > device would require you two know which device you want to remove. So > it would require the ability to know all the different devices and > their pairing number. This information shows up somewhere in the log > but there is no way to ask the receiver for this information with the > current status of the driver (without knowing internal commands). > Getting it from the list of devices would be quite complicated > depending on the number of receivers you have plugged, etc... > - Obtaining the name of the device can not be retrieved at the moment > without knowing the different commands to send to the device. As it's > confidential Logitech, I can not give them to you unless someone else > does the retro-engineering. > > So, to sum up, I agree this would be better, but today, this has to be > done by someone else, either officially at Logitech, or by someone not > related to Logitech that does the retro-engineering. So what do the Logitech guys think about this? Without userspace tools for creating/removing pairings a Unifying receiver is quite useless for Linux users. -- Regards, Richard Schütz