Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 12:47:58 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        freebsd-usb@FreeBSD.org
Subject:   Nokia CA-42 cable
Message-ID:  <20060212094758.GP86448@cell.sick.ru>

next in thread | raw e-mail | index | archive | help
  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: <vendor 0x0421 product 0x0802, class 2/0, rev 1.10/1.00, addr 2> 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: <vendor 0x0421 product 0x0802, class 2/0, rev 1.10/1.00, addr 2> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060212094758.GP86448>