Re: [Owfs-developers] issues with owfs 2.8p15 on raspberry pi

2013-10-10 Thread Guy COLIN
Colin Reese colin.reese at gmail.com writes: My experience with i2c (2483) on 2.8p15 was at first double and intermittent probes and then no probes. I upgraded to 2.9 and everything works. Hi Colin, Was it on a Raspberry Pi? Did you compile on the Pi itself? The 2.9p1 and 2.9p0 release

[Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Håkan Elmqvist
In order to explore simultaneous temperature readings I have set up two DS1820 with VDD connected to +5V and executed the commands below. As can be seen from the resulting output writing to /ow/simultaneous/temperature takes only 40 ms instead of the expected 0.7 s and the two temperature readings

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Attila
What you do here is that you initiate a simultaneous read, and force two simple reads after as well. You should initiate the simultaneous read, wait 1-2 seconds, and read the cached values. Attila On Thu, Oct 10, 2013 at 1:11 PM, Håkan Elmqvist hak...@smeden.org wrote: In order to explore

Re: [Owfs-developers] issues with owfs 2.8p15 on raspberry pi

2013-10-10 Thread Colin Reese
It is on an RPi. I'll have to check to see whether its 2.9p0 or 2.9p1. I'll begin more complete testing this week and will get back to you. I recompiled on the Pi after finding a google hit from this group on ds2483. Colin On Oct 10, 2013, at 0:29, Guy COLIN guy.co...@gmail.com wrote:

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Håkan Elmqvist
Thanks a lot Attila, that did the trick: echo 1 /ow/simultaneous/temperature; time (sleep 1; cat /ow/10.*/temperature;) 22.9375 22.875 real0m1.292s user0m0.000s sys0m0.000s -- October Webinars:

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Håkan Elmqvist
And here is the result for 12 DS1820: root@hemx:~# echo 1 /ow/simultaneous/temperature; time (sleep 1; cat /ow/10.*/temperature;) 23.5 23.3125 23.37523.5 23.2523.5 23.375 23.37523.523.5 23.5625 23.375 real0m1.944s user

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Colin Reese
doesn't 'cat /ow/10.*/temperature' initiate a simple read? Colin On Thu, Oct 10, 2013 at 9:25 AM, Håkan Elmqvist hak...@smeden.org wrote: And here is the result for 12 DS1820: root@hemx:~# echo 1 /ow/simultaneous/temperature; time (sleep 1; cat /ow/10.*/temperature;) 23.5

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Jerry Scharf
Hi, Are these 18s20s? I am used to seeing higher resolution on the temperature from 18B20s. You can actually take the sleep out of there. The first read will stall until the conversion completes and then the rest will happen at the bus transaction speed. I always used the uncached directory

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Jerry Scharf
One more thing. I also do uncached reads of a rom fixed value like address to account for the actual bus transaction time. This gives a lower bound on how fast things can go. jerry On 10/10/2013 10:08 AM, Jerry Scharf wrote: Hi, Are these 18s20s? I am used to seeing higher resolution on the

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Håkan Elmqvist
Yes, it does, a simple read of the temperature registers, that just have been updated by the write to /ow/simultaneous/temperature if that was your question otherwise the little * does the globbing for us. 2013-10-10 18:39, Colin Reese skrev: doesn't 'cat /ow/10.*/temperature' initiate a simple

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Håkan Elmqvist
1) Yes they are: cat /ow/10.*/type; gives me DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20root@hemx:~# cat /ow/10.*/type; echo DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20DS18S20 2) It doesn't seem to matter: root@hemx:~#

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Håkan Elmqvist
To get a proper answer to that question you will have ask Paul Afille. But my understanding is that owfs remembers that it recently has issued a skip rom command. H 2013-10-10 22:08, Colin Reese skrev: That was my question. my understanding was that when I execute the read of the file, the

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Jan Kandziora
Am 10.10.2013 22:17, schrieb Håkan Elmqvist: To get a proper answer to that question you will have ask Paul Afille. But my understanding is that owfs remembers that it recently has issued a skip rom command. If I understand the sources correctly: not Skip ROM in general, but the time the

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Colin Reese
perfect. thank you. On Thu, Oct 10, 2013 at 2:43 PM, Jan Kandziora j...@gmx.de wrote: Am 10.10.2013 22:17, schrieb Håkan Elmqvist: To get a proper answer to that question you will have ask Paul Afille. But my understanding is that owfs remembers that it recently has issued a skip rom

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Roberto Spadim
for me, this don't work with hubs at onewire, just the first bus 2013/10/10 Jan Kandziora j...@gmx.de Am 10.10.2013 22:17, schrieb Håkan Elmqvist: To get a proper answer to that question you will have ask Paul Afille. But my understanding is that owfs remembers that it recently has issued

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Mick Sulley
Yes that is what I see as well. I have a hobbyboards hub and simultaneous doesn't work for me. On 10/10/13 22:46, Roberto Spadim wrote: for me, this don't work with hubs at onewire, just the first bus 2013/10/10 Jan Kandziora j...@gmx.de mailto:j...@gmx.de Am 10.10.2013 22:17, schrieb