RE: [Owfs-developers] Timeout again

2006-02-13 Thread Christian Magnusson
I'm not using the CVS right now... I goal was to make sure the latest released version owfs-2.2p0RC.tar.gz was stable for all my systems at home. The needed timeout is very dependent to how many clients try to access the 1-wire bus. I have made a script that shows it's not even enough with 5 seco

RE: [Owfs-developers] Timeout again

2006-02-13 Thread Alfille, Paul H.,M.D.
I'm sure we're both using the CVS version. I found listing a large directory, of asking for individual temperatures worked when I uppped the timeout. I haven't yet tried the "cat /1wire/uncached/10*/temperature". Perhaps that call sums the latency of both the directory listing and the temperature

RE: [Owfs-developers] Timeout again

2006-02-13 Thread Gregg C Levine
Hello from Gregg C Levine This is definitely an interesting case we've got here. And an interesting test case for both OWFS, and even FUSE, and certainly the One-Wire technology. Several questions remain for you Christian: Question One Were these tests managed using the contents of CVS? Or did

[Owfs-developers] Timeout again

2006-02-13 Thread Christian Magnusson
Nope... 2 seconds isn't enough... Can't tell you why, but it's not working for me at least.. /Christian [EMAIL PROTECTED] owfs]# cat /var/1wire/uncached/1*/temperature 26.5625 20.4375 19.75 15.93759.25 22.0625 0.125cat: /var/1wire/uncached/10.762047000800/tempera

RE: [Owfs-developers] connecting many DS2408

2006-02-13 Thread Alfille, Paul H.,M.D.
I was incorrect in my earlier note about the polling frequency. The DS2408 has a latch, accessible through OWFS, that will save the button press. This will greatly diminish the chance of missing a button press and reduce the polling frequency. I'm not sure the DS2408 will run without Vcc power. In

Re: [Owfs-developers] connecting many DS2408

2006-02-13 Thread jerry scharf
--On 02/13/2006 01:46:34 PM -0500 MarcLavallée wrote: I'm new to the 1-wire technology. I'd like to interface over 30 DS2408 on a 1-wire bus, using ordinary ethernet cables, arranged in a topology of 2 or 3 branches with 10 or 15 daisy-chained devices. The total length of the cables could be ov

Re: [Owfs-developers] connecting many DS2408

2006-02-13 Thread Jan Kandziora
Am Montag, 13. Februar 2006 19:46 schrieb Marc Lavallée: > I'm new to the 1-wire technology. > > I'd like to interface over 30 DS2408 on a 1-wire bus, using ordinary > ethernet cables, arranged in a topology of 2 or 3 branches with 10 or 15 > daisy-chained devices. > Branches are a big problem for

Re: SV: [Owfs-developers] Timeout

2006-02-13 Thread Paul Alfille
Yup, 2 seconds works. Paul On Monday 13 February 2006 12:28 pm, Christian Magnusson wrote: > The problem is in ow_server.c:ServerDir() (for example) where ToServer() > usually returns VERY quick and the request is put in a queue to be executed > on the remote-server. > > If there are 10 different

[Owfs-developers] Fwd: Your latest OWFS - Software

2006-02-13 Thread Paul Alfille
-- Forwarded Message -- Subject: Your latest OWFS - Software Date: Saturday 04 February 2006 03:56 pm From: Michael Holzbrecher To: [EMAIL PROTECTED] Hi, I try since some days to get OWFS run. I tried to compile the source code owfs-2.1p0RC.tar.gz, but it failed with error me

Re: [Owfs-developers] connecting many DS2408

2006-02-13 Thread Paul Alfille
On Monday 13 February 2006 01:46 pm, Marc Lavallée wrote: > I'm new to the 1-wire technology. > > I'd like to interface over 30 DS2408 on a 1-wire bus, using ordinary > ethernet cables, arranged in a topology of 2 or 3 branches with 10 or 15 > daisy-chained devices. The total length of the cables c

Re: [Owfs-developers] connecting many DS2408

2006-02-13 Thread Paul Alfille
On Monday 13 February 2006 01:46 pm, Marc Lavallée wrote: > I'm new to the 1-wire technology. > > I'd like to interface over 30 DS2408 on a 1-wire bus, using ordinary > ethernet cables, arranged in a topology of 2 or 3 branches with 10 or 15 > daisy-chained devices. The total length of the cables c

[Owfs-developers] connecting many DS2408

2006-02-13 Thread Marc Lavallée
I'm new to the 1-wire technology. I'd like to interface over 30 DS2408 on a 1-wire bus, using ordinary ethernet cables, arranged in a topology of 2 or 3 branches with 10 or 15 daisy-chained devices. The total length of the cables could be over 100 meters. I need to monitor momentary push-button

Re: SV: [Owfs-developers] Timeout

2006-02-13 Thread Paul Alfille
On Monday 13 February 2006 12:28 pm, Christian Magnusson wrote: > The problem is in ow_server.c:ServerDir() (for example) where ToServer() > usually returns VERY quick and the request is put in a queue to be executed > on the remote-server. > > If there are 10 different read requests to > /1wire/un

SV: [Owfs-developers] Timeout

2006-02-13 Thread Christian Magnusson
The problem is in ow_server.c:ServerDir() (for example) where ToServer() usually returns VERY quick and the request is put in a queue to be executed on the remote-server. If there are 10 different read requests to /1wire/uncached/10.x/temperature from 10 different remote-clients, then it

Re: [Owfs-developers] Timeout

2006-02-13 Thread Paul Alfille
Thanks, Christian. We could go back to the old way, but I was trying to coordinate work with the Link-Hub-E which can completely bomb out. I think the large directory listing should be ok, since the directory is sent back one element at a time, which minimizes latency. I've always wanted to i

[Owfs-developers] Timeout

2006-02-13 Thread Christian Magnusson
  I found out that the recently added read-timeout doesn’t work good at all… A timeout of 1 second in ow_server.c is too low… Don’t know exactly why, but I end up with EIO errors when reading temperatures very often.   Host1:    owserver –d /dev/tty/1 (Slow Linksys router with 1