Hello all,

Coming here to try to get some help with my wifi alpha card. It just can't scan 
/ connect. It can dump me data in monitor mode though.


Here are some outputs :



    root@a20-OLinuXino:~# uname -a
    Linux a20-OLinuXino 3.4.67+ #6 SMP PREEMPT Fri Nov 1 17:32:40 EET 2013 
armv7l GNU/Linux




    root@a20-OLinuXino:~# cat /etc/os-release
    PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
    NAME="Debian GNU/Linux"
    VERSION_ID="7"
    VERSION="7 (wheezy)"
    ID=debian
    ANSI_COLOR="1;31"
    HOME_URL="http://www.debian.org/";
    SUPPORT_URL="http://www.debian.org/support/";
    BUG_REPORT_URL="http://bugs.debian.org/";




    root@a20-OLinuXino:~# lsusb
    Bus 002 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub




    root@a20-OLinuXino:~# lsmod
    Module                  Size  Used by
    ath9k_htc              53734  0
    ath9k_common            3206  1 ath9k_htc
    ath9k_hw              359727  2 ath9k_common,ath9k_htc
    ath                    17007  3 ath9k_common,ath9k_htc,ath9k_hw
    mac80211              249857  1 ath9k_htc
    cpufreq_powersave       1207  0
    cpufreq_conservative     6042  0
    cpufreq_stats           3699  0
    cpufreq_userspace       3318  0
    sunxi_cedar_mod         9704  0
    8192cu                454131  0
    ump                    50981  0
    hdmi                   31627  0

    lcd                     4711  0


If I manually scan for APs, takes a while before telling me device is busy :



    root@a20-OLinuXino:~# ifconfig wlan9 up
    root@a20-OLinuXino:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 02:4c:0a:81:82:21
              inet addr:192.168.9.20  Bcast:192.168.9.255  Mask:255.255.255.0
              inet6 addr: fe80::4c:aff:fe81:8221/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1388 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1824 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:117466 (114.7 KiB)  TX bytes:1034501 (1010.2 KiB)
              Interrupt:87 Base address:0xe000

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    wlan9     Link encap:Ethernet  HWaddr 00:c0:ca:75:d9:af
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    root@a20-OLinuXino:~# iwlist wlan9 scanning
    wlan9     Failed to read scan data : Resource temporarily unavailable


When network-manager is launched, any network command hangs, can't even make 
new ssh connection to the board, and syslog says :



    Jun  2 22:38:10 a20-OLinuXino kernel: [  772.036840] ADDRCONF(NETDEV_UP): 
wlan9: link is not ready
    Jun  2 22:38:15 a20-OLinuXino kernel: [  777.654007] ehci_irq: port change 
detect
    Jun  2 22:38:15 a20-OLinuXino kernel: [  777.663522] hub 2-0:1.0: port 1 
disabled by hub (EMI?), re-enabling...
    Jun  2 22:38:15 a20-OLinuXino kernel: [  777.674285] usb 2-1: USB 
disconnect, device number 2
    Jun  2 22:38:17 a20-OLinuXino kernel: [  779.543771] ath: phy0: Chip reset 
failed
    Jun  2 22:38:17 a20-OLinuXino kernel: [  779.553693] ath: phy0: Unable to 
reset channel (2412 Mhz) reset status -22
    Jun  2 22:38:17 a20-OLinuXino kernel: [  779.563917] ath: phy0: Unable to 
set channel
    Jun  2 22:38:17 a20-OLinuXino kernel: [  779.683414] ath: phy0: Chip reset 
failed
    Jun  2 22:38:18 a20-OLinuXino kernel: [  779.693858] ath: phy0: Unable to 
reset hardware; reset status -22 (freq 2432 MHz)
    Jun  2 22:38:18 a20-OLinuXino kernel: [  779.827946] ath: phy0: Failed to 
wakeup in 500us
    Jun  2 22:38:18 a20-OLinuXino kernel: [  779.846983] ath: phy0: Failed to 
wakeup in 500us
    Jun  2 22:38:18 a20-OLinuXino kernel: [  779.865898] ath: phy0: Failed to 
wakeup in 500us
    Jun  2 22:38:18 a20-OLinuXino kernel: [  780.147955] usb 2-1: ath9k_htc: 
USB layer deinitialized
    Jun  2 22:38:18 a20-OLinuXino kernel: [  780.438486] usb 2-1: new 
high-speed USB device number 3 using sw-ehci
    Jun  2 22:38:18 a20-OLinuXino kernel: [  780.624967] usb 2-1: ath9k_htc: 
Firmware htc_9271.fw requested
    Jun  2 22:38:19 a20-OLinuXino kernel: [  780.941956] usb 2-1: ath9k_htc: 
Transferred FW: htc_9271.fw, size: 51272
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.177285] ath9k_htc 2-1:1.0: 
ath9k_htc: HTC initialized with 33 credits
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.395787] ath9k_htc 2-1:1.0: 
ath9k_htc: FW Version: 1.3
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.404327] ath: EEPROM regdomain: 
0x833a
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.413543] ath: EEPROM indicates 
we should expect a country code
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.429253] ath: doing EEPROM 
country->regdmn map search
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.438365] ath: country maps to 
regdmn code: 0x37
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.446578] ath: Country alpha2 
being used: GB
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.453454] ath: Regpair used: 0x37
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.469434] ieee80211 phy1: 
Atheros AR9271 Rev:1
    Jun  2 22:38:19 a20-OLinuXino kernel: [  781.480791] Registered led device: 
ath9k_htc-phy1


The card works fine on another ubuntu x64 computer.
I installed firmware-atheros version from wheezy-backports repo to end up 
discovering the firmware was actually the same. Maybe I need a kernel update?

I also tried compiling the very latest firmware (1.4) without any differences. 
Plugging into a self-powered usb hub neither.

Any suggestion greatly appreciated.

Steven

-- 
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