From owner-freebsd-usb@FreeBSD.ORG Fri Nov 27 07:20:02 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D5C7106568D for ; Fri, 27 Nov 2009 07:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0DD998FC15 for ; Fri, 27 Nov 2009 07:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAR7K1LU066473 for ; Fri, 27 Nov 2009 07:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAR7K1bQ066472; Fri, 27 Nov 2009 07:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 27 Nov 2009 07:20:01 GMT Resent-Message-Id: <200911270720.nAR7K1bQ066472@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eimar Koort Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3D911065740 for ; Fri, 27 Nov 2009 07:11:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C787D8FC08 for ; Fri, 27 Nov 2009 07:11:50 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nAR7Boou060841 for ; Fri, 27 Nov 2009 07:11:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nAR7BoVP060840; Fri, 27 Nov 2009 07:11:50 GMT (envelope-from nobody) Message-Id: <200911270711.nAR7BoVP060840@www.freebsd.org> Date: Fri, 27 Nov 2009 07:11:50 GMT From: Eimar Koort To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/140928: ZTE CDMA2000 1X EV-DO (MG478/AC8700) is not working X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2009 07:20:02 -0000 >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: at usbus1 u3g0: 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: