Skip to content

saloniamatteo/overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gentoo Overlay

Matteo Salonia's Gentoo Overlay

Donate

Support this project: salonia.it/donate

Usage

Manual way

Create the /etc/portage/repos.conf/salonia.conf file as follows:

[salonia]
priority = 50
location = /var/db/repos/salonia
sync-type = git
sync-uri = https://github.com/saloniamatteo/overlay.git
auto-sync = Yes

Then run emaint sync -r salonia. Portage should now find and update the repository.

Eselect way

Run the following command as root:

eselect repository add salonia git https://github.com/saloniamatteo/overlay

Then run emaint sync -r salonia. Portage should now find and update the repository.

Ebuilds

open-fprintd & python-validity

These packages add support for Validity fingerprint sensors, as found on ThinkPad T460 & T470 series laptops.

Original ebuilds written by Mattéo Rossillol‑‑Laruelle (@beatussum), enhanced by Matteo Salonia (@saloniamatteo).

The exact hardware IDs supported currently by this project are the following:

138a:0090
138a:0097
06cb:009a

For more info, refer to open-fprintd & python-validity

In order to use it, follow these steps:

  • Emerge the required packages (run as root):

    emerge fprintd open-fprintd python-validity
  • Download the required firmware (run as root):

    validity-sensors-firmware
  • Start the services (run as root):

    rc-service open-fprintd start
    rc-service python-validity start
  • Enroll a fingerprint:

    fprintd-enroll <your-user> -f <your-finger>

    Example:

    fprintd-enroll matteo -f right-index-finger

If you have any issues with the fingerprint reader, try to reset it with the following command (run as root):

python /usr/share/python-validity/playground/factory-reset.py

Wait a minute or so before trying the device again.

If you want to login using your fingerprint, modify /etc/pam.d/login and prepend the following line:

auth	sufficient	pam_fprintd.so

Users that do not have a configured fingerprint will login normally.

About

Matteo Salonia's Gentoo Overlay

Topics

Resources

Stars

Watchers

Forks

Languages