From owner-freebsd-usb@FreeBSD.ORG Sun Feb 12 16:37:20 2006 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B76EC16A420; Sun, 12 Feb 2006 16:37:20 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5164B43D45; Sun, 12 Feb 2006 16:37:20 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id k1CGYl7D025222; Sun, 12 Feb 2006 09:34:47 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 12 Feb 2006 09:34:47 -0700 (MST) Message-Id: <20060212.093447.74725815.imp@bsdimp.com> To: glebius@FreeBSD.org From: Warner Losh In-Reply-To: <20060212162841.GR86448@cell.sick.ru> References: <20060212094758.GP86448@cell.sick.ru> <20060212.085136.110773332.imp@bsdimp.com> <20060212162841.GR86448@cell.sick.ru> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 12 Feb 2006 09:34:47 -0700 (MST) Cc: freebsd-usb@FreeBSD.org Subject: Re: Nokia CA-42 cable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2006 16:37:20 -0000 From: Gleb Smirnoff Subject: Re: Nokia CA-42 cable Date: Sun, 12 Feb 2006 19:28:41 +0300 > On Sun, Feb 12, 2006 at 08:51:36AM -0700, M. Warner Losh wrote: > M> In message: <20060212094758.GP86448@cell.sick.ru> > M> Gleb Smirnoff writes: > M> : I'm lame in USB and I can't understand why Linux supports this device > M> : w/o any additional modifications, just recognising ID, but our driver > M> : doesn't. I'm seeking for advice, that will help me get this device > M> : working. > M> > M> We have a lot of different usb serial drivers. Why did you pick > M> uplcom to add the ID to? Linux has merged them all into a single > M> driver, but that driver lacks the refinement our individual > M> sub-drivers have (at least last time I checked). > > As I said, Linux has IDs for CA-42, but they are different to what > I have: > > /* Nokia CA-42 Cable */ > #define NOKIA_CA42_VENDOR_ID 0x078b > #define NOKIA_CA42_PRODUCT_ID 0x1234 > > These IDs are utilised in pl2303.c, that's why I have chosen the > uplcom(4) driver. That ID is radically different. uplcom is a good first choice. However, maybe you could try each of the drivers. I know freebsd makes this a pain, but it is the only way to be sure we don't support it. Alternatively, you could open up the cable and find which chip is inside it. That might be what's called 'hard' or 'undesirable', but it may be the only way to know for sure, short of trial and error... > M> Maybe if you provided more information we could help you more. > > What else can I provide? Did I miss a dmesg from Linux in your earlier message? BTW, I agree we should make this sort of thing easier. Warner