huawei e1820

Aleksander Morgado aleksander at lanedo.com
Sun Jul 14 07:43:07 PDT 2013


On 13/07/13 13:30, Thomas Schäfer wrote:
> Hi,
> 
> here was a big discussion about this device:
> 
> https://mail.gnome.org/archives/networkmanager-list/2013-June/thread.html#00036
> 
> 
> I don't want repeat every thing. Only one:
> 
> I have had problems with ndisdup too.
> 
> Now I tried Kernel 3.10 with qmi_wwan preference.
> 
> And it works as expected.
> 

Good!


> mmcli -m 0
> 
> /org/freedesktop/ModemManager1/Modem/0 (device id 'df0a01f75166b2f0aaee6c5c7b1bc099d5555462')
>   -------------------------
>   Hardware |   manufacturer: 'QUALCOMM INCORPORATED'
>            |          model: '8'
>            |       revision: '8200A-SKCAAAZQ-135096  1  [Nov 13 2009 09:54:12]'
>            |      supported: 'gsm-umts'
>            |        current: 'gsm-umts'
>            |   equipment id: '357893034205499'
>   -------------------------
>   System   |         device: '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2'
>            |        drivers: 'option1, qmi_wwan'
>            |         plugin: 'Huawei'
>            |   primary port: 'cdc-wdm0'
>            |          ports: 'ttyUSB0 (at), ttyUSB1 (qcdm), ttyUSB2 (at), cdc-wdm0 (qmi), wwan0 (net)'
>   -------------------------
>   Numbers  |           own : '+4915127093679'
>   -------------------------
>   Status   |           lock: 'sim-pin2'
>            | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
>            |          state: 'disabled'
>            |    power state: 'unknown'
>            |    access tech: 'unknown'
>            | signal quality: '0' (cached)
>   -------------------------
>   Modes    |      supported: 'allowed: 2g; preferred: none
>            |                  allowed: 3g; preferred: none
>            |                  allowed: 2g, 3g; preferred: none
>            |                  allowed: 2g, 3g; preferred: 2g
>            |                  allowed: 2g, 3g; preferred: 3g'
>            |        current: 'allowed: any; preferred: none'
>   -------------------------
>   Bands    |      supported: 'unknown'
>            |        current: 'unknown'
>   -------------------------
>   IP       |      supported: 'ipv4, ipv6, ipv4v6'
>   -------------------------
>   3GPP     |           imei: '357893034205499'
>            |  enabled locks: 'none'
>            |    operator id: 'unknown'
>            |  operator name: 'unknown'
>            |   registration: 'unknown'
>   -------------------------
>   SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'
> 
> 
> [  103.348077] usb 1-2: new high-speed USB device number 3 using ehci-pci
> [  103.465054] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446
> [  103.465069] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
> [  103.465079] usb 1-2: Product: HUAWEI Mobile
> [  103.465089] usb 1-2: Manufacturer: Huawei Technologies
> [  103.526871] usb-storage 1-2:1.0: USB Mass Storage device detected
> [  103.528737] scsi4 : usb-storage 1-2:1.0
> [  103.530757] usb-storage 1-2:1.1: USB Mass Storage device detected
> [  103.532736] scsi5 : usb-storage 1-2:1.1
> [  103.534696] usbcore: registered new interface driver usb-storage
> [  104.325808] usb 1-2: USB disconnect, device number 3
> [  108.741064] usb 1-2: new high-speed USB device number 4 using ehci-pci
> [  108.858316] usb 1-2: New USB device found, idVendor=12d1, idProduct=14ac
> [  108.858334] usb 1-2: New USB device strings: Mfr=4, Product=3, SerialNumber=0
> [  108.858346] usb 1-2: Product: HUAWEI Mobile
> [  108.858358] usb 1-2: Manufacturer: Huawei Technologies
> [  108.865352] usb-storage 1-2:1.5: USB Mass Storage device detected
> [  108.865673] scsi6 : usb-storage 1-2:1.5
> [  108.866226] usb-storage 1-2:1.6: USB Mass Storage device detected
> [  108.866986] scsi7 : usb-storage 1-2:1.6
> [  108.901736] usbcore: registered new interface driver usbserial
> [  108.901801] usbcore: registered new interface driver usbserial_generic
> [  108.901861] usbserial: USB Serial support registered for generic
> [  108.916879] usbcore: registered new interface driver option
> [  108.916944] usbserial: USB Serial support registered for GSM modem (1-port)
> [  108.923770] option 1-2:1.0: GSM modem (1-port) converter detected
> [  108.925253] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
> [  108.925380] option 1-2:1.3: GSM modem (1-port) converter detected
> [  108.930815] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
> [  108.930896] option 1-2:1.4: GSM modem (1-port) converter detected
> [  108.937590] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
> [  108.944678] usbcore: registered new interface driver cdc_ether
> [  108.953885] usbcore: registered new interface driver cdc_wdm
> [  108.958708] qmi_wwan 1-2:1.1: cdc-wdm0: USB WDM device
> [  108.961894] qmi_wwan 1-2:1.1 wwan0: register 'qmi_wwan' at usb-0000:00:1d.7-2, WWAN/QMI device, 56:db:da:2e:ce:52
> [  108.963431] usbcore: registered new interface driver qmi_wwan
> [  109.868537] scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
> [  109.871310] scsi 6:0:0:0: Attached scsi generic sg1 type 5
> [  109.873403] scsi 7:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
> [  109.874608] sd 7:0:0:0: Attached scsi generic sg2 type 0
> [  109.877738] sd 7:0:0:0: [sdb] Attached SCSI removable disk
> [  109.906974] sr0: scsi-1 drive
> [  109.906986] cdrom: Uniform CD-ROM driver Revision: 3.20
> [  109.929608] sr 6:0:0:0: Attached scsi CD-ROM sr0
> [  609.484715] NET: Registered protocol family 17
> 
> 
> But I have one question to the output of mmcli. 
> 
> How do you get the information about IP?
> 
> at+cgdcont doesn't show IPv6, nor IPv4v6.
> 
> For a year 2009 fimware/device I think looking for IPv6 is nonsense, isn’t it?


For 3GPP QMI modems, we currently just assume that IPv6 is supported. We
can probably improve this by using some specific WDS method to check for
IPv6 support though, didn't really look into that.


-- 
Aleksander


More information about the libqmi-devel mailing list