hello, 

disclaimer: David Coppa told me to post this to tech@ so this is not a
case of cross posting. 

bought a ZTE MF112 today for my girlfriends ms win notebook. Took the
chance to test it on OpenBSD. 
Without the patches below the thingy attaches as umsm for a second,
detaches and re-attaches as umass. 
After patching it attaches as umsm0, umsm1, umsm2, umsm3 and ucom0,
ucom1, ucom2. 

ucom2 is the one you would want to use with pppd.

I inspected the modem log on ms win to find out what AT commands are
used by the proprietary software, here we go:

TIMEOUT 5
ECHO ON
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO CARRIER"
ABORT "VOICE"
ABORT "NO DIALTONE"
'' AT
OK ATV1
OK ATE1
OK AT&F&D2&C1S0=0
OK ATS7=60S30=0
OK ATS0=0
'' AT
OK ATV1
OK ATE1
OK AT&F&D2&C1S0=0
OK ATS7=60S30=0
# that's what it realy does: OK ATDT*###
# but does not work for me on OpenBSD, so use usual:
OK ATDT*99#
CONNECT ""

Do not ask me what the unusual ones of these commands do; all I can say
is that I got a working internet link and minimal testing showed:
(I got excellent reception here.)
- got max speeds around 250KB/s
- speed changed often and dropped down to as little as 1,5KB/s
- sometimes it stayed there, sometimes it increased again. 

I am going to stick with my "Sierra Wireless, AC850, 3G Network
Adapter". Gives me "only" about 80KB/s but that reliably.

btw, what is the right list for such patches?

bye, 

Marcus

Index: umsm.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/umsm.c,v
retrieving revision 1.68
diff -u -r1.68 umsm.c
--- umsm.c      12 Oct 2010 21:08:08 -0000      1.68
+++ umsm.c      29 Nov 2010 14:35:40 -0000
@@ -159,6 +159,7 @@
        {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_K3565Z }, 0},
        {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF633 }, 0},
        {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF637 }, 0},
+       {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF112 }, DEV_UMASS4},
 
        {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_EXPRESSCARD }, 0},
        {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MERLINV620 }, 0},
Index: usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.525
diff -u -r1.525 usbdevs
--- usbdevs     16 Nov 2010 22:28:35 -0000      1.525
+++ usbdevs     29 Nov 2010 14:35:43 -0000
@@ -3055,6 +3055,7 @@
 product ZTE CDMA_MSM           0x0001  CDMA Technologies MSM modem
 product ZTE MF633              0x0016  ZTE MF633 USUPA USB modem
 product ZTE MF637              0x0031  ZTE MF637 HSUPA USB modem
+product ZTE MF112              0x0117  ZTE MF112 HSUPA USB modem
 product ZTE K3565Z             0x0063  ZTE K3565-Z USB MSM modem
 product        ZTE UMASS_INSTALLER2    0x0103  ZTE USB MSM installer 
 product ZTE UMASS_INSTALLER    0x2000  ZTE USB MSM installer

Reply via email to