Finger print
Quentinvarquet opened this issue ยท 5 comments
Hello,
I have a samsung book pro2 since 3 days and i was looking a solution for the sound problem and i found your repo. You saved my life :)
I have some questions :
- battery : Do i need to run the calibration every time i start the laptop ,
- Fingerprint : Did you find a way to make it work ? I tried many "solutions", nothing worked
- Keyboard : the light is always ON for me, not really a problem; Do you have the same issue ?
Thank you again !
Hi @Quentinvarquet , regarding the fingerprint reader, I have actually spent a few weeks now tracing, reverse-engineering, and hacking with this, and now created a PoC which is a very basic / pre-alpha embryo to something which could result in a driver for it ๐
Feel free to take a quick look here: https://github.com/joshuagrisham/galaxy-book2-pro-linux/tree/main/fingerprint
There are some major issues and limitations though, and it does not really "work" to do anything except test with a Python script and a single fingerprint so far.. as a next step, I am going to try and reach out to EgisTec and the libfprint community to see if I can get some help especially on the check bytes part.
Small update on this one: now I have added a method which seems to correctly generate the payloads and you can enroll and verify multiple fingerprints using this PoC Python driver. I created an issue at libfprint for support for this device and maybe if I get some time in the coming weeks I will try to see if I can figure out how to port this to a real driver ๐
@Quentinvarquet now I have created a working libfprint driver for this device
Here is the Merge Request: https://gitlab.freedesktop.org/libfprint/libfprint/-/merge_requests/451
Not sure what other changes they might request for this before moving forward with merging it upstream but I will try to keep it moving and see if everything can get tied together and merged/released with it!
Hey!
I would like to appreciate the guide on my GB2 360, really useful and its really nice having some support for this laptop in here, and you made your way to arch wiki with it which is very good.
Very glad too that the fingerprint is being worked on, I keep an eye for the libfprint merge request, so that's nice.
Battery is giving me 4.5 to 5 hours with 100-20%, which I consider very good (I think I ran powertop?, but now I am just using gnome's power profiles that work fantastically on this laptop).|
But one thing is really bothering me is the keyboard, if there any way that I can help i'll be glad to do that. Sometimes the keyboard light is too bright comparing it to the screen when I want to use it at nights, or for conserving the battery during the day is good. I was thinking of it being possible, because when the laptop is suspended and when you go into tablet mode, the keyboard light goes off byitself, idk if its linux doing that or the own BIOS.
As you mentined @joshuagrisham, there is no other leds for input3 (that seems to be the keyboard) in the /sys/class/leds
, but I found somethings:
there are 2 keyboard parameters that seem to me that they are about brightness, like: /sys/module/keyboard/parameters/brl_timeout
.
I did tried to see if the timeout really works, like echoing 60 into the file and waiting a minute, but that doesn't seem to work.
Tried using light and brightnessctl, they only indicate the leds that are in the leds dir. The arch wiki mentions xset for non-suported keyboards in the previous methods, I tried the 1- 10 (might try up to the 32 later) none of them worked.
I am not aware of any tools and dirs that could help me seek out any other backlight systems for the keyboard.
Hi again @BlackOutedMind I think I posted this link for you already, but there should now be a platform driver you can use to add keyboard backlight control: https://github.com/joshuagrisham/samsung-galaxybook-extras
So I will close this issue as well but feel free to comment or open any new issues!