ZTE MF683

Shawn J. Goff shawn7400 at gmail.com
Mon Sep 17 15:11:46 PDT 2012


So far, my dev system doesn't like 3.6. I have been backporting
qmi-wwan and cdc-wdm to 2.6.39. As of the 7th, I had everything, so I
think the only commit I'm missing right now is "USB: cdc-wdm: fix
wdm_find_device* return value". The source is here if you're
interested: https://bitbucket.org/accelecon/linux-at91/changesets.

Here are some printk messages that come out when I manually bind the
driver in that kernel:

[  597.925000] qmi_wwan: probe of 1-2:1.0 failed with error -22
[  597.932500] qmi_wwan: probe of 1-2:1.1 failed with error -22
[  597.937500] qmi_wwan: probe of 1-2:1.2 failed with error -22
[  597.945000] qmi_wwan: probe of 1-2:1.3 failed with error -22
[  597.955000] qmi_wwan 1-2:1.4: cdc-wdm0: USB WDM device
[  597.955000] qmi_wwan 1-2:1.4: wwan0: register 'qmi_wwan' at
usb-atmel-ehci-2, WWAN/QMI device, 82:28:8e:37:92:dc
[  597.960000] qmi_wwan 1-2:1.5: cdc-wdm1: USB WDM device
[  597.960000] qmi_wwan 1-2:1.5: wwan1: register 'qmi_wwan' at
usb-atmel-ehci-2, WWAN/QMI device, 82:28:8e:37:92:dc
[  597.960000] qmi_wwan: probe of 1-2:1.6 failed with error -22

As you can see, it created two pairs of devices. I tried
--nas-get-signal-strength on both wdm devices:

# qmicli --nas-get-signal-strength -d /dev/cdc-wdm0
[  657.477500] qmi_wwan 1-2:1.4: unknown notification 32 received: index 4 len 2
###[Nothing for a long time, I sent SIGINT]
cancelling the operation...
error: couldn't create client for the 'nas' serv[  668.177500]
qmi_wwan 1-2:1.4: Error in flush path: -32
ice: CID allocation failed in the CTL client: Transaction timed out


# qmicli --nas-get-signal-strength -d /dev/cdc-wdm1
**
ERROR:qmi-utils.c:72:qmi_utils_read_guint8_from_buffer: assertion
failed: (*buffer_size >= 1)
Aborted


More information about the libqmi-devel mailing list