Re: [Owfs-developers] Shell scripts and OWFS

2007-09-26 Thread Christian Magnusson
owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] Shell scripts and OWFS > > > Installed the 2.6p6-11 packages but they won't start: > Segmentation fault > on both owserver and owfs. > > But now I'm confused; I believe what I'm running is &#

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-25 Thread C4Vette
Installed the 2.6p6-11 packages but they won't start: Segmentation fault on both owserver and owfs. But now I'm confused; I believe what I'm running is '0.9', but what is RC5? Is that what you are running? Ed Christian Magnusson-2 wrote: > > > Ok... I was almost sure that Whiterussian RC5

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-25 Thread Christian Magnusson
Sent: den 24 september 2007 22:07 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] Shell scripts and OWFS > > > Sorry, but still no go. > Did all you mentioned to reinstall. > Did more testing and found out that the limit is 24 chars. Any more via &

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-24 Thread C4Vette
Sorry, but still no go. Did all you mentioned to reinstall. Did more testing and found out that the limit is 24 chars. Any more via a 'cat' or 'echo' and owserver dies. Now I know the limit its no big deal; can script to keep within limit. The testfile I used: ABC123456789012345678 aaabbb

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-24 Thread Christian Magnusson
september 2007 13:22 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] Shell scripts and OWFS > > That 2.6p9 at http://owfs.sourceforge.net/openwrt/packages/ contained > the > fix. > Are you sure you have updated the files correctly? > Remember tha

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-24 Thread Christian Magnusson
te > Sent: den 23 september 2007 21:23 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] Shell scripts and OWFS > > > Installed 2.6p6-9 of owlib and owfs. When cat file to 'screen16' > owserver > still dies. An echo string to 'line16.

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-24 Thread Paul Alfille
Hard to know with binaries. What is the content of the file you 'cat' to scereen1 that breaks owserver? Paul Alfille On 9/24/07, C4Vette <[EMAIL PROTECTED]> wrote: > > Because Christian wrote on the 19th: > > Paul found a bug, and I have re-compiled the packages. Try the newest > packages again. >

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-23 Thread C4Vette
Because Christian wrote on the 19th: Paul found a bug, and I have re-compiled the packages. Try the newest packages again. /Christian and the latest released package (2.6p6-9) is of that same date I assumed THAT was the re-compiled version he was talking about. I guess my mistake and will wai

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-23 Thread Paul Alfille
I just tested the current version of owfs and haven't been able to reproduce your problem. echo "Hello" does put an unsightly character at the end, I probably should filter out unprintable characters or \n). Perhaps you don't truly have the newest version (it's in the CVS only, not yet released).

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-23 Thread C4Vette
Installed 2.6p6-9 of owlib and owfs. When cat file to 'screen16' owserver still dies. An echo string to 'line16.x' is fine but the same cmd to 'screen16' just blanks the complete LCD but owserver does NOT die. Still owserver 'zombies' when catting e.g. /tmp/passwd but that has to do (I think) with

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-19 Thread Christian Magnusson
o: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] Shell scripts and OWFS > > Seems to be a buffer overwrite or something. It crash on my wrt54g > router > now too... > > [EMAIL PROTECTED]:/etc/default# owread -s 3002 10.061847000800/temperature > 28.8125 > [

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-18 Thread Christian Magnusson
Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of C4Vette > Sent: den 17 september 2007 19:40 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] Shell scripts and OWFS > > > @ Christian, > > did an up

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-17 Thread C4Vette
@ Christian, did an update of the package but still the same problem: owserver becomes a 'zombie'-ps when I 'cat' to FF./screen16. Also when I echo a too long string to screen16 or even line16.[01] the display blanks and won't accept anything until a restart of owserver. For the record; prev

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-15 Thread Christian Magnusson
enwrt/kamikaze/packages/ depending on your setup. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 15 september 2007 23:14 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Shell scripts and OWFS It needs sp

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-15 Thread Paul Alfille
It needs special compiling, as Gregg says, for the OpenWRT platform. You're right, it's probably better to wait a few days for the code to be prepared for the OpenWRT distribution. Paul Alfille > On 9/15/07, C4Vette <[EMAIL PROTECTED]> wrote: > > So the 'trouble' is: I'm very thankfull for your e

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-15 Thread Gregg Levine
On 9/15/07, C4Vette <[EMAIL PROTECTED]> wrote: > > I do know what and where the CVS is but don't know what to download and never > compiled anything myself. Do I have to install extra packages to compile? > Can imagine I must. My distribution is OpenWRT on an ASUS-WL500gP and want > to keep it as '

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-15 Thread C4Vette
I do know what and where the CVS is but don't know what to download and never compiled anything myself. Do I have to install extra packages to compile? Can imagine I must. My distribution is OpenWRT on an ASUS-WL500gP and want to keep it as 'light' as possible. So the 'trouble' is: I'm very thankf

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-14 Thread Paul Alfille
Can you try with the CVS version? I found and fixed some errors in the Swart LCD support. Paul Alfille On 9/11/07, C4Vette <[EMAIL PROTECTED]> wrote: > > > Thanks for testing Christian, > > all lines you tested work for me as well, but... > when I write to FF.xx/screen16 owserver dies. This a

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-11 Thread C4Vette
Thanks for testing Christian, all lines you tested work for me as well, but... when I write to FF.xx/screen16 owserver dies. This also happens when I 'cat' the contents of a file to line16.0 or line16.1 No matter if I use OWSHELL or FUSE, so it must be something in 'owserver' then? You did e

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-11 Thread Christian Magnusson
e character since carriage return is printed... /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of C4Vette > Sent: den 10 september 2007 22:42 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-devel

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-11 Thread Christian Magnusson
wfs-developers] Shell scripts and OWFS On 9/10/07, C4Vette <[EMAIL PROTECTED]> wrote: Paul, is it possible to redirect input from a file? I have a LCD-display (giving me trouble crashing owserver) that I want to 'write' to like: owwrite -s localhost:3002 FF.8D030100/l

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-10 Thread Nicolas Huillard
Nicolas Huillard a écrit : > Something along the line of : > echo 'A1A2A3...,B1B2B3B4,etc.' > .../FF.id/screen20.ALL > should test the behaviour (depending on the string... > I'll test later on. I can confirm that the following simple and valid command crashes owfs: $ echo 'A23456789A1

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-10 Thread Nicolas Huillard
C4Vette a écrit : > Ok, but do I still need FUSE when running owserver and owshell? > I bought the display from Louis Swart and if I run owfs and fuse the > directory-structure is as it should. But owserver dies when I echo to the > 'screen16' or 'line16.0'. Normally I can see 3 or 4 owserver proce

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-10 Thread Paul Alfille
On 9/10/07, C4Vette <[EMAIL PROTECTED]> wrote: > > > Ok, but do I still need FUSE when running owserver and owshell? No I bought the display from Louis Swart and if I run owfs and fuse the > directory-structure is as it should. But owserver dies when I echo to the > ' Ok, I'll need to test --

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-10 Thread C4Vette
Ok, but do I still need FUSE when running owserver and owshell? I bought the display from Louis Swart and if I run owfs and fuse the directory-structure is as it should. But owserver dies when I echo to the 'screen16' or 'line16.0'. Normally I can see 3 or 4 owserver processes but after an echo or

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-10 Thread Paul Alfille
On 9/10/07, C4Vette <[EMAIL PROTECTED]> wrote: > > > Paul, is it possible to redirect input from a file? > I have a LCD-display (giving me trouble crashing owserver) that I want to > 'write' to like: > owwrite -s localhost:3002 FF.8D030100/line16.1 < > and then use a text-file or command

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-10 Thread C4Vette
Paul, is it possible to redirect input from a file? I have a LCD-display (giving me trouble crashing owserver) that I want to 'write' to like: owwrite -s localhost:3002 FF.8D030100/line16.1 < and then use a text-file or command substitution like < `date' Ed Paul Alfille-2 wrote: > >

Re: [Owfs-developers] Shell scripts and OWFS

2007-08-05 Thread Paul Alfille
Another approach is with owshell: #!/bin/sh #defines PORT=4304 CHIP_FOO=12.D5D61F00 CHIP_BAR=12.F7D11F00 owserver -u -p $PORT for rep in 0 1 ; do owwrite -s $PORT $CHIP_FOO/PIO.A 0 #sleep 20 owwrite -s $PORT $CHIP_FOO/PIO.A 1 #sleep 20 owwrite -s $PORT $CHIP_BAR/PIO.A 1 #sle