]> git.baikalelectronics.ru Git - kernel.git/commit
USB: qmi_wwan: Add quirk for Quectel EC20 Mini PCIe module
authorPetr Štetiar <ynezz@true.cz>
Thu, 5 Nov 2015 11:55:01 +0000 (12:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Nov 2015 16:39:56 +0000 (11:39 -0500)
commita4e12e1f6fe4de4515051a8533f6a26f7f9e6469
treeb43a92c61a7537814b7af0f8ba79b573c634574e
parent4bda1d68ebe28f6884449c46f7d3107c89d93270
USB: qmi_wwan: Add quirk for Quectel EC20 Mini PCIe module

This device has same vendor and product IDs as G2K devices, but it has
different number of interfaces(4 vs 5) and also different interface
layout where EC20 has QMI on interface 4 instead of 0.

lsusb output:

Bus 002 Device 003: ID 05c6:9215 Qualcomm, Inc. Acer Gobi 2000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x05c6 Qualcomm, Inc.
  idProduct          0x9215 Acer Gobi 2000 Wireless Modem
  bcdDevice            2.32
  iManufacturer           1 Quectel
  iProduct                2 Quectel LTE Module
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          209
    bNumInterfaces          5
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c