{EXT}: Re: SIMCOM7600H-PCIE
Sebastian Sjoholm
sebastian.sjoholm at gmail.com
Thu Mar 8 05:36:02 UTC 2018
On Wed, Mar 7, 2018 at 3:37 PM, Westerhoff, Vincent <
Vincent.Westerhoff at p3-group.com> wrote:
> > but not the QMI without some tweaks.
>
> Hey,
>
> It is like you said, serial ports working, but qmi is not working.
> qmi_wwan: probe of 2-1.3:1.0 failed with error -22
>
> I added
>
> {QMI_GOBI_DEVICE(0x1e0e, 0x9001)},
>
> to qmi_wwan.c but it seems there is more todo.
>
> Any idea what to do else?
>
> --Vincent
>
>
Hi,
You need to add it as "QMI_QUIRK_SET_DTR", it seems that all MDM9607 based
chipsets need this quirk.
I tried to add some identification regarding SIMCOM, but haven't come
around to get it to work properly. Currently I solved it by setting the USB
id to 0x9002 in the modem which reflects the configuration example below.
The SimCom modem have AT command set this id.
root at rancharciz600:/opt/linux-4.14.5/drivers/net/usb# git diff qmi_wwan.c
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index 8d4a6f7..4b88619 100644
--- a/drivers/net/usb/qmi_wwan.c
+++ b/drivers/net/usb/qmi_wwan.c
@@ -1237,8 +1237,10 @@ static const struct usb_device_id products[] = {
{QMI_FIXED_INTF(0x03f0, 0x4e1d, 8)}, /* HP lt4111
LTE/EV-DO/HSPA+ Gobi 4G Module */
{QMI_FIXED_INTF(0x22de, 0x9061, 3)}, /* WeTelecom WPD-600N */
{QMI_FIXED_INTF(0x1e0e, 0x9001, 5)}, /* SIMCom 7230E */
+ {QMI_QUIRK_SET_DTR(0x1e0e, 0x9002, 5)}, /* SIMCom 7600E */
{QMI_QUIRK_SET_DTR(0x2c7c, 0x0125, 4)}, /* Quectel EC25, EC20 R2.0
Mini PCIe */
{QMI_QUIRK_SET_DTR(0x2c7c, 0x0121, 4)}, /* Quectel EC21 Mini PCIe */
/* 4. Gobi 1000 devices */
{QMI_GOBI1K_DEVICE(0x05c6, 0x9212)}, /* Acer Gobi Modem Device */
root at rancharciz600:/opt/linux-4.14.5/drivers/net/usb#
Anyway, if you don't want to change the USB id, then just change the
"QMI_FIXED_INTF" -> "QMI_QUIRK_SET_DTR" and you should be good to go.
I am in progress to check what other SimCom uses for USB id, if they all
have the same, then maybe something needs to be figure out how to best
support these.
-Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180308/4e270af6/attachment.html>
More information about the libqmi-devel
mailing list