qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
426 stars 181 forks source link

usb 2-1: firmware: failed to load ath9k_htc/htc_9271-1.4.0.fw (-2) #142

Closed chamalis closed 6 years ago

chamalis commented 6 years ago

Thank you for providing these drivers.

I am using AWUS036NHA (Atheros 9271L). I have followed the build procedure outlined in readme, and I have moved the firmware to /lib/firmware/htc_9271.fw. What troubles me is I am getting these logs:

:~$ sudo dmesg -T | grep -i ath9k
[Sat Apr 14 21:36:50 2018] usb 2-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[Sat Apr 14 21:36:50 2018] usbcore: registered new interface driver ath9k_htc
[Sat Apr 14 21:36:50 2018] usb 2-1: firmware: failed to load ath9k_htc/htc_9271-1.4.0.fw (-2)
[Sat Apr 14 21:36:50 2018] usb 2-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2
[Sat Apr 14 21:36:50 2018] usb 2-1: ath9k_htc: Firmware htc_9271.fw requested
[Sat Apr 14 21:36:50 2018] usb 2-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008
[Sat Apr 14 21:36:50 2018] ath9k_htc 2-1:1.0: ath9k_htc: HTC initialized with 33 credits
[Sat Apr 14 21:36:51 2018] ath9k_htc 2-1:1.0: ath9k_htc: FW Version: 1.4
[Sat Apr 14 21:36:51 2018] ath9k_htc 2-1:1.0: FW RMW support: On

It seems that it needs the specific version (htc_9271-1.4.0)? How do I view my current version?

I am using debian sid (4.15.0-2-amd64).

PS: I am asking since I am experiencing some functionality issues and I am trying to debug the situation.

olerem commented 6 years ago

On debian sid it should be enough to install firmware-ath9k-htc. This package is based on latest git version of this firmware. https://tracker.debian.org/pkg/open-ath9k-htc-firmware

chamalis commented 6 years ago

Installing the above package brought /lib/firmware/ath9k_htc/htc_9271-1.dev.0.fw.

Now I am not getting any more of those logs:

[Sat Apr 14 21:36:50 2018] usb 2-1: firmware: failed to load ath9k_htc/htc_9271-1.4.0.fw (-2)
[Sat Apr 14 21:36:50 2018] usb 2-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2

Thank you!

saintofinternet commented 5 years ago

Installing the above package brought /lib/firmware/ath9k_htc/htc_9271-1.dev.0.fw.

Now I am not getting any more of those logs:

[Sat Apr 14 21:36:50 2018] usb 2-1: firmware: failed to load ath9k_htc/htc_9271-1.4.0.fw (-2)
[Sat Apr 14 21:36:50 2018] usb 2-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2

Thank you!

how did you install that package?

chamalis commented 5 years ago

It's has been a long time, but I think the debian package is firmware-atheros, thus via apt install firmware-atheros. I now see that there is also firmware-ath9k-htc, I suppose the former includes the later (?)

After that I had random continuous disconnection issues, which were solved after I uninstalled wicd.