Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2017 20:25:45 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314407 - in head/sys/dev/usb: . serial
Message-ID:  <201702282025.v1SKPjv0023890@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Feb 28 20:25:45 2017
New Revision: 314407
URL: https://svnweb.freebsd.org/changeset/base/314407

Log:
  Add support for Vodafone/Huawei K3771.
  See also http://www.draisberghof.de/usb_modeswitch/device_reference.txt
  
  Submitted by: Dean Hamstead <https://github.com/djzort>;
  Pull Request: https://github.com/freebsd/freebsd/pull/76

Modified:
  head/sys/dev/usb/serial/u3g.c
  head/sys/dev/usb/usbdevs

Modified: head/sys/dev/usb/serial/u3g.c
==============================================================================
--- head/sys/dev/usb/serial/u3g.c	Tue Feb 28 20:07:04 2017	(r314406)
+++ head/sys/dev/usb/serial/u3g.c	Tue Feb 28 20:25:45 2017	(r314407)
@@ -316,6 +316,8 @@ static const STRUCT_USB_HOST_ID u3g_devs
 	U3G_DEV(HUAWEI, MOBILE, U3GINIT_HUAWEI),
 	U3G_DEV(HUAWEI, E1752, U3GINIT_HUAWEISCSI),
 	U3G_DEV(HUAWEI, E1820, U3GINIT_HUAWEISCSI),
+	U3G_DEV(HUAWEI, K3771, U3GINIT_HUAWEI),
+	U3G_DEV(HUAWEI, K3771_INIT, U3GINIT_HUAWEISCSI2),
 	U3G_DEV(HUAWEI, K3772, U3GINIT_HUAWEI),
 	U3G_DEV(HUAWEI, K3772_INIT, U3GINIT_HUAWEISCSI2),
 	U3G_DEV(HUAWEI, K3765, U3GINIT_HUAWEI),

Modified: head/sys/dev/usb/usbdevs
==============================================================================
--- head/sys/dev/usb/usbdevs	Tue Feb 28 20:07:04 2017	(r314406)
+++ head/sys/dev/usb/usbdevs	Tue Feb 28 20:25:45 2017	(r314407)
@@ -2434,7 +2434,9 @@ product HUAWEI E1752		0x1446	3G modem
 product HUAWEI K4505		0x1464	3G modem
 product HUAWEI K3765		0x1465	3G modem
 product HUAWEI E1820		0x14ac	E1820 HSPA+ USB Slider
+product HUAWEI K3771		0x14c4  K3771 Initial
 product HUAWEI K3770		0x14c9  3G modem
+product HUAWEI K3771		0x14ca  K3771
 product HUAWEI K3772		0x14cf	K3772
 product HUAWEI K3770_INIT	0x14d1  K3770 Initial
 product HUAWEI E3131_INIT	0x14fe	3G modem initial



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702282025.v1SKPjv0023890>