Subject: kern/35536: Huawei Mobile support
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <kefren@netbsd.ro>
List: netbsd-bugs
Date: 02/01/2007 13:35:00
>Number: 35536
>Category: kern
>Synopsis: Huawei Mobile support
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Feb 01 13:35:00 +0000 2007
>Originator: Mihai Chelaru
>Release: NetBSD 4.0_BETA2
>Organization:
>Environment:
System: NetBSD kemobile.girsa.ro 4.0_BETA2 NetBSD 4.0_BETA2 (Kefren) #2: Thu Feb 1 12:40:01 EET 2007 root@kemobile.girsa.ro:/usr/src/sys/arch/i386/compile/Kefren i386
Architecture: i386
Machine: i386
>Description:
Huawei Mobile is working with ubsa driver as seen in freebsd.
Tested here with Huawei E620 card on Vodafone.
Also please add that adapter in ubsa man page.
ohci0 at cardbus0 function 0: NEC USB Host Controller (rev. 0x43)
ohci0: interrupting at 255
ohci0: OHCI version 1.0
usb5 at ohci0: USB revision 1.0
uhub5 at usb5
uhub5: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 1 port with 1 removable, self powered
ohci1 at cardbus0 function 1: NEC USB Host Controller (rev. 0x43)
ohci1: interrupting at 255
ohci1: OHCI version 1.0
usb6 at ohci1: USB revision 1.0
uhub6 at usb6
uhub6: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub6: 1 port with 1 removable, self powered
ubsa0 at uhub5 port 1
ubsa0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
ucom0 at ubsa0
>How-To-Repeat:
>Fix:
Index: ubsa.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/ubsa.c,v
retrieving revision 1.16
diff -u -r1.16 ubsa.c
--- ubsa.c 16 Nov 2006 01:33:26 -0000 1.16
+++ ubsa.c 1 Feb 2007 10:58:07 -0000
@@ -228,6 +228,8 @@
{ USB_VENDOR_ETEK, USB_PRODUCT_ETEK_1COM },
/* GoHubs GO-COM232 */
{ USB_VENDOR_GOHUBS, USB_PRODUCT_GOHUBS_GOCOM232 },
+ /* HUAWEI Mobile */
+ { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
/* Peracom */
{ USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_SERIAL1 },
/* Vodafone */
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.443.2.1
diff -u -r1.443.2.1 usbdevs
--- usbdevs 23 Jan 2007 18:39:04 -0000 1.443.2.1
+++ usbdevs 1 Feb 2007 10:58:07 -0000
@@ -422,6 +422,7 @@
vendor TARGUS 0x1267 Targus
vendor CREATIVE2 0x1292 Creative Labs
vendor BELKIN2 0x1293 Belkin Components
+vendor HUAWEI 0x12d1 HUAWEI Technologies
vendor AINCOMM 0x12fd Aincomm
vendor MOBILITY 0x1342 Mobility
vendor DICKSMITH 0x1371 Dick Smith Electronics
@@ -1076,6 +1077,9 @@
product HP2 C500 0x6002 PhotoSmart C500
/* HUAWEI products */
+product HUAWEI MOBILE 0x1001 HUAWEI Mobile
+
+/* HUAWEI3COM products */
product HUAWEI3COM RT2573 0x0009 RT2573
/* IBM Corporation */
>Unformatted: