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

ОБНОВЛЕНИЕ: модем работает из коробки с Ubuntu 16.04!

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

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

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

Что странно: в / dev нет устройства cdc_ * !! Так что всякая другая магия с 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

выглядит хорошо

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

без ошибок

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, не спросив здесь.


Системный журнал после успешного выполнения 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)
2
задан 30 October 2016 в 23:12

3 ответа

Я сделал его работающий сегодня над моей установкой Ubuntu. Это QCSERIAL.C модуль, который должен быть исправлен. Можно найти пред исправленные файлы здесь: http://thuis.schroth.nl:8008/qcserial/

Удостоверяется, что Вы загружаете сначала заголовки ядрa.

  1. sudo apt-get install linux-headers-$(uname -r)
  2. sudo rmmod qcserial
  3. Загрузка эти 3 файла из моей данной ссылки выше и размещают их в отдельный каталог, например, /tmp/compile
  4. cd /tmp/compile
  5. make
  6. , если никакие ошибки не произошли, работайте sudo make install
  7. sudo modprobe qcserial

Теперь, Вы найдете, что карта в администраторе сети и можно использовать его.

Не забывают восстанавливать этот каждый раз, когда Вы делаете обновление ядра, пока парни Ubuntu не исправили эту ошибку.

- ==-= обновляют относительно того, что изменяется

, Может Вы мимо вывода системного журнала после перезагрузки qcserial модуля..., проблема состоит в том, что qcserial дает Вам одно устройство./dev/ttyUSB2 и это должны иметь/dev/ttyUSB3 также. ttyUSB3 является устройством, где администратор сети говорит...

я захватил код от: http://lxr.free-electrons.com/source/drivers/usb/serial/qcserial.c и я удалил и добавил:

Этот код был

case 0:
case 2:
  dev_dbg(dev, "Modem port found\n");
  break;
case 1:
  dev_dbg(dev, "DM/DIAG interface found\n");
  break;
case 5:
  dev_dbg(dev, "NMEA GPS interface found\n");
  break;
default:
/* don't claim any unsupported interface */
altsetting = -1;
break;

заменен этим

case 0:
  dev_dbg(dev, "Modem port found\n");
  break;
case 1:
  dev_dbg(dev, "DM/DIAG interface found\n");
  break;
case 2:
  dev_dbg(dev, "Modem port found\n");
  break;
case 3:
  dev_dbg(dev, "PCSC interface found\n");
  break;
case 5:
  dev_dbg(dev, "NMEA GPS interface found\n");
  break;

, Это делает задание с данным сценарием.

0
ответ дан 30 October 2016 в 23:12

sudo modprobe qcserial vendor=0x03f0 product=0x581d

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

encap:Ethernet HWaddr 02:1e:10:1f:00:00

Ссылки ifconfig usb0 "usb0" имя интерфейса неожиданно, если драйвер является qmi_wwan, таким образом, я думаю, что это устройство обрабатывается cdc_ether драйвером здесь. Это корректно? Модем, вероятно, имеет несколько различных режимов, где одно использование cdc_ether в то время как другое использование qmi_wwan. Вы могли обеспечить вывод

lsusb -vd 03f0:581d

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

(Возможно использовать модем с cdc_ether также. Вы будете тогда использовать ПРИ командах для управления им вместо QMI. Но ModemManager, вероятно, не поддерживает это по умолчанию для этого модема, потому что QMI обычно намного выше. И более "стандартный", будучи подобным среди основанных на Qualcomm модемов от многих различных поставщиков)

0
ответ дан 30 October 2016 в 23:12

Я получил его работающий над 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
ответ дан 30 October 2016 в 23:12

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

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