EM7565 enumeration
Tomcsányi, Domonkos
domi at tomcsanyi.net
Wed Sep 26 17:35:46 UTC 2018
Hello Paul,
Yes, sure, I have seen such behavior.
Check out: https://osmocom.org/projects/quectel-modems/wiki
Cheers,
Domi
2018. szept. 26. dátummal, 17:04 időpontban Paul Gildea <gildeap at tcd.ie> írta:
> 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
>
> Second issue is that the modem sometimes does not come up at all, instead it appears a s a google/android device, this is what is shown:
>
> [ 18.565516] usb 3-4: new high-speed USB device number 6 using xhci_hcd
> [ 18.684849] usb 3-4: New USB device found, idVendor=18d1, idProduct=d00d
> [ 18.684852] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [ 18.684855] usb 3-4: Product: Android
> [ 18.684857] usb 3-4: Manufacturer: Google
> [ 18.684858] usb 3-4: SerialNumber: d470b623
> [ 18.919606] usb 3-4: USB disconnect, device number 6
> [ 20.523473] usb 3-4: new high-speed USB device number 7 using xhci_hcd
> [ 20.642849] usb 3-4: New USB device found, idVendor=18d1, idProduct=d00d
> [ 20.642853] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [ 20.642856] usb 3-4: Product: Android
> [ 20.642858] usb 3-4: Manufacturer: Google
> [ 20.642859] usb 3-4: SerialNumber: d470b623
>
> Anybody seen this or any ideas?
>
>
> --
> Paul
>
>
>
>
>
>> On Tue, 25 Sep 2018 at 12:19, Paul Gildea <gildeap at tcd.ie> wrote:
>> I tried that thanks, this is what I got:
>>
>>
>> [68728.191271] qmi_wwan: probe of 1-4:1.0 failed with error -22
>> [68728.191290] qmi_wwan 1-4:1.2: bogus CDC Union: master=0, slave=0
>> [68728.191982] qmi_wwan 1-4:1.2: cdc-wdm0: USB WDM device
>> [68728.192178] qmi_wwan 1-4:1.2 wwan0: register 'qmi_wwan' at usb-0000:00:14.0-4, WWAN/QMI device, 2a:35:d7:51:79:b6
>> [68728.192198] qmi_wwan 1-4:1.3: bogus CDC Union: master=0, slave=0
>> [68728.192676] qmi_wwan 1-4:1.3: cdc-wdm1: USB WDM device
>> [68728.192872] qmi_wwan 1-4:1.3 wwan1: register 'qmi_wwan' at usb-0000:00:14.0-4, WWAN/QMI device, 2a:35:d7:51:79:b6
>> [68728.193522] qmi_wwan 1-4:1.8: cdc-wdm2: USB WDM device
>> [68728.193708] qmi_wwan 1-4:1.8 wwan2: register 'qmi_wwan' at usb-0000:00:14.0-4, WWAN/QMI device, 2a:35:d7:51:79:b6
>>
>>
>>> On 24 September 2018 at 19:52, Aleksander Morgado <aleksander at aleksander.es> wrote:
>>> Hey,
>>>
>>> >>> > [ 36.007167] usb 3-4: new high-speed USB device number 11 using xhci_hcd
>>> >>> > [ 36.175364] usb 3-4: config 1 has an invalid interface number: 8 but max is 3
>>> >>> > [ 36.175368] usb 3-4: config 1 has no interface number 1
>>> >>> > [ 36.177987] usb 3-4: New USB device found, idVendor=1199, idProduct=9091
>>> >>> > [ 36.177991] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>> >>> > [ 36.177993] usb 3-4: Product: Sierra Wireless EM7565 Qualcomm\xffffffc2\xffffffae Snapdragon\xffffffe2\xffffff84\xffffffa2 X16 LTE-A
>>> >>> > [ 36.177995] usb 3-4: Manufacturer: Sierra Wireless, Incorporated
>>> >>> > [ 36.177997] usb 3-4: SerialNumber: d470b623
>>> >>> >
>>> >>> >
>>> >>> > I had a look through the archive for mentions of EM7565 and I saw some talk of patches to support it but nothing solid about what was added or if anything was, some stuff about GPS and also qmi-firmware-update and so on. At this stage do I just need to patch the vendor and product ID's in some files for this modem to be functional?
>>> >>> >
>>> >>>
>>> >>> What kernel version are you using? The necessary support in the kernel
>>> >>> should be available since v4.15 (commit
>>> >>> aceef61ee56898cfa7b6960fb60b9326c3860441).
>>> >>>
>>>
>>> Try to insert the id in runtime:
>>> # echo "1199 9091" > /sys/bus/usb/drivers/qmi_wwan/new_id
>>>
>>>
>>> --
>>> Aleksander
>>> https://aleksander.es
>>
> _______________________________________________
> 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/20180926/b11d16e5/attachment-0001.html>
More information about the libqmi-devel
mailing list