From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 1 13:52:58 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7081516A4CE for ; Thu, 1 Jul 2004 13:52:58 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60CAE43D2F for ; Thu, 1 Jul 2004 13:52:57 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i61DphGF099676; Thu, 1 Jul 2004 23:21:44 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Thu, 1 Jul 2004 23:21:39 +0930 User-Agent: KMail/1.6.2 References: <200406301904.44292.lesha@intercaf.ru> In-Reply-To: <200406301904.44292.lesha@intercaf.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Message-Id: <200407012321.39496.doconnor@gsoft.com.au> X-Spam-Score: -4.9 () CARRIAGE_RETURNS,IN_REP_TO,PGP_SIGNATURE,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: Alex K Subject: Re: USB driver selection algorithm? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 13:52:58 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 1 Jul 2004 00:34, Alex K wrote: > Hello, everyone! > > As far as I understand drivers for USB devices are selected and attached > based on USB VendorID and ProductID match. Here I have situation where > I have 2 diffrent USB devices (cables) which got same Vendor and Device > IDs, only revision differes. > > It is mobile phone cables based on PL2303 and PL2303X chipsets. > > What approach will you recommend? The probe and attach routines shouuld be able to select on revision, althou= gh=20 I'd be suprised if the 2 differ by enough that one driver couldn't cover th= em=20 both. =2D --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5Bbr5ZPcIHs/zowRArc8AKCNwUgrDyIlN4ibbzai7F5yQ9ZdLACfbkiH Bz7QNY7AuyUOvf8uuCYug+k=3D =3DWpMv =2D----END PGP SIGNATURE-----