Re: [Owfs-developers] Shell scripts and OWFS

2007-09-25 Thread Christian Magnusson
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 a 'cat' or 'echo' and owserver dies. Now I

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

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-24 Thread Christian Magnusson
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 that you have to stop all processes before you update

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)

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-18 Thread Christian Magnusson
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 update of the package but still the same problem

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;

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-15 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 also

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

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 'light'

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

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-15 Thread Christian Magnusson
/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 special

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-11 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

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-11 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

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-11 Thread Christian Magnusson
-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/line16.1 and then use

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

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

[Owfs-developers] Shell scripts and OWFS

2007-08-05 Thread Gregg Levine
Hello! I've come up with a reasonably simple method of writing to the switches that I am using with regards to OWFS, and it is a shell script. However what I've created may not be the best example: #!/bin/sh modprobe fuse owfs -u /mnt/1wire # echo 0 /mnt/1wire/12.D5D61F00/PIO.A #sleep 20 echo

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