Return-Path: Date: Tue, 8 Feb 2011 12:05:33 +0100 From: Antonio Ospite To: Dmitry Torokhov Cc: linux-bluetooth@vger.kernel.org, linux-input@vger.kernel.org, Alan Ott Subject: Re: ID_SERIAL for udev bluetooth joystick events Message-Id: <20110208120533.12613888.ospite@studenti.unina.it> In-Reply-To: <20110208074842.GC865@core.coreip.homeip.net> References: <20110204233427.09b32d7e.ospite@studenti.unina.it> <20110208074842.GC865@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__8_Feb_2011_12_05_33_+0100_5.MCzgZDHuTQtTgM" Sender: linux-input-owner@vger.kernel.org List-ID: --Signature=_Tue__8_Feb_2011_12_05_33_+0100_5.MCzgZDHuTQtTgM Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 7 Feb 2011 23:48:42 -0800 Dmitry Torokhov wrote: > On Fri, Feb 04, 2011 at 11:34:27PM +0100, Antonio Ospite wrote: > > Hi, > >=20 > > I have a question about udev events generated by a bluetooth joystick: > > when the bt joystick generates the joystick event, the ID_SERIAL > > property matches the one of the bt adapter not the one of the joystick. > >=20 > > For example (using "udevadm monitor --property"), when connecting the > > Sony Sixaxis via usb I get: > > ID_SERIAL=3DSony_PLAYSTATION_R_3_Controller > > in the input and joystick events, but when I connect it via bt, I get: > > ID_SERIAL=3DBroadcom_Corp_ANYCOM_Blue_USB-200_250 > > which matches my bluetooth adapter. > >=20 [...] > This should be directed to udev list as composition of ID_SERIAL is > done exclusively by udev. It looks like it scans parent till it finds > first USB device (thus skipping all BT-specific data). >=20 Thanks Dmitry, I'll resend this to linux-hotplug. Is it OK for cases like this to still keep linux-bluetooth and linux-input in CC? Regards, Antonio --=20 Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? --Signature=_Tue__8_Feb_2011_12_05_33_+0100_5.MCzgZDHuTQtTgM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1RI30ACgkQ5xr2akVTsAEvlQCeNITOcmLOuu8Bu2czxW3dKuHj eVYAnAwuY5B1z44FoKCjFhekYKnl+eDM =zmLB -----END PGP SIGNATURE----- --Signature=_Tue__8_Feb_2011_12_05_33_+0100_5.MCzgZDHuTQtTgM--