Skip to content
Commit a4c724d0 authored by Giedrius Statkevicius's avatar Giedrius Statkevicius Committed by Darren Hart
Browse files

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: default avatarGiedrius Statkevičius <giedriuswork@gmail.com>
Acked-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: default avatarÉric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent ed78bb84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment