Added the device id for the Huawei EM770W 3G modem to u3g(4)

Confirmed to work on a WeTab

ok christos@
This commit is contained in:
khorben 2012-10-05 22:04:56 +00:00
parent ff22935a2e
commit 05c0e9d6d3
4 changed files with 13 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: u3g.c,v 1.25 2012/08/04 12:55:06 nonaka Exp $ */
/* $NetBSD: u3g.c,v 1.26 2012/10/05 22:04:56 khorben Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: u3g.c,v 1.25 2012/08/04 12:55:06 nonaka Exp $");
__KERNEL_RCSID(0, "$NetBSD: u3g.c,v 1.26 2012/10/05 22:04:56 khorben Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -185,6 +185,7 @@ static const struct usb_devno u3g_devs[] = {
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1750 },
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1820 },
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 },
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_EM770W },
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K3765 },
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
/* OEM: Merlin */

View File

@ -1,4 +1,4 @@
$NetBSD: usbdevs,v 1.628 2012/10/03 06:57:36 mlelstv Exp $
$NetBSD: usbdevs,v 1.629 2012/10/05 22:04:56 khorben Exp $
/*
* Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@ -1673,6 +1673,7 @@ product HTC ANDROID 0x0ffe Android
/* Huawei Technologies products */
product HUAWEI MOBILE 0x1001 Huawei Mobile
product HUAWEI E220 0x1003 Huawei E220
product HUAWEI EM770W 0x1404 Huawei EM770W
product HUAWEI E1750 0x140c Huawei E1750
product HUAWEI E1750INIT 0x1446 Huawei E1750 USB CD
product HUAWEI K3765 0x1465 Huawei K3765

View File

@ -1,4 +1,4 @@
/* $NetBSD: usbdevs.h,v 1.620 2012/10/03 06:58:03 mlelstv Exp $ */
/* $NetBSD: usbdevs.h,v 1.621 2012/10/05 22:04:56 khorben Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
@ -1680,6 +1680,7 @@
/* Huawei Technologies products */
#define USB_PRODUCT_HUAWEI_MOBILE 0x1001 /* Huawei Mobile */
#define USB_PRODUCT_HUAWEI_E220 0x1003 /* Huawei E220 */
#define USB_PRODUCT_HUAWEI_EM770W 0x1404 /* Huawei EM770W */
#define USB_PRODUCT_HUAWEI_E1750 0x140c /* Huawei E1750 */
#define USB_PRODUCT_HUAWEI_E1750INIT 0x1446 /* Huawei E1750 USB CD */
#define USB_PRODUCT_HUAWEI_K3765 0x1465 /* Huawei K3765 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: usbdevs_data.h,v 1.621 2012/10/03 06:58:03 mlelstv Exp $ */
/* $NetBSD: usbdevs_data.h,v 1.622 2012/10/05 22:04:56 khorben Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
@ -5234,6 +5234,10 @@ const struct usb_product usb_products[] = {
USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220,
"Huawei E220",
},
{
USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_EM770W,
"Huawei EM770W",
},
{
USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1750,
"Huawei E1750",
@ -9827,4 +9831,4 @@ const struct usb_product usb_products[] = {
"Prestige",
},
};
const int usb_nproducts = 1928;
const int usb_nproducts = 1929;