2016-05-18 16:51:11 +00:00
|
|
|
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
|
|
|
|
index e9ae3d5..edd0b4f 100644
|
2014-06-02 11:50:17 +00:00
|
|
|
--- a/drivers/input/evdev.c
|
|
|
|
+++ b/drivers/input/evdev.c
|
2016-05-18 16:51:11 +00:00
|
|
|
@@ -1425,6 +1425,9 @@ static int evdev_connect(struct input_handler *handler, struct input_dev *dev,
|
2012-05-24 19:31:02 +00:00
|
|
|
if (error)
|
|
|
|
goto err_cleanup_evdev;
|
|
|
|
|
|
|
|
+ evdev_open_device(evdev);
|
|
|
|
+ dev_info(evdev, "%s\n", dev->name);
|
|
|
|
+
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
err_cleanup_evdev:
|
2016-05-18 16:51:11 +00:00
|
|
|
@@ -1457,8 +1460,7 @@ static const struct input_device_id evdev_ids[] = {
|
2012-05-24 19:31:02 +00:00
|
|
|
MODULE_DEVICE_TABLE(input, evdev_ids);
|
|
|
|
|
|
|
|
static struct input_handler evdev_handler = {
|
|
|
|
- .event = evdev_event,
|
2013-04-17 15:58:46 +00:00
|
|
|
- .events = evdev_events,
|
2012-05-24 19:31:02 +00:00
|
|
|
+ .event = genode_evdev_event,
|
|
|
|
.connect = evdev_connect,
|
|
|
|
.disconnect = evdev_disconnect,
|
2013-04-17 15:58:46 +00:00
|
|
|
.legacy_minors = true,
|