gandro / input-event-daemon

input event handling daemon for linux (unmaintained)
38 stars 13 forks source link

Unplugging USB device during monitor mode endup with infinite loop #1

Open fillods opened 13 years ago

fillods commented 13 years ago

$ 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.

gandro commented 13 years ago

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.