aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-04-23 12:07:03 +0200
committerJiri Kosina <jkosina@suse.cz>2012-05-01 12:54:54 +0200
commit734c660931095ae165c0db6ff60558fc4173bfd0 (patch)
treee56f9e51a034c4fb0c9b89a903b64c41b050d1d3 /scripts
parentHID: Add device group to modalias (diff)
downloadlinux-dev-734c660931095ae165c0db6ff60558fc4173bfd0.tar.xz
linux-dev-734c660931095ae165c0db6ff60558fc4173bfd0.zip
HID: Scan the device for group info before adding it
In order to allow the report descriptor to influence the hid device properties, one needs to parse the descriptor early, without reference to any driver. Scan the descriptor for group information during device add, before the device has been broadcast to userland. The device modalias will contain group information which can be used to differentiate between modules. For starters, just handle the generic group. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions