Solaar/lib
Mauro Carvalho Chehab a4b7194490 listener: fix device registration logic
The "already_known" var actually doesn't track if the device was
already registered or not.

That causes race issues at Solaar, causing it to sometimes not
detect a device.

Change the logic to always call register_new_device if the
corresponding events happen, and updating already_known
to reflect it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-11 10:34:23 -03:00
..
hidapi Fix some bugs in udev.get_indexed_string. 2015-12-23 09:22:48 -05:00
logitech_receiver hidpp20.py: handle gracefully errors at REPROG_CONTROLS_V4 2017-09-10 22:53:19 -03:00
solaar listener: fix device registration logic 2017-09-11 10:34:23 -03:00