Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1100801

Summary: Update to libfprint 0.8.2
Product: Red Hat Enterprise Linux 7 Reporter: David Jaša <djasa>
Component: libfprintAssignee: Bastien Nocera <bnocera>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.1CC: bnocera, dahorak, d.mikhailov, eldermarco, ksrot, mcepl, mscherer, ngalvin, pgozart, tpelka, trota, vdanek, ylavi
Target Milestone: rcKeywords: Rebase
Target Release: 7.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libfprint-0.8.2-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:10:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1420851, 1479818, 1507957, 1547720, 1571842    
Attachments:
Description Flags
backport of an upstream patch none

Description David Jaša 2014-05-23 13:16:17 UTC
Description of problem:
Please add support for Validity Sensors 138a:0017 fingerprint reader. This fingerprint reader is included in Lenovo Thinkpad T440s.
Fedora bug: bug 1037550

Version-Release number of selected component (if applicable):
libfprint-0.5.0-3.el7.x86_64 (RHEL 7.0)

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
device lsusb:

# lsusb -d 138a:0017 -v

Bus 002 Device 002: ID 138a:0017 Validity Sensors, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass        17 
  bDeviceProtocol       255 
  bMaxPacketSize0         8
  idVendor           0x138a Validity Sensors, Inc.
  idProduct          0x0017 
  bcdDevice            0.78
  iManufacturer           0 
  iProduct                0 
  iSerial                 1 68bd9e741cb5
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               4
Device Status:     0x0000
  (Bus Powered)

Comment 2 Elder Marco 2014-05-26 20:19:24 UTC
I have a similar problem. I'm using fedora 20 on Dell Vostro 5470. My fingerprint device is 138a:0011. I think the driver below will resolve the problem:

https://bugs.freedesktop.org/show_bug.cgi?id=61692

Comment 3 Bastien Nocera 2014-06-12 15:34:49 UTC
This isn't even upstream yet, so it will have to wait until it is before we can consider it for inclusion in a RHEL version.

So, nak'ing for RHEL 7.1.

Comment 4 RHEL Program Management 2014-06-12 15:58:35 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 5 David Jaša 2015-03-23 19:10:50 UTC
(In reply to Bastien Nocera from comment #3)
> This isn't even upstream yet, so it will have to wait until it is before we
> can consider it for inclusion in a RHEL version.
> 
> So, nak'ing for RHEL 7.1.

Update: it must me upstream by now because the device works in F21.

Comment 7 Dmitry Mikhailov 2015-12-27 20:15:43 UTC
Created attachment 1109868 [details]
backport of an upstream patch

Most changes are the result of aclocal and automake.

Comment 8 Dmitry Mikhailov 2015-12-27 20:25:04 UTC
I'm on 7.2 - still no support yet.

I've backported the upstream patch - file is attached above.

Comment 9 Dmitry Mikhailov 2015-12-28 11:14:58 UTC
Update: may be it's just the failing hardware in my laptop.

BUT

The fingerprint readers works bad - it accepts only one out of 3-5 attempts after initial enroll.

I've rebuilt the packages (rpmbuild --rebuild) from Fedora 22 and found no difference in the (awful) sensor operation.

Comment 11 António Trota 2017-12-28 23:06:46 UTC
Is the fingerprint supported in RedHat 7.4?
In my thinkpad X1 doesn't show up!
Fedora 27 is running with no problems...
Can somebody anwer this?
Thank you...

Comment 12 Bastien Nocera 2018-06-08 14:19:05 UTC
*** Bug 1339238 has been marked as a duplicate of this bug. ***

Comment 13 Bastien Nocera 2018-06-08 14:21:13 UTC
*** Bug 1426428 has been marked as a duplicate of this bug. ***

Comment 15 Bastien Nocera 2018-06-15 16:07:18 UTC
Fixed in libfprint-0.8.1-1.el7 build.

Comment 17 Bastien Nocera 2018-07-17 12:23:55 UTC
Updated build, built as libfprint-0.8.2-1.el7

0.8.2 downgrades some assertions to be warnings, which were causing crashes instead of being worked-around.

Comment 19 Paul Gozart 2018-09-19 16:26:31 UTC
Customer tested RHEL 7.6 Snapshot 3 on a Lenovo T460:

Testing was done on a T460 and it works after doing the change below to the fprintd.service file.  Without the "-t" option the fprintd is terminating after being idle for a few minutes. 

sudo vi /usr/lib/systemd/system/fprintd.service
	changed this:	ExecStart=/usr/libexec/fprintd 
	to this:	ExecStart=/usr/libexec/fprintd -t


[d120807@oc6131864761 ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 138a:0017 Validity Sensors, Inc. VFS 5011 fingerprint sensor
Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
Bus 001 Device 004: ID 5986:0706 Acer, Inc 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[d120807@oc6131864761 ~]$

Comment 20 Bastien Nocera 2018-09-21 10:25:55 UTC
(In reply to Paul Gozart from comment #19)
> Customer tested RHEL 7.6 Snapshot 3 on a Lenovo T460:
> 
> Testing was done on a T460 and it works after doing the change below to the
> fprintd.service file.  Without the "-t" option the fprintd is terminating
> after being idle for a few minutes. 

That's how it's supposed to work, fprintd is autostarted via D-Bus and systemd.

Comment 21 Paul Gozart 2018-09-24 14:35:19 UTC
(In reply to Bastien Nocera from comment #20)
> (In reply to Paul Gozart from comment #19)
> > Customer tested RHEL 7.6 Snapshot 3 on a Lenovo T460:
> > 
> > Testing was done on a T460 and it works after doing the change below to the
> > fprintd.service file.  Without the "-t" option the fprintd is terminating
> > after being idle for a few minutes. 
> 
> That's how it's supposed to work, fprintd is autostarted via D-Bus and
> systemd.

Thanks for fixing this!

Customer replied:

Thanks for the update. Engineering is right, I got the fingerprint reader to work this way on the T460:
1. Activities -> Authentication -> Advanced Options -> Enable fingerprint reader support
2. Activities -> Settings -> Details -> Users -> Enable Fingerprint Login and follow steps to register own fingerprint

Comment 23 errata-xmlrpc 2018-10-30 11:10:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:3206