Date: Fri, 27 Nov 2009 07:11:50 GMT From: Eimar Koort <eimar.koort@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/140928: ZTE CDMA2000 1X EV-DO (MG478/AC8700) is not working Message-ID: <200911270711.nAR7BoVP060840@www.freebsd.org> Resent-Message-ID: <200911270720.nAR7K1bQ066472@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911270711.nAR7BoVP060840>