I solved the problem by booting into recovery mode and typing: sudo dpkg-reconfigure console setup This time I selected US region and keyboard. Last time I had selected Iran region and keyboard layout. Seems like a bug.
-- [i945gme] Keyboard not working after upgrade to Lucid https://bugs.launchpad.net/bugs/513932 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