Re: Enable some ZTE modems to use the new QMI WWAN driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Samstag, 24. März 2012 um 18:27:05 schrieb Andrew Bird:
> These patches enable the network devices on some Vodafone branded ZTE
> devices to be bound by the new QMI / WWAN driver. I also suspect that
> the K3765-Z would also work, but at the moment I can't get the network
> interface to be recognised during probe.

A small test/confirmation:

I used the patches with linux-next-20120323

The ZTE K3565-Z worked as expected

Here a some outputs:

dmesg:

[  230.263037] usb 1-1: new high-speed USB device number 3 using ehci_hcd
[  230.393275] usb 1-1: New USB device found, idVendor=19d2, idProduct=2000
[  230.393289] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[  230.393300] usb 1-1: Product: ZTE CDMA Technologies MSM
[  230.393309] usb 1-1: Manufacturer: ZTE,Incorporated
[  230.393317] usb 1-1: SerialNumber: P673A2VDF_MS
[  230.395209] scsi4 : usb-storage 1-1:1.0
[  233.297065] usb 1-1: USB disconnect, device number 3
[  238.473057] usb 1-1: new high-speed USB device number 4 using ehci_hcd
[  238.600310] usb 1-1: New USB device found, idVendor=19d2, idProduct=0063
[  238.600325] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[  238.600336] usb 1-1: Product: ZTE CDMA Technologies MSM
[  238.600345] usb 1-1: Manufacturer: ZTE,Incorporated
[  238.604919] scsi5 : usb-storage 1-1:1.5
[  238.824168] usbcore: registered new interface driver cdc_wdm
[  238.838177] qmi_wwan 1-1:1.0: not on our whitelist - ignored
[  238.838234] qmi_wwan 1-1:1.1: not on our whitelist - ignored
[  238.838280] qmi_wwan 1-1:1.2: not on our whitelist - ignored
[  238.838327] qmi_wwan 1-1:1.3: not on our whitelist - ignored
[  238.841147] qmi_wwan 1-1:1.4: cdc-wdm0: USB WDM device
[  238.842630] qmi_wwan 1-1:1.4: wwan0: register 'qmi_wwan' at usb-0000:00:1d.7-1, Qualcomm Gobi wwan/QMI device, 16:f3:fe:dd:a0:b1
[  238.843889] usbcore: registered new interface driver qmi_wwan
[  238.851553] usbcore: registered new interface driver usbserial
[  238.852054] usbcore: registered new interface driver usbserial_generic
[  238.854064] USB Serial support registered for generic
[  238.854175] usbserial: USB Serial Driver core
[  238.858195] usbcore: registered new interface driver option
[  238.858261] USB Serial support registered for GSM modem (1-port)
[  238.858509] option 1-1:1.0: GSM modem (1-port) converter detected
[  238.858796] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[  238.858894] option 1-1:1.1: GSM modem (1-port) converter detected
[  238.860416] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[  238.860528] option 1-1:1.2: GSM modem (1-port) converter detected
[  238.860811] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[  238.860911] option 1-1:1.3: GSM modem (1-port) converter detected
[  238.862177] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[  239.611253] scsi 5:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
[  239.614687] sd 5:0:0:0: Attached scsi generic sg1 type 0
[  239.628117] sd 5:0:0:0: [sdb] Attached SCSI removable disk


The verbose output of qmi-ifupdown perl script starting:

wwan0: will use /dev/cdc-wdm0 for management
wwan0: revision: BD_P673A2V1.0.0B10  1  [Mar 27 2009 01:00:00]
wwan0: QMI_WDS cid=1, wds_handle=0x00000000
wwan0: PIN1 status: 3, verify_left: 3, unblock_left: 10
wwan0: connecting...
wwan0: got QMI_WDS handle 0x01a96cd4
wwan0: not releasing QMI_WDS cid=1 while connected
wwan0: released sys=2 cid=1 with status=0x0000


The verbose output of qmi-ifupdown perl script stopping:

wwan0: will use /dev/cdc-wdm0 for management
wwan0: revision: BD_P673A2V1.0.0B10  1  [Mar 27 2009 01:00:00]
wwan0: QMI_WDS cid=1, wds_handle=0x01a96cd4
wwan0: released sys=1 cid=1 with status=0x0000
wwan0: released sys=2 cid=2 with status=0x0000


dhcp (ipv4) and the connection was ok.


IPv6 was not tested.


Regards,

Thomas Schäfer






--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux