HP lt4112 LTE / HSPA + Gobi 4G Modem (Huawei ME906E) QMI не работает 14.04

UPDATE: модем работает из коробки с Ubuntu 16.04!

HP lt4112 LTE / HSPA + Gobi 4G модем (Huawei ME906E, M.2 => USB)

«Ethernet-модуль», но не широкополосный модем. Я пробовал много вещей, и как только окно просило, чтобы SIM случайно всплыла. Я вошел в него, все правильно появилось в сетевом менеджере, я мог подключиться и использовать LTE-сеть от Ubuntu. После перезапуска все исчезло, с тех пор он не мог воспроизвести.

Этот модем не работает с серийным, но только wdm, насколько мне известно.

Что странно: нет cdc_ * устройство под / dev! Итак, всякая магия с qmicli и т. Д. Не может быть проверена.

Сам ПК (HP EliteBook 745) немного придирчив. Он нуждался в дополнительных настройках ядра, чтобы сделать даже работу WLAN ...

USB: 03f0: 581d

lsusb -d 03f0:581d
Bus 002 Device 002: ID 03f0:581d Hewlett-Packard

выглядит нормально

rfkill list
4: hp-wwan: Wireless WAN
    Soft blocked: no
    Hard blocked: no

выглядит нормально [ ! d10]

uname -a
Linux HPEB 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

qmi_wwan должен работать с 3.4

sudo modprobe qcserial vendor=0x03f0 product=0x581d

no error

ifconfig
usb0      Link encap:Ethernet  HWaddr 02:1e:10:1f:00:00  
          inet6 addr: fe80::1e:10ff:fe1f:0/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:90 (90.0 B)

У вас есть идеи? Я провел два дня с чтения форумов и ответов на подобные вопросы, но застрял. Это моя первая вещь, когда я не могу работать над Ubuntu, не спрашивая здесь.

Syslog после успешного выполнения modprobe по исправлению в ответ:

Mar 31 16:24:13 HPEB kernel: [  217.030297] usbcore: registered new interface driver qcserial
Mar 31 16:24:13 HPEB kernel: [  217.030391] usbserial: USB Serial support registered for Qualcomm USB modem
Mar 31 16:24:13 HPEB kernel: [  217.037026] qcserial 2-2:2.2: Qualcomm USB modem converter detected
Mar 31 16:24:13 HPEB kernel: [  217.037305] usb 2-2: Qualcomm USB modem converter now attached to ttyUSB0
Mar 31 16:24:13 HPEB kernel: [  217.076810] qcserial 2-2:2.3: Qualcomm USB modem converter detected
Mar 31 16:24:13 HPEB kernel: [  217.077191] usb 2-2: Qualcomm USB modem converter now attached to ttyUSB1

Выход lsusb -vd 03f0:581d:

Bus 002 Device 002: ID 03f0:581d Hewlett-Packard 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x03f0 Hewlett-Packard
  idProduct          0x581d 
  bcdDevice            2.28
  iManufacturer           2 Hewlett-Packard
  iProduct                3 HP lt4112 Gobi 4G Module
  iSerial                 4 0123456712ABCA17
  bNumConfigurations      3
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          157
    bNumInterfaces          5
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      2 
      iInterface             50 HP lt4112 Gobi 4G Module
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 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     0x01  EP 1 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        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      3 
      iInterface             51 HP lt4112 Gobi 4G Module
      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               0
      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               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface             49 HP lt4112 Gobi 4G Module
      ** UNRECOGNIZED:  05 24 00 10 01
      ** UNRECOGNIZED:  05 24 01 00 00
      ** UNRECOGNIZED:  04 24 02 02
      ** UNRECOGNIZED:  05 24 06 00 00
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x84  EP 4 IN
    bmAttributes            3
      Transfer Type            Interrupt
      Synch Type               None
      Usage Type               Data
    wMaxPacketSize     0x000a  1x 10 bytes
    bInterval               9
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x83  EP 3 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     0x03  EP 3 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        3
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      7 
      iInterface             55 HP lt4112 Gobi 4G Module
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x86  EP 6 IN
    bmAttributes            3
      Transfer Type            Interrupt
      Synch Type               None
      Usage Type               Data
    wMaxPacketSize     0x0008  1x 8 bytes
    bInterval               9
      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               0
      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               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      5 
      iInterface             53 HP lt4112 Gobi 4G Module
      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
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          149
    bNumInterfaces          5
    bConfigurationValue     2
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      6 Ethernet Networking
      bInterfaceProtocol      0 
      iInterface             57 HP lt4112 Gobi 4G Module
      CDC Header:
    bcdCDC               1.10
      CDC Union:
    bMasterInterface        0
    bSlaveInterface         1 
      CDC Ethernet:
    iMacAddress                     11 021E101F0000
    bmEthernetStatistics    0x00000000
    wMaxSegmentSize               1514
    wNumberMCFilters            0x0000
    bNumberPowerFilters              0
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x82  EP 2 IN
    bmAttributes            3
      Transfer Type            Interrupt
      Synch Type               None
      Usage Type               Data
    wMaxPacketSize     0x0010  1x 16 bytes
    bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface             57 HP lt4112 Gobi 4G Module
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 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     0x01  EP 1 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        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      3 
      iInterface             51 HP lt4112 Gobi 4G Module
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x83  EP 3 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     0x02  EP 2 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        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      2 
      iInterface             50 HP lt4112 Gobi 4G Module
      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               0
      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               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      5 
      iInterface             53 HP lt4112 Gobi 4G Module
      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               0
      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               0
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          118
    bNumInterfaces          3
    bConfigurationValue     3
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass          2 Communications
      bFunctionSubClass      14 
      bFunctionProtocol       0 
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass     14 
      bInterfaceProtocol      0 
      iInterface             56 HP lt4112 Gobi 4G Module
      CDC Header:
    bcdCDC               1.10
      CDC Union:
    bMasterInterface        0
    bSlaveInterface         1 
      CDC MBIM:
    bcdMBIMVersion       1.00
    wMaxControlMessage   4096
    bNumberFilters       32
    bMaxFilterSize       128
    wMaxSegmentSize      1500
    bmNetworkCapabilities 0x20
      8-byte ntb input size
      UNRECOGNIZED CDC:  08 24 1c 00 01 40 dc 05
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x82  EP 2 IN
    bmAttributes            3
      Transfer Type            Interrupt
      Synch Type               None
      Usage Type               Data
    wMaxPacketSize     0x0040  1x 64 bytes
    bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 
      iInterface             13 MBIM Data
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 
      iInterface             13 MBIM Data
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x81  EP 1 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     0x01  EP 1 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        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      5 
      iInterface             53 HP lt4112 Gobi 4G Module
      Endpoint Descriptor:
    bLength                 7
    bDescriptorType         5
    bEndpointAddress     0x83  EP 3 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     0x02  EP 2 OUT
    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      3
