mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-24 19:25:07 -04:00
HID: sensors: autodetect USB HID sensor hubs
It should not be necessary to add IDs for HID sensor hubs to lists in hid-core.c and hid-sensor-hub.c. So instead of a whitelist, autodetect such USB HID sensor hubs, based on a collection of type physical inside a useage page of type sensor. If some sensor hubs stil must be usable as raw devices, a blacklist might be created. Signed-off-by: Alexander Holler <holler@ahsoftware.de> Acked-by: "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
committed by
Jiri Kosina
parent
1a1e8c6fad
commit
83499b52c6
@@ -19,7 +19,6 @@
|
||||
#ifndef _HID_SENSORS_IDS_H
|
||||
#define _HID_SENSORS_IDS_H
|
||||
|
||||
#define HID_UP_SENSOR 0x00200000
|
||||
#define HID_MAX_PHY_DEVICES 0xFF
|
||||
|
||||
/* Accel 3D (200073) */
|
||||
|
||||
Reference in New Issue
Block a user