On 5/19/19 7:46 AM, Dave wrote:

On 5/15/19 12:24 PM, Bruce Dubbs wrote:
On 5/15/19 8:27 AM, Dave wrote:
I've been trying off and on to get a Qualcom Atheros to work. lspci shows it as AR9227. It's a plain PCI card.  I've come to the conclusion that there must be a firmware blob for this card. I'm not sure which one it will use.  Ubuntu /lib/firmware has various choices under the "ath9k" directory.  Does anyone know the short answer to this?  Are firmware blobs always compiled in the kernel?  Are the blob files always a *.bin file?

Sometimes firmware has a .fw extension.  I have a Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) on my development system, but don't use it very much.  Right now I am not using firmware, but the kernel recognizes it:

[    5.886718] ath: EEPROM regdomain: 0x809c
[    5.886718] ath: EEPROM indicates we should expect a country code
[    5.886719] ath: doing EEPROM country->regdmn map search
[    5.886719] ath: country maps to regdmn code: 0x52
[    5.886720] ath: Country alpha2 being used: CN
[    5.886720] ath: Regpair used: 0x52

My kernel config is

CONFIG_ATH_COMMON=y
CONFIG_WLAN_VENDOR_ATH=y
CONFIG_ATH9K_HW=y
CONFIG_ATH9K_COMMON=y
CONFIG_ATH9K=y
CONFIG_ATH9K_PCI=y
CONFIG_ATH9K_AHB=y
CONFIG_ATH9K_RFKILL=y su
CONFIG_ATH9K_PCOEM=y
CONFIG_ATH9K_HWRNG=y

and I have

$ ls /sys/class/net
br0  eth0  lo  sit0  wlan0

so the card is recognized.  If I do


Bruce, I'll stick with you because I want it compiled in the kernel.


This is from the kernel log, I was using the same settings, minus the "CONFIG_ATH9K_HWRNG=y". Didn't help, still complaining about error 12

I have tried the module setup, same error 12.  I have no clue what that error is pointing to.  This system works with Ubuntu.


May 19 12:12:12 ryzen kernel: [    0.862534] ath9k 0000:05:01.0: enabling device (0000 -> 0002) May 19 12:12:12 ryzen kernel: [    0.863122] ath9k 0000:05:01.0: SME is active, device will require DMA bounce buffers May 19 12:12:12 ryzen kernel: [    0.863711] ath9k 0000:05:01.0: SME is active, device will require DMA bounce buffers
May 19 12:12:12 ryzen kernel: [    1.171621] ath: EEPROM regdomain: 0x809c
May 19 12:12:12 ryzen kernel: [    1.171622] ath: EEPROM indicates we should expect a country code May 19 12:12:12 ryzen kernel: [    1.171622] ath: doing EEPROM country->regdmn map search May 19 12:12:12 ryzen kernel: [    1.171623] ath: country maps to regdmn code: 0x52 May 19 12:12:12 ryzen kernel: [    1.171623] ath: Country alpha2 being used: CN
May 19 12:12:12 ryzen kernel: [    1.171624] ath: Regpair used: 0x52
May 19 12:12:12 ryzen kernel: [    1.171628] ath: phy0: Failed to allocate tx descriptors: -12 May 19 12:12:12 ryzen kernel: [    1.172188] ath9k 0000:05:01.0: Failed to initialize device May 19 12:12:12 ryzen kernel: [    1.172739] ath9k: probe of 0000:05:01.0 failed with error -12

I don't know that I can help any more. I only have intel CPUs. Also, my kernel is slightly dated (4.20.8 built in February for LFS 8.4).

About the only thing I can recommend is to try installing the latest version of a distro (My first choice is debian) and see if they recognize the device.

Note, please reply to lfs-support so others can search for similar problems.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to