From owner-freebsd-usb@FreeBSD.ORG Sun Feb 12 09:48:02 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 3652916A420 for ; Sun, 12 Feb 2006 09:48:02 +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 6E6A443D48 for ; Sun, 12 Feb 2006 09:48: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 k1C9lxs2022913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 12 Feb 2006 12:47:59 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id k1C9lwhF022912 for freebsd-usb@FreeBSD.org; Sun, 12 Feb 2006 12:47:59 +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 12:47:58 +0300 From: Gleb Smirnoff To: freebsd-usb@FreeBSD.org Message-ID: <20060212094758.GP86448@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.6i Cc: Subject: 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 09:48:02 -0000 Colleagues, recently I have purchased a Nokia CA-42 cable, that is used to connect cellular phone. It has the following IDs: vendor 0x0421 product 0x0802 I've looked for this IDs in NetBSD and Linux and failed to find them there. In Linux there are IDs for CA-42 cable, but they are different. However, I've found[1] that this cable is working in Linux if IDs are overriden: modprobe usbserial vendor=0x0421 product=0x0802 So I have tried to do same in FreeBSD (patch attached) but failed. Here goes debug data when I plug cable in: usbd_new_device bus=0xc1eee000 port=1 depth=1 speed=2 usbd_new_device: adding unit addr=2, rev=110, class=2, subclass=0, protocol=0, maxpacket=8, len=18, speed=2 usbd_new_device: new dev (addr 2), dev=0xc23b8100, parent=0xc1ef2000 usbd_probe_and_attach: trying device specific drivers ucom0: on uhub0 ucom0: vendor 0x0421 product 0x0802, rev 1.10/1.00, addr 2 uplcom attach: sc = 0xc2069800 uplcom_attach: chiptype 2303 usbd_set_config_index: (addr 1) cno=2 attr=0xa0, selfpowered=0, power=150 usbd_set_config_index: set config 1 usbd_do_request: status = 0x0000 ucom0: uplcom_reset: STALLED ucom0: reset failed: NOMEM device_attach: ucom0 attach returned 6 usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: free old config usbd_set_config_index: (addr 1) cno=2 attr=0xa0, selfpowered=0, power=150 usbd_set_config_index: set config 1 usbd_probe_and_attach: no interface drivers found ucom0: on uhub0 ucom0: vendor 0x0421 product 0x0802, rev 1.10/1.00, addr 2 uplcom attach: sc = 0xc239b900 uplcom_attach: chiptype 2303 usbd_set_config_index: free old config usbd_set_config_index: (addr 1) cno=2 attr=0xa0, selfpowered=0, power=150 usbd_set_config_index: set config 1 usbd_do_request: status = 0x0000 ucom0: uplcom_reset: STALLED ucom0: reset failed: NOMEM device_attach: ucom0 attach returned 6 usbd_probe_and_attach: generic attach failed I'm lame in USB and I can't understand why Linux supports this device w/o any additional modifications, just recognising ID, but our driver doesn't. I'm seeking for advice, that will help me get this device working. [1] http://linux.seindal.dk/item97.html http://www.qbik.ch/usb/devices/showdev.php?id=3251 -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE