[Bug 885027] Re: SUID Mount Helper has 5 Major Vulnerabilities

2011-11-03 Thread Jon Oberheide
I'm not sure this is actually exploitable...the posted exploit fails on
my GNU/kFreeBSD box:

$ gcc 70calibrerassaultmount.sh -o full-nelson
70calibrerassaultmount.sh: file not recognized: File format not recognized
$ ./full-nelson
-bash: ./full-nelson: No such file or directory

Is there different compiler (icc?) or architecture (maybe needs a RISC
arch?) requirement?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/885027

Title:
  SUID Mount Helper has 5 Major Vulnerabilities

To manage notifications about this bug go to:
https://bugs.launchpad.net/calibre/+bug/885027/+subscriptions

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


[Bug 600631] Re: Password does not unlock screen

2010-07-14 Thread Jon Oberheide
What's ls -l /etc/shadow look like?  /etc/shadow should be 640, owner
root, and group shadow.

I only ask because I ran into the same issue after exploiting myself
with the recent pam_motd vulnerability.  My PoC
(http://twitter.com/jonoberheide/status/18009527979) changed the
ownership of /etc/shadow and upon changing it back (I think I did chown
root:root instead of root:shadow), I had the same issue of not being
able to log in via the screensaver and the same check pass; user
unknown error message (unix_chkpwd can't read the file if its not
shadow group readable).

I would blame it on the recent vulnerability...except that your initial
bug report pre-dated the vulnerability announcement. :-)

-- 
Password does not unlock screen
https://bugs.launchpad.net/bugs/600631
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 600631] Re: Password does not unlock screen

2010-07-11 Thread Jon Oberheide
What does your /var/log/auth.log look like when this happens?

Regards,
Jon Oberheide

-- 
Password does not unlock screen
https://bugs.launchpad.net/bugs/600631
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: Intrepid regression: carriage-return required after finger scan

2009-04-26 Thread Jon Oberheide
Vreixo,

I'll post some thinkfinger packages for Jaunty later today in my PPA.

Regards,
Jon Oberheide

-- 
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: Intrepid regression: carriage-return required after finger scan

2009-04-26 Thread Jon Oberheide
The thinkfinger packages for jaunty are built and available in my PPA:

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

Let me know if there's any issues!

Regards,
Jon Oberheide

-- 
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 311732] Re: 2.6.28-4 breaks thinkfinger

2009-01-06 Thread Jon Oberheide
Noel,

I think you're bluetooth module observations is an artifcact of the
following commit:

UBUNTU: Build in BT l2cap,rfcomm,sco
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=commit;h=0b3c77d51905b3b782208d06756fc4d62df116cd

The bluetooth support is being built into the kernel as opposed to a
module so you won't see it in lsmod.

Looking at the git log, there really doesn't seem to be many changes
between .3 and .4 that would affect the thinkfinger reader.  usbcore
(CONFIG_USB) and evdev (CONFIG_INPUT_EVDEV) were changed to be built-in
rather than modules but that shouldn't affect anything.

Regards,
Jon Oberheide

-- 
2.6.28-4 breaks thinkfinger
https://bugs.launchpad.net/bugs/311732
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 311732] Re: 2.6.28-4 breaks thinkfinger

2009-01-06 Thread Jon Oberheide
This is just a shot in the dark, but you could try libusb 1.0 which was
released early December (jaunty still uses the 0.1 package).  libusb is
used by thinkfinger to communicate with the fingerprint device.  It
certainly doesn't explain the differing functionality between kernel
versions, but who knows.

-- 
2.6.28-4 breaks thinkfinger
https://bugs.launchpad.net/bugs/311732
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 311732] Re: 2.6.28-4 breaks thinkfinger

2008-12-27 Thread Jon Oberheide
Does lsinput, lshal, or lsusb show the presence of the fingerprint
reader?

-- 
2.6.28-4 breaks thinkfinger
https://bugs.launchpad.net/bugs/311732
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: Intrepid regression: carriage-return required after finger scan

2008-12-27 Thread Jon Oberheide
Here's the composite patch of the key bit workaround and reverting r116.

** Attachment added: thinkfinger_0.3+r118-0ubuntu4~ppa2.diff
   
http://launchpadlibrarian.net/20765782/thinkfinger_0.3%2Br118-0ubuntu4%7Eppa2.diff

-- 
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 311732] Re: 2.6.28-4 breaks thinkfinger

