usb/140928: ZTE CDMA2000 1X EV-DO (MG478/AC8700) is not working
Eimar Koort
eimar.koort at gmail.com
Fri Nov 27 07:20:02 UTC 2009
>Number: 140928
>Category: usb
>Synopsis: ZTE CDMA2000 1X EV-DO (MG478/AC8700) is not working
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 27 07:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Eimar Koort
>Release: 8.0-RELEASE
>Organization:
>Environment:
FreeBSD laptop 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Thu Nov 26 20:59:52
EET 2009 root at laptop:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
When attaching mentioned device /dev/ttyU*'s aren't appearing. So device is not usable.
>How-To-Repeat:
>Fix:
Add patch.
shell# /usr/src/sys/dev/usb/serial
shell# patch < /tmp/u3g.c.txt
shell# patch < u3g.c.txt
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- u3g.c.bak 2009-11-27 08:59:04.000000000 +0200
|+++ u3g.c 2009-11-27 08:58:34.000000000 +0200
--------------------------
Patching file u3g.c using Plan A...
Hunk #1 succeeded at 184.
done
After rebuilding kernel and reboot finally ttyU's are appearing at last.
shell# dmesg
/*/
ugen1.2: <ZTE, Incorporated> at usbus1
u3g0: <Data Interface> on usbus1
u3g0: Found 3 ports.
/*/
shell# ls -la /dev/ttyU*
crw------- 1 root wheel 0, 122 27 nov 09:00 /dev/ttyU0.0
crw------- 1 root wheel 0, 123 27 nov 09:11 /dev/ttyU0.0.init
crw------- 1 root wheel 0, 124 27 nov 09:11 /dev/ttyU0.0.lock
crw------- 1 root wheel 0, 128 27 nov 09:11 /dev/ttyU0.1
crw------- 1 root wheel 0, 129 27 nov 09:11 /dev/ttyU0.1.init
crw------- 1 root wheel 0, 130 27 nov 09:11 /dev/ttyU0.1.lock
crw------- 1 root wheel 0, 134 27 nov 09:11 /dev/ttyU0.2
crw------- 1 root wheel 0, 135 27 nov 09:11 /dev/ttyU0.2.init
crw------- 1 root wheel 0, 136 27 nov 09:11 /dev/ttyU0.2.lock
Patch attached with submission follows:
--- u3g.c.bak 2009-11-27 08:59:04.000000000 +0200
+++ u3g.c 2009-11-27 08:58:34.000000000 +0200
@@ -184,6 +184,7 @@
/* OEM: Qualcomm, Inc. */
U3G_DEV(QUALCOMMINC, ZTE_STOR, U3GFL_SCSI_EJECT),
U3G_DEV(QUALCOMMINC, CDMA_MSM, U3GFL_SCSI_EJECT),
+ U3G_DEV(QUALCOMMINC, AC8700, 0),
/* OEM: Huawei */
U3G_DEV(HUAWEI, MOBILE, U3GFL_HUAWEI_INIT),
U3G_DEV(HUAWEI, E180V, U3GFL_HUAWEI_INIT),
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-usb
mailing list