Device Status:     0x0000
  (Bus Powered)
1
задан 31 October 2016 в 00:12

3 ответа

sudo modprobe qcserial vendor = 0x03f0 product = 0x581d

Это всегда неправильно, даже когда это происходит! Но вы регистрируете, что драйвер qcserial успешно связывается, поэтому здесь нет проблем.

sudo modprobe qcserial vendor = 0x03f0 product = 0x581d

ifconfig usb0 Link encap: Ethernet HWaddr 02: 1e: 10: 1f: 00: 00

lsusb -vd 03f0:581d

Имя интерфейса «usb0» неожиданно, если драйвер qmi_wwan, поэтому я думаю, что это устройство обрабатывается Драйвер cdc_ether здесь. Это верно? Модем, вероятно, имеет несколько разных режимов, в которых один использует cdc_ether, а другой - qmi_wwan. Не могли бы вы предоставить вывод

. Это покажет все доступные конфигурации для этого идентификатора устройства. Я предполагаю, что вам нужна конфигурация без поддержки по умолчанию для поддержки qmi_wwan.

0
ответ дан 23 May 2018 в 21:53
  • 1
    Я распространил свой вопрос на выходе lsusb -vd 03f0: 581d. Есть ли у вас какие-либо комментарии о том, как можно сделать работу с qmi_wwan? – William 8 April 2015 в 23:44
  • 2
    Большое спасибо! Это показывает пару интересных вопросов: 3 конфигурации: 1: QMI (qmI_wwan - wwan0), 2: CDC ECM (cdc_ether - usb0), 3: MBIM (cdc_mbim - wwan0). – NNN 9 April 2015 в 11:57
  • 3
    Есть ли у вас подсказки или ссылки, как настроить конфигурацию qmi_wwan для этого устройства? – William 10 April 2015 в 12:16

Проблема в моей ситуации действительно заключалась в том, что устройство рассматривается как устройство USB0 ethernet. когда я изменил QCSERIAL.C, это будет разрешено, и устройство может быть использовано из сетевого менеджера в GUI.

Этот ответ на вопрос: Bjørn Mork

0
ответ дан 23 May 2018 в 21:53

Я работал над Ubuntu 14.04.2 и 15.04. Надеюсь, это поможет кому-то понять, в чем проблема, и исправить ее.

Не забудьте вставить SIM-карту, иначе устройство не появится в NetworkManager. В 15.04 он отображается как «не включен».

# lsusb -v -d 03f0:581d | egrep 'i(Product|Manufacturer)'
  iManufacturer           2 Hewlett-Packard
  iProduct                3 HP lt4112 Gobi 4G Module
# echo '03f0 581d' > /sys/bus/usb-serial/drivers/generic/new_id
# service modemmanager restart

Через 10 секунд появляется окно запроса PIN-кода.

0
ответ дан 23 May 2018 в 21:53
  • 1
    Спасибо, после обновления 15.04 я также проверю этот вариант! – William 22 May 2015 в 10:36

Другие вопросы по тегам:

Похожие вопросы: