Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wn822n wireless usb does not load firmware
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
elvis_
n00b
n00b


Joined: 15 Feb 2004
Posts: 24
Location: dogonfire.com

PostPosted: Sat Jan 28, 2012 3:47 pm    Post subject: wn822n wireless usb does not load firmware Reply with quote

Hello,

I have the above card that gives an error when trying to load firmware.

Code:
Jan 29 01:03:45 desire kernel: usb 1-1: USB disconnect, device number 2
Jan 29 01:03:58 desire kernel: usb 1-1: new high-speed USB device number 9 using ehci_hcd
Jan 29 01:03:58 desire kernel: usb 1-1: New USB device found, idVendor=0cf3, idProduct=7015
Jan 29 01:03:58 desire kernel: usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
Jan 29 01:03:58 desire kernel: usb 1-1: Product: USB WLAN
Jan 29 01:03:58 desire kernel: usb 1-1: Manufacturer: ATHEROS
Jan 29 01:03:58 desire kernel: usb 1-1: SerialNumber: 12345
Jan 29 01:03:59 desire kernel: usb 1-1: ath9k_htc: Firmware - htc_7010.fw download failed
Jan 29 01:03:59 desire kernel: ath9k_htc: probe of 1-1:1.0 failed with error -22


I have the htc_7010.fw in the /lib/firmware directory

The device works perfectly on an opensuse box. I booted with that kernel config and it didn't work so I am thinking it is not a kernel problem. Maybe something with the helper app.

Any tips? I've been through all the howtos on the driver and chipset and I seem to be following them.

Thanks
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Mon Jan 30, 2012 1:16 am    Post subject: Reply with quote

Did you obtain the firmware by installing the linux-firmware package in gentoo?

Code:
emerge linux-firmware



If the firmware checks out, this should be it's sha1sum: 7e9aaadb3f81befee6da22e04d2606249c92f395

Code:
sha1sum htc_7010.fw
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3432
Location: Gainesville, Florida

PostPosted: Mon Jan 30, 2012 8:26 pm    Post subject: Reply with quote

Compare the firmware on the Gentoo box to the one on the openSuse box. If it's the not the same, you might try copying the suse version that works with your device over to the Gentoo /lib/firmware directory.

I once did this with the Linux Mint version firmware for a realtek usb wireless device which required the r8712u wireless usb driver (found in the kernel source /drivers/Staging directory). Mint was using it (auto-detected and loaded the correct firmware and kernel driver). In Gentoo, even though I had the correct r8712u driver from staging loading, my wireless still wouldn't work until I copied over the working firmware from Mint. Worked like a charm.

BTW- As far as I can tell, the linux-firmware package does not contain many current firmware packages, so it might not have what you need.

EDIT: forgot to mention- do you have ath9k_htc & friends enabled in your kernel?

I have to use a wn7822n wireless usb adapter with 3.2.x kernels on Arch and Mageia, and my lsmod says:
Code:
Module                         Used By

ath9k_htc              56902  0
ath9k_common            2096  1 ath9k_htc
ath9k_hw              347282  2 ath9k_common,ath9k_htc
ath                    14802  3 ath9k_hw,ath9k_common,ath9k_htc
mac80211              228367  1 ath9k_htc
cfg80211              172260  3 mac80211,ath,ath9k_htc

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.7.2 USE=experimental python3_11
Back to top
View user's profile Send private message
elvis_
n00b
n00b


Joined: 15 Feb 2004
Posts: 24
Location: dogonfire.com

PostPosted: Mon Feb 20, 2012 9:13 am    Post subject: Reply with quote

It was the regulatory rules file, I emerged

net-wireless/wireless-regdb

and it all worked.

How do I mark this as solved?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum