public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libfprint] rawhide: Backport support for new Focal fingerprint reader
Date: Fri, 26 Jun 2026 06:04:23 GMT	[thread overview]
Message-ID: <178245386320.1.12236059066298753989.rpms-libfprint-a144073baee0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libfprint
Branch : rawhide
Commit : a144073baee08ebfb990007ee3f46607b842ef48
Author : Neal Gompa <ngompa@fedoraproject.org>
Date   : 2026-06-26T00:26:19-04:00
Stats  : +45/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libfprint/c/a144073baee08ebfb990007ee3f46607b842ef48?branch=rawhide

Log:
Backport support for new Focal fingerprint reader

---
diff --git a/2c7842c905147a2d127c1b168b2e9d43.patch b/2c7842c905147a2d127c1b168b2e9d43.patch
new file mode 100644
index 0000000..0f67995
--- /dev/null
+++ b/2c7842c905147a2d127c1b168b2e9d43.patch
@@ -0,0 +1,42 @@
+From 2c7842c905147a2d127c1b168b2e9d432b8c91a4 Mon Sep 17 00:00:00 2001
+From: Daniel Schaefer <dhs@frame.work>
+Date: Thu, 12 Feb 2026 16:08:31 +0800
+Subject: [PATCH] focaltech_moc: add new pid:0x077A pid:0x079A
+
+Tested on working hardware with examples/enroll and examples/verify
+
+Signed-off-by: Daniel Schaefer <dhs@frame.work>
+---
+ data/autosuspend.hwdb                           | 2 ++
+ libfprint/drivers/focaltech_moc/focaltech_moc.c | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
+index f49e17d6..9d1fd351 100644
+--- a/data/autosuspend.hwdb
++++ b/data/autosuspend.hwdb
+@@ -185,6 +185,8 @@ usb:v2808pA99A*
+ usb:v2808pA57A*
+ usb:v2808pA78A*
+ usb:v2808p1579*
++usb:v2808p077A*
++usb:v2808p079A*
+  ID_AUTOSUSPEND=1
+  ID_PERSIST=0
+ 
+diff --git a/libfprint/drivers/focaltech_moc/focaltech_moc.c b/libfprint/drivers/focaltech_moc/focaltech_moc.c
+index 2d410f88..8bd93e4b 100644
+--- a/libfprint/drivers/focaltech_moc/focaltech_moc.c
++++ b/libfprint/drivers/focaltech_moc/focaltech_moc.c
+@@ -35,6 +35,8 @@ static const FpIdEntry id_table[] = {
+   { .vid = 0x2808,  .pid = 0xa57a,  },
+   { .vid = 0x2808,  .pid = 0xa78a,  },
+   { .vid = 0x2808,  .pid = 0x1579,  },
++  { .vid = 0x2808,  .pid = 0x077A,  },
++  { .vid = 0x2808,  .pid = 0x079A,  },
+   { .vid = 0,  .pid = 0,  .driver_data = 0 },   /* terminating entry */
+ };
+ 
+-- 
+GitLab
+

diff --git a/libfprint.spec b/libfprint.spec
index 975ee8c..fbffea7 100644
--- a/libfprint.spec
+++ b/libfprint.spec
@@ -11,6 +11,9 @@ License:        LGPL-2.1-or-later AND NIST-PD
 URL:            http://www.freedesktop.org/wiki/Software/fprint/libfprint
 Source0:        https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v%{version}/libfprint-v%{version}.tar.gz
 
+# Backport from upstream
+Patch00001:     https://gitlab.freedesktop.org/libfprint/libfprint/-/commit/2c7842c905147a2d127c1b168b2e9d43.patch
+
 BuildRequires:  meson
 BuildRequires:  gcc
 BuildRequires:  gcc-c++

                 reply	other threads:[~2026-06-26  6:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178245386320.1.12236059066298753989.rpms-libfprint-a144073baee0@fedoraproject.org \
    --to=ngompa@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox