Netgear 340u

Bjørn Mork bjorn at mork.no
Fri Apr 25 09:37:12 PDT 2014


David McCullough <david.mccullough at accelecon.com> writes:
> Aleksander Morgado wrote the following:
>> On Fri, Apr 25, 2014 at 1:44 PM, David McCullough
>> <david.mccullough at accelecon.com> wrote:
>> >
>> > 2. Apply this patch to your kernel if it is not already applied to get all
>> >    the interfaces for use with the modem in QMI mode.  This patch is against
>> >    linux-3.10
>> >
>> > Cheers,
>> > Davidm
>> >
>> > diff --git a/linux-3.10/drivers/net/usb/qmi_wwan.c b/linux-3.10/drivers/net/usb/qmi_wwan.c
>> > index fb252c7..fddcfe0 100644
>> > --- a/linux-3.10/drivers/net/usb/qmi_wwan.c
>> > +++ b/linux-3.10/drivers/net/usb/qmi_wwan.c
>> > @@ -580,6 +580,7 @@ static const struct usb_device_id products[] = {
>> >         {QMI_FIXED_INTF(0x1199, 0x68a2, 8)},    /* Sierra Wireless MC7710 in QMI mode */
>> >         {QMI_FIXED_INTF(0x1199, 0x68a2, 19)},   /* Sierra Wireless MC7710 in QMI mode */
>> >         {QMI_FIXED_INTF(0x1199, 0x901c, 8)},    /* Sierra Wireless EM7700 */
>> > +       {QMI_FIXED_INTF(0x1199, 0x9051, 8)},    /* Sierra Wireless MC7700 */
>> >         {QMI_FIXED_INTF(0x1bbb, 0x011e, 4)},    /* Telekom Speedstick LTE II (Alcatel One Touch L100V LTE) */
>> >         {QMI_FIXED_INTF(0x2357, 0x0201, 4)},    /* TP-LINK HSUPA Modem MA180 */
>> >         {QMI_FIXED_INTF(0x1bc7, 0x1200, 5)},    /* Telit LE920 */
>> > diff --git a/linux-3.10/drivers/usb/serial/sierra.c b/linux-3.10/drivers/usb/serial/sierra.c
>> > index 8894665..16e40c4 100644
>> > --- a/linux-3.10/drivers/usb/serial/sierra.c
>> > +++ b/linux-3.10/drivers/usb/serial/sierra.c
>> > @@ -288,6 +288,12 @@ static const struct usb_device_id id_table[] = {
>> >         { USB_DEVICE_AND_INTERFACE_INFO(0x0F3D, 0x68AA, 0xFF, 0xFF, 0xFF),
>> >           .driver_info = (kernel_ulong_t)&direct_ip_interface_blacklist
>> >         },
>> > +       { USB_DEVICE_AND_INTERFACE_INFO(0x1199, 0x9051, 0xFF, 0xFF, 0xFF),
>> > +         .driver_info = (kernel_ulong_t)&direct_ip_interface_blacklist
>> > +       },
>> > +       { USB_DEVICE_AND_INTERFACE_INFO(0x1199, 0x9051, 0xFF, 0x00, 0x00),
>> > +         .driver_info = (kernel_ulong_t)&direct_ip_interface_blacklist
>> > +       },
>> >         { USB_DEVICE(0x0f3d, 0x68A3),   /* Airprime/Sierra Wireless Direct IP modems */
>> >           .driver_info = (kernel_ulong_t)&direct_ip_interface_blacklist
>> 
>> 
>> Is this reported to the LKML already?
>
> Not by me yet,  its on my TODO list,  happy to have it passed along or to
> send it.  When I saw the thread here I figured I had better at least chip
> in where I am at if it helps.

It is already there in v3.14 and most of the stable kernels, including
stable-3.10.y

I don't think the sierra driver is appropriate for newer non-DirectIP
devices.  The Netgear 340u is so similar to the other Qualcomm based
Sierra devices that I added it to the qcserial driver instead.

But this reminds me that I have a pile of patches for other devices.
I'll clean those up and submit ASAP.


Bjørn


More information about the libqmi-devel mailing list