[ltp] Re: Bluetooth button not working after installing Debian 2.6.29 kernel

Yves-Alexis Perez linux-thinkpad@linux-thinkpad.org
Sat, 18 Apr 2009 11:19:37 +0200


--=-tLqm7rY/5vw80u1wQIF4
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On ven, 2009-04-17 at 23:06 -0300, Henrique de Moraes Holschuh wrote:
> > the hal un(der)-documented magic, while I do have a nicely working setu=
p
> > based on acpid.  Adding the above will make that continue to work with
> > CONFIG_ACPI_PROC_EVENT disabled.
>=20
> Hal already HAS .fdi files to do such remappings, just look at
> /usr/share/hal/fdi/./information/10freedesktop/30-keymap-module-thinkpad-=
acpi.fdi,
> modify to taste, and place it wherever in /etc hal wants it to override
> its defaults.

The fdi file currently shipped use:

<append key=3D"input.keymap.data" type=3D"strlist">0x04:radio</append> <!--
Fn+F5 wifi -->

which doesn't seem right. I've replaced it by:

<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 -->

And they successfully show in xev. (keycodes 245 and 246). But they are
not really useful from X pov anyway, I don't really know a way to toggle
bluetooth and wifi from a desktop environnement. At the time acpid
replied, I used a script to toggle using rf_kill stuff but I'm a bit
lost now.

Cheers,
--=20
Yves-Alexis

--=-tLqm7rY/5vw80u1wQIF4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

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

iEYEABECAAYFAknpmykACgkQTUTAIMXAW64igACdEjYqSR6vexwib1eZgQgXyQ+e
S6QAoIt6P+EW8wFpV2mDlUMSKgwttqR8
=tAM3
-----END PGP SIGNATURE-----

--=-tLqm7rY/5vw80u1wQIF4--