Skip to content

Instantly share code, notes, and snippets.

@stefanovazzocell
Created November 19, 2020 00:55
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stefanovazzocell/22798cd9f5df331020c6beb1b3020369 to your computer and use it in GitHub Desktop.
Save stefanovazzocell/22798cd9f5df331020c6beb1b3020369 to your computer and use it in GitHub Desktop.
Ubuntu / PopOS Fingerprint Support - Dell XPS 15 9500
#!/usr/bin/env bash
echo 'Adding Dell repository...'
# https://www.dell.com/community/XPS/XPS-13-9300-Does-fingerprint-reader-work-on-linux/td-p/7514958
sudo sh -c 'cat > /etc/apt/sources.list.d/focal-dell.list << EOF
deb http://dell.archive.canonical.com/updates/ focal-dell public
# deb-src http://dell.archive.canonical.com/updates/ focal-dell public
deb http://dell.archive.canonical.com/updates/ focal-oem public
# deb-src http://dell.archive.canonical.com/updates/ focal-oem public
deb http://dell.archive.canonical.com/updates/ focal-somerville public
# deb-src http://dell.archive.canonical.com/updates/ focal-somerville public
deb http://dell.archive.canonical.com/updates/ focal-somerville-melisa public
# deb-src http://dell.archive.canonical.com/updates focal-somerville-melisa public
EOF'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9FDA6BED73CDC22
echo 'Installing Fingerprint Drivers...'
sudo apt update
sudo apt -y install libfprint-2-tod1-goodix
@stefanovazzocell
Copy link
Author

Tested on Dell XPS 15 9500 with PopOS 20.10. It should work fine with Ubuntu and derivatives as well as with other Dell laptop using the goodix fingerprint hardware (Dell XPS 13/15/17)

@Bert-Jan53
Copy link

Thanks for the script! It ran without issues on my Dell XPS 15 9500 with PopOS 21.04, but doesn' t seem to do anything. After a restart I opened Settings - Users, but there is no fingerprint option.
I'm new to Linux, so there is a very good chance I'm overlooking something. Do I have to do anything else besides restart the laptop? Or is something in 21.04 causing this? Any tips would be really helpful

@stefanovazzocell
Copy link
Author

stefanovazzocell commented Aug 28, 2021

@Bert-Jan53 Haven't used the script on PopOS 21.04 but after testing it now I can see (without restart) a fingerprint option under Settings/Users "Authentication & Login"
What sort of output do you see when running sudo apt -y install libfprint-2-tod1-goodix?

@Bert-Jan53
Copy link

Thanks for the fast reply!
The output is:

libfprint-2-tod1-goodix is already the newest version (0.0.6-0ubuntu1~somerville1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The only options I have under Settings/Users "Authentication & Login" are

  • Password
  • Automatic Login (disabled)
  • Account Activity

@stefanovazzocell
Copy link
Author

Honestly I'm not sure what's going on. One last shot would be to ask... are you the only user for this laptop or are there other users?

@Bert-Jan53
Copy link

No I'm the only user. And the Pop!_OS installation is absolutely fresh. Maybe they changed the type of fingerprint reader from goodix to something else in my model?
Anyway, it's not a major issue. The laptop and Pop!_OS work just fine without the fingerprint reader. And maybe something will pop up in the future.
Thanks again for your help. Very much appreciated!

@freduard
Copy link

freduard commented Sep 10, 2021

Experiencing the same thing as @Bert-Jan53

@stefanovazzocell
Copy link
Author

Alright, I took one for the team. After reinstalling PopOS from scratch I tried the script and I was able to reproduce the issue.
I suspect it might be something that is missing so I tried sudo apt install fprintd; sudo reboot.
Unfortunately that broke my login screen. I had to CTRL+ALT+F3/F3 on login to enter the terminal mode and login there so I could uninstall fprintd. Unfortunately I don't have much more time on my hands right now so I can't figure out what's wrong.
If I can leave here some thoughts: I think the system needs fprintd, I wonder if enrolling your fingers manually (fprintd-enroll) before rebooting the laptop is the way to go... Not sure though

@Bert-Jan53
Copy link

Since you tried, I couldn't stay behind. Installed fprintd and tried to enroll. Got an error message first try, forgot to copy that for this post ;-\
But when I tried again it worked! I enrolled my preferred digit and, holding my breath, restarted. That didn't work at all. Rebooted several times, got to the the login screen once, but could not log in using my fingerprint. As with your try, I had to boot to terminal and uninstall fprintd.
Thanks for the follow-up, I really appreciate you going through all this effort! But for now, for me it's case closed.

@AKgit834
Copy link

AKgit834 commented Oct 4, 2023

Tested on Dell XPS 15 9500 with PopOS 20.10. It should work fine with Ubuntu and derivatives as well as with other Dell laptop using the goodix fingerprint hardware (Dell XPS 13/15/17)

is there any other script available for asus x515 series laptop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment