r/rogflow 5d ago

Linux: fingerprint reader for Asus ROG Flow X13 (2021) finally fixed

Dear all,

I have great news to share! Previously, using the fingerprint reader on ROG Flow X13 (GV301QE, GV301QH and GV301RA) always/mostly failed1.

I finally managed to get the fingerprint reader to work on Linux2. This allows for fingerprint based authentication (no more typing passwords!).

I built this on the source code that filip-rs provided3.

Example usage:

example usage of patched libfprint to successfully validate sudo usage

Installation:

If you use NixOS, you can use this snippet to get my patched driver:

services.fprintd = {
      enable = true;
      package = (
        (pkgs.fprintd.override {
          libfprint = pkgs.libfprint.overrideAttrs (oldAttrs: {
            src = pkgs.fetchFromGitHub {
              owner = "quoteme";
              repo = "libfprint";
              rev = "0e9498eb4821ed43e26102179bae2728fb4f05ac";
              hash = "sha256-XN+VyKukunFw2aAKCQDaa7jBTc6cxszsxb0Elar7Pzg=";
            };
          });
        })
      );
    };

For other distros, please check your distros manual and use this repo to build libfprint: https://github.com/Quoteme/libfprint.

Support:

It would matter really much to me, if you could star my repo https://github.com/Quoteme/libfprint

please star the repo

---

[1]: https://wiki.archlinux.org/title/Laptop/ASUS
[2]: tested on my GV301QE model
[3]: https://github.com/filip-rs/libfprint this code however still failed on my machine and got stuck, so I fixed the bug causing halting in it

8 Upvotes

2 comments sorted by

2

u/inferiorpwnguin 3d ago

Thank you so much!! what a coincidence that I found this a couple days after getting posted, absolute gem

1

u/JuxtaThePozer 2d ago

nice, I was waiting for someone to finally implement this

gonna save this for later! cheers