2008-12-27 Thread Jon Oberheide
Could you attach the strace output while running the tf-tool command?

-- 
2.6.28-4 breaks thinkfinger
https://bugs.launchpad.net/bugs/311732
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 257827] Re: brightness changes twice when using hotkeys

2008-12-26 Thread Jon Oberheide
I believe this update broke LCD brightness controls on a number of
ThinkPad models (R61i, T61, X300).

See: http://ubuntuforums.org/showthread.php?p=6426872

-- 
brightness changes twice when using hotkeys
https://bugs.launchpad.net/bugs/257827
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: Intrepid regression: carriage-return required after finger scan

2008-12-22 Thread Jon Oberheide
thinkfinger-0.3+r118-0ubuntu4~ppa2 with the r116 revert patch is
building now in my PPA.  Feel free to give it a test once it lands!

-- 
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: Intrepid regression: carriage-return required after finger scan

2008-12-20 Thread Jon Oberheide
The thinkfinger packages in my PPA are only a workaround for the
underlying bug in hal.  The upstream hal bug hasn't gotten much
attention though.

-- 
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 269071] Re: Intrepid regression: default route is no longer redirected over VPN tunnel

2008-12-03 Thread Jon Oberheide
I believe clicking the ignore automatically obtained routes checkbox
is an effective workaround until the new nm packages are released
addressing this bug.

-- 
Intrepid regression: default route is no longer redirected over VPN tunnel
https://bugs.launchpad.net/bugs/269071
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: Intrepid regression: carriage-return required after finger scan

2008-11-04 Thread Jon Oberheide

** Attachment added: hal output for good.c testcase
   http://launchpadlibrarian.net/19346306/good.txt

-- 
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: Intrepid regression: carriage-return required after finger scan

2008-11-04 Thread Jon Oberheide

** Attachment added: hal output for bad.c testcase
   http://launchpadlibrarian.net/19346303/bad.txt

-- 
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: Intrepid regression: carriage-return required after finger scan

2008-11-04 Thread Jon Oberheide
I've tracked down the source of this issue in hal's hald/linux/device.c.
When a new input device is added, it goes through a series of checks to
determine what kind of device it is (mouse, keyboard, etc).

In input_test_key(), hal will figure out the size of the bitmask of the
devices (num_bits, aka the number of buttons this input device has).
If num_bits == 1, hal will treat the device as a button (eg.
power/sleep/hibernate button) rather than a keyboard.  Otherwise, it
will run further checks to see what kind of keyboard it is
(input_test_keyboard(), input_test_keypad()).

This explains exactly why having only a single key on the uinput device
(KEY_ENTER) fails to work and adding a second dummy key (KEY_A) fixes
the problem.  Without the dummy key, the uinput device is treated as a
button instead of a keyboard and does not send the KEY_ENTER event
when using libpam-thinkfinger.

I'll email upstream and figure out if there's a proper fix to allow one-
button keyboards or if hacking around it is the best approach.

-- 
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: Intrepid regression: carriage-return required after finger scan

2008-11-04 Thread Jon Oberheide
** Bug watch added: freedesktop.org Bugzilla #18375
   https://bugs.freedesktop.org/show_bug.cgi?id=18375

** Also affects: hal via
   https://bugs.freedesktop.org/show_bug.cgi?id=18375
   Importance: Unknown
   Status: Unknown

-- 
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 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-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 264094] Re: firefox crashed with SIGSEGV in XVisualIDFromVisual()

2008-10-15 Thread Jon Oberheide
Updated package has landed in Intrepid, this bug can be closed.

-- 
firefox crashed with SIGSEGV in XVisualIDFromVisual()
https://bugs.launchpad.net/bugs/264094
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 264094] Re: firefox crashed with SIGSEGV in XVisualIDFromVisual()

2008-10-13 Thread Jon Oberheide
According to the author of the upstream package, nspluginwrapper, this
bug has been fixed in the latest release:

http://gwenole.beauchesne.info/en/blog/2008/10/13/nspluginwrapper_1.1.2

** Bug watch added: Email to [EMAIL PROTECTED] #
   mailto:[EMAIL PROTECTED]

** Also affects: nspluginwrapper via
   mailto:[EMAIL PROTECTED]
   Importance: Undecided
   Status: New

-- 
firefox crashed with SIGSEGV in XVisualIDFromVisual()
https://bugs.launchpad.net/bugs/264094
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 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 259383] Re: Imap in evolution doesn't work

