Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753586AbbETNRR (ORCPT ); Wed, 20 May 2015 09:17:17 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:34272 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751962AbbETNRO convert rfc822-to-8bit (ORCPT ); Wed, 20 May 2015 09:17:14 -0400 MIME-Version: 1.0 In-Reply-To: <1432127287-23042-1-git-send-email-mirza.krak@hostmobility.com> References: <1432127287-23042-1-git-send-email-mirza.krak@hostmobility.com> Date: Wed, 20 May 2015 15:17:13 +0200 Message-ID: Subject: Re: [PATCH 1/1] USB: option: add support for Cinterion PH8-P From: Mirza Krak To: johan , gregkh , linux-usb , linux-kernel Cc: Mirza Krak Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3069 Lines: 74 Realized now that this was a total waste of time...Product id is the same as PH8... 2015-05-20 15:08 GMT+02:00 Mirza Krak : > From: Mirza Krak > > Also blacklist interface 4 as is done for PH8. > commit 12df84d4a802 ("USB: serial: option: blacklist interface 4 for Cinterion PHS8 and PXS8") > > $ usb-devices > T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=1e2d ProdID=0053 Rev=00.00 > S: Manufacturer=Cinterion > S: Product=PH8 > C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=10mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option > I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option > I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option > I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option > I: If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) > > Signed-off-by: Mirza Krak > --- > drivers/usb/serial/option.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c > index f0c0c53359ad..c2259ff3edb4 100644 > --- a/drivers/usb/serial/option.c > +++ b/drivers/usb/serial/option.c > @@ -378,6 +378,7 @@ static void option_instat_callback(struct urb *urb); > #define CINTERION_PRODUCT_EU3_E 0x0051 > #define CINTERION_PRODUCT_EU3_P 0x0052 > #define CINTERION_PRODUCT_PH8 0x0053 > +#define CINTERION_PRODUCT_PH8_P 0x0054 > #define CINTERION_PRODUCT_AHXX 0x0055 > #define CINTERION_PRODUCT_PLXX 0x0060 > > @@ -1654,6 +1655,8 @@ static const struct usb_device_id option_ids[] = { > { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_EU3_P) }, > { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PH8), > .driver_info = (kernel_ulong_t)&net_intf4_blacklist }, > + { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PH8_P), > + .driver_info = (kernel_ulong_t)&net_intf4_blacklist }, > { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_AHXX) }, > { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PLXX), > .driver_info = (kernel_ulong_t)&net_intf4_blacklist }, > -- > 2.1.0 > -- Med Vänliga Hälsningar / Best Regards ******************************************************************* Mirza Krak Host Mobility AB mirza.krak@hostmobility.com Anders Personsgatan 12, 416 64 Göteborg Sweden http://www.hostmobility.com Direct: +46 31 31 32 704 Phone: +46 31 31 32 700 Fax: +46 31 80 67 51 Mobile: +46 730 28 06 22 ******************************************************************* -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/