Bug 10475

Summary: rfkill switch doesn't work for rt2500pci
Product: Drivers Reporter: Andrey Melentyev (andrey+kernel)
Component: network-wirelessAssignee: Ivo van Doorn (IvDoorn)
Status: RESOLVED OBSOLETE    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.26 Subsystem:
Regression: No Bisected commit-id:

Description Andrey Melentyev 2008-04-18 00:12:16 UTC
Latest working kernel version: 2.6.22 with driver installed from git

Earliest failing kernel version: 2.6.24

Distribution: Gentoo Linux

Hardware Environment: a laptop with miniPCI Wi-Fi card from Ralink:
00:06.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)

Software Environment: up-to-date gentoo ~x86 installation, 2.6.25 vanilla kernel

Problem Description:

rfkill switch doesn't work. My laptop has a hardware button which is designed to control Wi-Fi radio. When system boots with switch turned off, I still can connect to my Wi-Fi network. After pressing the button nothing changes, so I assume the button is not handled correctly. No debug messages or anything in dmesg when pressing the button.

Here's a part of kernel config:

# CONFIG_RTL8187 is not set
CONFIG_RT2X00=m
CONFIG_RT2X00_LIB=m
CONFIG_RT2X00_LIB_PCI=m
CONFIG_RT2X00_LIB_RFKILL=y
# CONFIG_RT2400PCI is not set
CONFIG_RT2500PCI=m
CONFIG_RT2500PCI_RFKILL=y

If it makes any sense, I've already complained about rfkill on my laptop at "RT2x00 BETA" forums: http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=4281 earlier. The problem was solved, but now I experience the same issue again. Maybe some changes that were made are now reverted?

What else information should I provide?
Comment 1 Ivo van Doorn 2008-07-02 07:31:29 UTC
Which RFKILL config options are enabled?
Do you have RFKILL_INPUT enabled?
Comment 2 Andrey Melentyev 2008-07-02 08:57:22 UTC
 $ zcat /proc/config.gz |grep RFKILL
CONFIG_RFKILL=m
CONFIG_RFKILL_INPUT=m
CONFIG_RT2X00_LIB_RFKILL=y
CONFIG_RT2500PCI_RFKILL=y
Comment 3 Alan 2013-12-19 13:52:51 UTC
If this is still seen with a modern kernel please update