]> git.hungrycats.org Git - linux/commit
[PATCH] Add P1/P2 programmable keys to the sonypi driver.
authorAndrew Morton <akpm@osdl.org>
Fri, 6 Feb 2004 00:53:26 +0000 (16:53 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 6 Feb 2004 00:53:26 +0000 (16:53 -0800)
commitb2f1acfe21defa8ad006f591709c0a8c910f90bb
tree28ddca5967f86c25691c6c7dfb73f221102a9497
parent3dbc46206cb35e05d68c7a1a0ad5d4246cab8418
[PATCH] Add P1/P2 programmable keys to the sonypi driver.

From: Stelian Pop <stelian@popies.net>

This patch enables sonypi to successfully report P1/P2 programmable keys
events on Sony Vaio Z1 laptops.

Note however that sonypi is unable to distinguish between the two events,
both of them will be reported as SONYPI_EVENT_PKEY_P1, but one event is
better than zero, so there it is.
drivers/char/sonypi.h