Showing posts with label raspberrypi. Show all posts
Showing posts with label raspberrypi. Show all posts

Thursday, June 28, 2012

RaspberryPi mouse and keyboard do not work after startx

Setting up my recently received RaspberryPi and everything seems fine, I can get the Pi working.  However, when I try to startx, my mouse and my keyboard doesn't response at all.  At first, I thought it might be the power drained is maxed out, but after several searches, looks like it is because my firmware is not updated.  However, updating Pi firmware is a pretty tedious task itself.  Let me documented my experience here and hopefully someone might be benefited from this post.



You need to download the rpi-update script
  • wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update
Move the script to /usr/bin/rpi-update and run chmod +x /usr/bin/rpi-update

You need to do a update, since I'm using the Debian version, just run sudo apt-get update

Now you need to install ca-certificate
  • sudo apt-get install ca-certificates
Install git-core
  • sudo apt-get install git-core
Last, update your Pi firmware
  • sudo rpi-update
Reboot your Pi, and login.  Now try startx and your mouse and keyboard should response again, enjoy your Pi!