From owner-freebsd-usb@FreeBSD.ORG Sun Feb 12 16:47:04 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 3A01416A420 for ; Sun, 12 Feb 2006 16:47:04 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2116943D45 for ; Sun, 12 Feb 2006 16:47:01 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id k1CGkpg1027575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Feb 2006 19:46:51 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id k1CGkokY027574; Sun, 12 Feb 2006 19:46:51 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sun, 12 Feb 2006 19:46:50 +0300 From: Gleb Smirnoff To: Warner Losh Message-ID: <20060212164650.GT86448@cell.sick.ru> References: <20060212094758.GP86448@cell.sick.ru> <20060212.085136.110773332.imp@bsdimp.com> <20060212162841.GR86448@cell.sick.ru> <20060212.093447.74725815.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060212.093447.74725815.imp@bsdimp.com> User-Agent: Mutt/1.5.6i 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:47:04 -0000 On Sun, Feb 12, 2006 at 09:34:47AM -0700, Warner Losh wrote: W> > On Sun, Feb 12, 2006 at 08:51:36AM -0700, M. Warner Losh wrote: W> > M> In message: <20060212094758.GP86448@cell.sick.ru> W> > M> Gleb Smirnoff writes: W> > M> : I'm lame in USB and I can't understand why Linux supports this device W> > M> : w/o any additional modifications, just recognising ID, but our driver W> > M> : doesn't. I'm seeking for advice, that will help me get this device W> > M> : working. W> > M> W> > M> We have a lot of different usb serial drivers. Why did you pick W> > M> uplcom to add the ID to? Linux has merged them all into a single W> > M> driver, but that driver lacks the refinement our individual W> > M> sub-drivers have (at least last time I checked). W> > W> > As I said, Linux has IDs for CA-42, but they are different to what W> > I have: W> > W> > /* Nokia CA-42 Cable */ W> > #define NOKIA_CA42_VENDOR_ID 0x078b W> > #define NOKIA_CA42_PRODUCT_ID 0x1234 W> > W> > These IDs are utilised in pl2303.c, that's why I have chosen the W> > uplcom(4) driver. W> W> That ID is radically different. uplcom is a good first choice. W> However, maybe you could try each of the drivers. I know freebsd W> makes this a pain, but it is the only way to be sure we don't support W> it. Ok, I will try this. Or may be I should follow Linux source and see how it distinguishes device type? W> Alternatively, you could open up the cable and find which chip is W> inside it. That might be what's called 'hard' or 'undesirable', but W> it may be the only way to know for sure, short of trial and error... It is a monolithic piece of plastic, so I'll probably fail to assemble it after such a surgery. W> > M> Maybe if you provided more information we could help you more. W> > W> > What else can I provide? W> W> Did I miss a dmesg from Linux in your earlier message? Warner, I don't have Linux anywhere! :) I just found information in internet, that this cable works with Linux if IDs are supplied with insmod. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE