You are not logged in.

#1 2009-10-29 10:39:05

mauritzius
Member
Registered: 2009-08-07
Posts: 26

ThinkPad rfkill / Fn+F5

Hey,

A few days ago I got a new ThinkPad X200 Tablet. One of the few annoyances is that the Software RFKill-Switch (Fn+F5) triggers only WLAN and not Bluetooth or WWAN.

How can I change this behaviour? I found an Ubuntu Bug with a similar problem, they fixed the problem with an ACPI support script: https://bugs.launchpad.net/ubuntu/karmi … bug/395358

How does that apply to Arch? I'd really like to toggle WWAN and Bluetooth instead of WLAN using the Software-Switch.

System:
Arch x86_64 with latest updates, kernel 2.6.31-ARCH.
WiFi-Card is Intel 5300, WWAN Ericsson F3507g.

Offline

#2 2009-10-29 13:01:02

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: ThinkPad rfkill / Fn+F5

I would write a script for acpid which parses the output of rfkill and blocks the appropriate device depending on the output.

Offline

#3 2009-10-29 13:07:25

mauritzius
Member
Registered: 2009-08-07
Posts: 26

Re: ThinkPad rfkill / Fn+F5

xduugu, thanks for your reply. I'll probably do that, but I'd like to know what triggers the deactivation of the WLAN card (enabling it again via script is not a very elegant solution...)? How can I check which part of the chain really disables the wireless card?

Offline

#4 2009-10-29 18:20:33

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: ThinkPad rfkill / Fn+F5

I meant to overwrite the default behavior by grabbing the event by acpid. However, I just noticed this button works for me too (never used it so far smile ), and therefore, I assume the event is handled by the thinkpad_acpi kernel module, just like ThinkLight, the mute button or the buttons for screen brightness.


edit: http://www.thinkwiki.org/wiki/Thinkpad-acpi#Hotkeys

Last edited by xduugu (2009-10-29 18:22:19)

Offline

#5 2009-10-29 18:23:45

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: ThinkPad rfkill / Fn+F5

did it work by default?


Mikes on AUR

Offline

#6 2009-10-31 13:24:53

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

Re: ThinkPad rfkill / Fn+F5

Hi!

I have also an X200(s) and encounter the same problem. Should we really edit the thinkpad_acpi configuration in order to sync Fn+F5 effect between WLan, WWan, BT?

Cheers

Offline

#7 2009-11-02 20:18:43

mauritzius
Member
Registered: 2009-08-07
Posts: 26

Re: ThinkPad rfkill / Fn+F5

The hotkey is already trapped and reported as an ACPI event, but WiFi is nevertheless toggled.
I just found a nice rfkill-applet[1] in Python, I will give that a try (although it is in a very early development stage).

When run manually, it works for me (using the DBUS/HAL approach), but I have yet to figure out what I am doing wrong when adding it to the panel.

[1]http://gitorious.org/sony-laptop-zseries/rfkill-applet

Offline

Board footer

Powered by FluxBB