QCA9377 USB无线反复出现的问题

QCA9377 USB无线反复出现的问题

我正在运行 Ubuntu 18.04。我尝试了接受的答案这个问题,但我尝试重现结果失败了。反复尝试获取较新版本的软件,无法正确编译,因为需要重复隐式声明 setup_timer() 和 config_enable() 等函数。是否需要设置一些开关(或选项)才能成功编译?

uname -a返回:

4.15.0-42-generic #45-Ubuntu SMP Thu Nov15 . . .

位于/lib/firmware/ath10k/QCA9377/hw1.0机器上(由 Jan2016 帖子建议——Acer Aspire E 15 上的无线功能不起作用)。

搞定这些之后,我想使用 Linksys USB 无线适配器 WUSB6100M 和 Qualcomm QCA9377 芯片组为我的第二台计算机(Dell OptiPlex-755,32 位机器)提供互联网访问。Linksys 提供的驱动程序仅支持最新的 Windows 操作系统。

结果lsusb

$ lsusb  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 13b1:0042 Linksys 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 1a2c:0e24 China Resource Semico Co., Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

插件 USB 适配器的 ID 为 13b1:0042。

$ dmesg |grep ath  
[  176.424811] usb 1-4: WARNING: ath10k USB support is incomplete, don't expect anything to work!
[  176.424852] usbcore: registered new interface driver ath10k_usb
[  176.565542] usb 1-4: Direct firmware load for ath10k/pre-cal-usb-1-4.bin failed with error -2
[  176.565572] usb 1-4: Direct firmware load for ath10k/cal-usb-1-4.bin failed with error -2
[  176.587778] usb 1-4: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-usb-6.bin failed with error -2
[  176.587808] usb 1-4: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-usb-5.bin failed with error -2
[  176.587830] usb 1-4: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-usb-4.bin failed with error -2
[  176.587852] usb 1-4: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-usb-3.bin failed with error -2
[  176.587874] usb 1-4: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-usb-2.bin failed with error -2
[  176.587879] usb 1-4: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA9377/hw1.0: -2

我确实建议固件更新。dmesg |grep ath返回:

[  139.925263] usb 1-4: WARNING: ath10k USB support is incomplete, don't expect anything to work!
[  139.925310] usbcore: registered new interface driver ath10k_usb
[  140.073492] usb 1-4: Direct firmware load for ath10k/pre-cal-usb-1-4.bin failed with error -2
[  140.073521] usb 1-4: Direct firmware load for ath10k/cal-usb-1-4.bin failed with error -2
[  140.095716] usb 1-4: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-usb-6.bin failed with error -2
[  140.155758] usb 1-4: failed to fetch board data for bus=usb,vendor=13b1,device=0042,subsystem-vendor=0000,subsystem-device=0000 from ath10k/QCA9377/hw1.0/board-2.bin

我添加了附加文件(board-2.bin),重新启动并执行命令lsdmesg |grep ath文件pre-cal-usb-1-4.bin,,cal-usb-1-4.binfirmware-usb-6.bin从未在解压目录中解压(即未找到)。

/lib/固件/ath10k/QCA9377/hw1.0$ls

board-2.bin  firmware-5.bin      notice_ath10k_firmware-5.txt
board.bin    firmware-usb-5.bin

/lib/固件/ath10k/QCA9377/hw1.0$dmesg |grep ath

[  186.698686] usb 1-4: WARNING: ath10k USB support is incomplete, don't expect anything to work!
[  186.698739] usbcore: registered new interface driver ath10k_usb
[  186.711510] usb 1-4: Direct firmware load for ath10k/pre-cal-usb-1-4.bin failed with error -2
[  186.711551] usb 1-4: Direct firmware load for ath10k/cal-usb-1-4.bin failed with error -2`[  186.733726] usb 1-4: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-usb-6.bin failed with error -2
[  186.793152] usb 1-4: failed to fetch board data for bus=usb,vendor=13b1,device=0042,subsystem-vendor=0000,subsystem-device=0000 from ath10k/QCA9377/hw1.0/board-2.bin

__------------------------------------------------------------------------

移动文件并添加链接后dmesg |grep ath返回:

[ 27.018040] usb 1-4: WARNING: ath10k USB support is incomplete, don't expect anything to work!

[ 27.018087] usbcore: registered new interface driver ath10k_usb

[ 27.066345] usb 1-4: Direct firmware load for ath10k/pre-cal-usb-1-4.bin failed with error -2

[ 27.066375] usb 1-4: Direct firmware load for ath10k/cal-usb-1-4.bin failed with error -2

[ 27.088567] usb 1-4: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-usb-6.bin failed with error -2

[ 27.164838] usb 1-4: failed to fetch board data for bus=usb,vendor=13b1,device=0042,subsystem-vendor=0000,subsystem-device=0000 from ath10k/QCA9377/hw1.0/board-2.bin

__----------------------------------------------------------------------------------------

答案1

dmesg 指示您缺少固件。通过以太网、网络共享或任何可能的方式建立有效的互联网连接,打开终端并执行以下操作:

sudo apt update && sudo apt install git
git clone -b usb https://github.com/erstrom/ath10k-firmware.git
cd ath10k-firmware/QCA9377/hw1.0
cp firmware-usb-5-wusb6100m.bin firmware-usb-5.bin
sudo cp firmware-usb-5.bin /lib/firmware/ath10k/QCA9377/hw1.0

编辑:还可以:

sudo cp board-2.bin /lib/firmware/ath10k/QCA9377/hw1.0

重新启动并显示:

dmesg | grep ath

编辑2:将eeprom文件移动到/lib/firmware:

cd ath10k-firmware/QCA9377/hw1.0
sudo cp eeprom_qca9377_7_1p1_Robin_clpc_fcc.bin /lib/firmware/ath10k/QCA9377/hw1.0
cd /lib/firmware/ath10k/QCA9377/hw1.0
ln -s eeprom_qca9377_7_1p1_Robin_clpc_fcc.bin board-usb.bin

重新启动并显示:

dmesg | grep ath

资源:https://marc.info/?l=linux-wireless&m=148434332728333&w=2

相关内容