[ltp] T520 volume keys [Solved]

Ole Langbehn linux-thinkpad@linux-thinkpad.org
Tue, 10 May 2011 00:10:15 +0200


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8DA4F26100CCAC3E55BB13ED
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi list,

to wrap it all up:

Volume buttons on the T520 don't send ACPI events, but noral key events
(XF86AudioLowerVolume, XF86AudioRaiseVolume). I got them working nicely
under xmonad by adding these key bindings:

, ((0, 0x1008FF11), spawn "amixer -- sset Master playback 8%-")
, ((0, 0x1008FF13), spawn "amixer -- sset Master playback 8%+")

For more information see e.g.:

https://wiki.archlinux.org/index.php/Extra_Keyboard_Keys

Thanks for your help with this issue.

Regards,

Ole


--------------enig8DA4F26100CCAC3E55BB13ED
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk3IZkcACgkQoxgU3D8/uhHFRACfXMvYPc6bYddMzTFRATa3lWkp
lRUAnjf7sdA7Br8+jHW0eVgldgXK/Idg
=6GQO
-----END PGP SIGNATURE-----

--------------enig8DA4F26100CCAC3E55BB13ED--