-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asus VivoBook S15 sensor testing #1
Comments
Thanks for the report! If the prototype works and the python utility dumps an image, then there's a good chance that the prototype Because If the |
I have 2 Asus Vivobook laptops which have same ELAN fingerprint sensors. Asus Vivobook F510UA Both running same OS: I can see devices as: So, what is the project status? Can I use this driver for my fingerprint sensor? Where should I start? How can I help you for the development? |
You should be able to try using the prototype. First, find the VID/PID numbers for your touchpad. You can either find these on windows (in device manager) or by looking at the symlinks in You've already got the ACPI ID for your sensor ( If it compiles properly, make sure you have the In theory once you do all that you can run the prototype by going into the If all that works, you can either try using the python script |
I tried doing what you stated in your comment and it all worked for me(running the prototype udev and then looking at the image with tool/printdump.py. For anyone else trying, you can test your output by calling However I then tried to use your libfprint fork and I wanted to try the img-capture in the examples folder. So I made a 'build' directory, ran Can you tell me what I am doing wrong here? I am quite out of my comfort zone with testing this, but I'd love to help with testing. I am on an Asus VivoBook pro 15, but the sensor is the exact same as stated above |
Hi! Given that the prototype worked without modifications, you probably just didn't end up compiling libfprint with the driver enabled. Try generating the build directory with |
Hi I'm on an Asus S510UQ/Ubuntu 20.04. The ACPI ID is The Then I've built
was solved by installing the package Once I was done with building that, and got with terms with the fact that I didn't compile the correct code, I've built your fork (the branch Then I tried to run
In hopes of giving it a quick fix I looked at the code and found a hack, so I add one log and rebuilt:
And the program actually goes through this line. So this is the output:
The And I've just found something amazing: If I have my finger in the touchpad, not even near the sensor, it actually finds the correct sensor and dimensions!
Just checked and the prototype doesn't have this last issue. |
Alright, that's a little bizzarre. Probably has something to do with power management, I'd guess. What happens if you add a call to --- a/libfprint/drivers/elanspi.c
+++ b/libfprint/drivers/elanspi.c
@@ -587,6 +587,7 @@ static void elanspi_init(FpiDeviceElanSpi *self, GError **err) {
g_debug("SPIStatus = %.2x", spistatus);
elanspi_do_hwreset(self, err);
+ elanspi_do_swreset(self->spi_fd, err);
if (*err) return;
guint8 raw_height = elanspi_read_height(self->spi_fd, err); |
I've tested it three times in every order (software then hardware, and hardware then software) |
Interesting. This is just adding yet more evidence to the pile that "hwreset does nothing and was a red herring in the win driver" but for now I'll just leave both in there. My current hypothesis is that the hwreset only does something right after a cold boot (or, from the newer driver, has something to do with ESD recovery?) |
do i have to copy the script as it is or do i have edit the destination and protoype output. If so wat should the prototype output be? |
If you want to test something now, I'd recommend just working off of the actual libfprint source on gitlab which is where the maintained version of this driver is merged. If your sensor isn't detected by that then file an issue there. |
do i just clone this and |
no, it has been merged into master. Just build master with all drivers enabled, and install it -- or wait until whatever distro you uses incorporates libfprint 1.94 which has the driver as well (ubuntu 22.04 for example is supposed to include it) |
does arch(kde plasma) support it? |
ok i got everything working . the only problem being that my fingerprint is not being matched at login |
There are not devices listed in sys/bus/spi/devices eventhough i have a fingerprint reader please tell me how i can fix this issue. |
I am on asus vivobook x515 and after enrolling the fingerprint when i tried to verify it says "fingerprint not verified" and because of that i was not able to login in my pop os and had to clean install it. Please help how I can fix this problem. |
Hi guys! i was reading the whole thread. i am not a programmer. i would like to know if anyone has a video or something to follow the steps but i would like to get my FingerPrint (Asus S510U) working. I've been doing steps and steps for more than 5 tutorials and I can't get anything. |
Hi you you follow this guide here if you are stuck somewhere i will help you. |
I will try it! thank you very much for your kindness. |
Sorry, I forgot to tell you everything here have been merged to the master branch of libfprint download the latest release from https://gitlab.freedesktop.org/libfprint/libfprint/-/releases and inside the folder run
Then, inside the build directory run Check if it's working or not inside the build directory Run |
Thanks for putting your time and effort into this project!
As the title states, I've got an Asus VivoBook S15 with an ElanTech fingerprint sensor and I've tested your prototype. Placing the custom udev rule and triggering a reload successfully spawned the wanted devices in
/dev/
, which I had to manually pass as arguments to the prototype binary or it would stick toFailed to detect SPI or HID!
. I could then successfully format the resulting data into a fingerprint image with the Python tool. Is there any way to test all of this for system unlocking already?I'm attaching some more information about the machine (can provide the resulting files privately if needed), and I'll be glad to provide more as needed.
Distro: Manjaro Linux
Kernel: 5.7.19-2-MANJARO x86_64
Machine type: Laptop
System: ASUSTeK VivoBook_ASUSLaptop X530FN_S530FN
Mobo: ASUSTeK X530FN
udevadm_spidev0.0.txt
udevadm_hidraw0.txt
The text was updated successfully, but these errors were encountered: