我在 Windows 10 上运行 ubuntu RedmiBook-14-APCS。但现在我无法连接 wifi。出现“未找到 wifi 适配器”问题。我尝试了很多解决方案,但都没有用。
运行时:sudo lshw -C 网络*-网络
描述:网络控制器
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:01:00.0
version: 32
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=ath10k_pci latency=0
resources: irq:60 memory:c0200000-c03fffff
*-网络
description: Ethernet interface
physical id: 1
bus info: usb@3:2
logical name: usb0
serial: c2:89:a6:02:52:52
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.120 link=yes multicast=yes
运行时:dmesg | grep ath10k:
[ 2.046847] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 2.312518] ath10k_pci 0000:01:00.0: loading /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin failed with error -22
[ 2.312576] ath10k_pci 0000:01:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA6174/hw3.0: -2
[ 2.312582] ath10k_pci 0000:01:00.0: could not fetch firmware files (-2)
[ 2.312586] ath10k_pci 0000:01:00.0: could not probe fw (-2)
[ 2.644268] Modules linked in: snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio
snd_hda_codec_hdmi edac_mce_amd kvm_amd joydev snd_hda_intel snd_intel_dspcfg amdgpu snd_hda_codec snd_hda_core kvm snd_hwdep crct10dif_pclmul ghash_clmulni_intel ath10k_pci aesni_intel snd_pcm crypto_simd iommu_v2 cryptd gpu_sched glue_helper snd_seq_midi ath10k_core ttm rapl snd_seq_midi_event ath snd_rawmidi input_leds drm_kms_helper serio_raw sparse_keymap cec hid_multitouch efi_pstore mac80211 snd_seq rc_core btusb btrtl snd_seq_device btbcm i2c_algo_bit snd_timer btintel fb_sys_fops bluetooth syscopyarea cfg80211 wmi_bmof snd_rn_pci_acp3x snd sysfillrect ecdh_generic ecc k10temp libarc4 snd_pci_acp3x sysimgblt ccp soundcore mac_hid rndis_host cdc_ether usbnet acpi_tad mii sch_fq_codel parport_pc ppdev lp drm parport ip_tables x_tables autofs4 hid_generic nvme i2c_piix4 nvme_core xhci_pci crc32_pclmul xhci_pci_renesas video wmi i2c_hid hid
答案1
你显然有正确的驱动程序:
驱动程序=ath10k_pci
您没有的是所需的固件:
加载 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin 失败,错误 -22
让我们看看更新是否会获得所需的固件。在有网络连接的情况下,打开终端并执行以下操作:
sudo apt update
sudo apt -y upgrade
重新启动并显示:
dmesg | grep ath
如果仍然缺少固件,请执行以下操作:
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.190_all.deb
sudo dpkg i linux-firmware*.deb
重启。一切就绪。
编辑:我注意到 board-2.bin 文件最近刚刚更新:https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin
让我们备份您当前的文件并下载最新的文件:
cd /usr/lib/firmware/ath10k/QCA6174/hw3.0
sudo mv board-2.bin board-2.bak
sudo wget https://github.com/kvalo/ath10k-firmware/raw/master/QCA6174/hw3.0/board-2.bin
sudo modprobe -r ath10k_pci
sudo modprobe ath10k_pci
sudo dmesg | grep ath
有沒有改善?