EM7565 enumeration
Paul Gildea
gildeap at tcd.ie
Fri Sep 28 10:29:26 UTC 2018
Thanks that patch worked perfectly, when the modem comes up correctly,
thanks. Most of the time it's still showing as a google/android device
which is annoying as I can't use it and have to plug it out frequently
until the modem comes up.
Querying the syspath for the idVendor and idProduct information returns the
correct SW values though, there is no "android" path as indicated in your
link Domi. Trying to find out more.
--
Paul
On Wed, 26 Sep 2018 at 21:22, Reinhard Speyerer <rspmn at arcor.de> wrote:
> On Wed, Sep 26, 2018 at 04:04:09PM +0100, Paul Gildea wrote:
> > I've patched my 4.7.8 kernel with the patch above, referenced by
> > Aleksander, and now I get somewhat expected and somewhat unexpected
> > behaviour.
> > Firstly, the modem at times does appear and a wwan and cdc-wdm interface
> is
> > created. The cdc-wdm can be queried with libqmi successfully.
> >
> >
> > qmicli --device-open-qmi -p -d /dev/cdc-wdm0 --dms-get-operating-mode
> >
> > [/dev/cdc-wdm0] Operating mode retrieved:
> >
> > Mode: 'online'
> >
> > HW restricted: 'no'
> >
> > The first issue is that no USB interfaces are enumerated, and I expect
> the
> > usual three should be:
> >
> > [ 236.545123] usb 3-4: new high-speed USB device number 12 using
> xhci_hcd
> >
> > [ 236.713281] usb 3-4: config 1 has an invalid interface number: 8 but
> max
> > is 3
> > [ 236.713285] usb 3-4: config 1 has no interface number 1
> >
> > [ 236.715902] usb 3-4: New USB device found, idVendor=1199,
> idProduct=9091
> >
> > [ 236.715906] usb 3-4: New USB device strings: Mfr=1, Product=2,
> > SerialNumber=3
> > [ 236.715909] usb 3-4: Product: Sierra Wireless EM7565
> > Qualcomm\xffffffc2\xffffffae Snapdragon\xffffffe2\xffffff84\xffffffa2 X16
> > LTE-A
> > [ 236.715911] usb 3-4: Manufacturer: Sierra Wireless, Incorporated
> >
> > [ 236.715912] usb 3-4: SerialNumber: d470b623
> >
> > [ 236.725823] qmi_wwan 3-4:1.8: cdc-wdm0: USB WDM device
> >
> > [ 236.726017] qmi_wwan 3-4:1.8 wwan0: register 'qmi_wwan' at
> > usb-0000:06:00.0-4, WWAN/QMI device, 1e:3c:de:67:26:b1
>
> Hi Paul,
>
> if you want your kernel to support the EM7565 serial ports you also
> have to apply this patch:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/drivers/usb/serial/qcserial.c?id=92a18a657fb2e2ffbfa0659af32cc18fd2346516
>
> Regards,
> Reinhard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180928/9d5b0966/attachment.html>
More information about the libqmi-devel
mailing list