8track: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
mNo edit summary
Line 1: Line 1:
My quest for low power systems began in my [[Carbon diet]] page and now it continues with this system. It is smaller, faster, and uses less energy than the earlier [[Via EPIA 800]] system. I migrated from the C3 to the C7 system.
My quest for low power systems began in my [[Carbon diet]] page and now it continues with this system.  


'''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 immediately envisioned putting a computer in the case and that is exactly what happened.
'''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 realize now that I could probably have sold it for $10 on Ebay! Well, I have gotten more than $10 worth of entertainment out of it so far.
I realize now that I could probably have sold it for $10 on Ebay! Well, I have gotten more than $10 worth of entertainment out of it so far.


I used 8track as the unofficial [[http://www.Solarcreek.org/index.php/Kiosk 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.
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.
 
Alas it is no longer in the 8 Track player but I stuck with the name.


== Hardware specs ==
== Hardware specs ==


"8track" was originally a complete computer system based on a Via CN10000 Mini-ITX board built inside the 8 track player case. The overpriced Morex
"8track" is complete computer system based on a Via CN10000 Mini-ITX board inside a GE 8 track player case.  
automotive power supply died when it was less than a year old. Rather than
throw more money at Morex, I replaced the case with a commercially built
slim case.


8track currently has  
8track currently has  
Line 20: Line 15:
* Via CN10000 C7 mainboard
* Via CN10000 C7 mainboard
* 1GB RAM
* 1GB RAM
* 80 GB 7200 rpm Seagate SATA drive
* 32GB Patriot solid state SATA drive
* [http://www.logicsupply.com/products/c158b_90w Casetronic case]
* Wifi PCI card based on Broadcom chipset
 
Soon to be added: pico-lcd from http://mini-box.com/
The pico-lcd 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!


With the [http://www.logicsupply.com/product_info.php/cPath/40_63/products_id/179 Morex automotive power supply] the power options included using either an old HP Omnibook 800 laptop power supply or a 12 volt gel cell. At the [http://solarcreek.org Solar CREEK] booth at DaVinci Days, I ran it on a solar panel and a 120 vac inverter.
The first version of 8track used a [[Via Epia 800]]. The C7 is faster and uses less power.


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. A Toshiba 4200 rpm 30 GB drive was IDE (PATA) and plugged into a 44-40 pin adapter. The Seagate SATA drive is a huge improvement, it's much faster.
It had a 60W Morex automotive power supply which died when it was less than a year old. For a few years I used this [http://www.logicsupply.com/products/c158b_90w Casetronic case] and am currently using its power supply.  


At DaVinci days, I used an Acer 15" display and a PS/2 keyboard and mouse. The monitor ran off the inverter, too. I plugged in stereo speakers and connected to the Solar CREEK web site via a wireless link.  
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. [http://www.logicsupply.com/product_info.php/cPath/40_63/products_id/179 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.


The HP power supply puts out about 35 watts and it had no trouble running this machine in the above configuration. I measured output of the supply and found it took about 10 watts to run.
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.  


I need to take measurements on the new configuration.
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 ==
== Main board ==
Line 37: Line 39:
I bought the [http://www.logicsupply.com/product_info.php/cPath/78_93/products_id/553 CN10000EG fanless C7 board]  from [http://www.logicsuppy.com/ Logic Supply].
I bought the [http://www.logicsupply.com/product_info.php/cPath/78_93/products_id/553 CN10000EG fanless C7 board]  from [http://www.logicsuppy.com/ Logic Supply].


Mini-review: The CN10000 board works quite well as a server, but it does not have enough juice to run the Java Netbeans IDE and the video drivers are not up to snuff for Ubuntu ''Hardy Heron''.  
The CN10000 board worked quite well as a server, I used it for about a year as my home server / 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 dandy hardware like graphics and media decoder and encryption chips on the board then do not provide up-to-date Linux drivers for them.
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, static probably got it.
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:  
Some specs:  
Line 54: Line 56:
=== C7 kernels ===
=== C7 kernels ===


When I first got the C7 board I had to build a custom kernel because it was not supported by default on Ubuntu. Then for a year or so I was able to use Ubuntu without problems. Now it seems C7 support is out of style again, anyway, 10.10 crashes on this system. So I am back to using Debian again, at least on 8track.
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. For posterity, here are my C7 kernel build notes.


http://www.howtoforge.com/kernel_compilation_ubuntu_p2?s=2e4e7db1d3b0009a48132ba132e72f9e&
http://www.howtoforge.com/kernel_compilation_ubuntu_p2?s=2e4e7db1d3b0009a48132ba132e72f9e&
Line 69: Line 75:
== Software ==
== Software ==


2010-Jan-02
Oct 18 2010 --
 
I am currently figuring out what to include so I  
This machine is currently being used to test FreeSwitch so I have
need to update this section.
Debian 5 installed on it.
 
=== Freeswitch ===
 
'''What is XMPP?''' Extensible Messaging and Presence Protocol http://xmpp.org/
 
==== Build ====
 
I build on a Debian 5 virtual machine. The machine NFS mounts my home directory, where I keep the sources downloaded via SVN.
 
I edit the modules.conf file to add lamguages/mod_python
 
The command issued to build Debian packages is
 
debbuild -i -us -uc -b
 
(See the Freeswitch site for more details on setting everything up)
 
==== Configuration ====
 
Official [http://wiki.freeswitch.org/wiki/Getting_Started_Guide Getting Started] Guide
 
1. Edit /opt/freeswitch/conf/var.xml
* Change password
* Change area code
* Change outbound caller name and caller id.
 
2. Set up a SIP provider file, such as
/opt/freeswitch/conf/sip_profiles/external/gizmo.xml for Gizmo5 as described here [http://support.gizmo5.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=402 Settings for Gizmo5]
 
3. Edit /opt/freeswitch/conf/autoload_configs/modules.conf.xml
* Comment out unwanted modules,
* Uncomment out wanted modules.
 
4. Install sound files. Go to the sounds directory in the source code and run the get_sounds.sh script. This gets files sampled at 48000. Then create 8000,16000,32000Hz versions something like this for example run this in the callie directory.
 
# descend into each directory and create resampled versions of files
for c in *; do echo $c; cd $c; for r in 8000 16000 32000; do mkdir $r; \
for s in 48000/*wav; do f=`basename $s`; sox $s -r $r $r/$f; done; \
done; cd ..; done
 
'''It's running now!''' I tried the "stuff to try" page, dialing some test extensions like 9995 and 9996 and voicemail 9999.
 
Now I want to try [http://wiki.freeswitch.org/wiki/Connecting_Freeswitch_And_Asterisk connecting Freeswitch and Asterisk]
* Edit /opt/freeswitch/conf/autoload_configs/acl.conf.xml
* Edit /opt/freeswitch/conf/sip_profiles/external.xml
* Edit /opt/freeswitch/conf/dialplan/default.xml
On the Asterisk server, edit extensions.conf to allow calls to be placed from there and sip.conf to allow calls to come in from Freeswitch.
 
Setting up intercom page mode - edit /opt/freeswitch/conf/autoload_configs/conference.conf.xml and add the intercom profile.


http://wiki.freeswitch.org/wiki/Conferencing_and_Intercom
I used netboot to install the basic Debian 5, because I always seem to end up with worn out CD players at home! After the basic install I added these packages:


==== Python and Freeswitch ====
* 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
* vlc


I have not done anything with it yet, but here is the wiki page.
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!


http://wiki.freeswitch.org/wiki/Mod_python
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]].  


==Old Pictures==
==Pictures==


[[Image:8track.jpg|thumb|left|Exterior view of 8track]]
[[Image:8track.jpg|thumb|left|Exterior view of 8track]]

Revision as of 19:14, 18 October 2010

My quest for low power systems began in my Carbon diet page and now it continues with this system.

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 realize now that I could probably have sold it for $10 on Ebay! Well, I have gotten more than $10 worth of entertainment out of it so far.

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" is complete computer system based on a Via CN10000 Mini-ITX board inside a GE 8 track player case.

8track currently has

  • Via CN10000 C7 mainboard
  • 1GB RAM
  • 32GB Patriot solid state SATA drive
  • Wifi PCI card based on Broadcom chipset

Soon to be added: pico-lcd from http://mini-box.com/ The pico-lcd 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 this Casetronic case and am currently using its power supply.

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.

The CN10000 board worked quite well as a server, I used it for about a year as my home server / 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 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. For posterity, here are my C7 kernel build notes.

http://www.howtoforge.com/kernel_compilation_ubuntu_p2?s=2e4e7db1d3b0009a48132ba132e72f9e&

make-kpkg clean
fakeroot make-kpkg --initrd build kernel_image kernel_headers modules

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

cd ..
sudo dpkg -i packagename
..and so on

Software

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, 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
  • vlc

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 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.

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.

There is enough room at the top of the case to accomodate an LCD display. The Trendnet 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.

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