Quectel EP06 Support

Paul Gildea gildeap at tcd.ie
Wed Mar 27 16:59:49 UTC 2019


Hi,

I'm trying to get one of these working with libqmi and just a quick query.
When I plug it in, the USB interfaces get enumerated and I can query with
AT commands:

[ 5011.373590] usb 2-2: new SuperSpeed USB device number 7 using xhci_hcd
[ 5011.387064] usb 2-2: New USB device found, idVendor=2c7c, idProduct=0306
[ 5011.387068] usb 2-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 5011.387070] usb 2-2: Product: LTE-A Module
[ 5011.387073] usb 2-2: Manufacturer: Quectel
[ 5011.387075] usb 2-2: SerialNumber: 0123456789ABCDEF
[ 5011.388207] usb 2-2: Enable of device-initiated U1 failed.
[ 5011.388433] usb 2-2: Enable of device-initiated U2 failed.
[ 5011.388560] option 2-2:1.0: GSM modem (1-port) converter detected
[ 5011.388724] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB3
[ 5011.388896] option 2-2:1.1: GSM modem (1-port) converter detected
[ 5011.389046] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB9
[ 5011.389231] option 2-2:1.2: GSM modem (1-port) converter detected
[ 5011.389348] usb 2-2: GSM modem (1-port) converter now attached to
ttyUSB13
[ 5011.389549] option 2-2:1.3: GSM modem (1-port) converter detected
[ 5011.389663] usb 2-2: GSM modem (1-port) converter now attached to
ttyUSB14


However no wwan or cdc-wdm interface appears. I'm poked around and added
the ID's to the live system and they've appeared:

echo "2c7c 0306" > /sys/bus/usb/drivers/qmi_wwan/new_id

[ 6526.508140] usb 2-2: Disable of device-initiated U1 failed.
[ 6526.508474] usb 2-2: Disable of device-initiated U2 failed.
[ 6526.510142] qmi_wwan 2-2:1.4: cdc-wdm6: USB WDM device
[ 6526.510755] qmi_wwan 2-2:1.4 wwan6: register 'qmi_wwan' at
usb-0000:00:14.0-2, WWAN/QMI device, 52:32:30:ea:0a:e6
[ 6526.511242] usb 2-2: Enable of device-initiated U1 failed.
[ 6526.511645] usb 2-2: Enable of device-initiated U2 failed.


I could add this ID to drivers/usb/serial/qcserial.c if that is that all
that is needed to add support for it, or would I need to modify it in a
different way? Quectel aren't in the struct with the other modems.
https://github.com/torvalds/linux/blob/master/drivers/usb/serial/qcserial.c

At the moment my queries to the cdc-wdm are timing out, but I will try and
build in support to see what happens, instead of doing it live.

qmicli --device-open-qmi -p -d /dev/cdc-wdm6 --dms-get-operating-mode
error: couldn't create client for the 'dms' service: CID allocation failed
in the CTL client: Transaction timed out


Regards,

--
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20190327/98ebea7d/attachment.html>


More information about the libqmi-devel mailing list