Don't call gimp_input_device_store_lookup() with a NULL name. Unplug seems broken because we always get name == NULL, I need to fix this but at least it doesn't crash any longer (and the fix is generally correct and not a workaround).
GIMP was probably the only user of libhal on most systems, this had to stop. Ported the linux-input module to GUdev.