mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-21 16:39:39 +00:00
dde_linux: USB-client driver for HID version 4.16
This commit is contained in:
committed by
Christian Helmuth
parent
b02f483841
commit
b32a3cd4d9
22
repos/dde_linux/patches/usb_hid_evdev.patch
Normal file
22
repos/dde_linux/patches/usb_hid_evdev.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
|
||||
index c81c79d..c75bd8d 100644
|
||||
--- a/drivers/input/evdev.c
|
||||
+++ b/drivers/input/evdev.c
|
||||
@@ -1425,6 +1425,7 @@ static int evdev_connect(struct input_handler *handler, struct input_dev *dev,
|
||||
if (error)
|
||||
goto err_cleanup_evdev;
|
||||
|
||||
+ evdev_open_device(evdev);
|
||||
return 0;
|
||||
|
||||
err_cleanup_evdev:
|
||||
@@ -1456,8 +1457,7 @@ static const struct input_device_id evdev_ids[] = {
|
||||
MODULE_DEVICE_TABLE(input, evdev_ids);
|
||||
|
||||
static struct input_handler evdev_handler = {
|
||||
- .event = evdev_event,
|
||||
- .events = evdev_events,
|
||||
+ .event = genode_evdev_event,
|
||||
.connect = evdev_connect,
|
||||
.disconnect = evdev_disconnect,
|
||||
.legacy_minors = true,
|
Reference in New Issue
Block a user