diff options
author | José Expósito <[email protected]> | 2022-12-26 13:54:52 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2023-01-18 09:44:57 +0100 |
commit | a251d6576d2a29fc0806ef4775719e3b6e672d91 (patch) | |
tree | dc01207f77f9300469c0ca9f7e8916a3e7bfd178 /drivers/usb/cdns3/cdns3-debug.h | |
parent | bd85c131b2e3edf2cf1a498652e8c3a066a338e7 (diff) |
HID: uclogic: Handle wireless device reconnection
UGEEv2 tablets with battery can be connected using a USB cable or a USB
Bluetooth dongle.
When the Bluetooth dongle is used, the connection to that tablet can be
lost because the tablet is out of the range of the receiver or because
it was switched off using the switch placed in the back of the tablet's
frame.
After losing connection, the tablet is able to reconnect automatically
and its firmware sends a special packet indicating that the device was
reconnected. In response to this packet, the tablet needs to receive the
same array of magic data it expects on probe to enable its interfaces.
This patch implements a generic mechanism to hook raw events and
schedule a work to perform any custom action.
Tested-by: Mia Kanashi <[email protected]>
Tested-by: Andreas Grosse <[email protected]>
Signed-off-by: José Expósito <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions