Marco Trevisan (Treviño)
eeddd8c7bc
fp-context, tools: Use auto-ptr to handle GTypeClass ownership
...
This also fixes a small leak we might have if reffing a type that was not a
virtual one.
2019-12-14 17:20:45 +01:00
Marco Trevisan (Treviño)
09576e5209
fpi-context: Make fpi_get_driver_types to return an array
...
No need to create one all the times and the fill it with what we need.
2019-12-14 16:57:11 +01:00
Benjamin Berg
7a4dd96406
udev-rules: Remove debug spew from udev rules
...
Some debug output was ending up inside the udev rules. Remove it again.
2019-11-22 17:07:56 +01:00
Marco Trevisan (Treviño)
d1fb1e26f3
Uncrustify everything except for nbis
2019-11-20 20:38:06 +01:00
Benjamin Berg
689aff0232
lib: Major rewrite of the libfprint core and API
...
This is a rewrite of the core based on GObject and Gio. This commit
breaks the build in a lot of ways, but basic functionality will start
working again with the next commits.
2019-11-20 11:03:09 +01:00
Igor Filatov
fba3e682ea
elan: Remove supported devices from udev whitelist
2018-08-09 14:45:15 +02:00
Hans de Goede
d35da0ce99
fprint-list-udev-rules: Add some unsupported Validity Sensors readers to the whitelist
2017-12-12 10:51:43 +01:00
Hans de Goede
041e6a1078
fprint-list-udev-rules: Add some unsupported Elantech readers to the whitelist
2017-12-12 10:51:43 +01:00
Hans de Goede
1c73c36ed7
fprint-list-udev-rules: Remove white-list entries which have a driver now
...
Remove 2 entries from the whitelist for finger-print models for which
we have a driver now, so they no longer need to be on the whitelist.
2017-12-12 10:51:43 +01:00
Bastien Nocera
487dae0d2f
Work-around kernel's lack of USB PM
...
The device is already supported by the vfs5011 driver and non-
blacklisted, so will show up in the udev rules, but for ease of
backporting to older versions, add it to the whitelist anyway.
https://bugzilla.redhat.com/show_bug.cgi?id=1173367
2016-04-12 16:39:39 +02:00
Bastien Nocera
f1fdd71613
rules: Add driver name to the USB properties
...
Makes it easier to see which driver is being used.
2015-03-15 23:13:08 +01:00
Rex Dieter
79d79c3c87
lib: Test before applying power saving udev rules
...
add TEST=="power/control"... to test for the presence of the file
before setting it.
See https://bugzilla.redhat.com/show_bug.cgi?id=950205
https://bugs.freedesktop.org/show_bug.cgi?id=87414
2015-01-28 16:28:57 +01:00
Bastien Nocera
c14ebd8b63
Add MS keyboard to the suspend blacklist
...
045e:00bb isn't a stand-alone fingerprint reader, but a keyboard
with a reader integrated.
https://bugs.freedesktop.org/show_bug.cgi?id=66659
2013-07-25 12:29:53 +02:00
Bastien Nocera
a6339a30ef
Fix udev rules printing
...
The blacklisted devices weren't correctly checked for past the first
item, as we weren't using the right index to get the product ID
from the ID table.
2013-07-25 12:29:29 +02:00
Bastien Nocera
132b178304
lib: Add driver names to the udev rules
2012-08-28 20:02:17 +01:00
Bastien Nocera
dfff16f3e3
Don't print duplicate udev rules
...
https://bugs.freedesktop.org/show_bug.cgi?id=45513
2012-02-02 05:28:17 +00:00
Matthew Garrett
48ec64f683
Fix udev control path
...
Newer kernels uses power/control for USB suspend setup, not power/level.
Fix the udev rules generation.
2011-10-04 15:11:08 +01:00
Matthew Garrett
a99e813bbf
Add udev rules to set devices to autosuspend
...
Most fingerprint readers can be suspended safely, so use
the udev rules to autosuspend them when they appear.
The script itself contains whitelists and blacklists.
2010-08-17 11:35:26 +01:00