Mobile Broadband cannot connect Ubuntu 16.04 with EM7455 Qualcomm Snapdragon X7 LTE-A Lenovo Thinkpad X260 notebook [duplicate]

На этот вопрос уже есть ответ здесь:

У меня небольшая проблема с установкой модема в мой новый ноутбук Lenovo Thinkpad X260. Модель модема - Sierra Wireless EM7455 Qualcomm Snapdragon X7 LTE-A, а ОС - Ubuntu 16.04.

На экране входа в Ubuntu у меня появилось всплывающее окно для ввода PIN-кода, поэтому я отключил PIN-код для SIM-карты в мобильном телефоне. Это абсолютно свежая установка Ubuntu, загруженная и установленная в мае 2017 года с абсолютно ничего больше не установлено, только пытался запустить модем. На выходе получается

Mobile Broadband - не включен в Network Manager.

Я попробовал создать новое подключение в Настройки > Сеть > Мобильный широкополосный, но после создания его больше невозможно нажать на него, оно нигде не отображается. Когда я нажимаю диспетчер сетей, я могу создать новую сеть через Edit Connections, но опять же, это вновь созданное соединение нигде не отображается. Я также попробовал программу под названием Sakis3G, но безуспешно. Я не хочу переходить на Windows только из-за этого.


То, что я где-то нашел и попробовал:

  1. Первое, что я сделал, это вставил sim-карту в мобильный телефон. Интернет там работает, и я отключил PIN-код на карте. Более того, я протестировал модем в Windows 7 и 10, и в обоих случаях он работает.

  2. Я создал файл /etc/udev/rules.d/99-sierra.rules со следующим содержанием:

    ACTION!="add|change", GOTO="mbim_to_qmi_rules_end" 
    SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end" 
    
    # загрузить модуль qmi_wwan
    SUBSYSTEM=="usb", \
    ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \
    RUN+="/sbin/modprobe -b qmi_wwan"
    
    SUBSYSTEM=="usb", \
    ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \
    ATTR{bConfigurationValue}="1"
    
    # добавляем новый идентификатор в драйвер qmi_wwan
    SUBSYSTEM=="drivers", \
    ENV{DEVPATH}=="/bus/usb/drivers/qmi_wwan", \
    ATTR{new_id}="1199 9079"
    
    # загрузить модуль qcserial
    SUBSYSTEM=="usb", \
    ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \
    RUN+="/sbin/modprobe -b qcserial"
    
    # добавляем новый идентификатор в драйвер qcserial
    SUBSYSTEM=="drivers", \
    ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \
    ATTR{new_id}="1199 9079"
    
    LABEL="mbim_to_qmi_rules_end"
    
  3. Я добавил внизу файла /etc/modules

    usbserial vendor=0x1199 product=0x9079
    
  4. Я создал /etc/usb_modeswitch.d/1199:9079 с содержимым:

    DefaultVendor= 0x1199
    DefaultProduct=0x9079
    TargetVendor= 0x1199 
    TargetProduct= 0x9079
    CheckSuccess=20 
    MessageContent="55534243123456780000000000000606f5
    0402527000000000000000000000"
    

Вывод некоторых команд:

$ lsb_release -a; uname -a; lsusb
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Linux arachis 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 138a:0017 Validity Sensors, Inc. Fingerprint Reader
Bus 001 Device 004: ID 5986:0706 Acer, Inc
Bus 001 Device 002: ID 1199:9079 Sierra Wireless, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ sudo lshw -short
H/W path Device Class Description
==========================================================
                                system 20F5S2VA00 (LENOVO_MT_20F5_BU_Thi
/0 bus 20F5S2VA00
/0/3 memory 64KiB L1 cache
/0/4 memory 64KiB L1 cache
/0/5 memory 512KiB L2 cache
/0/6 memory 3MiB L3 cache
/0/7 processor Intel(R) Core(TM) i5-6200U CPU @
/0/8 memory 8GiB System Memory
/0/8/0 memory 8GiB SODIMM Synchronous 2133 MHz
/0/8/1 memory [empty]
/0/8/2 memory [empty]
/0/8/3 memory [empty]
/0/e memory 128KiB BIOS
/0/100 bridge Sky Lake Host Bridge/DRAM Registe
/0/100/2 display Sky Lake Integrated Graphics
/0/100/14 bus Intel Corporation
/0/100/14/0 usb1 bus xHCI Host Controller
/0/100/14/0/3 communication Sierra Wireless EM7455 Qualcomm S
/0/100/14/0/8 multimedia Integrated Camera
/0/100/14/0/9 generic Fingerprint Reader
/0/100/14/1 usb2 bus xHCI Host Controller
/0/100/14.2 generic Intel Corporation
/0/100/16 communication Intel Corporation
/0/100/17 storage Intel Corporation
/0/100/1c bridge Intel Corporation
/0/100/1c/0 generic Realtek Semiconductor Co., Ltd.
/0/100/1c.2 bridge Intel Corporation
/0/100/1c.2/0 wlp4s0 network Wireless 8260
/0/100/1f bridge Intel Corporation
/0/100/1f.2 memory Memory controller
/0/100/1f.3 multimedia Intel Corporation
/0/100/1f.4 bus Intel Corporation
/0/100/1f.6 enp0s31f6 network Ethernet Connection I219-V
/0/0 scsi1 storage
/0/0/0.0.0 /dev/sda disk 256GB SanDisk SD8TB8U2
/0/0/0.0.0/1 /dev/sda1 volume 231GiB EXT4 volume
/0/0/0.0.0/2 /dev/sda2 volume 7618MiB Extended partition
/0/0/0.0.0/2/5 /dev/sda5 volume 7618MiB Linux swap / Solaris part
/1 power 45N1773
/2 power 45N1775
/3 wwp0s20f0u3i12 network Ethernet interface

$ sudo lshw -C network
  *-network
       description: Wireless interface
       product: Wireless 8260
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlp4s0
       version: 3a
       serial: e4:a4:71:ef:42:6e
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.8.0-36-generic firmware=21.302800.0 ip=192.168.0.21 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:126 memory:f1000000-f1001fff
  *-network
       description: Ethernet interface
       product: Ethernet Connection I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 21
       serial: c8:5b:76:4b:4d:2e
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:123 memory:f1200000-f121ffff
  *-network DISABLED
       description: Ethernet interface
       physical id: 3
       logical name: wwp0s20f0u3i12
       serial: 36:33:6f:65:e0:32
       capabilities: ethernet physical
       configuration: broadcast=yes driver=cdc_mbim driverversion=22-Aug-2005 firmware=CDC MBIM link=no multicast=yes

$ sudo lshw -C communication
 *-usb:0
       description: Communication device
       product: Sierra Wireless EM7455 Qualcomm Snapdragon X7 LTE-A
       vendor: Sierra Wireless, Incorporated
       physical id: 3
       bus info: usb@1:3
       version: 0.06
       serial: LF63560757041014
       capabilities: usb-2.10
       configuration: driver=cdc_mbim maxpower=500mA speed=480Mbit/s
  *-communication
       description: Communication controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 16
       bus info: pci@0000:00:16.0
       version: 21
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list
       configuration: driver=mei_me latency=0
       resources: irq:125 memory:f124b000-f124bfff

$ dpkg --get-selections | grep libmbim
libmbim-glib-dev:amd64 install
libmbim-glib-doc install
libmbim-glib0:amd64 install
libmbim-glib4:amd64 install
libmbim-glib4-dbg install
libmbim-proxy install
libmbim-utils install

$ dpkg --get-selections | grep libqmi
libqmi-glib-dev:amd64 install
libqmi-glib-doc install
libqmi-glib0:amd64 install
libqmi-glib0-dbg install
libqmi-glib1:amd64 install
libqmi-glib1-dbg install
libqmi-proxy install
libqmi-utils install

$ uname -r
4.8.0-36-generic

$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

$ usb-devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=12
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=04.08
S: Manufacturer=Linux 4.8.0-36-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1199 ProdID=9079 Rev=00.06
S: Manufacturer=Sierra Wireless, Incorporated
S: Product=Sierra Wireless EM7455 Qualcomm Snapdragon X7 LTE-A
S: SerialNumber=LF63560757041014
C: #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=qcserial
/usr/bin/usb-devices: line 79: printf: c: invalid number
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
/usr/bin/usb-devices: line 79: printf: d: invalid number
I: If#= 0 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
I: If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=qcserial
I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=qcserial

T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=02 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=5986 ProdID=0706 Rev=00.12
S: Manufacturer=SunplusIT Inc
S: Product=Integrated Camera
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I: If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T: Bus=01 Lev=01 Prnt=01 Port=08 Cnt=03 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=11 Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=138a ProdID=0017 Rev=00.78
S: SerialNumber=af9c0fff2423
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 6
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=04.08
S: Manufacturer=Linux 4.8.0-36-generic xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

$ cat /var/log/syslog | tail -15
May 24 21:01:49 arachis ModemManager[2749]: <warn> (ttyUSB1): port attributes not fully set
May 24 21:01:49 arachis ModemManager[2749]: <warn> (ttyUSB2): port attributes not fully set
May 24 21:01:51 arachis ModemManager[2749]: <info> Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0': not supported by any plugin
May 24 21:01:51 arachis ModemManager[2749]: <info> Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1f.6': not supported by any plugin
May 24 21:02:05 arachis ModemManager[2749]: <info> Creating modem with plugin 'Gobi' and '5' ports
May 24 21:02:05 arachis ModemManager[2749]: <warn> Could not grab port (usbmisc/cdc-wdm0): 'Cannot add port 'usbmisc/cdc-wdm0', unsupported'
May 24 21:02:05 arachis ModemManager[2749]: <warn> Could not grab port (tty/ttyUSB1): 'Cannot add port 'tty/ttyUSB1', unhandled serial type'
May 24 21:02:05 arachis ModemManager[2749]: <warn> (ttyUSB2): port attributes not fully set
May 24 21:02:05 arachis ModemManager[2749]: <info> Modem for device at '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3' successfully created
May 24 21:02:05 arachis ModemManager[2749]: <warn> Modem couldn't be initialized: Couldn't check unlock status: SIM failure
May 24 21:02:05 arachis ModemManager[2749]: <info> Modem: state changed (unknown -> failed)
May 24 21:02:05 arachis NetworkManager[887]: <info> [1495652525.5797] manager: (ttyUSB2): new Broadband device (/org/freedesktop/NetworkManager/Devices/5)
May 24 21:02:05 arachis NetworkManager[887]: <info> [1495652525.5813] device (ttyUSB2): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May 24 21:02:05 arachis NetworkManager[887]: <info> [1495652525.5822] device (ttyUSB2): modem state 'failed'
May 24 21:02:05 arachis NetworkManager[887]: <warn> [1495652525.5839] (ttyUSB2): failed to retrieve SIM object: No SIM object available
3
задан 6 April 2018 в 15:33

2 ответа

У меня была подобная проблема с помощью Linux Mint 18.2 (Ubuntu 16.04)

, 1) добавляют 16,10 источников к Кв.

2), Установка modemmanager-1.6.0 из источника и его зависимостей

# cd /usr/src
# apt-get source modemmanager {libmbim libqmi}
# apt-get build-dep {*}
# cd {*} ; dpkg-buildpackage

3) Должна работать теперь :-)

diff 170726.new 170726.orig 
381c381
< ii  gir1.2-modemmanager-1.0:amd64                               1.6.0-1                                                 amd64        GObject introspection data for modemmanager
---
> ii  gir1.2-modemmanager-1.0:amd64                               1.4.12-1ubuntu1                                         amd64        GObject introspection data for modemmanager
1126,1129c1126,1127
< ii  libmbim-glib-dev:amd64                                      1.14.0-1                                                amd64        Header files for adding MBIM support to applications that use glib
< ii  libmbim-glib4:amd64                                         1.14.0-1                                                amd64        Support library to use the MBIM protocol
< ii  libmbim-proxy                                               1.14.0-1                                                amd64        Proxy to communicate with MBIM ports
< ii  libmbim-utils                                               1.14.0-1                                                amd64        Utilities to use the MBIM protocol from the command line
---
> ii  libmbim-glib4:amd64                                         1.12.2-2ubuntu1                                         amd64        Support library to use the MBIM protocol
> ii  libmbim-proxy                                               1.12.2-2ubuntu1                                         amd64        Proxy to communicate with MBIM ports
1147,1149c1145,1146
< ii  libmm-glib-dev:amd64                                        1.6.0-1                                                 amd64        D-Bus service for managing modems - library development files
< ii  libmm-glib-doc                                              1.6.0-1                                                 all          D-Bus service for managing modems - library documentation
< ii  libmm-glib0:amd64                                           1.6.0-1                                                 amd64        D-Bus service for managing modems - shared libraries
---
> ii  libmm-glib-dev:amd64                                        1.4.12-1ubuntu1                                         amd64        D-Bus service for managing modems - library development files
> ii  libmm-glib0:amd64                                           1.4.12-1ubuntu1                                         amd64        D-Bus service for managing modems - shared libraries
1372,1373d1368
< ii  libqmi-glib-dev:amd64                                       1.16.0-1                                                amd64        Header files for adding QMI support to applications that use glib
< ii  libqmi-glib-doc                                             1.16.0-1                                                all          API documentation for libqmi-glib
1375,1377c1370,1371
< ii  libqmi-glib5:amd64                                          1.16.0-1                                                amd64        Support library to use the Qualcomm MSM Interface (QMI) protocol
< ii  libqmi-proxy                                                1.16.0-1                                                amd64        Proxy to communicate with QMI ports
< ii  libqmi-utils                                                1.16.0-1                                                amd64        Utilities to use the QMI protocol from the command line
---
> ii  libqmi-proxy                                                1.12.6-1                                                amd64        Proxy to communicate with QMI ports
> ii  libqmi-utils                                                1.12.6-1                                                amd64        Utilities to use the QMI protocol from the command line
1876,1878c1870,1871
< ii  modemmanager                                                1.6.0-1                                                 amd64        D-Bus service for managing modems
< ii  modemmanager-dev:amd64                                      1.6.0-1                                                 amd64        D-Bus service for managing modems - development files
< ii  modemmanager-doc                                            1.6.0-1                                                 all          D-Bus service for managing modems - documentation files
---
> ii  modemmanager                                                1.4.12-1ubuntu1                                         amd64        D-Bus service for managing modems
> ii  modemmanager-dev:amd64                                      1.4.12-1ubuntu1                                         amd64        D-Bus service for managing modems - development files
0
ответ дан 1 December 2019 в 17:30

У меня была также подобная проблема, единственная разница - то, что у меня есть 4G Fibocom Cat6 L830-EB LTE.

Я не знаю, могло ли это помочь Вам, но я устранил проблему с загрузкой, менеджер по Модему GUI'' от Центра программного обеспечения Ubuntu.

У меня есть Thinkpad T480 с Ubuntu 16.04 LTS. Я надеюсь, что это может помочь любому.

1
ответ дан 1 December 2019 в 17:30

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

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