Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] thinkfinger - problem z patch
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
zlomek
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2009
Posts: 121

PostPosted: Sat Jan 30, 2010 4:36 pm    Post subject: [solved] thinkfinger - problem z patch Reply with quote

Witam, mam problem z logowaniem do systemu przy pomocy czytnika fingerprint wbudowanego w Thinkpada.
Wszystko robilem na podsdtawie http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger
Zainstalowałem
Code:
zlomekt61p ~ # eix -I thinkfinger
[I] sys-auth/thinkfinger
     Available versions:  (~)0.2.2-r1 (~)0.3 (~)0.3-r1 {debug pam}
     Installed versions:  0.3-r1(11:58:43 30.01.2010)(pam -debug)
     Homepage:            http://thinkfinger.sourceforge.net/
     Description:         Support for the UPEK/SGS Thomson Microelectronics fingerprint reader, often seen in Thinkpads

Dodałem siebie do grupy fingerprint
Code:

zlomekt61p ~ # cat /etc/group | grep fingerprint
fingerprint:x:1009:michal

Skonfigurowałem PAM, z którego korzysta thinkfinger, dodana została 2 linijka:
Code:
auth            required        pam_env.so
auth            sufficient      pam_thinkfinger.so
auth            required        pam_unix.so try_first_pass likeauth nullok

account         required        pam_unix.so

password        required        pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
password        required        pam_unix.so try_first_pass use_authtok nullok sha512 shadow

session         required        pam_limits.so
session         required        pam_env.so
session         required        pam_unix.so
session         optional        pam_permit.so


Zostawiłem 3 odciski :D
Code:
zlomekt61p ~ # tf-tool --add-user michal

ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>

Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 1)... done.
Storing data (/etc/pam_thinkfinger/michal.bir)... done.

Przełaczam sie na tty1 wszytko ładnie pięknie login i palec :D przyjęte jestem zalogowny.

Niestety po restarcie ani gdm ani tty1 nie przyjmuja logowania palcem.
Wyczytałem ze potrzebny jest prawdopodobnie patch który poprawia działanie z:
Code:
eix -I evdev
[I] x11-drivers/xf86-input-evdev
     Available versions:  2.3.1 (~)2.3.2 {debug}
     Installed versions:  2.3.2(16:55:12 30.01.2010)(-debug)
     Homepage:            http://xorg.freedesktop.org/
     Description:         Generic Linux input driver

Sciagłem ten patch ale nie mam pojęcia jak go zainstalować.
Korzystałem z http://bugs.gentoo.org/show_bug.cgi?id=298459
Code:

W ostatnich postach tego wątku opisali, ze patch dziala.

Proszę o pomoc w insalacji tego patch jak sie za to zabrac?
Pozdrawiam złomek



Rozwiązałem problem.
Wystarczyło dodac z linku http://bugs.gentoo.org/show_bug.cgi?id=298459 ebuild, patch, wykonać
Code:
ebuild thinkfinger-0.3-r2.ebuild digest
oraz zainstlalowac jeszcze raz thinkfinger.
Eduilda dodajemy do
Quote:
/usr/portage/sys-auth/thinkfinger
a patch do
Quote:
/usr/portage/sys-auth/thinkfinger/files

_________________
T7700, 4GB RAM, 100GB 7200rpm HD, 15.4in 1680x1050 LCD, 256MB nVIDIA Quadro FX 570M, CDRW/DVDRW, Intel 802.11agn, Bluetooth, Modem, 1Gb Ethernet, UltraNav, Secure chip, Fingerprint reader, 9c Li-Ion, WinVista Ultimate 32, GENTOO amd64,GNOME.
Back to top
View user's profile Send private message
ufoman
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2006
Posts: 80

PostPosted: Sun Jan 31, 2010 11:13 am    Post subject: Reply with quote

Nie dodawaj własnych plików do drzewa portage, bo wszystko zniknie po syncu. Stwórz własny overlay i tam dodaj swoje rzeczy.
_________________
Registered Linux User #417638
amd64 no-multilib
desktop: Gigabyte GA-MA770-UD3 v2.0, Athlon II X2 250 @3,6GHz, 4GB DDR2 800, Radeon HD 4850, Seagate Barracuda 7200.11 320GB
Back to top
View user's profile Send private message
zlomek
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2009
Posts: 121

PostPosted: Sun Jan 31, 2010 11:55 am    Post subject: Reply with quote

Thx, rzeczywiście wcieło zmiany w portage, poczytam o wlasnym overlay-u.
_________________
T7700, 4GB RAM, 100GB 7200rpm HD, 15.4in 1680x1050 LCD, 256MB nVIDIA Quadro FX 570M, CDRW/DVDRW, Intel 802.11agn, Bluetooth, Modem, 1Gb Ethernet, UltraNav, Secure chip, Fingerprint reader, 9c Li-Ion, WinVista Ultimate 32, GENTOO amd64,GNOME.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum