Saturday, September 22, 2012

We Have Pi!

It a took some time to gather a few missing parts but last night, finally, Daron and I booted-up our Raspberry Pi Version-B (RPi). It was exhilarating!

I don't remember exactly what got me hooked on the idea, but after months of reading about the RPi in blogs, I placed an order in early July, 2012. The open source nature and the stated missions of RPi to get high schools hands-on and below the hood with boards and OS's topped me over.

Daron, my youngest and high school freshman (RPi target audience) has shown just enough interest along the way to keep me motivated! When the package arrived in early August, I posted a pic of the bare board on Facebook and got a fair number of thumbs-up. I knew this was going to be fun.

Out of Pocket

  • We were on the waiting list for several weeks with Newark/Element14. Board plus red plastic enclosure including shipping and handing $53.39
  • An HDMI to DVI cable which we got on eBay for $3.43 including shipping.
  • We had 2GB microSD card but wanted a larger capacity one so we got an 8GB card on eBay with adapter and free shipping direct from China for $4.94
  • Some months back, I recycled a couple of superlong CAT5 cables. Our RPi workbench is quite a distance from the Ethernet router. So we needed a Cable Joiner which we got on eBay a set of 2 (no less) for $0.99 with free shipping direct from China!
Total: $62.75

Initial boot
Plus Ethernet

Reuse

We reused the following items from around the house:
  • Apple iPad adapter
  • Motorola micro USB charger cable
  • BTC 6100C USB keyboard
  • Microsoft IntelliMouse Optical USB Mouse
  • RJ45 CAT 5 5E Ethernet
  • Pair of headphones

The Software

We stated with Raspbian “wheezy” download 2012-07-15-wheezy-raspbian.zip

Daron used these steps and his Windows laptop to create the SD card for the RPi. Worked the first time. The instructions included the following ominous note "Be careful to select the correct drive; if you get the wrong one you can destroy your computer's hard disk!"

Issues and Workarounds

  • Pocket Mouse 72114 USB Mouse did not work with the RPi. This one isn't on this list of Problem USB Mouse Devices. Tried registering on the site to add this device to the list but wasn't able to. Thwarted!
  • Had to change locale and keyboard mapping using these steps. I found this out when I tried logging into Gmail with my account where the password includes a symbol font. Shift-2 and Shift-3 were mapped to a British variant.
  • Had to change timezone to Pacific using these steps.
  • As soon as I was browsing, I got excited and jumped into Gmail. Slooow and even crashed once.  I love the CPU indicator on the LXDE (Lightweight X11 Desktop Environment). Its like the RPM indicator on a car. Lets you know when things are maxing the RPi out. At 700MHz and 256MB RAM, maxing out is easy to go but still plenty of potential.

ToDo List

  • Buy a Adafruit power supply for more juice. 
  • Buy a USB hub.
  • Connect a wireless keyboard and mouse.
  • Buy a USB Wi-Fi adapter and connect to NahaNet.
  • Connect to external audio.

Read more...

Sunday, September 16, 2012

OS X Mountain Lion musings

I have a trusty MacBook Pro early-2008 model which I upgraded to OSX Mountain Lion recently.

The upgrade went surprisingly smoothly - surprising compared to Windows experiences of years gone by. The laptop had the original 2MB of RAM which it came with. Things slowed down in a scary way (to the point where I was wondering if the upgrade was a good idea).

I upgraded memory to 4MB off eBay and things are back to normal. I could have upgraded to 8MB but that was a bit over budget for me.

MySQL O_o

I'm a novice hobbyist software tinkerer. As I started down the path of migrating a Java app to Amazon Web Services, I discovered that MySQL that I have running for years pre-Mountain Lion had stopped working. MySQL would fail to start with the error message "The MySQL Database Server installation was not found. Please make sure the /usr/local/mysql/bin/mysqladmin file is present."

Oops
After some searching around, this page from dougr provided the hint, though the original article was for Leopard. It was simple case of a symbolic link to that went missing during the upgrade.

At first, I placed the link under /Users/roupen which turns out was wrong (I did say I am a novice). I placed the link under /usr/local like so sudo ln -s mysql-5.0.51a-osx10.5-x86 mysql

Ahhh yes, finally running
Things are happy again now!

Growl No More

The other thing that I did is remove Growl after some looking around. I'm all in with the Mountain Lion Notifications. When I looked at apps that Growl preferences pannel, there were only a handful of apps listed there are using Growl. Several were old-old apps that I no longer use (and had since uninstalled). I used the Growl Uninstaller listed on this page and bam! done.

Google Music Manager No More

Having taken a break from Android (was always an iPhone user), I also removed Google Music Manager. I didn't realize removing the app from the Applications folder wasn't sufficient. Some additional clean-up was required as listed here. Thank you Google for complete uninstall instructions. Remains to be seen if I will get back to Android and Google Music some day... Android JellyBean was the last flavor of Android for me for now...

Read more...