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> |
||
---|---|---|
.. | ||
cli | ||
ui | ||
__init__.py | ||
async.py | ||
configuration.py | ||
gtk.py | ||
i18n.py | ||
listener.py | ||
upower.py |