[ltp] Random rfkill toggling on an X201s

Nathaniel Smith linux-thinkpad@linux-thinkpad.org
Sat, 25 Jun 2011 11:34:57 -0700


--001485f85e50401fd204a68d9344
Content-Type: text/plain; charset=UTF-8

Hi all,

I just purchased a refurbished X201s and installed Ubuntu 11.04.
(Using their stock kernel, so "2.6.38-8-generic #42-Ubuntu"). It seems
to be running well, except, the kernel claims that I keep
intermittently flipping the RF kill switch on and off. This is a huge
pain, since every time it happens, I lose my wireless connection, have
to wait for it to reassociate, etc., and then sometimes it happens 10
times in an hour, so.... yeah.

I figure this is probably either some flaky hardware, or some kind of
kernel bug. Does anyone have any idea how to debug further?

I've attached the kernel log from one of these events. The timeline looks like:
22785.396656: wifi card notices that RF_KILL bit has been turned on
22785.447378: bluetooth transmitter disappears from the USB bus
22785.716392: thinkpad_acpi reports that rfkill has been enabled
22785.725497: thinkpad_acpi reports that rfkill has been disabled again
22785.815842: wifi card starts trying to do its thing
22786.126347: bluetooth transmitter reappears on the USB bus

So the whole thing is over in less than a second. The kernel seems to
believe that the hardware is at fault, since if I manage to run
'rfkill list' at the right moment, it says:
1: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: yes
10: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: yes

There seem to be two hardware rfkill controls -- a slider switch on
the left side of the case, and the Fn-F5 combo on the keyboard. The
slider seems fairly solid mechnically -- I tried jiggling it around to
trigger one of these events, but I can't; the only way I've managed to
turn off the radios is by flipping it all the way, and that's
definitely not happening during the phantom rfkill events. Shaking the
laptop doesn't seem to trigger any of these events either.

Is there some way to get more information out of the kernel on why it
thinks the rf kill switch is being flipped? I tried loading
thinkpad_acpi with debug=0xffff, but as you can see from the log, it
doesn't help much.

Alternatively, does anyone have any suggestions on what might be going
wrong hardware-wise? E.g., I could pull out the slider switch and
reseat it, but I don't know that that would help any...

Thanks,
-- Nathaniel

--001485f85e50401fd204a68d9344
Content-Type: text/plain; charset=US-ASCII; name="rfkill-log.txt"
Content-Dis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