[ltp] Re: Fn+F5 woes again

Yves-Alexis Perez linux-thinkpad@linux-thinkpad.org
Sun, 08 Nov 2009 23:13:11 +0100


--=-nwrbcJqSxU+ynhqlRKZj
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On dim., 2009-11-08 at 20:35 +0100, Bj=C3=B8rn Mork wrote:
> Yves-Alexis Perez <corsac@debian.org> writes:
> > On dim., 2009-11-08 at 10:08 +0100, Bj=C3=B8rn Mork wrote:
> >> This is Debian specific, but I need to let some frustations out
> before
> >> filing a bug.  Again...
> >>=20
> >> 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=20
> >
> > It might be X301 specific, because on my T61, using hal 0.5.13-4,
> Fn+F5
> > works fine.
>=20
> 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).

Uh, then yes, maybe the unconsistent install explains it. I run full
unstable here.
>=20
> 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 >=3D 146-?
>=20
>=20
> > 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=3D"info.product" string=3D"ThinkPad Extra Buttons">
> >   <append key=3D"input.keymap.data"
> type=3D"strlist">0x04:bluetooth</append> <!-- Fn+F5 bluetooth -->
> >   <append key=3D"input.keymap.data" type=3D"strlist">0x05:wlan</append>
> <!-- Fn+F6 wifi -->
> > </match>
> >
> > and it works fine (with rfkill-input loaded, indeed)
>=20
> 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:=20
>=20
> 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
>=20
> It's there in 2.6.30-2-amd64:
>=20
> bjorn@nemi:~$ ls -l
> /lib/modules/2.6.30-2-amd64/kernel/net/rfkill/rfkill-input.ko=20
> -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
>=20
> Are you still using an older kernel, or is my installation missing
> something?=20
No, you're right, I don't have any rfkill-input, but I guess rfkill does
the job. Not exactly sure

--=20
Yves-Alexis

--=-nwrbcJqSxU+ynhqlRKZj
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkr3QnMACgkQTUTAIMXAW659WwCeNWcHwIoVlqFamyPF160EvL0Y
a/cAoKofiBif5vfYh57P+iLVRYw1kGCB
=is5v
-----END PGP SIGNATURE-----

--=-nwrbcJqSxU+ynhqlRKZj--