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!




Friday, June 8, 2012

Tools to test across all browsers

http://www.browserstack.com/
BrowserStack is a web based cross browser testing tool.  Has a nice feature to let you test on development server that might not be exposed to the public.

http://browsershots.org/
BrowsersShots let you enter your URL and do a browser compatibility test across the browsers you checked. Some people prefer Adobe Browser Lab because they claimed it's faster than Browsershots, and one can save his/her own set of browsers.

http://netrenderer.com/
IE NetRenderer allows you to check how a website is rendered by Internet Explorer 10, 9, 8, 7, 6 or 5.5, as seen from a high speed datacenter located in Germany. Just type in a URL in the field above and try it out - it's free!

https://browserlab.adobe.com/en-us/index.html
Adobe BrowserLab is an online service that helps ensure your web content displays as intended. Accurately preview web pages across multiple browsers and operating systems, navigate links, and use diagnostic tools to optimize websites efficiently.

https://addons.mozilla.org/en-US/firefox/addon/adobe-browserlab-for-firebug/
Adobe BrowsersLab for Firebug

http://spoon.net/browsers/
Browser Sandbox lets you "run popular web browsers with no installs" (IE6, 7, 8, 9+, Firefox, Chrome, Safari, Opera).

http://finalbuilds.com/iecollection.htm
Multiple IE versions you can installed.

http://www.microsoft.com/en-us/download/details.aspx?id=4580
For testing in different IE versions on Windows, you can also use Microsoft Virtual PC.

Note: The above is not an exhausted list of tools you can use for browser testing.  If you have more tools you have seen and want to share, please feel free to add it in the comments, thanks!