2010-04-20 18:04:10

by Larry Finger

[permalink] [raw]
Subject: Problem with AR5001 on eeepc900A after disable with RFKILL switch

This problem is reported at
https://bugzilla.novell.com/show_bug.cgi?id=595586.

Although not mentioned in the bug report, the kernel is 2.6.33.

The initial part of the report is as follows:

======================================================================

After disabling WLAN on Asus eeepc 900A using rfkill button (Fn+F2) it
does not get back into a working state without a reboot.

Reproducible: Always

Steps to Reproduce:
1. boot up eeepc900A with WLAN enabled
2. press Fn+F2 (rfkill button) to disable WLAN
3. press Fn+F2 again to enable WLAN
Actual Results:

-----
1. lspci before rfkill
01:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114
Gigabit or Fast Ethernet (rev b0)
02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless
Network Adapter (rev 01)
-----
2. lspci after rfkill
01:00.0 Ethernet controller: Attansic Technology Corp. Atheros
AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless
Network Adapter (rev ff)

======================================================================

The curious thing is that the lspci output is different for both the
wired and wireless cards.

Any ideas on why setting rfkill should change data in this way?

Thanks,

Larry






2010-04-22 19:52:33

by Bob Copeland

[permalink] [raw]
Subject: Re: Problem with AR5001 on eeepc900A after disable with RFKILL switch

On Tue, Apr 20, 2010 at 2:04 PM, Larry Finger <[email protected]> wrote:
> This problem is reported at
> https://bugzilla.novell.com/show_bug.cgi?id=595586.
>
> Although not mentioned in the bug report, the kernel is 2.6.33.
>
> The initial part of the report is as follows:
>
> ======================================================================
>
> After disabling WLAN on Asus eeepc 900A using rfkill button (Fn+F2) it
> does not get back into a working state without a reboot.
>
> Reproducible: Always
>
> Steps to Reproduce:
> 1. boot up eeepc900A with WLAN enabled
> 2. press Fn+F2 (rfkill button) to disable WLAN
> 3. press Fn+F2 again to enable WLAN
> Actual Results:
>
> -----
> 1. lspci before rfkill
> 01:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114
> Gigabit or Fast Ethernet (rev b0)
> 02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless
> Network Adapter (rev 01)
> -----
> 2. lspci after rfkill
> 01:00.0 Ethernet controller: Attansic Technology Corp. Atheros
> AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
> 02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless
> Network Adapter (rev ff)

Weird..

So it says 'Attansic' on the ethernet only after rfkill is
re-enabled? The 0xff revision on wifi makes slightly
more sense, if it's some issue like broken PCI config space
reads.

IIRC rfkill switch on those platforms cuts the bus power; I don't
think ath5k participates specifically. I assume the
eepc-laptop driver is loaded?

--
Bob Copeland %% http://www.bobcopeland.com