ath6kl_sdio blocked by RFKILL
Have built the ath6kl_sdio driver for an Cortex-A5 chip using the linux-3.6.9 kernel File system built using Yocto and Busybox RF-Kill.
Kernel Config contains:
CONFIG_RFKILL=mCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=y
# CONFIG_RFKILL_GPIO is not set
When I do
# ifconfig wlan0 up.
I get the error message:
ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill
If I run "rfkill list" I get
1: phy1: wlan
Soft blocked: yes
Hard blocked: no
If I try to unblock using "rfkill unblock all" or "wifi" or "wlan", the soft block remains.
Any clues?
Looking through the Busybox rfkill code, this seems to generate an event. What is supposed to react to this?
Could there be a rule, which is missing?
BR
Ulf Samuelsson
Quoted 21 lines · Ulf Samuelsson
Have built the
ath6kl_sdiodriver for an Cortex-A5 chip using the linux-3.6.9 kernel
File system built using Yocto and Busybox RF-Kill.Kernel Config contains:
CONFIG_RFKILL=mCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=y
#CONFIG_RFKILL_GPIOis not setWhen I do
# ifconfig wlan0 up.I get the error message:
ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill
If I run "rfkill list" I get
Quoted 7 lines
1: phy1: wlan
Soft blocked: yes
Hard blocked: noIf I try to unblock using "rfkill unblock all" or "wifi" or "wlan", the soft block remains.
Have you tried "rfkill unblock 1"?
Signature · 1 line
Kalle Valo
Quoted 23 lines · Kalle Valo
Quoted 21 lines · Ulf Samuelsson
Have built the
ath6kl_sdiodriver for an Cortex-A5 chip using the linux-3.6.9 kernel
File system built using Yocto and Busybox RF-Kill.Kernel Config contains:
CONFIG_RFKILL=mCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=y
#CONFIG_RFKILL_GPIOis not setWhen I do
# ifconfig wlan0 up.I get the error message:
ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill
If I run "rfkill list" I get
Quoted 9 lines
Quoted 7 lines
1: phy1: wlan
Soft blocked: yes
Hard blocked: noIf I try to unblock using "rfkill unblock all" or "wifi" or "wlan", the soft block remains.
Have you tried "rfkill unblock 1"?
Yes, I have now been able to reproduce on another board.
The System has an MMC connector, and if I boot with my SD51 SDIO card in the connector, then
"rfkill unblock <x>"
won't work, with x = {all,wifi,1 ...}
If I boot without the SD51 card beeing inserted, and then insert if after theboot has been completed, then rfkill works as expected.
The MMC host driver is built as a module, maybe it shouldn't.
BR
Ulf Samuelsson