我有一台 HP 笔记本电脑,Ubuntu 16.04 与 Windows 10 一起安装。重启后,Ubuntu 无线网络停止工作。我收到一条消息“设备未准备好”。但如果在启动 Ubuntu 之前我先运行 Windows,重启它,然后运行 Ubuntu,无线网络就会再次工作。或者,如果我关闭 PC 并重新启动,它就会再次工作,但如果我仅重启,它就不会工作。
$ sudo lshw -c network
*-network
description: Wireless interface
product: RT3290 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:07:00.0
logical name: wlo1
version: 00
serial: 70:18:8b:5e:7d:bb
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet
physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.10.0-
38-generic firmware=0.37 ip=192.168.0.103 latency=0 link=yes
multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:c3510000-c351ffff
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: eno1
version: 07
serial: a0:48:1c:11:5d:4d
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:27 ioport:3000(size=256) memory:c3404000-c3404fff memory:c3400000-c3403fff memory:c3410000-c341ffff
$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
答案1
根据评论升级到最新内核(截至撰写本文时为 4.14)幫助了。
我相信我曾经在某处读到过关于这个问题的内容(博客文章或错误跟踪器),但找不到来源。如果我没记错的话,问题是某些硬件寄存器应该在重新启动时被降为某个值,但实际上并没有,这导致了问题。