我是这个网站和这个操作系统“Ubuntu”的新手
所以我的 wifi 和蓝牙有问题..
我刚刚检查了日志,最终认为问题与固件有关。
dmesg | grep iwl
[ 2.819550] iwlwifi 0000:00:14.3: loaded firmware version 34.0.0 op_mode iwlmvm
[ 2.833065] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x338
[ 7.900012] iwlwifi 0000:00:14.3: Failed to load firmware chunk!
[ 7.900015] iwlwifi 0000:00:14.3: iwlwifi transaction failed, dumping registers
[ 7.900016] iwlwifi 0000:00:14.3: iwlwifi device config registers:
[ 7.900050] iwlwifi 0000:00:14.3: 00000000: 34f08086 00100406 02800030 00800010 17114004 00000060 00000000 00000000
[ 7.900051] iwlwifi 0000:00:14.3: 00000020: 00000000 00000000 00000000 00348086 00000000 000000c8 00000000 000001ff
[ 7.900052] iwlwifi 0000:00:14.3: iwlwifi device memory mapped registers:
[ 7.900086] iwlwifi 0000:00:14.3: 00000000: 00489008 00000040 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.900087] iwlwifi 0000:00:14.3: 00000020: 00000011 0c040005 00000332 d55555d5 d55555d5 d55555d5 80008040 001f0040
[ 7.900106] iwlwifi 0000:00:14.3: Could not load the [0] uCode section
[ 7.900110] iwlwifi 0000:00:14.3: Failed to start INIT ucode: -110
[ 7.913089] iwlwifi 0000:00:14.3: Failing on timeout while stopping DMA channel 8 [0x0bad1122]
[ 7.925547] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
dmesg|grep -i firmware
[ 0.261195] pci 0000:00:1f.5: BAR 0: trying firmware assignment [mem 0xfe010000-0xfe010fff]
[ 0.827494] [Firmware Bug]: Invalid critical threshold (0)
[ 1.719365] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x4d5f02)
[ 1.997497] iwlwifi 0000:00:14.3: loaded firmware version 34.0.0 op_mode iwlmvm
[ 2.313386] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 2.314629] bluetooth hci0: Direct firmware load for intel/ibt-19-32-1.sfi failed with error -2
[ 2.314631] Bluetooth: hci0: Failed to load Intel firmware file (-2)
[ 2.316386] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 2.316393] bluetooth hci0: Direct firmware load for intel/ibt-19-32-1.sfi failed with error -2
[ 2.316395] Bluetooth: hci0: Failed to load Intel firmware file (-2)
[ 3.349840] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 7.136131] iwlwifi 0000:00:14.3: Failed to load firmware chunk!
rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
我的笔记本电脑型号是 hp 15-cs3012tx,Ubuntu 版本是 16.04 LTS 我刚刚搜索了我的适配器型号,它显示
英特尔® Wireless-AC 9560 802.11a/b/g/n/ac (2x2) Wi-Fi® 和蓝牙® 5 组合
所以我刚刚下载了英特尔 ac 9560 固件来安装
1. OVERVIEW
The file iwlwifi-5150-2.ucode provided in this package must be
present on your system in order for the Intel Wireless WiFi Link
AGN driver for Linux (iwlagn) to operate on your system.
The "-2" in the filename reflects an interface/architecture version number.
It will change only when changes in new uCode releases make the new uCode
incompatible with earlier drivers.
On adapter initialization, and at varying times during the uptime of
the adapter, the microcode is loaded into the memory on the network
adapter. The microcode provides the low level MAC features including
radio control and high precision timing events (backoff, transmit,
etc.) while also providing varying levels of packet filtering which can
be used to keep the host from having to handle packets that are not of
interest given the current operating mode of the device.
2. INSTALLATION
The iwlagn driver will look for the file iwlwifi-5150-2.ucode using the
kernel's firmware_loader infrastructure. In order to function
correctly, you need to have this support enabled in your kernel. When
you configure the kernel, you can find this option in the following
location:
Device Drivers ->
Generic Driver Options ->
Hotplug firmware loading support
You can determine if your kernel currently has firmware loader support
by looking for the CONFIG_FW_LOADER definition on your kernel's
.config.
In addition to having the firmware_loader support in your kernel, you
must also have a working hotplug and udev infrastructure configured.
The steps for installing and configuring hotplug and udev are very
distribution specific.
Once you have the firmware loader in place (or if you aren't sure and
you just want to try things to see if it works), you need to install
the microcode file into the appropriate location.
Where that appropriate location is depends (again) on your system
distribution. You can typically find this location by looking in the
hotplug configuration file for your distro:
% grep \"^FIRMWARE_DIR\" /etc/hotplug/firmware.agent
This should give you output like:
FIRMWARE_DIR=/lib/firmware
If it lists more than one directory, you only need to put the
microcode in one of them. In the above example, installation is
simply:
% cp iwlwifi-5150-2.ucode /lib/firmware
You can now load the driver (see the INSTALL and README.iwlwifi provided with
the iwlwifi package for information on building and using that driver.)
这是包含固件文件的附件
我输入了命令,它显示如下
grep \"^FIRMWARE_DIR\" /etc/hotplug/firmware.agent
grep: /etc/hotplug/firmware.agent: No such file or directory
但在文档中它应该是这样的
% grep \"^FIRMWARE_DIR\" /etc/hotplug/firmware.agent
This should give you output like:
FIRMWARE_DIR=/lib/firmware
我无法通过上述方式安装此固件..而且我认为这个 9650 设备与 wifi 和蓝牙有关..
有人可以帮我安装这个固件吗?
提前感谢你的帮助
编辑)我还包含了带有命令的日志dmesg|grep -i firmware
答案1
您是否尝试过安装更新版本的 Ubuntu?较新的硬件没有旧版本中的驱动程序的情况并不少见,并且 16.04 仅支持 1 年。
有几个可能的选择:。您可以尝试更现代的版本 18.04,或者等待一个月并安装 20.04,它将具有更现代的内核并获得 5 年的支持(直到 2025 年 4 月)。
您还可以尝试安装硬件支持堆栈内核,它将有更多可用的现代驱动程序并可能解决您的问题(HWE 使用 4.15 内核,而不是 16.04 附带的 4.04)。
为此,请按照上面链接中的建议进行操作:
sudo apt install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04
但最终,您可能会在运行更现代操作系统的现代笔记本电脑上获得更好的体验(我个人会安装 19.04 并升级到 20.04)。