- src/evdev.c | 4 ++++
- src/udev-seat.c | 1 +
- 2 files changed, 5 insertions(+)
- diff --git a/src/evdev.c b/src/evdev.c
- index d792e8aa..3dff9326 100644
- --- a/src/evdev.c
- +++ b/src/evdev.c
- @@ -2246,6 +2246,7 @@ evdev_device_create(struct libinput_seat *seat,
- evdev_drain_fd(fd);
- + log_info(libinput, "[libinput] libevdev_new_from_fd(%s)\n", devnode);
- rc = libevdev_new_from_fd(fd, &device->evdev);
- if (rc != 0)
- goto err;
- @@ -2284,14 +2285,17 @@ evdev_device_create(struct libinput_seat *seat,
- evdev_pre_configure_model_quirks(device);
- device->dispatch = evdev_configure_device(device);
- + log_info(libinput, "[libinput] evdev_configure_device\n");
- if (device->dispatch == NULL || device->seat_caps == 0)
- goto err;
- device->source =
- libinput_add_fd(libinput, fd, evdev_device_dispatch, device);
- + log_info(libinput, "[libinput] libinput_add_fd\n");
- if (!device->source)
- goto err;
- + log_info(libinput, "[libinput] evdev_set_device_group\n");
- if (!evdev_set_device_group(device, udev_device))
- goto err;
- diff --git a/src/udev-seat.c b/src/udev-seat.c
- index 20a3f027..f204aa5d 100644
- --- a/src/udev-seat.c
- +++ b/src/udev-seat.c
- @@ -119,6 +119,7 @@ device_added(struct udev_device *udev_device,
- return -1;
- }
- + log_info(&input->base, "[libinput] evdev_device_create\n");
- device = evdev_device_create(&seat->base, udev_device);
- libinput_seat_unref(&seat->base);
libinput patch
By: Guest | Date: May 19 2021 17:45 | Format: None | Expires: never | Size: 1.42 KB | Hits: 463
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago