I had the ath9k_htc loading but not working properly until I got the
cfg80211 loading.  The kernel config didn't automatically install it when
selecting the ath9k_htc, I had to install it manually.  Check your kernel
config to make sure it's included.
On Jul 31, 2014 8:28 AM, "Julian Calaby" <[email protected]> wrote:

> Hi Steven,
>
> On Thu, Jul 31, 2014 at 8:47 PM,  <[email protected]> wrote:
> > Hello Tim,
> >
> > Thanks for your advice and sorry for delay. For now I'm trying to find
> out how do I know if kernel was compiled with this config.
> >
> > All I can see is :
> >
> > root@a20-OLinuXino:~# find / -iname "*cfg80211*"
> > /sys/module/cfg80211
> > /sys/module/cfg80211/parameters/cfg80211_disable_40mhz_24ghz
> >
> > root@a20-OLinuXino:~# find / -iname "*ath9k*"
> > /sys/bus/usb/drivers/ath9k_htc
> > /sys/devices/platform/sw-ehci.1/usb2/2-1/2-1:1.0/leds/ath9k_htc-phy1
> > /sys/class/leds/ath9k_htc-phy1
> > /sys/module/ath/holders/ath9k_common
> > /sys/module/ath/holders/ath9k_htc
> > /sys/module/ath/holders/ath9k_hw
> > /sys/module/ath9k_common
> > /sys/module/ath9k_common/holders/ath9k_htc
> > /sys/module/mac80211/holders/ath9k_htc
> > /sys/module/ath9k_htc
> > /sys/module/ath9k_htc/drivers/usb:ath9k_htc
> > /sys/module/ath9k_hw
> > /sys/module/ath9k_hw/holders/ath9k_common
> > /sys/module/ath9k_hw/holders/ath9k_htc
> > /lib/modules/3.4.67+/kernel/drivers/net/wireless/ath/ath9k
> >
> /lib/modules/3.4.67+/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
> > /lib/modules/3.4.67+/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
> > /lib/modules/3.4.67+/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
> > /lib/modules/3.4.67+/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
> >
> >
> > So I guess cfg80211 is supposed to be present in my /lib/modules
> directory.
>
> You wouldn't have the /sys/module cfg80211 entries if it wasn't
> present - ath9k_htc simply won't work without it. I'm guessing it's
> built in.
>
> I suspect it's something else.
>
> Do other devices work on that USB port? What happens if you plug it in
> after it's booted?
>
> Also, you should be using the iw command ("iw dev wlan9 scan") not
> iwlist. Make sure you have the "iw" package installed.
>
> Finally, scanning doesn't always work first time (i.e. the device is
> busy doing something else) and it doesn't work before you configure it
> up ("ifconfig wlan9 up") so try it a couple of times before calling it
> completely broken.
>
> Thanks,
>
> --
> Julian Calaby
>
> Email: [email protected]
> Profile: http://www.google.com/profiles/julian.calaby/
> .Plan: http://sites.google.com/site/juliancalaby/
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "linux-sunxi" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/linux-sunxi/kS4lIIPGkjc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to