Solaar/lib/solaar
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
..
cli Add support for CLI show to display High Res Wheel settings 2017-09-10 21:44:30 -03:00
ui ui: notify.py: disable python Notify extension 2017-09-11 07:02:48 -03:00
__init__.py release 0.9.2 2013-07-24 11:40:54 +02:00
async.py use Gtk.Application properly 2013-08-08 21:49:35 +02:00
configuration.py added copyright notices to all source files 2013-07-15 17:54:42 +02:00
gtk.py Fix "Gtk was imported without specifying a version first" 2016-03-14 11:33:05 +01:00
i18n.py internationalized most strings; fixes #79 2013-07-17 19:53:21 +02:00
listener.py listener: fix device registration logic 2017-09-11 10:34:23 -03:00
upower.py don't rely on upower to check devices after wake-up (#111) 2013-08-12 15:22:34 +02:00