NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/49302: Add COM mode for Huawei E353 HiLink
>Number: 49302
>Category: misc
>Synopsis: Add COM mode for Huawei E353 HiLink
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Oct 22 00:50:00 +0000 2014
>Originator: Ben Gergely
>Release: NetBSD 7.99.1
>Organization:
>Environment:
>Description:
Huawei HiLink devices can show up as a USB Communication Device Class Ethernet driver or a usb tty/3g datacard if toggled via the built in web interface on: http://192.168.1.1/html/switchProjectMode.html
I've added the device-id for the Huawei E353 in the ucom/u3g mode in the patch below.
There are more Huawei devices with this split personality but I don't have any to hand.
>How-To-Repeat:
Plug in E353; wait for cdce* to attach; access http://192.168.1.1/html/switchProjectMode.html
cdce0: detached
cdce0: at uhub5 port 4 (addr 2) disconnected
ugen1 at uhub5 port 4
ugen1: HUAWEI HUAWEI HiLink, rev 2.00/1.02, addr 2
>Fix:
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.683
diff -u -r1.683 usbdevs
--- usbdevs 5 Oct 2014 03:46:56 -0000 1.683
+++ usbdevs 22 Oct 2014 00:34:14 -0000
@@ -1733,7 +1733,10 @@
product HUAWEI E1820 0x14ac Huawei E1820
product HUAWEI E171INIT 0x14fe Huawei E171 USB CD
product HUAWEI E171 0x1506 Huawei E171
-product HUAWEI E353 0x1507 Huawei E353
+product HUAWEI E353_HiLink 0x1507 Huawei E353_HiLink
+/* Accessing http://192.168.1.1/html/switchProjectMode.html on
+ a Huawei HiLink device will switch it to u3g mode */
+product HUAWEI E353 0x1442 Huawei E353
product HUAWEI K3765INIT 0x1520 Huawei K3765 USB CD
product HUAWEI E353INIT 0x1f01 Huawei E353 USB CD
This results in:
cdce0: detached
cdce0: at uhub5 port 4 (addr 5) disconnected
u3g0 at uhub5 port 4 configuration 1 interface 0
ucom0 at u3g0 portno 0: 3G Modem
u3g1 at uhub5 port 4 configuration 1 interface 1
ucom1 at u3g1 portno 0: 3G Modem
Home |
Main Index |
Thread Index |
Old Index