Beta-packages of freetype, ghostscript, gsfonts, imagemagick for openwrt
(whiterussian RC5 or 0.9) are available at:

http://owfs.sourceforge.net/openwrt/packages/

 

Note that they are BIG and installed at path /opt which you probably want to
redirect to a USB memory-stick like:

# mkdir /mnt/disc0_1/opt

# ln -s /mnt/disc0_1/opt /opt

 

The packages will never fit in the normal flash-memory in Linksys-routers.
This means they are only useful for Asus routers (and others) with usb ports
and an extra memory-stick.

 

 

I have a working version for NSLU2 too, but I will change them some more
before I upload the packages.

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Magnusson
Sent: den 24 augusti 2007 13:45
To: [email protected]
Subject: Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

 

I tried the packages for NSLU2, but they were not working very good. 

 

However, I managed to compile freetype, ghostscript, imagemagick and gsfonts
for openwrt now, so it's possible to generate images on Asus wl500gd with
extra memory-stick at least. Only flash is not possible.

All packages are installed at /opt  which should be a softlink to
/mnt/disc0_1/ where the memorystick is mounted. All packages are about 30Mb
on the memory-stick, and I guess you need 32Mb RAM as well to run
ghostscript and imagemagick .

 

I will create some new NSLU2 packages too so it works for those users too.

 

# du /opt/

168     /opt/lib/ImageMagick-6.3.5/config

4632    /opt/lib/ImageMagick-6.3.5/modules-Q16/coders

16      /opt/lib/ImageMagick-6.3.5/modules-Q16/filters

4652    /opt/lib/ImageMagick-6.3.5/modules-Q16

4824    /opt/lib/ImageMagick-6.3.5

9460    /opt/lib

3232    /opt/bin

2320    /opt/share/ghostscript/8.50/lib

6264    /opt/share/ghostscript/8.50/Resource/CMap

20      /opt/share/ghostscript/8.50/Resource/ColorSpace

76      /opt/share/ghostscript/8.50/Resource/Decoding

6364    /opt/share/ghostscript/8.50/Resource

3004    /opt/share/ghostscript/8.50/doc

364     /opt/share/ghostscript/8.50/examples

12056   /opt/share/ghostscript/8.50

4972    /opt/share/ghostscript/fonts

17036   /opt/share/ghostscript

17040   /opt/share

30144   /opt

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Conway
Sent: den 23 augusti 2007 15:24
To: [email protected]
Subject: Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

 

The power of imagemagic coupled with rrdtool png files will be nothing more
than amazing...This is fantastic, If you where in Australia I'd send you a
beer !

 

I cannot stop long enough to figure out what I want to use it for first

 

Gees hope it runs OK on my little slug....I was thinking it maybe less load
when showing values on a graphic background just to use layers on the web
page layout and display a jpeg image of just the value..thus imagemagic
would not have to crunch large jpegs just convert my 1wire data value into a
simple graphic to display.

 

WOW you are a champion !

 

So I assume I load ghostscript then imagemagic

 

rob

----- Original Message ----- 

From: Christian Magnusson <mailto:[EMAIL PROTECTED]>  

To: [email protected] 

Sent: Thursday, August 23, 2007 10:59 PM

Subject: Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

 

It's run on a Asus WL500gd with openwrt 0.9.

I managed to cross-compile imagemagick for openwrt, but I stumbled into a
major problem later.  Imagemagick requires ghostscript, and that I never
succeeded to cross-compile that huge package for openwrt.

 

Ghostscript and imagemagick are available for NSLU2 though.  So it should be
possible to use imagemagick on that device.

 

http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/ghostscript_8.5
0-2_armeb.ipk

http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/imagemagick_6.3
.5-3-1_armeb.ipk

 

I have made a simple web-interface to control some switches and
potentiometers via cgi-scripts too, but it's still a major hack and under
development.

Perhaps I can show it in a few days. I don't want to give out the URL to
Christian Schumann's web-interface even if it's password protected.

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Conway
Sent: den 23 augusti 2007 13:03
To: [email protected]
Subject: Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

 

Christian,

What platform does this run on ?

 

I like the graphic....do you happen know if imagemagic runs on an unslung
NSLU2 ?

Did you implement control of any outputs from a web interface ?

 

thanks for sharing

cheers

 

rob

----- Original Message ----- 

From: Christian Magnusson <mailto:[EMAIL PROTECTED]>  

To: [email protected] 

Sent: Thursday, August 23, 2007 6:11 PM

Subject: Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

 

Sorry, I copied an old script, and here is a bit more simplified error
check. Only test error-status "$?" is needed.

 

 

#!/bin/ash

 

readsensor () (

    VAL=`owread -s 3002 $1/$2 2>&1`

    ERR=$?

    [ $ERR != 0 ] && {

        date >>$DEBUGFILE

        echo >>$DEBUGFILE "ERROR: owread $1 failed 1st time: $VAL"

        VAL=`owread -s 3002 $1/$2 2>&1`

        ERR=$?

        [ $ERR != 0 ] && {

            echo >>$DEBUGFILE "ERROR: owread $1 failed 2nd time: $VAL";
false; return;

        }

    }

    # save last value to a file as well (mostly for web-server)

    [ "$2" = "temperature" ] && echo "$VAL" > /tmp/last_val.$1.$2

    echo "$VAL"

    true;

)

 

writesensor () (

    VAL=`owwrite -s 3002 $1/$2 $3 2>&1`

    ERR=$?

    [ $ERR != 0 ] && {

        date >>$DEBUGFILE

        echo >>$DEBUGFILE "ERROR: owwrite $1/$2 $3 failed 1st time."

        VAL=`owwrite -s 3002 $1/$2 $3 2>&1`

        ERR=$?

        [ $ERR != 0 ] && {

            echo >>$DEBUGFILE "ERROR: owwrite $1/$2 $3 failed 2nd time.";
false; return;

        }

    }

    true;

)

 

VAL=`readsensor $SENSOR PIO`

ERR=$?

[ $ERR != 0 ] && exit 1

 

/Christian

 

 

  _____  

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/ 

  _____  

_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

  _____  

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/ 

  _____  

_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to