Summary: | Support more than just USB devices | ||
---|---|---|---|
Product: | libfprint | Reporter: | Bastien Nocera <bugzilla> |
Component: | libfprint | Assignee: | libfprint-bugs |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | bugzilla |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
lib: Add new bus types for drivers
lib: Simplify device discovery lib: Rename USB-specific discovery functions lib: Add new bus types for drivers lib: Add new bus types for drivers lib: Simplify device discovery lib: Rename USB-specific discovery functions lib: Rename all instances of "udev" to "usb_dev" |
Description
Bastien Nocera
2018-04-27 12:19:51 UTC
Created attachment 139168 [details] [review] lib: Add new bus types for drivers Add a way for drivers to declare they support a bus type other than USB. We have declarations for I2C and virtual drivers, though no discovery is done just yet. Created attachment 139169 [details] [review] lib: Simplify device discovery Use GPtrArray instead of open-coding a NULL terminated array. Created attachment 139170 [details] [review] lib: Rename USB-specific discovery functions Created attachment 139174 [details] [review] lib: Add new bus types for drivers Add a way for drivers to declare they support a bus type other than USB. We have declarations for SPI and virtual drivers, though no discovery is done just yet. Created attachment 139492 [details] [review] lib: Add new bus types for drivers Add a way for drivers to declare they support a bus type other than USB. We have declarations for SPI and virtual drivers, though there's no device discovery implemented yet. Created attachment 139493 [details] [review] lib: Simplify device discovery Use GPtrArray instead of open-coding a NULL terminated array. Created attachment 139494 [details] [review] lib: Rename USB-specific discovery functions Created attachment 139495 [details] [review] lib: Rename all instances of "udev" to "usb_dev" Because otherwise it's going to get really confusing when we add udev-based device discovery. Comment on attachment 139495 [details] [review] lib: Rename all instances of "udev" to "usb_dev" The API to access the "udev" is called: fpi_dev_get_usb_dev() and fpi_imgdev_get_usb_dev() depending on the type of driver. Comment on attachment 139493 [details] [review] lib: Simplify device discovery Attachment 139493 [details] pushed as db34837 - lib: Simplify device discovery -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/libfprint/libfprint/issues/44. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.