Off to New York City!

In the coming week I will be leaving the Greater Atlanta Metro area for the confines of a one bedroom apartment in the middle of Manhattan. This is a voluntary move for an opportunity offered to me through my work for The Home Depot. I will be pairing with a company during my time in NYC to build my skill-set on the Extreme Programming front. The current plan places me up north for around a 22 week stint and I am extremely excited to be going.

The real fun starts early next week when Haley, Maggie (the dog), and I grab a rental car and hit the road for the 14 hour drive. We will be making it a two day trek up the east coast, arriving in New York in the early afternoon. It was absolute hell trying to find a hotel which worked with the internal reservation system and would accept pets without a $100-$250 non-refundable pet fee. This could have all been avoided if any airline would accept Boston Terriers in the cabin, but apparently “snub” nosed dogs are no longer allowed. Oh well, it will make for a great adventure getting up there.

New York will be an amazing change from my routine down south. For one I will be leaving my largest time wasting vice, my desktop computer, behind me. Towards this end, I recently purchased a Chromebook which will allow me to still work on my personal projects without tempting me with all the gaming I normally get distracted with. I will also be starting a new dietary lifestyle with Haley while we are up there. Moving toward the European-style of purchasing food the day of the meal and basing it off of a healthier main entree depending on what we find looks good that day. This, in conjunction with a more active routine, will hopefully help me lose a little bit of the weight I have been putting on. The plan is also to write more on these subjects here as my trip continues.

Finally, we just got a new camera to document our time in New York, so hopefully look out for some good pictures as well.

Share this post if you like it and feel free to hit me up with any comments at Winston@W4C.BE:

Civilization V Audio Issues on Chromebook

So, I recently purchased an Acer C720 Chromebook for use during my upcoming trip to the big apple as it was cheap and fit the bill for everything I really need a laptop. But, being who I am I had to try and do more with it. The laptop itself is the C720-3404 which comes with an Intel Core i3-4005U processor, 4GB ram, and a 32GB SSD. This is really more than powerful enough for a lot of different application (including some games) and is especially nice since I got it for <$300 USD. The only thing I had to do to get gaming was to use Crouton to install a chrooted install of linux side by side with Chrome OS. Install steam, grab some games, and I am ready to go.

Everything pretty well works out of the box, but you will find some issues do crop up. The main reason for this post is the only real issue I have had with the setup so far. I experienced audio skipping and stuttering in Civilization V by default. After a whole lot of googling and a few attempted fixes later I believe I found the shortest path to smooth audio. In case anyone needs it for their own install, just modify /etc/pulse/daemon.conf and un-comment/update the following entries:

/etc/pulse/daemon.conf
1
2
3
default-sample-rate = 48000
default-fragments = 5
default-fragment-size-msec = 2

I have also updated the Crouton wiki page with this information so hopefully it won’t take less time for the next person to solve this same issue. Just for reference, I installed Ubuntu Trusty with XFCE4 in my crouton chroot.

Share this post if you like it and feel free to hit me up with any comments at Winston@W4C.BE:

Raspberry Pi Laptop Version 2

Some time after the first iteration of the Raspberry Pi Laptop, the Raspberry Pi Foundation suddenly released the Raspberry Pi 2, a backwards compatible quad-core upgrade to the original Raspberry Pi. I knew, just by the specs alone, I had to get one and use it as part of my lapdock setup. I believed it would solve all the issues I had with the original RPi model B. See below for the final build and read on for how it came together.

Raspberry Pi Laptop Version 2 - Back View

Sourcing Parts

First things first, I had to look into the power consumption of the new devices. I figured that with a quad core processor and more ram it had to be consuming more power. A bit of google-fu and a few links from my brother I was able to find a great article which details out everything I needed to know. Thanks to the wonderful re-engineering of the built-in PSU they were actually able to LOWER the power consumption of the newest revision (when compared to my original RPi B). With this in mind, I sourced it from Element 14 day of release and purchased as quickly as I could since stock was being snapped up. A short time later, the beautiful new Raspberry Pi 2 arrived at my doorstep.

Building

Given my inability to go slow when getting something new, I ripped the new packaging open and started assembling. I knew from research that back-powering would not work anymore due to protections introduced in the RPi model B+ USB layout. That was fine, I can always just re-create the Y-cable I made during my first iteration. I reluctantly set aside the new hardware and headed down to the basement for more Shoddy Soldering™. A short time and two attempts later I came out with a newer, less shoddy version of the original Y cable I made during my first iteration. It worked, the pi booted, and I had a running system again. Except wait… What is that rainbow square thing in the top right corner?

Turns out that in the redesign of the RPi B+ they introduced an undervoltage warning which would display on the screen if the RPi received below 4.65V. Apparently, my little lapdock has been undervolting the raspberry pi since day one and I just didn’t know it. It does explain one occurrence of SD card corruption I experienced (combined with having overclocked the original RPi B). I figured since the original ran so well even with the un-known under-voltage it received and the fact that the new model uses less energy I would just live with it and see if I experienced any issues. It is currently 3 months into the new build and so far I have not seen any noticeable issues in the build.

Impressions

Minus the rainbow square I mentioned above (which I know I can turn off if I cared to) the new Raspberry Pi 2 is like night and day as a desktop operating system. The quad-core processor and double the ram makes the machine feel more responsive than I have ever felt it be. I am now able to use Chromium directly rather than a special made browser. I am able to load up any website, including youtube (albeit on 360p video) and watch random videos. I am even able to solidly use the Cloud9 web based IDE inside chrome on the RPi (I wrote this site and write every post with Cloud9). I think that finally, with the Raspberry Pi 2, the platform has become a solid contender for a desktop replacement. Sure, I can’t load up steam and play my library of games, but it does just about everything else I need.

Coming soon I will be going to New York City for an extended period of time (hopefully) and I plan on using this setup as my primary rig. I should be writing about my experiences on here soon.

Share this post if you like it and feel free to hit me up with any comments at Winston@W4C.BE:

Raspberry Pi Laptop: Version 1

Somewhere around four years ago I had an unfortunate accident with my old HP 510 laptop which resulted in a thumb going through the LCD screen. This left me without a laptop, which was not too bad as I still had a perfectly fine desktop and an iPad. The only problem with this setup is that the desktop isn’t really portable and the iPad leaves a little to be desired in applications and multitasking. I did try sporadically for a while to get by with the iPad alone, following in the footsteps of people like Mark O’Connor, but it really just didn’t work well for me.

I had it in my head for a while during this time to try to do something interesting with the Raspberry Pi as all I had previously done was make it into another media center. I thought a laptop built around it would be great, but really didn’t find any good and cheap ways to achieve it. That was until I found the Lapdock series of netbook-like devices normally powered by smartphones. The lucky part to me is that the lapdock was a commercial flop leaving a lot of stock in the secondary market for cheap. I found a couple examples of people successfully using them with the RPi and figured, why not. I started doing some research and built the parts list for my own build.

Parts

  • Lapdock 100
  • Raspberry Pi Model B
  • Micro-USB Female to Male extender
  • Micro-USB Male to USB Male cable
  • Micro-HDMI male to HDMI Male cable
  • Micro-HDMI Female to Female coupler
  • (Bought Later) USB Male to USB Male coupler

Raspberry Pi Laptop Version 1 - Back View

Initial Build

With all the parts having arrived I got right down to building as quickly as I could because I am impatient. First things first, I tested to see if the lapdock even worked. It was rather easy as all it took was the HDMI coupler and Micro-HDMI to HDMI cable to get the video working and plugging rPi into a wall-wart power source. After a few attempts at order of operations on what to connect I had it working. Next was to work on my power and data cable.

The first iteration of the power/data cable was made using the Micro-USB Female to Male extender and a spare charger cable designed for a phone. I split the extender cable at the male end and the charger cable in half. On the extender half of the cable, I stripped around 1 inch away from the shielding and stripped the individual USB wires bare at about 1/4 - 1/2 an inch. I did the same for the Micro-HDMI male end of the charger cable but only to the power and ground wires (Red and Black). On the regular USB male end of the charger cable I stripped back only the data wires (Green and White). Now, I simply soldered the exposed color coded wires on the extender to their counterparts on the two ends of the charger cable. The final wire allowed me to splt the data lines to the USB port of the rPi and the power lines to the normal power input of the rPi.

Now to contain all the wires since I left them long I used an altoids tin and a little bit of scrap wood from the shop. By screwing the altoids tin to the thin block of wood it allowed me to have it be able to stow in the phone slot of the lapdock. A little bit of velcro and a pressure fit case for the Raspberry Pi and I had it attached to the back of the Lapdock. Everything came together fairly nicely.

Testing and Tweaking

Initial testing showed no audio, which was what many other earlier creators of Raspberry Pi Lapdocks found. The solution was simple enough, just a flipped setting in the RPi’s configuration file: /boot/config.txt. Simply find the line for hdmi_drive and set it to two as seen below. This tells the Raspberry pi to force HDMI mode on the HDMI port as opposed to audioless DVI mode.

/boot/config.txt
1
hdmi_drive=2

I also experienced an issue where the keyboard and trackpad would intermittently disconnect/reconnect. Light debugging left me to believe it was due to my soldering skills (or lack there of) and the special cable I created. After a little research I discovered the Raspberry Pi B allowed for back-powering through the USB ports. Knowing this, I found the USB Male to USB Male coupler I mentioned in the materials list and did a straight connection from the Lapdock to the Raspberry Pi. This solved all connectivity issues I was having.

Impressions

After getting all the hardware together it, the setup worked about as well as I think I could have expected for the Raspberry Pi. I did end up overclocking the RPi to eek out as much performance as I could, but at the end of the day it is still a Raspberry Pi and has its limitations. Finding a web browser that worked well was the biggest issue. I ended up getting in as early as I could on the Collabora Web webkit based browser and it worked the best out of any I could find. Still had to use a script to pull youtube videos, but hey, it covered most of my needs.

Soon, hopefully, I will have another post up with my rebuild of the laptop with the Raspberry Pi 2 and my impressions of it.

Share this post if you like it and feel free to hit me up with any comments at Winston@W4C.BE:

A New Look for My Poker II

In the past six or so months I have been getting more into Mechanical Keyboards and high-quality peripherals. I figure since I am using a keyboard all day I might as well put a little money into one of the biggest tools for my livelyhood. That was when I purchased the Vortex (or KBC, iKBC, and many other brand names) Poker II. It is a 60% keyboard, lacking dedicated function keys, numpad, and arrow key opting for those options being under a function layer. This provides a lot of functionality in a very small package. Along with functionality, the mechanical keyboard world offers a lot of customization if you are willing to do the work or pay the prices. Recently I paid such a price to put a little flair and upgrade on my keyboard. Withough further adeu:

iKBC Poker II with PBT Keycaps

Share this post if you like it and feel free to hit me up with any comments at Winston@W4C.BE: