gandro/input-event-daemon

Unplugging USB device during monitor mode endup with infinite loop

Opened this issue · 1 comments

$ input-event-daemon -m input-event-daemon: Monitoring mode started. Press CTRL+C to abort. <-- USB device unplugged input-event-daemon: read(/dev/input/event8): No such device input-event-daemon: read(/dev/input/event8): No such device ....

While we're at it, plugging an USB device during monitor mode (i.e. after startup) does not let input-event-daemon show its events.

Other than that, this daemon is a neat idea.
One day, people may expect a cheap GUI, for example based on FLTK, to interactively setup the input-event-daemon.conf file.

Thank you, this is a known issue. However, to fix it properly I'll have to rewrite the code to make use of libudev, for which I haven't got time yet.