我正在尝试让 4G(英国)在我的 Ubuntu 18 服务器上运行。具体来说,是使用 pcengine 在 APU3 板上运行华为 ME909s-120 mini-pcie。以下输出应描述详细信息。具体问题的简短版本:
- 尝试使用调制解调器管理器设置 4g 调制解调器 https://docs.ubuntu.com/core/en/stacks/network/modem-manager/docs/installation
- sudo mmcli -L 失败,错误:无法获取总线:无法连接:权限被拒绝
感觉像是 USB 设备冲突...但我不知道如何进一步排除故障。欢迎提出所有建议。问候
杰克
硬件和操作系统:
- APU3C4 3x 千兆 LAN、四核 CPU、16GB SSD、4GB RAM
- wle600vx 无线 WiFi 套件
- 华为 ME909s-120
- 操作系统:说明:Ubuntu 18.04.2 LTS Server
详细信息/命令输出如下
jacks1@apu3b:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1566
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1567
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 156b
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:02.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1537
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 11)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [IDE mode] (rev 39)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 42)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1580
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1581
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1582
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1583
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1584
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1585
01:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
02:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
04:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter
jacks1@apu3b:~$
jacks1@apu3b:~$ lsusb
Bus 001 Device 003: ID 12d1:15c1 Huawei Technologies Co., Ltd.
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
jacks1@apu3b:~$
jacks1@apu3b:~$ dmesg |grep tty
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic root=/dev/mapper/apu3b--vg-root ro console=tty0 console=ttyS0,115200n8
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic root=/dev/mapper/apu3b--vg-root ro console=tty0 console=ttyS0,115200n8
[ 0.000000] console [tty0] enabled
[ 0.000000] console [ttyS0] enabled
[ 4.605171] 00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 4.633344] 00:03: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 4.661510] serial8250: ttyS2 at I/O 0x3e8 (irq = 4, base_baud = 115200) is a 16550A
[ 4.690061] serial8250: ttyS3 at I/O 0x2e8 (irq = 3, base_baud = 115200) is a 16550A
[ 16.199614] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 16.200315] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 16.203640] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 16.212321] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB3
[ 16.212966] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB4
jacks1@apu3b:~$
jacks1@apu3b:~$ sudo mmcli -V
mmcli 1.8.0
jacks1@apu3b:~$ sudo mmcli -L
error: couldn't get bus: Could not connect: Permission denied
jacks1@apu3b:~$
jacks1@apu3b:~$ sudo snap connections modem-manager
Interface Plug Slot Notes
modem-manager - modem-manager:service -
modem-manager modem-manager:mmcli - -
jacks1@apu3b:~$
jacks1@apu3b:~$
jacks1@apu3b:~$ sudo systemctl status snap.modem-manager.modemmanager.service
● snap.modem-manager.modemmanager.service - Service for snap application modem-manager.modemmanager
Loaded: loaded (/etc/systemd/system/snap.modem-manager.modemmanager.service; enabled; vendor preset: enable
Active: active (running) since Thu 2019-08-01 14:38:54 BST; 7min ago
Main PID: 1034 (ModemManager)
Tasks: 3 (limit: 4638)
CGroup: /system.slice/snap.modem-manager.modemmanager.service
└─1034 /snap/modem-manager/267/usr/sbin/ModemManager --debug --log-level=DEBUG
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.737155] Couldn't initialize interface: 'OMA not
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.737556] Couldn't initialize interface: 'Firmwar
Aug 01 14:39:31 apu3b ModemManager[1034]: <info> [1564666771.737944] Modem: state changed (unknown -> disabl
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.738459] modem properly initialized
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.741105] [device /sys/devices/pci0000:00/0000:00
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.741186] [device /sys/devices/pci0000:00/0000:00
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.741258] [device /sys/devices/pci0000:00/0000:00
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.741350] (ttyUSB0) device open count is 0 (close
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.741429] (ttyUSB0) closing serial port...
Aug 01 14:39:31 apu3b ModemManager[1034]: <debug> [1564666771.761686] (ttyUSB0) serial port closed
jacks1@apu3b:~$
在 ModemManager 上启用了调试模式 - 我将很快附上输出。再次感谢