how to support EM7565 modem

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Wed Nov 29 03:50:50 UTC 2017


>
>
> > Hi,
> >
> > AT (qcserial) command test:
> >
> > at!gstatus?
> > !GSTATUS:
> > Current Time:  115797 Temperature: 27
> > Reset Counter: 1 Mode:        ONLINE
> > System mode:   LTE        PS state:    Attached
> > LTE band:      B7      LTE bw:      20 MHz
> > LTE Rx chan:   3148 LTE Tx chan: 21148
> > LTE SSC1 state:NOT ASSIGNED
> > LTE SSC2 state:NOT ASSIGNED
> > LTE SSC3 state:NOT ASSIGNED
> > LTE SSC4 state:NOT ASSIGNED
>
> Nice.  I guess we need to extend
>
>  qmicli --nas-get-lte-cphy-ca-info
>
> was well..
>
>
# qmicli -d /dev/cdc-wdm0 --nas-get-lte-cphy-ca-info
error: couldn't get carrier aggregation info: QMI protocol error (71):
'InvalidQmiCommand'
#


> Please add the bootloader/QDL device ID (1199:9090, I guess?) to
> qcserial.c too, so qmi-firmware-update etc can do its job.
>
>
Found following in the windows drivers;

%SierraDeviceQDL% = QportInstall00, USB\VID_1199&PID_9090

So the qcserial should look like this;

diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c
index eb99289..30a0fc8 100644
--- a/drivers/usb/serial/qcserial.c
+++ b/drivers/usb/serial/qcserial.c
@@ -165,6 +165,8 @@ static const struct usb_device_id id_table[] = {
        {DEVICE_SWI(0x1199, 0x9079)},   /* Sierra Wireless EM74xx */
        {DEVICE_SWI(0x1199, 0x907a)},   /* Sierra Wireless EM74xx QDL */
        {DEVICE_SWI(0x1199, 0x907b)},   /* Sierra Wireless EM74xx */
+       {DEVICE_SWI(0x1199, 0x9090)},   /* Sierra Wireless EM7565 QDL */
+       {DEVICE_SWI(0x1199, 0x9091)},   /* Sierra Wireless EM7565 */
        {DEVICE_SWI(0x413c, 0x81a2)},   /* Dell Wireless 5806 Gobi(TM) 4G
LTE Mobile Broadband Card */
        {DEVICE_SWI(0x413c, 0x81a3)},   /* Dell Wireless 5570 HSPA+
(42Mbps) Mobile Broadband Card */
        {DEVICE_SWI(0x413c, 0x81a4)},   /* Dell Wireless 5570e HSPA+
(42Mbps) Mobile Broadband Card */
root at rancharciz600:/opt/linux-4.13.12-BG96#

-Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20171129/c75e3905/attachment.html>


More information about the libqmi-devel mailing list