Dne středa 11. května 2022 18:38:13 CEST, Andrei Borzenkov napsal(a):
On 11.05.2022 17:31, Lukáš Krejza wrote:
Hi Geekos!
Recently, i have been trying to implement Broadcom fingerprint reader driver mentioned in subject. For this i have tried following approach: https:// github.com/dsd/fprintd/issues/3#issuecomment-962422370
It contains binary firmware, udev rules, fprint library and firmware install script written in python.
Result of my tries can be found here: https://paste.opensuse.org/view/raw/ 72229198 (except of the 70-libfprint-2.rules, which is the openSUSE one and listed just for comparison. FYI i am trying with 0a5c:5843 device. My tries were however unsuccessful (fprint does not recognize the device and so KDE does).
My question is, is there anything different between (open)SUSE and Debian or Arch regarding UDEV and/or firmware installation?
Dynamic driver loading requires fork of libfprint - libfprint-tod. As far as I can tell it is not available for openSUSE while Ubuntu is using this version.
I am using this one: https://build.opensuse.org/package/show/home:sp1rit/ libfprint-tod which has been fixed few hours ago for Tumbleweed by Sp1rit (only tests failed, which was fixed in latest git as i informed Sp1rit already)
Even if this version were available, it most certainly would not use /usr/lib/x86_64-linux-gnu path.
Cool! This has lead me to fiddling with fprint more and i got this message in logs: (fprintd:13711): libfprint-tod-DEBUG: 18:53:39.091: Impossible to load the shared drivers dir Error opening directory ?/usr/lib64/libfprint-2/tod-1?: No such file or directory I will fix the paths and keep you informed.
I cannot comment on possibility to replace libfprint with libfprint-tod in openSUSE, but as long as it works for other distributions may be it is an option ... someone needs to package it first :)
I can provide any debug information required, but i am stucked here it seems. I would be glad for any hints! It would be nice to get this reader working, since it is present in many Dell laptops and it is reported to be working in Debian derivates and Arch.
Best regards! Gryffus
I think biggest problem problem with including will be closed source library for the libfprint-2-tod1-broadcom driver. But the firmware itself is a binary blob too, so what do i know? Maybe it can be workaround with a pullin or packaged on packman? But testing first... Thanks! Gryffus