Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem)
Synopsis: Patch for HUAWEI E173 (u3g/umodem) State-Changed-From-To: open-patched State-Changed-By: gavin State-Changed-When: Tue Aug 23 17:41:17 UTC 2011 State-Changed-Why: Fixed in head Responsible-Changed-From-To: freebsd-usb-hselasky Responsible-Changed-By: gavin Responsible-Changed-When: Tue Aug 23 17:41:17 UTC 2011 Responsible-Changed-Why: Over to committer for closure after MFC. http://www.freebsd.org/cgi/query-pr.cgi?pr=159919 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem)
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 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem)
The following reply was made to PR usb/159919; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org, Poul-Henning Kamp p...@critter.freebsd.dk Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) Date: Sat, 20 Aug 2011 15:55:04 +0200 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 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem)
In message 201108201555.04355.hsela...@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 p...@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. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem)
The following reply was made to PR usb/159919; it has been noted by GNATS. From: Poul-Henning Kamp p...@phk.freebsd.dk To: Hans Petter Selasky hsela...@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) Date: Sat, 20 Aug 2011 14:07:25 + In message 201108201555.04355.hsela...@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 p...@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. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem)
On Saturday 20 August 2011 16:30:17 Poul-Henning Kamp wrote: The following reply was made to PR usb/159919; it has been noted by GNATS. From: Poul-Henning Kamp p...@phk.freebsd.dk To: Hans Petter Selasky hsela...@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem) Date: Sat, 20 Aug 2011 14:07:25 + In message 201108201555.04355.hsela...@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. I found a descriptor dump here: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=552 I see now why the u3g.c driver is not attaching, because bDeviceClass = 0 and we expect 0xFF. Nick, do you have any comments on this? PHK: Are you on #bsdusb on EF-net? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/159919: Patch for HUAWEI E173 (u3g/umodem)
In message 201108201744.11986.hsela...@c2i.net, Hans Petter Selasky writes: PHK: Are you on #bsdusb on EF-net? Sorry, no. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@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. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
usb/159919: Patch for HUAWEI E173 (u3g/umodem)
Number: 159919 Category: usb Synopsis: Patch for HUAWEI E173 (u3g/umodem) Confidential: no Severity: non-critical Priority: low Responsible:freebsd-usb State: open Quarter: Keywords: Date-Required: Class: change-request Submitter-Id: current-users Arrival-Date: Fri Aug 19 16:20:10 UTC 2011 Closed-Date: Last-Modified: Originator: Poul-Henning Kamp Release:FreeBSD 9.0-CURRENT amd64 Organization: Environment: System: FreeBSD critter.freebsd.dk 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r224239M: Fri Aug 19 14:35:16 UTC 2011 p...@critter.freebsd.dk:/sys/amd64/compile/CRITTER amd64 Description: 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] How-To-Repeat: Plug an Huawei E173 in. Fix: Index: dev/usb/serial/u3g.c === --- dev/usb/serial/u3g.c(revision 224265) +++ dev/usb/serial/u3g.c(working copy) @@ -280,6 +280,7 @@ U3G_DEV(HUAWEI, E143D, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E143E, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E143F, U3GINIT_HUAWEI), + U3G_DEV(HUAWEI, E173_INIT, U3GINIT_HUAWEISCSI), U3G_DEV(HUAWEI, E180V, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E220, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E220BIS, U3GINIT_HUAWEI), Index: dev/usb/serial/umodem.c === --- dev/usb/serial/umodem.c (revision 224265) +++ dev/usb/serial/umodem.c (working copy) @@ -132,6 +132,7 @@ {USB_VPI(USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_AHK3001V, 1)}, {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720, 1)}, {USB_VPI(USB_VENDOR_CURITEL, USB_PRODUCT_CURITEL_PC5740, 1)}, + {USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E173, 1)}, }; /* Index: dev/usb/usbdevs === --- dev/usb/usbdevs (revision 224265) +++ dev/usb/usbdevs (working copy) @@ -1874,6 +1874,8 @@ product HUAWEI K3765 0x1465 3G modem product HUAWEI E1820 0x14ac E1820 HSPA+ USB Slider product HUAWEI K3765_INIT 0x1520 K3765 Initial +product HUAWEI E1730x1c05 3G modem +product HUAWEI E173_INIT 0x1c0b 3G modem /* HUAWEI 3com products */ product HUAWEI3COM WUB320G 0x0009 Aolynk WUB320g Release-Note: Audit-Trail: Unformatted: ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org