Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945902AbXBUXAc (ORCPT ); Wed, 21 Feb 2007 18:00:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1945903AbXBUXAb (ORCPT ); Wed, 21 Feb 2007 18:00:31 -0500 Received: from max.feld.cvut.cz ([147.32.192.36]:60491 "EHLO max.feld.cvut.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945902AbXBUXAa convert rfc822-to-8bit (ORCPT ); Wed, 21 Feb 2007 18:00:30 -0500 From: CIJOML To: Marcel Holtmann Subject: Re: Phis in /proc/bus/input/devices same for all devices? Date: Thu, 22 Feb 2007 00:00:21 +0100 User-Agent: KMail/1.9.5 Cc: Dmitry Torokhov , linux-kernel@vger.kernel.org References: <200702212313.30359.cijoml@volny.cz> <1172098430.7403.54.camel@violet> In-Reply-To: <1172098430.7403.54.camel@violet> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200702220000.21965.cijoml@volny.cz> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1453 Lines: 37 Marcel how can you differ what is src and what is dst, when device can connect first time from hub to keyboard and later keyboard to hub? Michal Dne st?eda 21 ?nor 2007 23:53 Marcel Holtmann napsal(a): > Hi Dmitry, > > > > > > can anybody reply to this and share his/her opinion? > > > > > > > > Input core already exports uniq to udev and also via sysfs. > > > > > > so do you think it would be better to create phys as a string of the > > > source and destination address like "-" for Bluetooth. And > > > then keep the uniq empty like all USB devices without serial number do? > > > > I'd keep uniq as is and do what you proposed with phys. This way you > > can either use uniq to identify your device while moving it from one > > receiver to another (if you have several) or do exact match on phys to > > get receiver/device pair. > > > > Does this make sense? > > actually it doesn't help to keep uniq around since the Bluetooth HID > always reconnects to the same source/host address. Making it reconnect > results in a virtual cable unplug. So I think that I am going to modify > the phys to include source and destination address. In the end it is > only a string. > > Regards > > Marcel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/