Re: HUWAEI E1750 NDISDUP & QMI




# mmcli -v -m 2 --simple-connect="apn=apn"
[21 Dec 2013, 06:11:07] [Debug] Forcing request to be run asynchronously
[21 Dec 2013, 06:11:07] [Debug] Assuming '2' is the modem index
[21 Dec 2013, 06:11:07] [Debug] ModemManager process found at ':1.440'
[21 Dec 2013, 06:11:07] [Debug] Modem found at
'/org/freedesktop/ModemManager1/Modem/2'

[21 Dec 2013, 06:11:07] [Debug] Asynchronously connecting the modem...
successfully connected the modem

# dhclient wwp0s4f1u3i1

$ telnet sdf.org
Trying 192.94.73.15...
Connected to sdf.org.
Escape character is '^]'.

sdf.lonestar.org (pts/61)
if new, login 'new' ..

login: new

You will now be connected to NEWUSER mkacct server.
Please login as 'new' when prompted.

[RETURN]

# mmcli -v -m 2 --list-bearers
[21 Dec 2013, 06:28:38] [Debug] ModemManager process found at ':1.440'
[21 Dec 2013, 06:28:38] [Debug] Assuming '2' is the modem index
[21 Dec 2013, 06:28:38] [Debug] Modem found at
'/org/freedesktop/ModemManager1/Modem/2'

[21 Dec 2013, 06:28:38] [Debug] Synchronously listing bearers...

Found 1 bearers:

        /org/freedesktop/ModemManager1/Bearer/0

# mmcli -v -b 0
[21 Dec 2013, 06:26:28] [Debug] Assuming '0' is the bearer index
[21 Dec 2013, 06:26:28] [Debug] ModemManager process found at ':1.440'
[21 Dec 2013, 06:26:28] [Debug] Bearer found at
'/org/freedesktop/ModemManager1/Bearer/0'

[21 Dec 2013, 06:26:28] [Debug] Printing bearer info...
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
  -------------------------
  Status             |   connected: 'yes'
                     |   suspended: 'no'
                     |   interface: 'wwp0s4f1u3i1'
                     |  IP timeout: '20'
  -------------------------
  Properties         |         apn: 'apn'
                     |     roaming: 'allowed'
                     |     IP type: 'none'
                     |        user: 'none'
                     |    password: 'none'
                     |      number: 'none'
                     | Rm protocol: 'unknown'
  -------------------------
  IPv4 configuration |   method: 'dhcp'
  -------------------------
  IPv6 configuration |   method: 'unknown'


# dhclient -x wwp0s4f1u3i1

# mmcli -v -m 2 --simple-disconnect
[21 Dec 2013, 06:32:56] [Debug] ModemManager process found at ':1.440'
[21 Dec 2013, 06:32:56] [Debug] Assuming '2' is the modem index
[21 Dec 2013, 06:32:56] [Debug] Modem found at
'/org/freedesktop/ModemManager1/Modem/2'

[21 Dec 2013, 06:32:56] [Debug] Synchronously disconnecting all bearers
in the modem...
successfully disconnected all bearers in the modem

# qmicli -d /dev/cdc-wdm0 --get-service-version-info
[/dev/cdc-wdm0] Supported versions:
        ctl (1.2)
        wds (1.3)
        dms (1.2)
        nas (1.0)
        cat (0.0)

# qmicli -v -d /dev/cdc-wdm0 --device-open-version-info --dms-get-model
…
[21 Dec 2013, 07:15:31] [Debug] [/dev/cdc-wdm0] QMI Device supports 5
services:
[21 Dec 2013, 07:15:31] [Debug] [/dev/cdc-wdm0]    ctl (1.2)
[21 Dec 2013, 07:15:31] [Debug] [/dev/cdc-wdm0]    wds (1.3)
[21 Dec 2013, 07:15:31] [Debug] [/dev/cdc-wdm0]    dms (1.2)
[21 Dec 2013, 07:15:31] [Debug] [/dev/cdc-wdm0]    nas (1.0)
[21 Dec 2013, 07:15:31] [Debug] [/dev/cdc-wdm0]    cat (0.0)
[21 Dec 2013, 07:15:31] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[21 Dec 2013, 07:15:31] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[21 Dec 2013, 07:15:31] [Debug] [/dev/cdc-wdm0] Sent message...
…

# lsusb -v -d 12d1:140c

Bus 002 Device 096: ID 12d1:140c Huawei Technologies Co., Ltd. E180v
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x12d1 Huawei Technologies Co., Ltd.
  idProduct          0x140c E180v
  bcdDevice            0.00
  iManufacturer           3 HUAWEI Technology
  iProduct                2 HUAWEI Mobile
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          161
    bNumInterfaces          6
    bConfigurationValue     1
    iConfiguration          1 Huawei   Configuration
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        5
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled


All right!
Have a nice weekend!


poma




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