EM7565 enumeration

Tomcsányi, Domonkos domi at tomcsanyi.net
Fri Sep 28 17:20:04 UTC 2018


Hi Paul,

The android path is inside the device, can you do the command
adb shell

and see if you can access the shell? Because if yes you should be able to reconfigure the Android USB gadget to disable ADB.
Also there is probably a way to reconfigure from the host directly.
Can you try the perl script attached to the subpage ‘D-Link DWM222’ of my linked page and see what modes it shows when run?

Cheers,
Domi


2018. szept. 28. dátummal, 12:29 időpontban Paul Gildea <gildeap at tcd.ie> írta:

> 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
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180928/50b6ca36/attachment.html>


More information about the libqmi-devel mailing list