答复: Quectel EG21 modem QMI connection works but MM fallbacks to ttyUSB2 as primary port

2020-11-25 Thread 殷张成
Hi Rafal: For you are using EC21, the upstream qmi_wwan driver is enough. If the EC21's VID and PID is not in the qmi_wwan.c products table, you just need add it, as next: {QMI_QUIRK_SET_DTR(0x2c7c, 0x0121, 4)}, /* Quectel EC21 Mini PCIe */ If you are using LTE-A

Re: Quectel EG21 modem QMI connection works but MM fallbacks to ttyUSB2 as primary port

2020-11-25 Thread Aleksander Morgado
Hey Rafal! > Jan 1 04:51:00 zubrOS ModemManager[342]: [17460.859237] [filter] > cdc-wdm devices allowed:yes > Jan 1 04:51:35 zubrOS kernel: [ 54.178239] qmi_wwan_q 1-1:1.4: cdc-wdm0: > USB WDM device I saw your merge request and replied about that there, the problem you had with

Quectel EG21 modem QMI connection works but MM fallbacks to ttyUSB2 as primary port

2020-11-25 Thread Rafal Mszal
Hi, I have a custom OS built in the buildroot framework and try to integrate Modem Manager to handle Quectel EG21[the same VID:PID as EC21] using QMI. I've followed Quectel instruction with patching option.c and qmi_wwan in the kernel, libqmi seems to work as expected. Unfortunately, when