diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-09-30 19:18:32 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-10-29 10:51:41 +0100 |
commit | c39e3d5fc9dd3e16c6f59dd94d827540040de66d (patch) | |
tree | 289479d7963ecd9dcfac5b618faf776557f99abc /drivers/hid/hid-axff.c | |
parent | HID: logitech-dj: enable notifications on connect/disconnect (diff) | |
download | linux-c39e3d5fc9dd3e16c6f59dd94d827540040de66d.tar.xz linux-c39e3d5fc9dd3e16c6f59dd94d827540040de66d.zip |
HID: logitech-hidpp: late bind the input device on wireless connection
Now that the receiver forwards the connect/disconnect events, we can
know when the device is available to communicate with us.
When it is ready, we can for instance retrieve its full name, which
guarantee that we always have the same name for the DJ device (the DJ
name is somewhat shorter than the HID++ name).
This mechanism is mandatory for the touchpads line, which has the
min/max information stored in the device. This information can only
be retrieved when the device is connected. So we can not populate
the input device until we are sure that the device is connected.
This patch creates a new input device for such devices. However,
this input is not bound to hid directly, so the various drivers
which wants to use it are required to process completely the
incoming reports in .raw_event().
Note that the patch in itself just adds the bits for the next
ones, and this feature is disabled by default.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-axff.c')
0 files changed, 0 insertions, 0 deletions