diff options
author | 2023-05-28 10:24:27 +0100 | |
---|---|---|
committer | 2023-08-14 11:12:56 +0200 | |
commit | 666cf30a589a00d89c3775e27a698a2370cbe3db (patch) | |
tree | 9743a959dab17ef13ec24cd93c9f78fe652a9615 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'for-linus-2023071101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | wireguard-linux-666cf30a589a00d89c3775e27a698a2370cbe3db.tar.xz wireguard-linux-666cf30a589a00d89c3775e27a698a2370cbe3db.zip |
HID: sensor-hub: Allow multi-function sensor devices
The Lenovo Yoga C630 has a combined keyboard and accelerometer that
interfaces via i2c-hid. Currently this laptop either has a working
keyboard (if CONFIG_HID_SENSOR_HUB is disabled) or a working accelerometer.
only works on kernels. Put another way, most distro kernels enable
CONFIG_HID_SENSOR_HUB and therefore cannot work on this device since the
keyboard doesn't work!
Fix this by providing a richer connect mask during the probe. With this
change both keyboard and screen orientation sensors work correctly.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Srinivas Pandruvada<srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions