From owner-freebsd-usb@FreeBSD.ORG Sat Aug 20 14:30:17 2011 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 D9B88106564A for ; Sat, 20 Aug 2011 14:30:17 +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 C8BC18FC0C for ; Sat, 20 Aug 2011 14:30:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7KEUHTN043847 for ; Sat, 20 Aug 2011 14:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7KEUHXN043843; Sat, 20 Aug 2011 14:30:17 GMT (envelope-from gnats) Date: Sat, 20 Aug 2011 14:30:17 GMT Message-Id: <201108201430.p7KEUHXN043843@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Poul-Henning Kamp" Cc: Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Poul-Henning Kamp List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 14:30:17 -0000 The following reply was made to PR usb/159919; it has been noted by GNATS. From: "Poul-Henning Kamp" To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) Date: Sat, 20 Aug 2011 14:07:25 +0000 In message <201108201555.04355.hselasky@c2i.net>, Hans Petter Selasky writes: >On Friday 19 August 2011 18:01:29 Poul-Henning Kamp wrote: >> With this patch I can get a Huawei E173 3G dongle to work. >> I'm not sure why I have to teach umodem about it specifically. >> It comes up as /dev/cuaU[012] rather than /dev/cuaU0.[012] > >Hi, > >What happens if you leave out the u3g.c patch? > >Could you post dmesg and output from: > >usbconfig -d X.Y dump_device_desc dump_curr_config_desc show_ifdrv Dang, I should have thought of including that. It's too late now the E173 just passed through my lab for a few hours and it probably won't be back in the forseeable future. Without any patches it comes up with the E173_INIT product-id and da0/cd0 attaches. The HUAWEI_INIT mode just hangs the device, nothing happens or attaches afterwards. With the HUAWEI_INITSCSI it disaspears, then comes back with the E173 product-id, da0/cd0 attaches, but umodem for some reason does not. The patch makes umodem find it, but as three separate devices, not as one device with three subdevices. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.