2008-09-25 Thread Jon Oberheide
This bug is still present for me in 2.24.0, please re-open and let me
know what further information is necessary.  I've attached the output of
running evolution --debug, hitting send/receive, and still not seeing
the proper updates of the content of my IMAP inbox.

** Attachment added: ev.debug
   http://launchpadlibrarian.net/17945695/ev.debug

-- 
Imap in evolution doesn't work
https://bugs.launchpad.net/bugs/259383
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 259383] Re: Imap in evolution doesn't work

2008-09-25 Thread Jon Oberheide
I've only experienced the issue with the inbox.  Then again, I'm not
frequently checking my archived mail to see if new messages have been
archived. :-)

-- 
Imap in evolution doesn't work
https://bugs.launchpad.net/bugs/259383
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 258643] Re: intrepid acpi issues on thinkpad x300

2008-09-08 Thread Jon Oberheide
All of the kernel-related ACPI issues described have been resolved in
2.6.27 for me.  The LCD brightness controls are still not working but
appears to be a userspace issue as the events are properly being
received by acpid.  I'll look into those separately, but for now, we can
close this bug.

-- 
intrepid acpi issues on thinkpad x300
https://bugs.launchpad.net/bugs/258643
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 264094] Re: firefox crashed with SIGSEGV in XVisualIDFromVisual()

2008-09-04 Thread Jon Oberheide
Looks like an issue with new changes introduced in nspluginwrapper 1.1.0
to add support for windowless plugins (eg. Flash 10).

The X11 visual (ws_info-visual) seems to be getting mucked somewhere,
making XVisualIDFromVisual unhappy.

-- 
firefox crashed with SIGSEGV in XVisualIDFromVisual()
https://bugs.launchpad.net/bugs/264094
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 259383] Re: Imap in evolution doesn't work

2008-08-20 Thread Jon Oberheide
I'm also seeing this problem on Intrepid with 2.23.90 (although I
believe it was present in a previous version as well).  I have two IMAP
accounts (gmail and university) and both are experiencing this issue of
not seeing mail in the inbox.

One way to workaround the issue is to open up Folder-Subscriptions and
uncheck and then recheck the inbox folder.  An annoying workaround but
hopefully it helps narrow down the problem area.

-- 
Imap in evolution doesn't work
https://bugs.launchpad.net/bugs/259383
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 258643] Re: intrepid acpi issues on thinkpad x300

2008-08-17 Thread Jon Oberheide

** Attachment added: uname
   http://launchpadlibrarian.net/16882638/uname.txt

-- 
intrepid acpi issues on thinkpad x300
https://bugs.launchpad.net/bugs/258643
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 258643] Re: intrepid acpi issues on thinkpad x300

2008-08-17 Thread Jon Oberheide

** Attachment added: lspci
   http://launchpadlibrarian.net/16882661/lspci.txt

-- 
intrepid acpi issues on thinkpad x300
https://bugs.launchpad.net/bugs/258643
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 258643] Re: intrepid acpi issues on thinkpad x300

2008-08-17 Thread Jon Oberheide

** Attachment added: dmidecode
   http://launchpadlibrarian.net/16882663/dmidecode.txt

-- 
intrepid acpi issues on thinkpad x300
https://bugs.launchpad.net/bugs/258643
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 258643] Re: intrepid acpi issues on thinkpad x300

2008-08-17 Thread Jon Oberheide

** Attachment added: proc
   http://launchpadlibrarian.net/16882666/acpi.tar.bz

-- 
intrepid acpi issues on thinkpad x300
https://bugs.launchpad.net/bugs/258643
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 258643] Re: intrepid acpi issues on thinkpad x300

2008-08-17 Thread Jon Oberheide

** Attachment added: kernlog
   http://launchpadlibrarian.net/16882672/kern.log.0

-- 
intrepid acpi issues on thinkpad x300
https://bugs.launchpad.net/bugs/258643
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 258643] Re: intrepid acpi issues on thinkpad x300

2008-08-17 Thread Jon Oberheide
The requested ACPI information has been attached.

-- 
intrepid acpi issues on thinkpad x300
https://bugs.launchpad.net/bugs/258643
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 258643] [NEW] intrepid acpi issues on thinkpad x300

2008-08-16 Thread Jon Oberheide
Public bug reported:

Upon upgrading to the Intrepid alpha from Hardy, a significant amount of
ACPI functionality has failed on my Lenovo Thinkpad X300.

Event that still work (seen by acpi_listen):
- ac adapter / battery
- button/lid (although suspend is not triggered as expected on close)
- ibm/hotkey for lcd brightness (although brightness is not actually adjusted)
- ibm/hotkey for thinkvantage button

Events that no longer work:
- power button
- volume up/down hotkeys
- cannot wake up from suspend via any hotkeys/lid

I'd be happy to include any other desirable information to help diagnose
and fix the issue.  The lack of events coming to acpid seems like a
kernel or thinkpad-acpi issue but the lack of suspend-on-close and
brightness adjustment seem to be userspace problems (acpi-support?).

Regards,
Jon Oberheide

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: acpi thinkpad x300

-- 
intrepid acpi issues on thinkpad x300
https://bugs.launchpad.net/bugs/258643
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 203679] Re: hald-addon-inpu making 100%-cpu-usage

2008-04-19 Thread Jon Oberheide
Excellent.  Any maintainers around to review/merge before Hardy?

-- 
hald-addon-inpu making 100%-cpu-usage
https://bugs.launchpad.net/bugs/203679
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 203679] Re: hald-addon-inpu making 100%-cpu-usage

2008-04-18 Thread Jon Oberheide
Attached is a patch against hal's latest GIT branch.

Feel free to try it out and let us know the results.

** Attachment added: possible fix to handle nval conditions
   http://launchpadlibrarian.net/13565547/addon-input-nval.patch

-- 
hald-addon-inpu making 100%-cpu-usage
https://bugs.launchpad.net/bugs/203679
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 203679] Re: hald-addon-inpu making 100%-cpu-usage

2008-04-17 Thread Jon Oberheide
It looks like this might indeed be the case:

read(12, \335\27\10H\0\0\0\0\374L\1\0\0\0\0\0\0\0\0\0\1\0\0\0, 1024) = 24
read(12, 0x6115a0, 1024)= -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=7, events=POLLIN}, 
{fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, 
events=POLLIN}, {fd=6, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, 
{fd=12, events=POLLIN}], 10, -1) = 1
read(3, l\1\0\1\3\3\0\0\27\0\0\0\204\0\0\0\1\1o\0#\0\0\0/org/f..., 2048) = 923
read(3, 0x60cca0, 2048) = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=7, events=POLLIN}, 
{fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, 
events=POLLIN}, {fd=6, events=POLLIN}, {fd=12, events=POLLIN}, {fd=3, 
events=POLLIN}], 10, 0) = 0
close(12)   = 0
writev(3, [{l\2\1\1\0\0\0\0\27\0\0\0\10\0\0\0\5\1u\0\27\0\0\0, 24}, {, 0}], 
2) = 24
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=7, events=POLLIN}, 
{fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, 
events=POLLIN}, {fd=6, events=POLLIN}, {fd=12, events=POLLIN, 
revents=POLLNVAL}, {fd=3, events=POLLIN}], 10, -1) = 1

fd 12 is closed via remove_device() but not removed from poll's fdset.
Therefore poll continues to return with the POLLNVAL code but it is
never handled.  The POLLNVAL should be handled by adding G_IO_NVAL to
the g_io_add_watch_full() event mask and then also included in the error
condition at the top of event_io().

-- 
hald-addon-inpu making 100%-cpu-usage
https://bugs.launchpad.net/bugs/203679
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 203679] Re: hald-addon-inpu making 100%-cpu-usage

2008-04-16 Thread Jon Oberheide
Experiencing the same intermittently on a ThinkPad X300.

The addon-input tool is pretty straightforward:

http://cgit.freedesktop.org/hal/tree/hald/linux/addons/addon-input.c

It's been forever since I've used GIOChannels, but it doesn't look like
the channel might not be getting fully unref'ed the correct number of
times.  A GIOChannel starts off with a refcount of 1 when it's created
and is incremented on a g_io_add_watch_full().  Normally, the event
source should be removed if it's callback returns FALSE.  But if there's
another caller of remove_device(), the channel gets shutdown and
deref'ed once but if the event source is still around the ref count will
still be 1 and might result in the polling on a non-existent fd behavior
that we're seeing.

Then again, I'm totally rusty on GIO and am likely way off. :-)

-- 
hald-addon-inpu making 100%-cpu-usage
https://bugs.launchpad.net/bugs/203679
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