[WP7607] QMI interface with linux kernel driver


#1

Hi all,

I hava a WP7607 module into a mangoh red board.
The module is working fine when I use the CM commands.

Now I try to connect to my board using USB and I want to use the mainline kernel qmi_wwan driver and cdc-wdm device to configure the WP7607 using libqmi and amicli tool.

The module is recognized by my kernel (version 4.9)

[23102.879227] usb 2-4.1: New USB device found, idVendor=1199, idProduct=68c0
[23102.879229] usb 2-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[23102.879230] usb 2-4.1: Product: WP7607
[23102.879231] usb 2-4.1: Manufacturer: Sierra Wireless, Incorporated
[23102.879231] usb 2-4.1: SerialNumber: VN74538548070331
[23102.890439] qcserial 2-4.1:1.0: Qualcomm USB modem converter detected
[23102.890504] usb 2-4.1: Qualcomm USB modem converter now attached to ttyUSB0
[23102.891348] qcserial 2-4.1:1.3: Qualcomm USB modem converter detected
[23102.891407] usb 2-4.1: Qualcomm USB modem converter now attached to ttyUSB1
[23102.894414] qmi_wwan 2-4.1:1.8: cdc-wdm0: USB WDM device
[23102.894518] qmi_wwan 2-4.1:1.8 wwan0: register 'qmi_wwan' at usb-0000:03:00.0-4.1, WWAN/QMI device, c2:2b:a0:92:31:61
[23102.900811] cdc_ether 2-4.1:1.19 usb0: register 'cdc_ether' at usb-0000:03:00.0-4.1, CDC Ethernet Device, 46:a3:6e:ae:9d:6c
[23102.909908] cdc_ether 2-4.1:1.19 ens160u4u1i19: renamed from usb0
[23102.938550] qmi_wwan 2-4.1:1.8 wws160u4u1i8: renamed from wwan0

But I always have timeout using qmicli with the device /dev/cdc-wdm0.

My principal question is: Does the WP7607 support the mainline kernel driver or not ?

Thanks


#2

@nse15,

In theory, yes you can use it and plenty of people do (as it uses the same VID/PID as some of our MC’s), but it is not recommended as we do not support it if you use it and hit problems, we obviously recommend our own driver.

Regards

Matt