8track

From Wildsong
Revision as of 02:08, 6 December 2010 by Brian Wilson (talk | contribs)
Jump to navigationJump to search
Exterior view of 8track

"8track" is complete computer system based on a Via CN10000 Mini-ITX board inside a GE 8 track player case. I am configuring it for use as a car computer in my Yaris.

Origin of the name 8track. When I was riding around Corvallis one day, I saw a pile of free stuff in front of someone's house. Right on top was a GE portable AM/FM 8 track player. I could not pass it up. I envisioned putting a computer in the case and that is what I did.

I used 8track as the unofficial Solar CREEK kiosk at DaVinci Days 2006. It ran off solar power all day playing a video and allowing access to the Solar CREEK Web site.


Hardware specs

8track currently has

The PicoLCD should be able to support 5 LED's that will be inserted into the 8 track case "stereo" and "track" indicators. It should also support some push buttons if I find a place to mount them.

I'd also like to hook up the tuner knob to a digital encoder. Who knows when I will get around to that!

The first version of 8track used a Via EPIA 800. The C7 is faster and uses less power.

It had a 60W Morex automotive power supply which died when it was less than a year old. For a few years I used the C7 motherboard in this Casetronic case and am currently using its power supply in 8track.

The Morex supply allowed 8-24V input. It was supplied with a separate DC-DC regulator. I bought it from Logic Supply, this link might not work any more. Morex automotive power supply At the Solar CREEK booth at DaVinci Days, I ran it on a solar panel and a 120 vac inverter. The inverter powered a 12V DC brick, the 120V Acer LCD monitor, and a pair of powered speakers.

Currently an old HP Omnibook 800 laptop mobile adapter is being used as the DC-DC regulator in front of the Casetronic supply (which also takes 12V in). This should be fine in an automotive environment.

Disk storage: Originally I used the 2.5" drive because the Morex did not support the power requirements of a 3.5" drive on its 12V output.I used a Toshiba 4200 rpm 30GB drive (PATA) plugged into a 44-40 pin adapter. Later I went to a Seagate 80GB 7200rpm SATA drive. Currently I am using a Patriot 32GB SSD. This SSD is probably a step DOWN from the Seagate, its performance is not very good; but it's a better choice for an automotive environment.

The original C3 set up with 4200rpm hard drive took about 10 watts at its 12V input. I need to take measurements on the new configuration.

Main board

I bought the CN10000EG fanless C7 board from Logic Supply.

This CN10000 board worked quite well as a server, I used it for about a year as my home server and firewall. I replaced it with an Intel Atom server Bellman. The C7 did not have enough juice to run the Java Netbeans IDE and the video drivers were not up to snuff for Ubuntu 7.04 Hardy Heron.

Maybe the video chip itself WOULD work but the drivers don't support the high end Gnome features. I am not sure. I wish that Via did more work to support their products or at least open them up. They put dandy hardware like graphics and media decoder and encryption chips on the board then do not provide up-to-date Linux drivers for them.

I got my EPIA C3 800 Mhz mainboard from Logic Supply, too. It has since died. I abused it when moving it from case to case, static probably got it.

Some specs:

VIA CN700 north bridge
VIA VT8237R south bridge
LAN: VIA VT6103 10/100
AUDIO: VIA VT1618 8 channel AC'97 codec

File:CN10000.pdf PDF manual

C7 + DisplayLink kernels

As I rebuild this system for its new automotive application, I tested Ubuntu 10.10 and found none of the i386 options will run. Applications crash randomly. I think it's probably using a 686 build that includes instructions not supported by the C7 processor.

I am using Debian 5.0 now and it works just fine.

I ran early versions of Ubuntu by compiling a C7 kernel. It turns out that I am once again building custom kernels, now to get support for the DisplayLink USB video system. While I am at it, I cut out every feature that I don't use (and there are a LOT of them) and I compile for a C7 again.

Official instructions: http://www.debian.org/releases/stable/i386/ch08s06.html.en

Building on a 64-bit development host: Great but probably not worth effort, I hope not to build too many kernels: http://linux.koolsolutions.com/2009/06/04/howto-cross-compiling-a-32-bit-i386-linux-kernel-on-64-bit-machine-amd64/

Obtaining source from Debian experimental:

svn co http://packages.debian.org/source/experimental/linux-2.6

Building:

cd /usr/src/linux-2.6
make-kpkg clean
fakeroot make-kpkg --initrd --revision=c7.1 kernel_image

