Eloy Paris | 1 Feb 01:17

Re: How to see errors?

Hi Mick,

On 01/31/2012 06:21 PM, Mick Sulley wrote:

> I had a strange problem with my system last night, I removed a node
> which had 3 DS1820's and 2 DS2406 and when I replaced it I could not see
> the rest of the network, take the node off again and the rest of the
> network was fine.  I fiddled around with it and it is all running fine
> again now, but I don't see that I did anything to fix it.
>
> All this makes me think that my network is probably close to the edge.
> It is best described as a stubbed topology, with very uneven stubs, so
> not the perfect installation.
>
> Looking at the network with owhttpd (fantastic tool that Paul!) I see a
> load of stuff under statistics/errors, but all of the values are zero.
> Does that mean that no errors have been detected since it started up?
> It reads about 25 devices every 10-15 seconds, so I would be surprised
> if there have been no errors at all. Do I need to do anything else to
> see error info?

My 1-Wire network consists of only one bus master and several 18B20s 
connected to it, i.e. no hubs.

/mountpoint/statistics/errors/* contains only zeros, like in your case. 
However, /mountpoint/bus.0/statistics/errors/* contains real numbers, 
and I use them to verify the overall health of my network. Not sure what 
the difference is -- perhaps one is used by the owserver process and the 
other by the owfs process? In any case, see if you have a bus.x 
directory and look there for the statistics.
(Continue reading)

ekgnkb3d | 1 Feb 14:10
Picon
Picon

Re: Problems in owserver with USB and longer cables


Hi Paul, Roberto and all other 1-Wire freaks,
during some further tests I found out, that until version 2.8p2 the OWFS was
not afflicted by this problem, from my viewpoint this is OK and runs stable!
It looks like the problem was introduced with 2.8p3 and 2.8p4 versions, see
here:

- The 2.7p33 works fine, without this problem
- The 2.7p39 works fine, too
- The 2.8p2 as well, works fine
- The 2.8p3 showed a different problem behavior:
                it completely hangs after a while, no chance to get it back
to work by reducing the cable length /capacity.
                But a owserver restart still helps.
- The 2.8p4 was the first version showing the problem as described in my
first posting
- Some versions between 2.8p4 and 2.8p14 all are tested showing the same
problem

Further tests with the 2.8p2 are ongoing, but they are fine since 33h now,
whereas the other versions reproducible hang after some minutes (with the
provoking capacity load of 28nF described in the first posting). So it's at
least an improvement of about factor 500 :jumping:

Hopefully this is a good basis to search for the problem....

Thanks also to Andrey giving me the initial hint!
   Achim

--

-- 
(Continue reading)

klas englund | 1 Feb 14:47
Picon

How to setup a reliable, sychronized (automatic)system restart

Beeing a newbe in the Linux world...

I have a setup where one old and slow computer is doing parts of the
datacollection usining owserver under debian, and another faster
server to consolidate all inputs and running a control system based on
that input data.

Now, at a power outage (living on the country side...) the server
starts much faster than the data collecing machine. In my setup that
prevents the owfs on the server to find the transducers on the
collecting computer.  Which in turn prevents the control application
to run properly. It seems that the owserver on the server is unable to
detect the other owserver on the collector when the collector comes up
after the server.

I am able to do semiautomatic restarts if I control the power switches
in the proper sequense i.e. waiting for the collector to start before
starting the server. I need some kind of syncronization, I think.

How can I implement a reliable startup sequence ?

regards
tcmsklas

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
(Continue reading)

Jan Sennesael | 1 Feb 15:24
Picon

Re: Problems in owserver with USB and longer cables

I have a similar problem, with owfs 2.7p32-2 and 2.7p38-1 on an nslu2 running unslung: when using temploggerd and a script, owfs crashes

The script now checks if everything is ok, and does a restart if not, but the temploggerd graphs look all messed up.

Someone suggested to use a serial based device as a solution, but solving this problem would be nicer ;-)

thanks in advance.

 

PS: all my ds18s20 and ds18b20 are running in parasite mode but with the 1wire data connected to 5V and battery backup as done by hobbyboards.

 

Jan

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Robert Hampf | 1 Feb 15:29
Favicon

Re: Newbie problem installing silfreed packages for Fedora

On Mon, Jan 30, 2012 at 09:44:01PM +0100, p4trykx wrote:
> 
> Maybe it's good idea to compile owfs if there is no other idea why it  
> doesn't work. Maybe there is some dependency which does not get installed.
> Compilation is fairly easy.
> ./configure
> (look at the output and make sure the usb is enabled)
> 
> Compile-time options:
>                    Caching is enabled
>                        USB is enabled
> If USB says DISABLED then You have to install libusb-dev package (I use  
> Ubuntu and it is showed under this name in Synaptic)
> 
> make
> make install
> then owfs should be i /opt/owfs/bin
> First try to run owserver --debug  instead of owfs to rule out problems  
> with fuse. You can get readings from owserver with owread.
> 
> Can you post dmesg output after plugging in the 1-wire adapter

Thank you very much for this advice.  I will try installing from
source again when I get a little quality time with my box.

Robert

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Robert Hampf | 1 Feb 15:31
Favicon

Re: Newbie problem installing silfreed packages for Fedora

On Mon, Jan 30, 2012 at 07:12:20PM -0500, Paul Alfille wrote:
> You can get considerable log information.
> 
> Try
> sudo /opt/owfs/bin/owfs --debug --usb=all -m /your/directory --allow_other
> &> /your/logfile
> 
> On Mon, Jan 30, 2012 at 3:17 PM, Robert Hampf <rhampf <at> hlemmur.skutan.com>wrote:

Thank you very much.  I'll try installing from sources again and try
this. 

Robert

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Paul Alfille | 1 Feb 16:01
Picon

Re: How to setup a reliable, sychronized (automatic)system restart

I must admit, I thought owserver would wait for an absent owserver rather than exiting, but tests show you are right.

This sounds like a needed option for owserver.

Or maybe just a program like "owtest" that gives a different exit code based on whether owserver exists or not.

On Wed, Feb 1, 2012 at 8:47 AM, klas englund <tcmsklas <at> gmail.com> wrote:
Beeing a newbe in the Linux world...

I have a setup where one old and slow computer is doing parts of the
datacollection usining owserver under debian, and another faster
server to consolidate all inputs and running a control system based on
that input data.

Now, at a power outage (living on the country side...) the server
starts much faster than the data collecing machine. In my setup that
prevents the owfs on the server to find the transducers on the
collecting computer.  Which in turn prevents the control application
to run properly. It seems that the owserver on the server is unable to
detect the other owserver on the collector when the collector comes up
after the server.

I am able to do semiautomatic restarts if I control the power switches
in the proper sequense i.e. waiting for the collector to start before
starting the server. I need some kind of syncronization, I think.

How can I implement a reliable startup sequence ?

regards
tcmsklas

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Colin Law | 1 Feb 16:22

Re: How to setup a reliable, sychronized (automatic)system restart

On 1 February 2012 15:01, Paul Alfille <paul.alfille <at> gmail.com> wrote:
> I must admit, I thought owserver would wait for an absent owserver rather
> than exiting, but tests show you are right.

Possibly not relevant, but I use owread to fetch data from a remote
server and it copes fine with the server not accessible.

Colin

>
> This sounds like a needed option for owserver.
>
> Or maybe just a program like "owtest" that gives a different exit code based
> on whether owserver exists or not.
>
>
> On Wed, Feb 1, 2012 at 8:47 AM, klas englund <tcmsklas <at> gmail.com> wrote:
>>
>> Beeing a newbe in the Linux world...
>>
>> I have a setup where one old and slow computer is doing parts of the
>> datacollection usining owserver under debian, and another faster
>> server to consolidate all inputs and running a control system based on
>> that input data.
>>
>> Now, at a power outage (living on the country side...) the server
>> starts much faster than the data collecing machine. In my setup that
>> prevents the owfs on the server to find the transducers on the
>> collecting computer.  Which in turn prevents the control application
>> to run properly. It seems that the owserver on the server is unable to
>> detect the other owserver on the collector when the collector comes up
>> after the server.
>>
>> I am able to do semiautomatic restarts if I control the power switches
>> in the proper sequense i.e. waiting for the collector to start before
>> starting the server. I need some kind of syncronization, I think.
>>
>> How can I implement a reliable startup sequence ?
>>
>> regards
>> tcmsklas
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

--

-- 
gplus.to/clanlaw

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Roberto Spadim | 1 Feb 16:48
Picon

Re: How to setup a reliable, sychronized (automatic)system restart

this happen on owhttpd too, i need to restart always when it get down

2012/2/1 Colin Law <clanlaw <at> googlemail.com>
On 1 February 2012 15:01, Paul Alfille <paul.alfille <at> gmail.com> wrote:
> I must admit, I thought owserver would wait for an absent owserver rather
> than exiting, but tests show you are right.

Possibly not relevant, but I use owread to fetch data from a remote
server and it copes fine with the server not accessible.

Colin

>
> This sounds like a needed option for owserver.
>
> Or maybe just a program like "owtest" that gives a different exit code based
> on whether owserver exists or not.
>
>
> On Wed, Feb 1, 2012 at 8:47 AM, klas englund <tcmsklas <at> gmail.com> wrote:
>>
>> Beeing a newbe in the Linux world...
>>
>> I have a setup where one old and slow computer is doing parts of the
>> datacollection usining owserver under debian, and another faster
>> server to consolidate all inputs and running a control system based on
>> that input data.
>>
>> Now, at a power outage (living on the country side...) the server
>> starts much faster than the data collecing machine. In my setup that
>> prevents the owfs on the server to find the transducers on the
>> collecting computer.  Which in turn prevents the control application
>> to run properly. It seems that the owserver on the server is unable to
>> detect the other owserver on the collector when the collector comes up
>> after the server.
>>
>> I am able to do semiautomatic restarts if I control the power switches
>> in the proper sequense i.e. waiting for the collector to start before
>> starting the server. I need some kind of syncronization, I think.
>>
>> How can I implement a reliable startup sequence ?
>>
>> regards
>> tcmsklas
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>



--
gplus.to/clanlaw

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers



--
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Roberto Spadim | 1 Feb 16:50
Picon

Re: Problems in owserver with USB and longer cables

yes, here is the same problem but i couldn't test with rfc2722 since it's a new feature, but with -d /dev/ttyUSB0 this problem occur in the same situations that you showed

>- The 2.8p2 as well, works fine
>- The 2.8p3 showed a different problem behavior:


2012/2/1 Jan Sennesael <Jan.sennesael <at> skynet.be>

I have a similar problem, with owfs 2.7p32-2 and 2.7p38-1 on an nslu2 running unslung: when using temploggerd and a script, owfs crashes

The script now checks if everything is ok, and does a restart if not, but the temploggerd graphs look all messed up.

Someone suggested to use a serial based device as a solution, but solving this problem would be nicer ;-)

thanks in advance.

 

PS: all my ds18s20 and ds18b20 are running in parasite mode but with the 1wire data connected to 5V and battery backup as done by hobbyboards.

 

Jan


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers




--
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Gmane