OpenWrt Forum Archive

Topic: Have a patch for option.c file to allow for new LTE module

The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I have a patch to the option.c file to allow for ZTE ME3630.  I tested and it works.  How do I submit?  Thanks.

CB


#define ZTE_PRODUCT_ME3630_X            0x1432
#define ZTE_PRODUCT_ME3630_L            0x1476

static const struct option_blacklist_info zte_me3630_xl_blacklist = {
    .reserved = BIT(3) | BIT(4) | BIT(5),
};

    { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_ME3630_L),
     .driver_info = (kernel_ulong_t)&zte_me3630_xl_blacklist },
    { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_ME3630_X),
     .driver_info = (kernel_ulong_t)&zte_me3630_xl_blacklist },

sloppyTypist wrote:

Hi,

I have a patch to the option.c file to allow for ZTE ME3630.  I tested and it works.  How do I submit?  Thanks.

It's easy ...

You need to send this as patch to the responsible developer, Maintainer and important to the mailing list.

You get the right information with

./scripts/get_maintainer.pl drivers/usb/serial/option.c 

from your linux source tree
It is preferred to use git for all of this, so you must clone the master branch

Here is some good video about this
https://www.youtube.com/watch?v=LLBrBBImJt4
Feel free to ask me more if you want,
because for a beginner this is not a nice place, the regulars get annoyed

Danke.  Much appreciated.

The discussion might have continued from here.