[Coco] RaspberryPI DriveWire server

Gene Heskett gheskett at wdtv.com
Sun Oct 28 16:14:50 EDT 2012


On Sunday 28 October 2012 16:01:50 Tim Fadden did opine:

> Hi All,
> 
> Well, I just got my RaspberryPI cards.  they now come with 512k ram,
> cool.  I got their recommended image on it and it works great. It has
> the graphical desktop and everything. My plans are to make drive wire
> servers out of them, and use them headless by either remote session, or
> ssh.   Has any body already done this?
> 
> I got a java loaded, but saw comments about not working with the java
> serial drivers etc.  Most of all the posts I have seen so far assume the
> reader is an experienced Linux admin. he he he I haven't figured out yet
> which distribution to use yet to get the java serial drivers working
> yet. So if anyone already knows, could you share? :-)
> 
There is a library called rtxt-VersionNum that makes my serial port work 
great with drivewrire.  I believe it is now part of Aaron's drivewire4 java 
packages.  Yes, from my dw4-4.3.0 install:

gene at coyote:/CoCo/dw4directory/native$ ls -lR
.:
total 16
drwxr-xr-x 4 root root 4096 2012-01-05 20:42 FreeBSD
drwxr-xr-x 5 root root 4096 2012-01-05 20:43 Linux
drwxr-xr-x 4 root root 4096 2012-01-04 21:45 Mac
drwxr-xr-x 4 root root 4096 2012-01-04 21:45 Windows

./FreeBSD:
total 8
drwxr-xr-x 2 root root 4096 2012-02-16 23:39 amd64
drwxr-xr-x 2 root root 4096 2012-01-05 20:43 i386

./FreeBSD/amd64:
total 156
-rw-r--r-- 1 root root 157980 2011-10-31 05:08 librxtxSerial.so

./FreeBSD/i386:
total 0

./Linux:
total 12
drwxr-xr-x 2 root root 4096 2012-02-16 23:39 amd64
drwxr-xr-x 2 root root 4096 2012-02-16 23:39 i386
drwxr-xr-x 2 root root 4096 2012-02-16 23:39 i686

./Linux/amd64:
total 168
-rw-r--r-- 1 root root 168715 2012-01-05 20:25 librxtxSerial.so

./Linux/i386:
total 156
-rw-r--r-- 1 root root 156646 2012-01-05 20:56 librxtxSerial.so

./Linux/i686:
total 156
-rw-r--r-- 1 root root 156646 2012-01-05 20:56 librxtxSerial.so

./Mac:
total 8
drwxr-xr-x 2 root root 4096 2012-02-16 23:39 i386
drwxr-xr-x 2 root root 4096 2012-02-16 23:39 x86_64

./Mac/i386:
total 168
-rw-r--r-- 1 root root 169488 2011-03-17 17:50 librxtxSerial.jnilib

./Mac/x86_64:
total 224
-rw-r--r-- 1 root root 227208 2011-04-30 10:40 librxtxSerial.jnilib

./Windows:
total 8
drwxr-xr-x 2 root root 4096 2012-02-16 23:39 amd64
drwxr-xr-x 2 root root 4096 2012-02-16 23:39 x86

./Windows/amd64:
total 252
-rw-r--r-- 1 root root 128000 2012-01-07 17:48 rxtxSerial64.dll
-rw-r--r-- 1 root root 124416 2010-07-02 10:29 rxtxSerial.dll

./Windows/x86:
total 108
-rw-r--r-- 1 root root 110080 2012-01-06 22:19 rxtxSerial.dll
gene at coyote:/CoCo/dw4directory/native$ 

I believe it auto chooses after detecting the local architecture.

On the PI you may have to hard code it in the startup, or maybe even find a 
version built for the arm. It has been around for a while but I don't 
really know if there is am ARM build.

512k isn't very much ram though, so good luck.

> If not,  When I figure it all out I will send up some more info. I'm not
> a Linux guru, so it may take me some time.  But I do know how to do
> searches, and follow instructions, and not a complete Linux neophyte.
> Like mys sister always says "I'm not a complete idiot!" ha ha ha
> 
> Later!
> 
> Tim
> 
> 
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
I remember when legal used to mean lawful, now it means some
kind of loophole.
		-- Leo Kessler



More information about the Coco mailing list