c7,1 is just a name I pulled out of the air since this is a c7 processor, and each time I build I increment the last digit.

This builds the packages up one layer, you have to go there and install them. Like this:

cd ..
sudo dpkg -i packagename

Fixing UTS error!!! ARGH!!!

http://ubuntuforums.org/showpost.php?p=8688831&postcount=1403

Software

To do

I think that I probably want the Ubuntu Unity desktop, but so far it does not run on the C7

Finger-friendly user interface for automotive use, application switcher and controls

List of applications

  • FoxtrotGps
  • Media player (VLC?)
  • Maintenance records (esp records of fill ups)
  • OBD II interface
  • Web browser (everything needs a web browser, right?)
  • WiFi wardriving with Kismet?

List of controls

  • Volume/mixer control
  • On/off/sleep
  • Backlight control
  • Nightmode

Indicators

  • GPS status

Keyboard special function keys

  • screen brightness up / down (F1, F2)
  • app switcher thing (I forget what Apple calls it) (F3)
  • gauges (F4)
  • rewind (F7)
  • play / pause (F8)
  • fast forward (F9)
  • mute (F10)
  • volume down / up (F11,F12)
  • eject

(What will the eject button do?)

If I had a bluetooth phone, I'd probably want to use 8track for hands-free.

Oct 18 2010 -- I am currently figuring out what to include so I need to update this section.

I used netboot to install the basic Debian 5 plus the laptop stuff, because I always seem to end up with worn out CD players at home! After the basic install I added these packages:

  • aprsd (not sure about this one yet)
  • gpsd (for kismet and foxtrotGps)
  • kismet (for wifi searching. this pulls in lots of other packages)
  • openssh-server (for logging in from the laptop at the kitchen table)
  • xfce -- the compact desktop environment
  • vlc -- a media player

There will be some kind of music playback system. I installed vlc for now. This system will not be used for video playback, it's in a car!

The wireless keyboard

One of my least favorite Garmin nuvi features is the on-screen keyboard. 8track now has an Apple Bluetooth keyboard.

I thought about getting a teensy bluetooth keyboard from eBay or Amazon, but ultimately walked around the corner and picked up the Apple keyboard at the Mac Store. I like the way the keyboard feels on my MacBook Pro, and the Apple keyboard should be small enough to get lost in one of Alba's numerous glove compartments yet it's still big enough for touch typing. I like the sturdy aluminum case and best of all, there is no garish logo on the front or glowing Apple on the back.

Information on this page helped me get the keyboard going on 8track, though written for Ubuntu the procedure works the same way on Debian: https://help.ubuntu.com/community/BluetoothSetup

Log into 8track via ssh (since it has no keyboard right now) Turn on the Apple keyboard. Scan the airwaves to find the hcid code:

bwilson@8track:~$ hcitool scan
Scanning ...
	E8:06:88:4F:52:48	Apple Wireless Keyboard

Then in /etc/default/bluetooth, enabled HIDD and add "--connect E8:06:88:4F:52:48" to HIDD_OPTIONS. Set up like this, the keyboard will be available after rebooting.

GPS Navigation

The navigation software will be based on FoxtrotGPS. Since I plan on writing code I am downloading the source from there. I added the packages required to build it; more information is on my page here: FoxtrotGPS.

WiFi

Using Kismet for wardriving.

Kismet.conf source line for the Shuttle USB card

source=rt8180,wlan0,wlan0

This is a card that came with the case that I am using for Raven. Raven did not need WiFi so I had already pulled it out. I am using it with an antenna purchased from Pasadena Wireless. It has a mag mount base and mounts outside on the roof of the car.

Pictures

Exterior view of 8track

A wood strip is fitted to cover over empty slots left when I removed the various controls (volume, tone and so on.) It fits the style of cases of this vintage though it's real hardwood not contact paper!

View inside with back cover removed

Here you can see the interior layout. The Seagate PATA drive has been replaced with a Patriot SSD SATA drive.

There is now a PicoLCD 20x2 LCD mounted in the tuner display area. The Wifi card fit in easily once I removed its card slot adapter.

I used a router* to enlarge the 8-track slot to fit the mainboard back panel. The styrene plastic is very easy and clean to work with a carbide bit. I probably won't get cancer for many more years.

The large metal ring on the left is an eye bolt to allow me to lock down the case when I leave it unattended in public places. It has been removed now, replaced with a power on/off push button.

* Def router: a motor with a spinning cutter attached, not a network device.