From patchwork Wed Mar 25 05:44:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Dembicki X-Patchwork-Id: 11456951 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 85697139A for ; Wed, 25 Mar 2020 05:44:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 64D7120714 for ; Wed, 25 Mar 2020 05:44:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ohyQ0IaV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725911AbgCYFol (ORCPT ); Wed, 25 Mar 2020 01:44:41 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:37496 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725263AbgCYFol (ORCPT ); Wed, 25 Mar 2020 01:44:41 -0400 Received: by mail-lf1-f67.google.com with SMTP id j11so752564lfg.4; Tue, 24 Mar 2020 22:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5PN2pEY+Kzbz4XFdCE928s35v5++Wy9Ykd/RxXGev44=; b=ohyQ0IaVVwTIOUP8Wrrjs6MbrHL4SxSXu6kuiAoH2a4S2UNj319FtMoCz0yKbZkNUS jagKrf3WLgcONvMPL8fK+mO15JIpo7DVYvu+FYesHrs9vI1jj/1kRFB06y4gZmw0cbL4 0G85USaf0uachg+aNBsO3TH8x+pp7BMpV0GUZTngWYbAtoagtFPZIxVR5O/ow3O3MaqR ifRbBlZI2+kj+prnnIENQMaEXMtt4akYgjmR5wYhCrYbVU3acO9QCc9LYwMGMueT4eDN SRvcSUGUjoA34l/LsazWiEIXTL9TcRKlVXEL/rwMze4QI3O2L8SMNGHA5sTTFtgMFLJw aR7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5PN2pEY+Kzbz4XFdCE928s35v5++Wy9Ykd/RxXGev44=; b=n/H6WbBiQ7OQ6M8/68jQL4UE1JpbzjtQn2zCHjy6g1NlwZplR6p0pBDRVWU8P7jBt3 m/KWW+DEGLl/VxqnyoI/R+/j6koF8UhK8n5wZDhxJemL/ptZ9eedRg4mFOeci69jOQwh gWCbZxnZtnu7/thl1+fSvwfVgsetDIarPC2ko9P8IjzfHEQZc7tlY6tLbTlqfObN6B+e Mpx/mEVqOk5MmC/FBKE0zn7+0YHsdVLGoeReXojc3vBS4pqww7IqzVRrJuDbhHztifcJ 1kXE2o6NIpJrFva6BEHcMLMfZfdsJL8igiiHJ0gMl9W974LM8FyIGbazcgIwrZ0Ma733 bNzA== X-Gm-Message-State: ANhLgQ2TLSexn9EjigG0sfZpRRPwWUC7t4W6Nwl+EJhIom1KjDNxTXfE 3h/s1ZIta3Wv7wN4DKO8w3o= X-Google-Smtp-Source: ADFU+vuh0k4Bq4TAYo+XOlNmB+hpG5bs6sQqwD/bNueZp1wQ0NmtvvAsuW8dv+Bl7HFFSHrX/PjPyQ== X-Received: by 2002:ac2:44bb:: with SMTP id c27mr1118265lfm.91.1585115079793; Tue, 24 Mar 2020 22:44:39 -0700 (PDT) Received: from localhost.localdomain ([185.188.71.122]) by smtp.gmail.com with ESMTPSA id c5sm4690876lfg.82.2020.03.24.22.44.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Mar 2020 22:44:38 -0700 (PDT) From: Pawel Dembicki Cc: Pawel Dembicki , Cezary Jackiewicz , Johan Hovold , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] USB: serial: option: add support for ASKEY WWHC050 Date: Wed, 25 Mar 2020 06:44:17 +0100 Message-Id: <20200325054419.19128-1-paweldembicki@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org ASKEY WWHC050 is a mcie LTE modem. The oem configuration states: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1690 ProdID=7588 Rev=ff.ff S: Manufacturer=Android S: Product=Android S: SerialNumber=813f0eef6e6e C:* #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=86(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=88(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none) E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125us Tested on openwrt distribution. Co-Developed-by: Cezary Jackiewicz Signed-off-by: Cezary Jackiewicz Signed-off-by: Pawel Dembicki --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 0b5dcf973d94..ec367a2f7fed 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1992,6 +1992,8 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e01, 0xff, 0xff, 0xff) }, /* D-Link DWM-152/C1 */ { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e02, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/C1 */ { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x7e11, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/A3 */ + { USB_DEVICE_INTERFACE_CLASS(0x1690, 0x7588, 0xff), /* ASKEY WWHC050 */ + .driver_info = RSVD(1) | RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x2031, 0xff), /* Olicard 600 */ .driver_info = RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x2060, 0xff), /* BroadMobi BM818 */ From patchwork Wed Mar 25 05:44:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Dembicki X-Patchwork-Id: 11456953 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5DE86139A for ; Wed, 25 Mar 2020 05:44:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3EF3320774 for ; Wed, 25 Mar 2020 05:44:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="t1k3sdtw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726264AbgCYFor (ORCPT ); Wed, 25 Mar 2020 01:44:47 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37073 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725263AbgCYFor (ORCPT ); Wed, 25 Mar 2020 01:44:47 -0400 Received: by mail-lj1-f194.google.com with SMTP id r24so1152093ljd.4; Tue, 24 Mar 2020 22:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WytxL680EIkmdkcboL7y8pL4166B4FDfuz4cMWklXYU=; b=t1k3sdtwe2yXfIbnHooH4KGViELLqPFO9hdxVmuFboEkxAIkIJZPoEJVoDPNAlL5lu Cfcj/RffJWp0Mn9vuUoJsbCKQqRueQ1Gp/14esa3gJjYqsSFUeqwa6kW/EieO2jDfV3h zPh23E0+VkHAImYXvEvFXlR33Oag/ikyV17nRUG1DXk43cnshJbwZ1CJnUdo9zthJBNi vNUGzsvZscaWMF2p7XyjtbwVsA5Goyz/UgJmjb3auF9QMFRxQxztYSIL0IgDpDzbhwDE Q/+kCRc8HKJlIRNcBWP4AaD1DF4r3pLGE9zzFqYkMW+OvJWAvdTkhC/73dhdoc6IuUfj J2/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WytxL680EIkmdkcboL7y8pL4166B4FDfuz4cMWklXYU=; b=C9HY076CJdkCxiNe7z3HhVQ19j2G6I7qvcz97lVPThYdJuJrttND/fcBiwg6PpZcvN BpNysVM/xcBI4liiARxJxrP1KQMpjgPQ0hsOwd93JWQOvjQk+O5AIH/X40sIvu1Y/rl6 9shsrUPE0ZBmnEcmxyXuL4iqwpyLKNF2RiQrsjdbODldu1sfbNL/0cGgIo1uLmMs/DkX +vHzk8ocVS2DJT1otsxG0J6BpaRmlzlLgy2Yc7CorXF5hmg7dW/J37DrXsAWnUqJpR+2 ODGpRdTvMP5lN7G5rEVkPveIQgjYPwy0+Vh0emF3KGYUpLBW11f6TZT5UcloUUCRIsrJ EpyQ== X-Gm-Message-State: ANhLgQ0lcRuS6SJ9zMmiT/bf29NVV0A+zYS0qYuyDsJpL8BN5EWqBMHD oBBR6b2Z+TtgldAKfb49oxY= X-Google-Smtp-Source: APiQypKK9FXJLGsNuuEIBp9h9EAtU+maAWQovbwoqJ/dhKFXO7y0tBDlvYXlHQXH8aiZy2e3hXgD7w== X-Received: by 2002:a2e:b558:: with SMTP id a24mr842951ljn.56.1585115085592; Tue, 24 Mar 2020 22:44:45 -0700 (PDT) Received: from localhost.localdomain ([185.188.71.122]) by smtp.gmail.com with ESMTPSA id c5sm4690876lfg.82.2020.03.24.22.44.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Mar 2020 22:44:45 -0700 (PDT) From: Pawel Dembicki Cc: Pawel Dembicki , Cezary Jackiewicz , Johan Hovold , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] USB: serial: option: add BroadMobi BM806U Date: Wed, 25 Mar 2020 06:44:18 +0100 Message-Id: <20200325054419.19128-2-paweldembicki@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200325054419.19128-1-paweldembicki@gmail.com> References: <20200325054419.19128-1-paweldembicki@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org BroadMobi BM806U is an Qualcomm MDM9225 based 3G/4G modem. Tested hardware BM806U is mounted on D-Link DWR-921-C3 router. T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2020 ProdID=2033 Rev= 2.28 S: Manufacturer=Mobile Connect S: Product=Mobile Connect S: SerialNumber=f842866cfd5a C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=89(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms Co-Developed-by: Cezary Jackiewicz Signed-off-by: Cezary Jackiewicz Signed-off-by: Pawel Dembicki --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index ec367a2f7fed..8f6ed0cdddf4 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1996,6 +1996,8 @@ static const struct usb_device_id option_ids[] = { .driver_info = RSVD(1) | RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x2031, 0xff), /* Olicard 600 */ .driver_info = RSVD(4) }, + { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x2033, 0xff), /* BroadMobi BM806U */ + .driver_info = RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x2060, 0xff), /* BroadMobi BM818 */ .driver_info = RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x4000, 0xff) }, /* OLICARD300 - MT6225 */ From patchwork Wed Mar 25 05:44:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Dembicki X-Patchwork-Id: 11456955 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1FA15139A for ; Wed, 25 Mar 2020 05:44:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F2C9D20714 for ; Wed, 25 Mar 2020 05:44:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="D0pW9HSR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727279AbgCYFov (ORCPT ); Wed, 25 Mar 2020 01:44:51 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:33019 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725263AbgCYFov (ORCPT ); Wed, 25 Mar 2020 01:44:51 -0400 Received: by mail-lj1-f195.google.com with SMTP id f20so1180672ljm.0; Tue, 24 Mar 2020 22:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VCJjnDC7YcFnHUwAaqZugTYOL5Vd2ZqGA7nY4SOPq8g=; b=D0pW9HSRd3T2bIeDSEHq6UF5cq4pyyow6Cf8P88fd4FXZACHeV2KGmtieOSq2OfJxY Z4UZC04/FF7x29jZjjVm8216Zu1dwWEa1+2uCJfh2iAXZz/ynK2ao0V/HUthWp/E38Ip Aazu54zTVdv+5ejVW54J1PqfUi2rkHF02BttNce6ndikZ2wzgYjv5hUGpCfM2GPRPmgH JlqnDZZVyipplqGbr0eO9l+oHFOkMsq/TsWgVPm9j3gCfIMxy4FOXjZze/cZFXatOCqr KU/G98FcU/sKjgKoeNQECelJpQ7//8Dk1hyFs5chW9Pj2S8rWahIaWhm/HTRJjlOnR7d 8ytQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VCJjnDC7YcFnHUwAaqZugTYOL5Vd2ZqGA7nY4SOPq8g=; b=tGypZzznXQ7MB+Jg/yyr2SiFsq3e9xcEHuDpZboG+JkJ5C7hyuEOwfMD/FhTzVMJGc CYYtbw0RmRtxC54o1UhRHBUc6nP853eBG6Hlt3me48WjYxBCMJPdDAGohmo3yOnY0b2G EpFFTaQKmalHvrF4SyLKvh/s62hMQfOH/6MPopGiMHXQct4C29WkqJJlIevjpX3UlMFc 96L8OCvLnSWb6wQWcyZ3TnAFiA98QiqtBuMxLjdNFfcMAmnyZCElhzNTy0OGVXDSvZX0 Dkypwjm0Ey9Z4GfRB2zMn8lfO5k9mC4VqPu4H1XUQ/dKQPa+kpnfx/HGhFI87Cf94s0f b/OA== X-Gm-Message-State: ANhLgQ14lckdb+7zadyVqqYhsl5+b5L3ZjBA8/XgCPgCKcsiBHX/FrgT 2+Efa4FHcvWSYRwoG7uNqoU= X-Google-Smtp-Source: APiQypJSdSdcqdutv/jQse/UnuwN06v0CvCoGCBqKh+kkMEi7fzh/lh1Q6J7PLPO2Qo99HXvngZIwQ== X-Received: by 2002:a2e:b5d1:: with SMTP id g17mr811251ljn.139.1585115089376; Tue, 24 Mar 2020 22:44:49 -0700 (PDT) Received: from localhost.localdomain ([185.188.71.122]) by smtp.gmail.com with ESMTPSA id c5sm4690876lfg.82.2020.03.24.22.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Mar 2020 22:44:48 -0700 (PDT) From: Pawel Dembicki Cc: Pawel Dembicki , Johan Hovold , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] USB: serial: option: add Wistron Neweb D19Q1 Date: Wed, 25 Mar 2020 06:44:19 +0100 Message-Id: <20200325054419.19128-3-paweldembicki@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200325054419.19128-1-paweldembicki@gmail.com> References: <20200325054419.19128-1-paweldembicki@gmail.com> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This modem is embedded on dlink dwr-960 router. The oem configuration states: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1435 ProdID=d191 Rev=ff.ff S: Manufacturer=Android S: Product=Android S: SerialNumber=0123456789ABCDEF C:* #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=86(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=88(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none) E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125us Tested on openwrt distribution Signed-off-by: Pawel Dembicki --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 8f6ed0cdddf4..8bfffca3e4ae 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1992,6 +1992,8 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e01, 0xff, 0xff, 0xff) }, /* D-Link DWM-152/C1 */ { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e02, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/C1 */ { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x7e11, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/A3 */ + { USB_DEVICE_INTERFACE_CLASS(0x1435, 0xd191, 0xff), /* Wistron Neweb D19Q1 */ + .driver_info = RSVD(1) | RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x1690, 0x7588, 0xff), /* ASKEY WWHC050 */ .driver_info = RSVD(1) | RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x2031, 0xff), /* Olicard 600 */