Fingerprint on Lenovo Edge 525 [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Fingerprint on Lenovo Edge 525 [Solved]

Postby tbol.inq » Wed Apr 25, 2012 23:41

Hey Guys,

After I set up my Sabayon-Distribution correctly (installing newest kernel, updating, install graphics driver) there is one last thing I have to do: get the fingerprint device to work.

So before I asked here I checked up Fitzcarraldos Blog, because he posted a How-to for getting the fingerprint device to work on Gentoo. But, how in most cases it won't work correctly for me. So I decided to start up a thread here and furthermore not to spam my bullshit onto Fitzcarraldos Blog.


What I have done until now:

Fitzcarraldo told me to set up Portage for usage with local overlays. So I created 2 folders:
Code: Select all
# mkdir -p /usr/local/portage/sys-auth/fingerprint-gui
# mkdir -p /usr/local/portage/sys-auth/upekbsapi-bin


After that I created two files, named fingerprint-gui-1.04.ebuild and upekbsapi-bin-3.5.2.ebuild filled them with the code Fitzcarraldo posted on his blog (see above). Next, I created manifests for the ebuilds to emerge them.
Code: Select all
# cd /usr/local/portage/sys-auth/upekbsapi-bin
# ebuild upekbsapi-bin-3.5.2.ebuild manifest
# cd /usr/local/portage/sys-auth/fingerprint-gui
# ebuild fingerprint-gui-1.04.ebuild manifest


The Installation (emerging) of upekbsapi-bin worked fine but i got errors while emerging fingerprint-gui-1.04.
Code: Select all
USE="upekbsapi" emerge -lv fingerprint-gui

results in:
Code: Select all
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-auth/fingerprint-gui-1.04  USE="upekbsapi" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-auth/fingerprint-gui-1.04 from local_overlay
 * fingerprint-gui-1.04.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking fingerprint-gui-1.04.tar.gz to /var/tmp/portage/sys-auth/fingerprint-gui-1.04/work
>>> Source unpacked in /var/tmp/portage/sys-auth/fingerprint-gui-1.04/work
>>> Preparing source in /var/tmp/portage/sys-auth/fingerprint-gui-1.04/work/fingerprint-gui-1.04 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-auth/fingerprint-gui-1.04/work/fingerprint-gui-1.04 ...

 * Project file 'LIBPOLKIT_QT=LIBPOLKIT_QT_1_1' does not exists!
 * eqmake4 cannot handle non-existing project files.
 *
 * This shouldn't happen - please send a bug report to http://bugs.gentoo.org/

 * ERROR: sys-auth/fingerprint-gui-1.04 failed (configure phase):
 *   Project file not found in sys-auth/fingerprint-gui sources.
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 2349:  Called eqmake4 'LIBPOLKIT_QT=LIBPOLKIT_QT_1_1'
 *   environment, line 1090:  Called die
 * The specific snippet of code:
 *           die "Project file not found in ${CATEGORY}/${PN} sources.";
 *
 * If you need support, post the output of 'emerge --info =sys-auth/fingerprint-gui-1.04',
 * the complete build log and the output of 'emerge -pqv =sys-auth/fingerprint-gui-1.04'.
 * This ebuild is from an overlay named 'local_overlay': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/sys-auth/fingerprint-gui-1.04/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/fingerprint-gui-1.04/temp/environment'.
 * S: '/var/tmp/portage/sys-auth/fingerprint-gui-1.04/work/fingerprint-gui-1.04'

>>> Failed to emerge sys-auth/fingerprint-gui-1.04, Log file:

>>>  '/var/tmp/portage/sys-auth/fingerprint-gui-1.04/temp/build.log'

 * Messages for package sys-auth/fingerprint-gui-1.04:

 * Project file 'LIBPOLKIT_QT=LIBPOLKIT_QT_1_1' does not exists!
 * eqmake4 cannot handle non-existing project files.
 *
 * This shouldn't happen - please send a bug report to http://bugs.gentoo.org/
 * ERROR: sys-auth/fingerprint-gui-1.04 failed (configure phase):
 *   Project file not found in sys-auth/fingerprint-gui sources.
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 2349:  Called eqmake4 'LIBPOLKIT_QT=LIBPOLKIT_QT_1_1'
 *   environment, line 1090:  Called die
 * The specific snippet of code:
 *           die "Project file not found in ${CATEGORY}/${PN} sources.";
 *
 * If you need support, post the output of 'emerge --info =sys-auth/fingerprint-gui-1.04',
 * the complete build log and the output of 'emerge -pqv =sys-auth/fingerprint-gui-1.04'.
 * This ebuild is from an overlay named 'local_overlay': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/sys-auth/fingerprint-gui-1.04/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/fingerprint-gui-1.04/temp/environment'.
 * S: '/var/tmp/portage/sys-auth/fingerprint-gui-1.04/work/fingerprint-gui-1.04'


Hm... Portage isn't able to find libpolkit_qt, so I searched for it.
find / | grep -i libpolkit-qt gave the following output:
Code: Select all
/usr/lib64/libpolkit-qt-agent-1.so
/usr/lib64/libpolkit-qt-core-1.so.1
/usr/lib64/libpolkit-qt-agent-1.so.1.103.0
/usr/lib64/debug/usr/lib64/libpolkit-qt-agent-1.so.1.103.0.debug
/usr/lib64/debug/usr/lib64/libpolkit-qt-gui-1.so.1.103.0.debug
/usr/lib64/debug/usr/lib64/libpolkit-qt-core-1.so.1.103.0.debug
/usr/lib64/libpolkit-qt-agent-1.so.1
/usr/lib64/libpolkit-qt-core-1.so.1.103.0
/usr/lib64/libpolkit-qt-gui-1.so
/usr/lib64/libpolkit-qt-gui-1.so.1
/usr/lib64/libpolkit-qt-gui-1.so.1.103.0
/usr/lib64/libpolkit-qt-core-1.so


So I think libpolkit-qt must be there, why Portage couldn't find it?
Is it an architecture-issue (x86,x86_64)?
Do I need another Packages, i don't know until now?

I hope you can help me.

EDIT: The Usage of FEATURES="-collision-detect -protect-owned" USE="upekbsapi" emerge -lv fingerprint-gui
results the same.
Last edited by tbol.inq on Thu Apr 26, 2012 0:48, edited 1 time in total.
tbol.inq
Baby Hen
 
Posts: 13
Joined: Thu Apr 12, 2012 19:03

Re: Fingerprint on Lenovo Edge 525

Postby tbol.inq » Thu Apr 26, 2012 0:48

hey guys,
now i tried it for 3 days to get it to work and finally IT WORKS!!!!! :)
I'm so proud of myself.

For Sabayon users: You have to change Fitzcarraldos ebuild fingerprint-gui-1.04.ebuild:

search for line 34 and change
Code: Select all
eqmake4 LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 || die "qmake4 failed"
and change it to the following:
Code: Select all
qmake LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 || die "qmake4 failed"


so do the same with line 36, just change eqmake4 to qmake

THX to Fitzcarraldo for this Tutorial/How-To.

Now i can login via Fingerprint :)
tbol.inq
Baby Hen
 
Posts: 13
Joined: Thu Apr 12, 2012 19:03



Return to Hardware

Who is online

Users browsing this forum: No registered users and 0 guests

cron