Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2007 14:42:44 +0100
From:      "no@spam@mgedv.net" <nospam@mgedv.net>
To:        <freebsd-questions@freebsd.org>
Cc:        joao.barros@gmail.com, freebsd-usb@freebsd.org
Subject:   huawei e220 hsdpa on freebsd 6.3-BETA2
Message-ID:  <006701c8380d$e12ecc50$14b1a8c0@bstandard.lan>

next in thread | raw e-mail | index | archive | help

hi folks,

i've got a huawei e220 hsdpa modem, which is connected
to a hp nx8220 notebook (ICH6 usb controller) w. 6.3-BETA2.
i tried GENERIC as well as custom kernels.

this is my current situation:

- custom kernel with just [u,o,e]hci and usb(4) support.
(removed all other usb device support except keyb/mouse)
- patched "ubsa" as beyond
- loaded ucom(4)
- loaded ubsa(4)
- left out umass(4) or loaded it AFTER ubsa/ucom

dmesg-cut when plugging in the E220 in this scenario:
ucom0: HUAWEI Technologies HUAWEI Mobile, Rev 1.10/0.00, addr 2
ucom0: Could not find interrupt in
device_attach: ucom0 attach returned 6

the patches (/usr/src/sys/dev/usb is base-dir):

--- usbdevs.pre 2007-11-04 03:28:31.000000000 +0000
+++ usbdevs 2007-12-06 12:14:46.000000000 +0000
@@ -1044,6 +1044,7 @@
 
 /* HUAWEI products */
 product HUAWEI MOBILE  0x1001 Huawei Mobile
+product HUAWEI E220  0x1003 Huawei E220 HSDPA USB Modem
 
 /* IBM Corporation */
 product IBM USBCDROMDRIVE 0x4427 USB CD-ROM Drive

--- ubsa.c.pre 2007-06-17 09:38:26.000000000 +0000
+++ ubsa.c 2007-12-06 12:18:55.000000000 +0000
@@ -232,6 +232,8 @@
  { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUAD },
  /* Huawei Mobile */
  { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
+ /* Huawei Mobile E220 */
+ { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 },
  { 0, 0 }
 };
 
usbdevs -v shows the device as:
full speed, power 500mA, config 1, VENDOR 0x12d1, PROD: 0x1003

i really NEED this device to work with freebsd so is
there anybody out there who had such a problem and
solved it?

thx in advance :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006701c8380d$e12ecc50$14b1a8c0>