ar9170 : firmware not loaded
Hi,
I am trying to use the ar9170 driver with the netgear wn111v2, on an arm9 platform. I compiled the modules, and the driver loads fine:
Module Size Used by ar9170usb 51188 1 mac80211 170216 1 ar9170usb ath 7304 1 ar9170usb cfg80211 120852 3 ar9170usb,mac80211,ath rfkill_backport 15524 1 cfg80211 compat 2336 2 mac80211,cfg80211 compat_firmware_class 7072 2 ar9170usb pegasus 18052 0 ohci_hcd 18428 0 g_file_storage 21212 0 at91_udc 12696 1 g_file_storage
My issue is about the firmware, ar9170.fw. It is not found. I tried w/o luck 2 options:
1) loaded from user space under /lib/firmware
2) build the kernel 2.6.29 with ar9170.fw.
With option (1), the only thing I see under /sys/class/firmware is the pseudo file timeout, no filename for 60" (like I think it should).
Note that I have tried also an 802.11G adapter (iogear gwus23) with the very same issue. But in this case, the 'old' kernel I am using for arm9 (2.6.29) has support for this 802.11g adapter, and when I build it with 2.6.29 (therefore not using compat-wireless), I have no issue regarding loading the firmware (from user-space).
If anybody had any idea what I am doing wrong or missing, I would really appreciate it!
Regards,
Olivier
Quoted 36 lines · Olivier Singla
Hi,
I am trying to use the ar9170 driver with the netgear wn111v2, on an arm9 platform.
I compiled the modules, and the driver loads fine:Module Size Used by ar9170usb 51188 1 mac80211 170216 1 ar9170usb ath 7304 1 ar9170usb cfg80211 120852 3 ar9170usb,mac80211,ath rfkill_backport 15524 1 cfg80211 compat 2336 2 mac80211,cfg80211 compat_firmware_class 7072 2 ar9170usb pegasus 18052 0 ohci_hcd 18428 0 g_file_storage 21212 0 at91_udc 12696 1 g_file_storageMy issue is about the firmware, ar9170.fw. It is not found. I tried w/o luck 2 options:
1) loaded from user space under/lib/firmware
2) build the kernel 2.6.29 with ar9170.fw.With option (1), the only thing I see under
/sys/class/firmwareis the pseudo file timeout,
no filename for 60" (like I think it should).Note that I have tried also an 802.11G adapter (iogear gwus23) with the very same issue.
But in this case, the 'old' kernel I am using for arm9 (2.6.29) has support for this 802.11g adapter,
and when I build it with 2.6.29 (therefore not using compat-wireless), I have no issue regarding
loading the firmware (from user-space).
Quoted 5 lines
If anybody had any idea what I am doing wrong or missing, I would really appreciate it!
Regards,
Olivier
Hi,
compat-wireless does not use /sys/class/firmware but /sys/class/compat_firmware for firmware loading, because we had to backport the firmware loading part. In the udev directory is a udev rule and a script for firmware loading.
Hauke