有人能帮忙吗?我尝试了另一个线程中显示的针对 ubuntu 15.10 和 Qualcomm 适配器的推荐修复。不幸的是,它不适用于我的 acer aspire 笔记本电脑 E15 和运行 15.10 的 Qualcomm Atheros QCA9377 无线适配器。我可能使用了错误的终端命令:
sudo apt-get update
sudo apt-get install linux-headers-generic build-essential
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
tar -zxvf backports-20151120.tar.gz
cd backports-20151120
make defconfig-ath10k
make
sudo make install
任何帮助表示感谢
sudo modprobe ath10k_pci && dmesg | grep ath
结果如下:
[ 3.831082] [<ffffffff8107b3d6>] warn_slowpath_common+0x86/0xc0
[ 3.831085] [<ffffffff8107b465>] warn_slowpath_fmt+0x55/0x70
[ 3.831216] [<ffffffff817f02b2>] entry_SYSCALL_64_fastpath+0x16/0x75
[ 3.832832] [<ffffffff8107b3d6>] warn_slowpath_common+0x86/0xc0
[ 3.832835] [<ffffffff8107b465>] warn_slowpath_fmt+0x55/0x70
[ 3.832962] [<ffffffff817f02b2>] entry_SYSCALL_64_fastpath+0x16/0x75
[ 29.961100] ath10k_pci 0000:03:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[ 30.502577] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[ 30.502604] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2
[ 30.502608] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-5.bin': -2
[ 30.502616] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2
[ 30.502619] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2
[ 30.502626] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2
[ 30.502628] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2
[ 30.502636] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2
[ 30.502638] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2
[ 30.502645] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2
[ 30.502647] ath10k_pci 0000:03:00.0: could not fetch firmware (-2)
[ 30.502650] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2)
[ 30.502652] ath10k_pci 0000:03:00.0: could not probe fw (-2)
[ 49.791690] Modules linked in: bnep rtsx_usb_ms memstick intel_rapl iosf_mbi
x86_pkg_temp_thermal intel_powerclamp uvcvideo joydev videobuf2_vmalloc videobuf2_memops snd_hda_codec_realtek snd_hda_codec_hdmi ath10k_pci(OE) acer_wmi hid_multitouch snd_hda_codec_generic videobuf2_core sparse_keymap coretemp v4l2_common ath10k_core(OE) kvm_intel videodev snd_hda_intel btusb snd_hda_codec ath(OE) media mac80211(OE) btrtl btbcm cfg80211(OE) kvm snd_hda_core snd_hwdep btintel snd_pcm bluetooth compat(OE) input_leds snd_seq_midi serio_raw snd_seq_midi_event snd_rawmidi snd_seq lpc_ich snd_seq_device snd_timer dell_smo8800 snd 8250_dw i2c_designware_platform i2c_designware_core dw_dmac dw_dmac_core soundcore spi_pxa2xx_platform acpi_pad mei_me mei shpchp mac_hid parport_pc ppdev lp parport autofs4 drbg ansi_cprng
[ 49.791778] [<ffffffff8107b3d6>] warn_slowpath_common+0x86/0xc0
[ 49.791781] [<ffffffff8107b465>] warn_slowpath_fmt+0x55/0x70
[ 49.791922] [<ffffffff817f02b2>] entry_SYSCALL_64_fastpath+0x16/0x75
-
ls /lib/firmware/ath10k/QCA9377/hw1.0/
说找不到文件,无法访问
sudo modprobe ath10k_pci && dmesg | grep ath10k
[ 25.546049] ath10k_pci 0000:03:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[ 26.073997] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[ 26.129087] ath10k_pci 0000:03:00.0: invalid firmware magic
[ 26.129111] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2
[ 26.129114] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2
[ 26.129123] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2
[ 26.129126] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2
[ 26.129134] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2
[ 26.129137] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2
[ 26.129146] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2
[ 26.129148] ath10k_pci 0000:03:00.0: could not fetch firmware (-2)
[ 26.129150] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2)
[ 26.129153] ath10k_pci 0000:03:00.0: could not probe fw (-2)
[ 47.742934] Modules linked in: bnep rtsx_usb_ms memstick snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic uvcvideo snd_hda_intel hid_multitouch videobuf2_vmalloc videobuf2_memops joydev intel_rapl videobuf2_core snd_hda_codec iosf_mbi x86_pkg_temp_thermal intel_powerclamp acer_wmi v4l2_common sparse_keymap coretemp videodev snd_hda_core snd_hwdep media kvm_intel btusb snd_pcm kvm ath10k_pci(OE) btrtl btbcm ath10k_core(OE) btintel ath(OE) bluetooth mac80211(OE) snd_seq_midi snd_seq_midi_event input_leds snd_rawmidi snd_seq serio_raw cfg80211(OE) snd_seq_device snd_timer lpc_ich mei_me mei snd compat(OE) soundcore dell_smo8800 dw_dmac dw_dmac_core i2c_designware_platform i2c_designware_core 8250_dw spi_pxa2xx_platform acpi_pad shpchp mac_hid parport_pc ppdev lp parport autofs4 jitterentropy_rng
-
cat /sys/module/ath10k_core/parameters/skip_otp
显示 N
ls /lib/firmware/ath10k/QCA9377/hw1.0
现在显示
board.bin firmware-5.bin_WLAN.TF.1.0-00267-1
board.bin.1 firmware-5.bin_WLAN.TF.1.0-00267-1.1
board.bin.2 firmware-5.bin_WLAN.TF.1.0-00267-1.2
board.bin.3 firmware-5.bin_WLAN.TF.1.0-00267-1.3
board.bin.4 firmware-5.bin_WLAN.TF.1.0-00267-1.4
board.bin.5 firmware-5.bin_WLAN.TF.1.0-00267-1.5
firmware-5.bin
答案1
您缺少所需的固件并且错过了参数设置
sudo mkdir -p /lib/firmware/ath10k/QCA9377/hw1.0
cd /lib/firmware/ath10k/QCA9377/hw1.0
sudo wget https://github.com/kvalo/ath10k-firmware/blob/master/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1
sudo wget https://github.com/kvalo/ath10k-firmware/blob/master/QCA9377/hw1.0/board.bin
sudo cp firmware-5.bin_WLAN.TF.1.0-00267-1 firmware-5.bin
设置参数
echo "options ath10k_core skip_otp=Y" | sudo tee /etc/modprobe.d/ath10k_core.conf
编辑:现在安装了内核 4.3.3,
cd backports-20151120
make clean
make defconfig-ath10k
make
sudo make install
重启