Matthew Mirvish
e7d041d258
elanspi: add 04f3:241f
...
Reported as working with this config in
https://github.com/mincrmatt12/elan-spi-fingerprint/issues/11 .
2022-05-08 18:32:29 -04:00
mincrmatt12
5beac0ded7
elanspi: Try to avoid cancellation problems
2021-12-23 05:35:38 +00:00
mincrmatt12
7565562903
elanspi: Adjust register tables ( fixes #438 )
...
New values taken from a newer version of the official driver.
2021-12-22 00:20:57 -05:00
Matthew Mirvish and Marco Trevisan (Treviño)
0b37a36874
doc: Fix broken documentation for FpiDeviceUdevSubtypeFlags enum
...
Added description and fixed incorrect name in comment, so now gtkdoc
actually shows useful information.
2021-12-14 19:33:41 +01:00
Matthew Mirvish
a033154b2e
doc: Fix broken documentation for FpiDeviceUdevSubtypeFlags enum
...
Added description and fixed incorrect name in comment, so now gtkdoc
actually shows useful information.
2021-11-15 17:10:44 -05:00
Matthew Mirvish and Benjamin Berg
059ab65081
tests: Add capture test for elanspi
2021-06-23 20:42:52 +00:00
Matthew Mirvish and Benjamin Berg
0697191387
tests: Allow multiple mock devices per driver
...
Instead of only loading `DRIVER/device`, now we also load all files
matching device-*[!~] in the DRIVER folder..
2021-06-23 20:42:52 +00:00
Matthew Mirvish and Benjamin Berg
8be666bb05
elanspi: Permit running in emulated environment
...
This removes the HID reset, which we cannot emulate currently and also
disabes the line timeout to as simulation might run too slowly at times.
2021-06-23 20:42:52 +00:00
Matthew Mirvish and Benjamin Berg
019a294ec4
elanspi: Add driver supporting various ELAN SPI sensors
...
Closes : #339
2021-06-23 20:42:52 +00:00
Matthew Mirvish and Benjamin Berg
f6e80456d9
ci: Add gudev to dependencies
2021-06-23 20:42:52 +00:00
Matthew Mirvish
a3f568db3d
fp-context: Check hidraw VID/PID with udev instead of an ioctl
...
Previously, we checked hidraw devices against drivers by using the
HIDIOCGRAWINFO ioctl. While this works, it's not ideal for doing unit
tests since umockdev would have to implement hidraw ioctls.
The new approach uses the HID_ID property on the parent hid device,
which contains the VID/PID pair.
2021-06-21 13:39:24 -04:00
Matthew Mirvish
07778f6bfa
upeksonly: fix double free in usb transfer cbs
...
Some USB transfer callbacks in this driver were freeing their transfer
buffer in their callbacks, which causes a double free since the transfer
itself frees them afterwards. Probably just got missed during the V2 api
changes.
2021-04-11 07:25:48 -04:00
Matthew Mirvish and Benjamin Berg
b0d9d00762
Add support for udev based device discovery
...
This is primarily useful for SPI devices. These devices sometimes needs
a combination of an SPI and HID device, so discovery is a bit more
complicated.
2021-04-08 17:08:53 +02:00