If ath5k is removed then rfkill finds no device to unblock. The second solution you provided does not help (does nothing).
My case is indeed kind of special. The laptop is a Toshiba P10-792. These laptops do not have wireless by default and do not have a wireless switch (other than the keyboard Fn-F8 which does nothing). The laptop has a free internal mini pci slot and the wireless was optional. So I bought such a wireless card kit and installed it myself. As long as I could compile ath_pci, the rfkill option at load time always did the trick. By the way, Windows were never able to use the card because I found no way to pass an rfkill option. But of course I do not care about Windows, I practically never use them.
Some time ago I could no longer compile ath_pci. I "discovered" ath5k but had no rfkill option. The rfkill program does not help, so I am at dead end.
The minipci atheros card is supposed to be a good quality card. Not a cheap one.
I copy bellow the results of dmesg | grep ath
Maybe I should talk to ath5k developers if I can find them... Maybe someone knows who develops this module? Because since the code from ath_pci worked I can not imagine that it is difficult to include a patch to ath5k...
thank you for any help you can provide. dmesg follows.
- Code: Select all
# dmesg | grep ath
ath5k 0000:02:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ath5k 0000:02:02.0: registered as 'phy0'
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
ath5k phy0: RF5112B multiband radio found (0x36)
ath5k 0000:02:02.0: PCI INT A disabled
lspci output:
- Code: Select all
02:02.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
lspcidrake output:
- Code: Select all
ath5k : Atheros Communications Inc.|Atheros AR5001X+ Wireless Network Adapter [NETWORK_ETHERNET] (rev: 01)