On Thu, Feb 25, 2010 at 03:21:28PM -0600, Jason Wessel wrote: > When using a keyboard with kdb, on resuming the system there needs to > be a hook to allow for the keyboard state to get reset. > > This is mainly because there is no way to force the end user to hold > down the original keys that were pressed prior to entering kdb. > Instead of adding all the new hook can't you copy the bitmap of currently pressed keys when you invoke kdb and theni, on exit, use input_inject_event() to clear bitmasks in the devices? -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html