NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/41667: patch to support ZTE MF626 usb 3g modem
>Number: 41667
>Category: kern
>Synopsis: patch to support ZTE MF626 usb 3g modem
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jul 03 09:00:00 +0000 2009
>Originator: Marc Vertes
>Release: Current
>Organization:
>Environment:
NetBSD shebang.oligem.com 5.99.14 NetBSD 5.99.14 (X61) #4: Fri Jul 3 00:20:14
CEST 2009
marc%shebang.oligem.com@localhost:/usr/objdir/sys/arch/amd64/compile/X61 amd64
>Description:
The ZTE MF626 key is a usb wireless 3g key.
After plugging and ejecting the pseudo cdrom driver (eject /dev/cd0d), a serial
modem should come up. It doesn't because the device product id is not in the
list of known devices.
After plugging the key, dmesg says:
umass0 at uhub5 port 1 configuration 1 interface 0
umass0: ZTE, Incorporated ZTE CDMA Technologies MSM, rev 2.00/0.00, addr 2
umass0: using ATAPI over Bulk-Only
atapibus0 at umass0: 2 targets
cd0 at atapibus0 drive 0: <ZTE, USB SCSI CD-ROM, 2.31> cdrom removable
>How-To-Repeat:
Plug a ZTE MF626 key in a usb slot. Eject /dev/cd0a; eject /dev/cd0d
>Fix:
Apply following patch (note: diffs in generated usbdevs.h and usbdevs_data.h
not included).
After patch applied, and eject /dev/cd0a; eject /dev/cd0d, dmesg says:
cd0(umass0:0:0): not ready, data = 00 00 00 00 3a 00 00 00 00 00
cd0(umass0:0:0): not ready, data = 00 00 00 00 3a 00 00 00 00 00
umass0: at uhub5 port 1 (addr 2) disconnected
cd0: detached
atapibus0: detached
umass0: detached
u3g0 at uhub5 port 1
ucom0 at u3g0 portno 0: Generic 3G Serial Device
ucom1 at u3g0 portno 1: Generic 3G Serial Device
ucom2 at u3g0 portno 2: Generic 3G Serial Device
ucom3 at u3g0 portno 3: Generic 3G Serial Device
cvs diff: Diffing .
Index: u3g.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/u3g.c,v
retrieving revision 1.7
diff -u -r1.7 u3g.c
--- u3g.c 29 May 2009 18:49:21 -0000 1.7
+++ u3g.c 3 Jul 2009 08:52:27 -0000
@@ -85,6 +85,7 @@
{ USB_VENDOR_OPTIONNV, USB_PRODUCT_OPTIONNV_GTMAXHSUPA },
/* OEM: Qualcomm, Inc. */
{ USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_CDMA_MSM },
+ { USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_ZTE_MF626 },
/* OEM: Huawei */
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 },
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.528
diff -u -r1.528 usbdevs
--- usbdevs 19 Jun 2009 01:14:27 -0000 1.528
+++ usbdevs 3 Jul 2009 08:52:28 -0000
@@ -1900,6 +1900,7 @@
product QUALCOMM MSM_HSDPA 0x6613 HSDPA MSM
product QUALCOMM2 CDMA_MSM 0x3196 CDMA Technologies MSM modem
product QUALCOMMINC CDMA_MSM 0x0001 CDMA Technologies MSM modem
+product QUALCOMMINC ZTE_MF626 0x0031 CDMA Technologies MSM modem
/* Qualcomm Kyocera products */
product QUALCOMM_K CDMA_MSM_K 0x17da Qualcomm Kyocera CDMA Technologies MSM
Home |
Main Index |
Thread Index |
Old Index