mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Marcin Gałczyński" <marcin@galczynski.pl>
To: <linux-kernel@vger.kernel.org>
Subject: USB driver "option" proposed patch to support Huawei E353 hardware
Date: Sat, 14 May 2011 02:44:10 +0200	[thread overview]
Message-ID: <BAD23DF0CF2645B1A237F4CA7D0B6C70@int.nthmedia.pl> (raw)

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

Hi,

I am sharing patch to the devices/usb/serial/option.c. This allows operation 
of Huawei E353 broadband modem using the “option” driver. The patch simply 
adds new constant with proper product ID and an entry to usb_device_id. I 
worked on the fresh driver file downloaded from GIT. Tested on Dell inspiron 
1764 (i3 core cpu) and brand new Huawei E353 modem, Fedora 15 beta.

Looking at the type of change, i doubt it has potential to introduce 
problems in other parts of kernel or the driver itself.

I am not an active kernel developer, thus i would not be joining the list... 
for now. If You’d like to reach me, please respond directly.


--best rgds
Marcin Galczynski 

[-- Attachment #2: devices-usb-serial-option.c-enable-huaweiE353.path --]
[-- Type: application/octet-stream, Size: 1076 bytes --]

*** option.c.old	2011-05-14 02:11:00.174063786 +0200
--- option.c	2011-05-14 02:03:34.312602150 +0200
***************
*** 149,154 ****
--- 149,155 ----
  #define HUAWEI_PRODUCT_K3765			0x1465
  #define HUAWEI_PRODUCT_E14AC			0x14AC
  #define HUAWEI_PRODUCT_ETS1220			0x1803
+ #define HUAWEI_PRODUCT_E353			0x1506
  
  #define QUANTA_VENDOR_ID			0x0408
  #define QUANTA_PRODUCT_Q101			0xEA02
***************
*** 532,537 ****
--- 533,539 ----
  	{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3765, 0xff, 0xff, 0xff) },
  	{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ETS1220, 0xff, 0xff, 0xff) },
  	{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E14AC, 0xff, 0xff, 0xff) },
+ 	{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E353, 0xff, 0x01, 0x01) },
  	{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) },
  	{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) },
  	{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V740) },

             reply	other threads:[~2011-05-14  0:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-14  0:44 Marcin Gałczyński [this message]
2011-05-14  9:52 ` Oliver Neukum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAD23DF0CF2645B1A237F4CA7D0B6C70@int.nthmedia.pl \
    --to=marcin@galczynski.pl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®