[ltp] Re: Fn+F5 woes again

Bjørn Mork linux-thinkpad@linux-thinkpad.org
Sun, 08 Nov 2009 20:35:56 +0100


Yves-Alexis Perez <corsac@debian.org> writes:
> On dim., 2009-11-08 at 10:08 +0100, Bjørn Mork wrote:
>> This is Debian specific, but I need to let some frustations out before
>> filing a bug.  Again...
>> 
>> Due to great help from Henrique and others in this forum, I've had Fn+F5
>> working the way I want it to for some time now (toggling bluetooth on
>> and off).  But it stops working with the Debian hal version 0.5.13-4,
>> and I can't find a way to get it working again except by downgrading to
>> 0.5.13-3 
>
> It might be X301 specific, because on my T61, using hal 0.5.13-4, Fn+F5
> works fine.

I got a hint from the hal maintainer to look at
  /usr/share/doc/udev/README.keymap.txt
which I don't have as I'm running the udev from lenny (0.125-7+lenny3 to
be exact).

But that might explain the difference.  Are you using udev from unstable?
Then I guess this is mostly a missing update of the hal dependency on
udev.  The newest version probably requires udev >= 146-?


> Well, in fact I'm remapping Fn+F5 to toggle bluetooth and Fn+F6 to
> toggle wlan, with:
>
> cat /etc/hal/fdi/policy/thinkpad-acpi.fdi
> <match key="info.product" string="ThinkPad Extra Buttons">
>   <append key="input.keymap.data" type="strlist">0x04:bluetooth</appe=
nd> <!-- Fn+F5 bluetooth -->
>   <append key="input.keymap.data" type="strlist">0x05:wlan</append> <=
!-- Fn+F6 wifi -->
> </match>
>
> and it works fine (with rfkill-input loaded, indeed)

I don't seem to have rfkill-input anymore, but there is something still
reacting to the rfkill...  That's another change I've been wondering
about: 

bjorn@nemi:~$ ls -l /lib/modules/2.6.31-1-amd64/kernel/net/rfkill/
total 44
-rw-r--r-- 1 root root 43997 2009-10-24 20:13 rfkill.ko

It's there in 2.6.30-2-amd64:

bjorn@nemi:~$ ls -l /lib/modules/2.6.30-2-amd64/kernel/net/rfkill/rfkill-input.ko 
-rw-r--r-- 1 root root 14001 2009-09-26 00:23 /lib/modules/2.6.30-2-amd64/kernel/net/rfkill/rfkill-input.ko

Are you still using an older kernel, or is my installation missing
something? 



Bjørn