diff options
author | Matthew Garrett <mjg@redhat.com> | 2009-06-01 15:25:45 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-06-17 23:46:31 -0400 |
commit | 871043bc463e7d191e7b5b00436a8852921dd833 (patch) | |
tree | 2e386de106434ec6fe3728077a56824b64f1a440 /drivers/pnp/pnpacpi/rsparser.c | |
parent | db18b040af6571a7eeed9e1adc2e92c9c87e4b1a (diff) |
hp-wmi: Add support for reporting tablet state
HP tablets send a WMI event when a tablet state change occurs, but use the
same method as is used for reporting docking and undocking. The same query
is used to obtain the state of the hardware. Bit 0 indicates the docking
state, while bit 2 indicates the tablet state. This patch breaks these out
and sends separate input events for tablet and dock state changes. An
additional sysfs file is added to report the tablet state.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/pnpacpi/rsparser.c')
0 files changed, 0 insertions, 0 deletions