[Bug 256429] Re: following finger scan requires carriage-return

2008-11-04 Thread Diogo Matsubara
I had the same problem. I installed the packages from Jon Oberheide's
PPA and it worked. Thanks Jon.

Here's the lsusb output for my fingerprint reader:

Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics
Fingerprint Reader

I'm on a Thinkpad X61.

-- 
Intrepid regression: carriage-return required after finger scan
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-11-03 Thread Kasper Laursen
You are the man Jon Oberheide!!
Everything work just fine now.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-11-03 Thread Philipp Dreimann
will the fix be included in the main archive?

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-11-03 Thread Jon Oberheide
Unsure.  It uses the workaround patch previously posted (adding a dummy
KEY_A key capability to the uinput device).  Without the workaround, the
uinput device doesn't even show up in xinput list.  For some reason, a
keyboard uinput device with only a KEY_ENTER is not sufficient to be
registered.

So while it's more of a workaround than a fix, it does indeed resolve
the issue and has absolutely zero side effects.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-11-03 Thread Noel J. Bergman
FWIW, neither Fedora 9 nor Fedora 10 (probably the more relevant of the
two) exhibits the problem.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-11-02 Thread Jon Oberheide
Packages which resolve this issue are available in my PPA:

https://launchpad.net/~jon-oberheide/+archive

deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-31 Thread Thomas Ibbotson
quote
to my xorg.conf and then enable it by adding a line

InputDevice Generic Keyboard

to the ServerLayout section, the fingerprint reader works as before.
/quote

Adding this to my xorg.conf causes unwanted side-effects, such as
causing my volume control button next to my headphone jack to stop
working, and bizarrely stopping the key combinations ctrl-arrow key to
stop working also. So this is not an option for me.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-30 Thread shanepardue
I don't see a ServerLayout section on Intrepid Ibex using Envy to
handle my xorg.conf.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-30 Thread Khashayar Naderehvandi
Perhaps this should be reported upstream at freedesktop's bug tracker?

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-29 Thread Roger Binns
Tom's workaround worked for me.  The keyboard input device and
serverlayout reference were commented out claiming that HAL would deal
with them after the upgrade.  I uncommented and all works as before.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-13 Thread Raja
That works great for me. 
The InputDevice section was already there with the entry for the keyboard. But 
I had to add the line to the ServerLayout section. Once I restarted X, I 
could log in without following the swipe with a carriage return.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-13 Thread Jon Oberheide
Attached is a patch to thinkfinger that should workaround the bug by
adding a dummy key (KEY_A) to the uinput device.

It's certainly not a proper fix to why xorg is not correctly sending the
KEY_ENTER but it's certainly an option for those of you who find hitting
enter after you swipe annoying and/or don't have an xorg.conf to add the
configuration workaround.

** Attachment added: thinkfinger-uinput-hack.patch
   http://launchpadlibrarian.net/18515541/thinkfinger-uinput-hack.patch

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-12 Thread akw
I also can confirm this issue. The problem does not happen on the console 
(ctrl-alt-f1), but in X.
I had no problems before upgrading to Intrepid.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-12 Thread Jon Oberheide

** Attachment added: good.c
   http://launchpadlibrarian.net/18474144/good.c

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-12 Thread Jon Oberheide

** Attachment added: bad.c
   http://launchpadlibrarian.net/18474145/bad.c

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-12 Thread Jon Oberheide
I've attached two samples that show this behavior outside of
thinkfinger.

They both create a uinput device and send a KEY_ENTER event.  In bad.c,
when the device is only set up with a KEY_ENTER key, the KEY_ENTER event
is not observed in X.  However, in good.c, if another supported key (say
KEY_A) is added to the uinput device as well, the sending of the
KEY_ENTER event works just fine.

Both of the testcases work as expected outside of X in the terminal
which leads to me to believe something is getting munged in X's input
layer.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-10-12 Thread Tom Jaeger
My guess is that the new input hotplugging magic selects the wrong
driver for the uinput device.

If I add a section (this might already be there, not sure anymore)

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout us
EndSection

to my xorg.conf and then enable it by adding a line

InputDevice Generic Keyboard

to the ServerLayout section, the fingerprint reader works as before.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-21 Thread Patrick Hétu
I also notify that the bug doesn't happen when you are in a virtual
terminal (ctrl-alt-f1) .

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-21 Thread Jon Oberheide
Ah, nice catch Patrick.  Perhaps it is something in xorg/xinput/xorg-
input-evdev.  I'll try to bisect.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-21 Thread Jon Oberheide
I can confirm that downgrading all my xorg packages to hardy fixes the
problem.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-20 Thread Jon Oberheide
I can confirm this on Intrepid as well.

It seems to be related to libpam-thinkfinger's use of uinput.  libpam-
thinkfinger creates a uinput device to send a EV_KEY/KEY_ENTER press and
release.  This event _should_ emulate the enter key being pressed after
a finger swipe so that the user does not have to press it manually.

I don't see any errors in the pam debug output about sending the enter
event.  Either libpam-thinkfinger is misusing uinput somehow or GDM is
not processing the key event (maybe it's blocking focus on the password
prompt textbox?).

Regards,
Jon Oberheide

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-20 Thread Jon Oberheide
After debugging for far too many hours, I have an apparent hack/fix.

Simply setting another KEYBIT along with our KEY_ENTER seems to fix the
issue.  The other KEYBIT can be any value and it doesn't seem to matter
if the other KEYBIT is set before or after KEY_ENTER.  If another KEYBIT
is not set, it appears that the kernel is not sending the KEY_ENTER
event.

I don't recommend committing this until we figure out what the root
cause is, but if anyone else experiencing the problem could test it and
verify that it resolves their issue, that'd be great.h

** Attachment added: thinkfinger-pam-uinput.patch
   http://launchpadlibrarian.net/16970940/thinkfinger-pam-uinput.patch

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-20 Thread Jon Oberheide
FYI, this issue of not receiving a key event when only one is set is
reproducible in a standalone test program outside of thinkfinger-pam.
So either it's a kernel issue or for some reason uinput wasn't designed
to work with only a single KEYBIT set (which seems incorrect since it
worked with earlier kernels).

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-17 Thread rupa
confirming this recently began happening on my intrepid install.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-14 Thread Patrick Hétu
I confirm

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 256429] Re: following finger scan requires carriage-return

2008-08-14 Thread echo6
Thanks for the response.  I've recently had occasion to do a full
install of 8.04 followed by the installation of thinkfinger and this bug
has not appeared, atm I can not repeat it.

-- 
following finger scan requires carriage-return
https://bugs.launchpad.net/bugs/256429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs