add goodix 6512 support
This commit is contained in:
24
goodix-6512.patch
Normal file
24
goodix-6512.patch
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
|
||||||
|
index d27813b..8fee711 100644
|
||||||
|
--- a/data/autosuspend.hwdb
|
||||||
|
+++ b/data/autosuspend.hwdb
|
||||||
|
@@ -209,6 +209,7 @@ usb:v27C6p6594*
|
||||||
|
usb:v27C6p659A*
|
||||||
|
usb:v27C6p659C*
|
||||||
|
usb:v27C6p6A94*
|
||||||
|
+usb:v27C6p6512*
|
||||||
|
ID_AUTOSUSPEND=1
|
||||||
|
ID_PERSIST=0
|
||||||
|
|
||||||
|
diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c
|
||||||
|
index 24d491d..9122efb 100644
|
||||||
|
--- a/libfprint/drivers/goodixmoc/goodix.c
|
||||||
|
+++ b/libfprint/drivers/goodixmoc/goodix.c
|
||||||
|
@@ -1636,6 +1636,7 @@ static const FpIdEntry id_table[] = {
|
||||||
|
{ .vid = 0x27c6, .pid = 0x659A, },
|
||||||
|
{ .vid = 0x27c6, .pid = 0x659C, },
|
||||||
|
{ .vid = 0x27c6, .pid = 0x6A94, },
|
||||||
|
+ { .vid = 0x27c6, .pid = 0x6512, },
|
||||||
|
{ .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */
|
||||||
|
};
|
||||||
|
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
Name: libfprint
|
Name: libfprint
|
||||||
|
|
||||||
Version: 1.94.6
|
Version: 1.94.6.mr494
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Toolkit for fingerprint scanner
|
Summary: Toolkit for fingerprint scanner
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.freedesktop.org/wiki/Software/fprint/libfprint
|
URL: http://www.freedesktop.org/wiki/Software/fprint/libfprint
|
||||||
Source0: https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v%{version}/libfprint-v%{version}.tar.gz
|
Source0: https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v1.94.6/libfprint-v1.94.6.tar.gz
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
@@ -27,19 +27,21 @@ BuildRequires: gobject-introspection-devel
|
|||||||
BuildRequires: python3-cairo python3-gobject cairo-devel
|
BuildRequires: python3-cairo python3-gobject cairo-devel
|
||||||
BuildRequires: umockdev >= 0.13.2
|
BuildRequires: umockdev >= 0.13.2
|
||||||
|
|
||||||
|
Patch0: goodix-6512.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libfprint offers support for consumer fingerprint reader devices.
|
libfprint offers support for consumer fingerprint reader devices.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = 1.94.6-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -S git -n libfprint-v%{version}
|
%autosetup -S git -n libfprint-v1.94.6
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Include the virtual image driver for integration tests
|
# Include the virtual image driver for integration tests
|
||||||
|
|||||||
Reference in New Issue
Block a user