You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To debug this, I have added this code to main-daemon.c right before the assert statement:
if (r!=LIBEVDEV_READ_STATUS_SUCCESS) {
errno=-r;
perror("libevdev_next_event");
}
here is the output:
sudo ./illum-d<6>using /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight as a backlight<6>using /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input0/event0 as an input dev<6>using /sys/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6.4/3-6.4.4/3-6.4.4.1/3-6.4.4.1:1.1/0003:046D:C548.000D/input/input34/event4 as an input dev<6>using /sys/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6.4/3-6.4.4/3-6.4.4.2/3-6.4.4.2:1.2/0003:04D9:A131.0010/input/input39/event9 as an input dev<6>using /sys/devices/platform/INTC1051:00/input/input13/event12 as an input dev<6>using /sys/devices/platform/thinkpad_acpi/input/input17/event16 as an input devlibevdev_next_event: No such deviceillum-d: main-daemon.c:474: evdev_cb: Assertion `r == LIBEVDEV_READ_STATUS_SUCCESS' failed.Aborted
Apparently, libevdev_next_event really does report other errors than the three values mentioned in the documentation.
The text was updated successfully, but these errors were encountered:
avdv
added a commit
to avdv/illum
that referenced
this issue
Mar 12, 2022
Hi.
I have a laptop with a secondary monitor and keyboard connected through a USB C dock. As soon as I unplug the cable, the illum daemon crashes:
To debug this, I have added this code to
main-daemon.c
right before the assert statement:here is the output:
Apparently,
libevdev_next_event
really does report other errors than the three values mentioned in the documentation.The text was updated successfully, but these errors were encountered: