tag:blogger.com,1999:blog-82695130559527149982024-03-08T03:08:15.458-08:00Raspberry Pi VanputerSteps to make a Raspberry Pi media center for the family van. Uses a Rapsberry Pi Model B and a Honda Odyssey.Anonymoushttp://www.blogger.com/profile/15047135333333373940noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8269513055952714998.post-61854909407970434552013-07-07T09:37:00.000-07:002013-07-08T09:44:20.466-07:00Raspbian + MAME4ALL + XBMCSo as to not loose what I posted to Facebook, I'll recopy below for posterity...<br />
<br />
<span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span class="UFICommentBody" data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[3:0].[4:0:0]">OK
- I'll bite...picked one up from Amazon, installed a 32GB SD with (</span></span></span></span><span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span class="UFICommentBody" data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[3:0].[4:0:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:6]">Raspbian) </span>Linux
and MAME4ALL and was able to play Galaga (and Time Pilot '84, and...)
as if it were the Windows port so "well done" to the Raspberry Pi folks.
Had to tweak some of the UK/GB wh</span></span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6502901}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1].[4:0:0]">eezy
configs, but that's just normal Linux stuff. Amazing what can be done
with a little $35 "computer" (albeit a tad "slow" compared to the
typical multi-core/GHz monsters we have these days).</span></span></span></span></span><br />
<br />
<span data-reactid=".r[30kui].[1]{comment10201440450317017_6503028}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[1]"></span><span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6503028}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span class="UFICommentBody" data-reactid=".r[30kui].[1]{comment10201440450317017_6503028}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503028}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503028}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[3:0].[4:0:0]">I
took the total high road approach (install/tweak Linux, use the Pi
Store app to download/install MAME4ALL and SFTP'd the ROMS from my
Windoze PC via WinSFTP and "voila", insta-game machine, including
sound). Ideally I would think you'd want to confi</span></span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503028}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503028}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503028}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1].[4:0:0]">gure
X11 to autostart the MAME app which wouldn't be that hard (throw it in
the .xinitrc startup script?), but would need to test that out. This
was literally an hours worth of tinkering <span class="emoticon emoticon_wink" title=";)"></span>.
I haven't tried the NOOBS/multi-OS approach yet, but would think that
would be the route you'd want to go rather than have multiple SD cards -
just configure both OS images to do what you want and then pick one
from the boot menu.</span></span></span></span></span><br />
<br />
<span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6503044}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503044}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503044}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:0]">...hmm, since I started with Raspbian, I'll see if I can just add XBMC via </span><a class="" data-reactid=".r[30kui].[1]{comment10201440450317017_6503044}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:1]" href="http://www.raspbian.org/RaspbianXBMC" rel="nofollow" target="_blank">http://www.raspbian.org/RaspbianXBMC</a><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503044}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:2]"> (didn't go so well).</span></span></span><br />
<br />
<span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[1]"></span><span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span class="UFICommentBody" data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[3:0].[4:0:0]">Building
XBMC from scratch was a non-starter (would require installing too many
dependencies, which I tried doing, but ran into a bunch of walls).
Fortunately someone built it already for Raspbian, so I just followed
the few steps on </span></span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1]"><a class="" data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1].[4:0:0]" href="http://michael.gorven.za.net/raspberrypi/xbmc" rel="nofollow" target="_blank">http://michael.gorven.za.net/raspberrypi/xbmc</a><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1].[4:0:1]">
and XBMC is now working as well (though I haven't tried playing any
DVDs or ripped media with it just yet, nor is there a "boot menu" to
pick XBMC vs. MAME yet).</span></span></span></span></span><br />
<span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span class="UFICommentBody" data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1].[4:0:1]"><br /></span></span></span></span></span>
<span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span class="UFICommentBody" data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6503327}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:3].[3:1].[4:0:1]">So steps thus far:</span></span></span></span></span><br />
<ol>
<li><span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:0]">install </span><a href="http://downloads.raspberrypi.org/images/raspbian/2013-05-25-wheezy-raspbian/2013-05-25-wheezy-raspbian.zip">http://downloads.raspberrypi.org/images/raspbian/2013-05-25-wheezy-raspbian/2013-05-25-wheezy-raspbian.zip</a><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:2]"> image via Win32DiskImager (from </span><a class="" data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:3]" href="http://www.blogger.com/null" rel="nofollow" target="_blank">http://www.raspberrypi.org/downloads</a><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:4]">)</span></span></span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:6]"> </span></li>
<li><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:6]">boot Raspbian and update locale and keyboard from UK/GB to US
(rebooting as necessary) so all the keys on my cheapo Nynex keyboard
would work (re: sudo raspi-config)</span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:8]"> </span></li>
<li><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:8]">install MAME4ALL via the built-in Pi Store app (from the X11 GUI which I also enabled by default)</span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:10]"> </span></li>
<li><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:10]">copy game ROMs to /usr/local/bin/indiecity/InstalledApps/mame4all_pi/Full/roms/ (per MAME4ALL docs)</span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:12]"> </span></li>
<li><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:12]">play a few games (via keyboard); may be able to get joystick working
at some point but I'll need a USB hub since both USBs are being used for
keyboard/mouse at the moment</span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:14]"> </span></li>
<li><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:14]">install pre-built XBMC binaries via instructions @ </span><a class="" data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:15]" href="http://michael.gorven.za.net/raspberrypi/xbmc" rel="nofollow" target="_blank">http://michael.gorven.za.net/raspberrypi/xbmc</a><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:17]"> </span></li>
<li><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:17]">boot XBMC and tinker around with that a bit; seems to work, but haven't tried any ripped DVDs yet</span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:19]"></span><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:19]"> </span></li>
<li><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:19]">need to play with Raspbian boot menu configs a bit yet - the X11
login/boot screen now offers "Default Xsession" (LXDE), LXDE, Openbox
(just shows a gray screen since it's probably not configured to start an
Openbox session or something) and XBMC as options so all I technically
need to do is login with pi/raspberry and pick whichever GUI I want.</span> </li>
</ol>
<span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:21]"></span></span></span>T<span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:21]">o make this a "consumer box" with just a "Media Center" and "Arcade" boot menu (sans any login) is still on the TODO (</span><a class="" data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:22]" href="http://www.opentechguides.com/how-to/article/raspberry-pi/5/raspberry-pi-auto-start.html" rel="nofollow" target="_blank">http://www.opentechguides.com/how-to/article/raspberry-pi/5/raspberry-pi-auto-start.html</a><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:23]"> mentions some of this).</span></span></span><br />
<span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506455}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:23]"><br /></span></span></span>
<span data-reactid=".r[30kui].[1]{comment10201440450317017_6506771}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[1]"> </span><span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6506771}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506771}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506771}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:0]">The
<i>raspi-config</i> command/script is what runs the first time you boot
Raspbian to set things up, but you can run it again whenever to tweak
things (or just hand edit the Linux flat files manually, but that's the
"hard way" <span class="emoticon emoticon_wink" title=";)"></span> ).
There's also "<i>dpkg-reconfigure keyboard-configuration</i>",
"<i>dpkg-reconfigure locales</i>" and "<i>dpkg-reconfigure tzdata</i>" that basically
do the same thing (albeit individually). I'd recommend rebooting
between changes, but that's just me being paranoid. Tips on this also @ <a href="http://rohankapoor.com/2012/04/americanizing-the-raspberry-pi/">http://rohankapoor.com/2012/04/americanizing-the-raspberry-pi/</a>.</span></span></span><br />
<br />
<span data-ft="{"tn":"K"}" data-reactid=".r[30kui].[1]{comment10201440450317017_6506771}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506771}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0]"><span data-reactid=".r[30kui].[1]{comment10201440450317017_6506771}.[2:0].[5:0:right].[4:1].[5:0:left].[2:1].[2:0].[2:0:2].[3:0].[4:0:0]">Other cool H/W toys (GPS comes to mind, in addition to adding Arduino compatibility/connectivity) @ </span></span></span><a href="http://www.cooking-hacks.com/index.php/shop/raspberry-pi.html">http://www.cooking-hacks.com/index.php/shop/raspberry-pi.html</a> though there's probably others (I've just begun to scratch the surface).<br />
<br />
Haven't tried SNES emulation yet, but found a good write-up on that @ <a href="http://supernintendopi.wordpress.com/">http://supernintendopi.wordpress.com/</a>. Guy Reshhttp://www.blogger.com/profile/18187334909206270040noreply@blogger.com0tag:blogger.com,1999:blog-8269513055952714998.post-2379962917653987582013-07-03T10:45:00.000-07:002013-07-03T13:04:25.631-07:00Decisions, decisions...<script type="text/javascript">
window._idl = {};
_idl.variant = "modal";
_idl.campaign = "nsa";
(function() {
var idl = document.createElement('script');
idl.type = 'text/javascript';
idl.async = true;
idl.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'members.internetdefenseleague.org/include/?url=' + (_idl.url || '') + '&campaign=' + (_idl.campaign || '') + '&variant=' + (_idl.variant || 'banner');
document.getElementsByTagName('body')[0].appendChild(idl);
})();
</script>
Since I am using the vanputer as a mobile entertainment center, I am considering adding a MAME-like emulator to it to let the kids play their games on the go.<br />
<br />
I started to research the idea of getting multiple OSes onto my 32GB SDHC card and booting a media center in an optimized setup or an emulation tool. I did alot of googling and it seemed like folks were not using the Rasberry Pi to do these particular things in the way that I wanted (RaspBMC + RetroPie). You either hosted a media center, or a game emulator, but rarely both. I assume that this is related to the performance of the Raspberry Pi.<br />
<br />
I came across <a href="http://www.berryterminal.com/doku.php/berryboot">BerryBoot</a>. It works as advertised, but just did not have the images I was interested in. I left a comment for the author, so maybe this would be something that is available in the future. If you want to boot multiple OSes, and they already have the stuff you want, it seems pretty ideal. If not, it's a whole other level of complexity.<br />
<br />
Since I am not a Linux guy, it was quite intimidating to think about installing an OS that could do both by myself. SO... I decided to punt.<br />
<br />
I purchased a 16GB SDHC card from Amazon and am going to install the RetroPie image there, following <a href="http://supernintendopi.wordpress.com/2013/01/23/an-a-to-z-beginners-guide-to-installing-retropie-on-a-raspberry-pi/">this tutorial</a>. I will let you know where I get to. If the kids want to watch movies, we put in SD card 1, if they want to play games, we put in the second SD card.<br />
<br />
The next thing I am hoping to figure out is a power solution that lets the Raspberry Pi shutdown gracefully when I turn off the van's ignition. Might be a tough one...Anonymoushttp://www.blogger.com/profile/15047135333333373940noreply@blogger.com0tag:blogger.com,1999:blog-8269513055952714998.post-81253087998275996002013-06-20T13:36:00.002-07:002013-06-20T13:47:01.733-07:00Initial Setup<div>
For this post, I am assuming that you have a device to read and write from the SD card. I happen to have an onboard multi card reader in my Windows7 desktop. If you do not, you might need to buy a USB peripheral, or ask someone for help to make it happen.</div>
<div>
<br /></div>
The steps to get the Raspberry Pi running are:<br />
<div>
<br /></div>
<div>
1. Format the SD card (at least 4GB)</div>
<div>
2. Write an operating system image to the card (I chose RaspBMC)</div>
<div>
3. Boot the Raspberry Pi to test the loading of the OS</div>
<div>
4. Start to install other hardware and software to your liking</div>
<div>
5. Enjoy...</div>
<div>
<br /></div>
<div>
<b>1. Format the SD card</b></div>
<div>
I am on windows 7, so I used <a href="https://www.sdcard.org/downloads/formatter_4/eula_windows/">SDFormatter </a>to format my card. If you do not already have a card that you can use, you can check <a href="http://elinux.org/RPi_SD_cards">the list</a> to see what you should get.</div>
<div>
<br /></div>
<div>
<b>2. Write an OS to the card</b></div>
<div>
There are many articles out there on the googlewebs that compare and contrast the different OS options available to be run on the Raspberry Pi. <a href="http://openelec.tv/">Openelec</a>, <a href="http://www.raspbian.org/">Raspbian </a>with <a href="http://xbmc.org/">XMBC</a>, <a href="http://www.raspbmc.com/">RaspBMC </a>and <a href="http://www.raspberrypi.org/downloads">others</a>. I am setting up my little machine to run in a van to replace a DVD player, so I went with RaspBMC.</div>
<div>
<i><br /></i></div>
<div>
<i>Note </i>that there are instructions on the Raspberry Pi site that point you to a new setup installer. I did not go this way, mostly because I was having power issues at the time and thought they were related to the OS setup. They were not, but by the time I figured that out, I had already installed RaspBMC. Caveat Emptor.</div>
<div>
<br /></div>
<div>
To write to the card, you need to:</div>
<div>
Download an <a href="http://www.raspbmc.com/download/">OS image</a>. Choose the network image.</div>
<div>
Download a <a href="https://www.sdcard.org/downloads/formatter_4/eula_windows/">tool </a>to format the card and go ahead and format it.</div>
<div>
Download a <a href="http://sourceforge.net/projects/win32diskimager/">tool </a>to write to the card and write the image to it.</div>
<div>
<br /></div>
<div>
At this point, you should have your SD card set up for an inital boot of the Raspberry Pi into RaspBMC.</div>
<div>
<br /></div>
<div>
<b>3. Boot the Raspberry Pi</b></div>
<div>
It was at this point that I had lots of issues arise. I booted the machine by plugging it in - there is no "on" switch anywhere. I was using the original NOOBs installer, but had also plugged in a wifi chip and a wireless keyboard. On top of that, I had a power supply that powered the lights, but pooped out when the other items came online.</div>
<div>
<br /></div>
<div>
Make sure that when you boot for the first time, you are hardwired to your network. The OS will attempt to download updates via the network connection. Do not try to do this with your wifi card as it needs to be configured before it can work - and SSH'ing into the Raspberry Pi will not work if it is not on the network.</div>
<div>
<br /></div>
<div>
<i>Note: </i>If your Raspberry Pi boots RaspBMC correctly you should get a nice logo screen soon after the power comes on. If not, you might see a "rainbow" test pattern, followed by some scrolling text, then a loss of signal. Then you would see the same thing again and again, in a loop. This was my power issue. Swapping out the power cable solved that issue for me - though lots of people point to a bad write of the OS, reformatting the SD card etc. Try the power first. I used a normal USB cable connected to an iPhone wall wart. Worked like a charm.</div>
<div>
<br /></div>
<div>
<b>4. Start to Install other hardware and software to your liking</b></div>
<div>
Once I had a stable boot sequence, I started to plug in more of the peripherals. I have a USB EDIMax Wifi card, and a FAVI mini keyboard. Both take up a single USB slot on the Raspberry Pi. I started with the mini keyboard. This seemed to work right out of the box. Since I had my power sorted, I was able to plug in the USB, restart the machine and everything worked.</div>
<div>
<br /></div>
<div>
Wifi was somewhat trickier. With the wired connection still in place, I SSH'd into the Raspberry Pi and installed the <a href="http://wiki.debian.org/rtl819x">driver </a>for the card. I used the following commands:<br />
<br />
$ sudo bash<br />
$ apt-get update && apt-get install firmware-realtek<br />
<br />
To get the software for the card down to the Raspberry Pi. The first command opens a new bash session with root priveleges (or maybe its just admin priveleges, remember I am not a linux guy). Once you are working in a session that has those credentials, you can do the install.<br />
<br />
After I installed the driver, I used the RaspBMC UI to pull down the Network Manager add-on program. Once network manager was down, I shut down the machine, swapped the cable for the wifi nic and restarted. I had to use the onboard keyboard to set up the wifi profile, but everything worked well at that point and I was on the network.<br />
<br />
Time to load the machine with videos for the van.</div>
Anonymoushttp://www.blogger.com/profile/15047135333333373940noreply@blogger.com0tag:blogger.com,1999:blog-8269513055952714998.post-6808806715801936142013-06-17T17:11:00.003-07:002013-06-17T17:12:13.479-07:00What to Buy?After deciding to augment my van's onboard DVD player with some sort of solid state electronics, I went through a couple of iterations.<br />
<br />
I knew that the RPi ran Linux and booted from an SD card. I also knew that it had 2 USB ports (plus an extra for power) as well as an HDMI port and a stereo headphone out. There are other, cool connections available to play with (GPIO jumps to mind) but I am not a hardware hacker at that level. With all that in mind, I started to think about my initial hardware purchase. I decided on a bare-ish bones setup, running directly from the SD boot card for media in the car. I happened to have a 32GB class 10 SD card lying around, so that was the beginning of the build.<br />
<br />
I also knew that my 2006 Honda Odyssey EX-L had some aux ports in the way back, by the third row of seats. Specifically RCA inputs for video and left and right audio. It also had a 12V car power socket.<br />
<br />
After consulting with some buddies, doing some research online - specifically about power issues and Raspberry Pi in general - I came up with the following list (on amazon.com):<br />
<br />
<a href="http://www.amazon.com/gp/product/B009SQQF9C/">Raspberry Pi Model B Revision 2.0 (512MB)</a> - $42.90<br />
<br />
<a href="http://www.amazon.com/gp/product/B0088U6OZY/">PowerGen Dual USB 3.1A 15w High Output Car Charger</a> - $9.99<br />
<br />
<a href="http://www.amazon.com/gp/product/B003UE52ME/">FAVI Entertainment Wireless Keyboard (Built-in TouchPad/Laser Pointer)</a> - $18.99<br />
<br />
<a href="http://www.amazon.com/gp/product/B003MTTJOY/">Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter</a> - $10.98<br />
<br />
<a href="http://www.amazon.com/gp/product/B009NKNDVG/">Multicomp Clear Raspberry Pi Enclosure (MC-RP001-CLR)</a> - $10.99<br />
<br />
<a href="http://www.amazon.com/gp/product/B000J1H4VI/">C2G / Cables to Go 40645 3.5mm Stereo Male To 2X RCA Female Adapter</a> - $1.97<br />
<span style="color: black;"><a href="http://www.blogger.com/blogger.g?blogID=8269513055952714998" name="shipped-items-0" style="background-color: white;"></a></span><br />
I happen to have Amazon Prime, so I did not incur any shipping charges for all of this stuff. 2 days after I ordered it, the hardware showed up. More on the initial boot in the next post.Anonymoushttp://www.blogger.com/profile/15047135333333373940noreply@blogger.com0tag:blogger.com,1999:blog-8269513055952714998.post-21059170401828690632013-06-17T07:06:00.001-07:002013-06-17T07:06:28.727-07:00An Auspicious BeginningThis all started as a way to stop using physical media (DVDs), while travelling with my kids in our 2006 Honda Odyssey EX-L. The DVDs are always scratched and skipping, the kids are always whining about it and changing discs while driving (at night, in a thunderstorm) can be dangerous!<br />
<br />
After one such trip, I came into work the next morning and was complaining about the harrowing journey and the DVDs. I said to my co-workers "...is there a hard drive that you can plug into your car to play movies from?" one of them replied "Raspberry Pi and RaspBMC..." that started the odyssey I am about to chronicle for you here.<br />
<br />
This blog is somewhat after the fact, but I will try and write the steps down in the order that I took them and enumerate the approaches I took while trying to hack my way through the various hardware and Linux commands I came into contact with along the way.<br />
<br />
Fair warning: I am not a Linux guy. There were many stumbles along the way and I read many forum postings with scathing remarks about how the "Linux people" did not know how to describe something for non Linux folks. That is the reason I am making this blog, to let you know how a schlub like me got something this cool up and running.Anonymoushttp://www.blogger.com/profile/15047135333333373940noreply@blogger.com0