Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259010 - sys-auth/thinkfinger: applying USB config 1 is problematic on linux kernel >= 2.6.28
Summary: sys-auth/thinkfinger: applying USB config 1 is problematic on linux kernel >=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://bugzilla.kernel.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-14 21:33 UTC by Víctor Enríquez
Modified: 2009-02-18 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
thinkfinger-0.3-r1.ebuild (the same as 0.3 witch src_unpack to apply the patch) (thinkfinger-0.3-r1.ebuild,1.75 KB, text/plain)
2009-02-15 13:02 UTC, Víctor Enríquez
Details
direct_set_config_usb_hello.patch (the same patch from the page in the first post) (direct_set_config_usb_hello.patch,941 bytes, patch)
2009-02-15 13:04 UTC, Víctor Enríquez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Víctor Enríquez 2009-02-14 21:33:49 UTC
Like you can see in the bug url, this software needs a patch to keep working with newer kernel versions, Gentoo sources already contain the patches for kernel, but thinkfinger needs a little patch, without the patch, you can only use your fingerprint a time.

The patch required is in this link, I tried it patching the sources and works fine here:

http://bugzilla.kernel.org/attachment.cgi?id=19606

Reproducible: Always

Steps to Reproduce:
1.su
2.use your fingerprint
3.su again, and then fails.
Comment 1 Víctor Enríquez 2009-02-15 13:02:10 UTC
Created attachment 182120 [details]
thinkfinger-0.3-r1.ebuild (the same as 0.3 witch src_unpack to apply the patch)

I don't have much experience making ebuilds so I don't know if this is the better way to apply a patch, but this works on my computer at least.
Comment 2 Víctor Enríquez 2009-02-15 13:04:51 UTC
Created attachment 182121 [details, diff]
direct_set_config_usb_hello.patch (the same patch from the page in the first post)

modifies the hello function from thinkfinger, to make things right.
Comment 3 Víctor Enríquez 2009-02-15 22:20:22 UTC
adding chainsaw to CC list per his request.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2009-02-18 15:37:07 UTC
+*thinkfinger-0.3-r1 (18 Feb 2009)
+
+  18 Feb 2009; <chainsaw@gentoo.org> +files/0.3-carriagereturn.patch,
+  +files/0.3-direct_set_config_usb_hello.patch,
+  +files/0.3-tftoolgroup.patch, +files/60-thinkfinger.rules, metadata.xml,
+  +thinkfinger-0.3-r1.ebuild:
+  Due to lack of hardware I have been unable to attend to this package. I
+  will now however be proxy maintaining for Víctor Enríquez Miguel
+  <victor.quicksilver@gmail.com> , metadata updated to reflect this. Add a
+  fingerprint group so non-root users can use the software, as per the
+  suggestions by Henning Schild <henning@wh9.tu-dresden.de> in bug #228919.
+  Also add explicit chmod/chown statements to the installed script. Do not
+  apply USB configuration 1 to the device, this was never necessary and
+  broke with kernel 2.6.28 ("hello" patch). Added udev rules to make device
+  handling automatic.