July 2012

KeepassX Auto-Type Causes Stuck Keys

On my Ubuntu 10.04 machines when I use the Auto-Type feature of KeePassX, the Alt key will act if it is stuck on.  To fix it, I have to log out and back in again.  The bug is documented on the KeePassX forum as Auto-Type under 10.04 causes stuck key problems.  Luckily, there is a workaround there, too.  By increasing the delay before Auto-Type starts to one second, it gives you time to release the Auto-Type hot keys before Auto-Type begins and the problem doesn’t happen.

Uncategorized

Comments (0)

Permalink

Numeric Keypad Weirdness

This morning, I was typing something in and accidentally hit a key or keys near the Insert and Print Screen keys.  The num-lock light went off and using the numeric keypad stopped working.  When I turn num-lock back on, rather than entering numbers, my cursor jumped around.  I’m not sure how I did this, but to fix it, I did this (on Ubuntu 10.04):

  1. Start Keyboard Preferences (System -> Preferences -> Keyboard)
  2. Select Mouse Keys tab
  3. Uncheck “Pointer can be controlled using the keypad”

Uncategorized

Comments (0)

Permalink

New CyanogenMod 9 Download Site

For Samsung Galaxy Nexus on Verizon (toro):
http://download.cyanogenmod.com/?device=toro&type=nightly

Uncategorized

Comments (0)

Permalink

Android Emulator Won’t Start

The Android SDK has a device emulator.  I use it in Eclipse with the Android JUnit test framework.  A few days ago, the emulator refused to start.

From Window -> AVD Manager, I started one of the devices.  A dialog titled “Starting Android Emulator” came up.  Inside it, a progress bar ticked off ten seconds.  Then, nothing.  This behavior was the same for all my devices, from Android version 1.5 through version 4.0.3.

To see if the problem was related to Eclipse, I started the emulator from the command line.  To do this, you need the name of the AVD:

android list avd

Using my Android 1.5 virtual device, I tried to start it:

emulator -avd OldAndroid

And the result was “Segmentation fault”.  I turned on “verbose” and ran again:

emulator -verbose -avd OldAndroid

This prints out what’s happening.  The last line before the seg fault was:  “emulator: Initializing hardware OpenGLES emulation support”.  Next, I tried to see which system call failed:

strace emulator -avd OldAndroid

The last line there is a futex call with operation FUTEX_WAIT and no timeout.  This call was unfinished, resulting in the seg fault.  From the manual page for futex:  “This operation atomically verifies that the futex address uaddr still contains the value val, and sleeps awaiting FUTEX_WAKE on this futex address.”  The address appears in the lines above.

A bug report was filed today about this issue:  http://code.google.com/p/android/issues/detail?id=34233

Uncategorized

Comments (3)

Permalink