Closed po1vo closed 2 years ago
@garbear , thanks. Also please backport this PR to Matrix.
@po1vo will do when I get a chance. my plane leaves for vegas in 4 hours and I haven't slept sooo... might be a while
No joke, that trip took some time to recover from. Spiritually, financially, ethically... Anyways I backported your patch: https://github.com/xbmc/peripheral.joystick/pull/238.
I've tagged a new Nexus version and kicked off some builds. New versions should be available tonight in the repo.
I discovered a bug where Kodi keeps opening a joystick device until the number of open file descriptors reaches the kernel limit ("Too many open files").
E.g.:
The "joystick" in question:
I must admit i didn't investigate what part of code kept opening the device, but my patch fixes the problem of leaving FDs open.