platform: hp_accel: add a i8042 filter to remove HPQ6000 data from kb bus stream
authorGiedrius Statkevicius <giedriuswork@gmail.com>
Thu, 30 Oct 2014 16:57:47 +0000 (18:57 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 7 Nov 2014 18:37:03 +0000 (10:37 -0800)
commita4c724d0723b078e4ab4670e557cda1795036a7a
tree209e1ba0ed1f18d6e83099c0f1894b105a5df487
parented78bb846e8bc1a8589fa6e0d9bf2b0f518893d5
platform: hp_accel: add a i8042 filter to remove HPQ6000 data from kb bus stream

Add a i8042 filter to hp_accel to remove accelerometer's data with acpi
id HPQ6000 from keyboard bus stream. The codes sent by accelerometer are
e0 25, e0 26, e0 27 and e0 28. The relevant information is already
passed through /dev/freefall so no need to send these undocumented weird
signals through the keyboard bus. Also, unclogs `dmesg` because atkbd
complained about weird scan codes, saves processing power and disk
space.

Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/hp_accel.c
This page took 0.034851 seconds and 5 git commands to generate.