There shouldn't be any devices in the wild running firmware version 2. The Roku 1s run version 3.1 and all current generation Rokus run version 5.0.
That being said, you can check the firmware version via the GetVersion() method of roDeviceInfo:
http://sdkdocs.roku.com/display/sdkdoc/ ... onasString
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)