Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-04-08 Thread Michael Markstaller
Am 08.04.2012 15:37, schrieb Jan Sennesael: > A few weeks ago, there was a discussion about the unstable owserver with usb > and longer cables. Is there a solution for it? I suggested a "hack" to outline the source (IMHO) here http://www.mail-archive.com/owfs-developers@lists.sourceforge.net/msg086

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-04-08 Thread Jan Sennesael
A few weeks ago, there was a discussion about the unstable owserver with usb and longer cables. Is there a solution for it? On my setup (see below) i have a similar problem where it falls of at different intervals. I recently experience a similar problem? : i have a diy usb uplink with 4 Ds2423 c

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-03-16 Thread Matthias Lemke
I Think it should be easy for Michael to organize something like a remote access to a testbed. He has a lot of devices :) regards Am 16.03.2012 14:49, schrieb Paul Alfille: > To hunt this down, you find that heavy USB activity causes communication > failures and puts owfs is an unusable state? I

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-03-16 Thread Paul Alfille
To hunt this down, you find that heavy USB activity causes communication failures and puts owfs is an unusable state? I need to create a test bed to mimic and correct this. Paul On Thu, Mar 15, 2012 at 5:52 PM, Michael Markstaller wrote: > Err, referring to > http://article.gmane.org/gmane.comp

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-03-15 Thread Michael Markstaller
Err, referring to http://article.gmane.org/gmane.comp.file-systems.owfs.devel/9120 Current owfs is really unusable with DS9490 and the older ones have some issue with libusb under OpenWRT, I'm stuck a little here; tried many things but when I touch code usually afterwards it's more broken than fixe

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-09 Thread Paul Alfille
Thank you for your investigation. Let me see if I can fix it this weekend. Michael Markstaller wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Ok, digging some deeper today. > >Preface: these were found&analyzed using 2.8p14 on my Ubuntu >11.04/32-Desktop, one DS9490, 5cm cable a par

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-07 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, digging some deeper today. Preface: these were found&analyzed using 2.8p14 on my Ubuntu 11.04/32-Desktop, one DS9490, 5cm cable a parasite DS18B20 and one DS2438 (similar MS-TH). NOTHING else on the USB, i7.. Should say: it is also very unstable o

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-04 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 04.02.2012 23:53, schrieb Roberto Spadim: > hum with ds2480 how reset_errors is incremented? 2490! (better known as DS9490 which has this inside.) Nothing serial.. But thats where I'm stuck, why the reset_errors occur and where to search in the

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-04 Thread Roberto Spadim
hum with ds2480 how reset_errors is incremented? maybe it occur with a serial break command? 2012/2/4 Michael Markstaller > Am 04.02.2012 16:42, schrieb Michael Markstaller: > > Short conclusion: If my assumptions are right, reading a DS18B20 > > (parasite OR powered doesnt matter) switches

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-04 Thread Michael Markstaller
Am 04.02.2012 16:42, schrieb Michael Markstaller: > Short conclusion: If my assumptions are right, reading a DS18B20 > (parasite OR powered doesnt matter) switches the DS2490 from flexible to > regular-speed and disables Strong pullup.. While doing further tests: I *think* I narrowed it down furth

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-04 Thread Michael Markstaller
Am 02.02.2012 22:58, schrieb Roberto Spadim: > well must check source code and see if it´s a time problem on > communications, im a bit busy here, with time i can check, if anyone can > check what changed in this versions that worked and that don´t work > could be nice > i will be out for 1 month

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-02 Thread Roberto Spadim
well must check source code and see if it´s a time problem on communications, im a bit busy here, with time i can check, if anyone can check what changed in this versions that worked and that don´t work could be nice i will be out for 1 month +- with a big work 2012/2/2 Michael Markstaller > --

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-02 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just to further specify: - - BTW: this isn't ARM-specific IMHO, I experience exactly the same on x86/Debian lenny (though: other cabling, not that long but worse; will try to reproduce in testbed with capacitors tomorrow) - - fully agreed, this is no

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-01 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.02.2012 14:10, schrieb ekgnkb3d: > > 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

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-01 Thread Roberto Spadim
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 > I have a simi

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-01 Thread Jan Sennesael
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 de

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-01 Thread ekgnkb3d
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 wo

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-01-28 Thread ekgnkb3d
Hi Roberto >i don't know if you are using usb-serial-ds2480 bus master >but if you are using it, could you try to run it with ser2net?? sorry, I don't have an usb->serial adapter here and also no DS2480 It looks like restarting owhttpd is equivalent to restarting owserver > i'm using a USB-seri

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-01-27 Thread Roberto Spadim
with ser2net and ds2480 i could reduce this problem, turning ser2net down, wait a moment and restart ser2net ser2net is a serial-tcp program i'm running it at ARM device (android with linux 2.6.29) and at server (x86-64) i'm running owhttpd with command option: -d 172.16.0.22:5331 with some time

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-01-27 Thread ekgnkb3d
Hi all experts, Roberto Spadim wrote: > >> :D i found this too with ds2480b! > OK, I expected this! > Roberto Spadim wrote: > >> maybe a single workaround (ugly, but works) is a counter at device >> for example after 10 reads, close and open device (/dev/ttyUSB0 or other >> device) > I'm n

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-01-27 Thread Roberto Spadim
maybe another option should be added --device-reconnect-time=0 (don't use recoonect timeout) --device-reconnect-time=10 (reconnect after 10 seconds) 2012/1/27 Roberto Spadim : > HIS PAUL READ THIS TOO, MAYBE A BETTER SOLUTION FOR BUS MASTER SPECIFIC > :D i found this too with ds2480b! > maybe a si

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-01-27 Thread Roberto Spadim
HIS PAUL READ THIS TOO, MAYBE A BETTER SOLUTION FOR BUS MASTER SPECIFIC :D i found this too with ds2480b! maybe a single workaround (ugly, but works) is a counter at device for example after 10 reads, close and open device (/dev/ttyUSB0 or other device) this works like cron restart, but it's faster

[Owfs-developers] Problems in owserver with USB and longer cables

2012-01-27 Thread ekgnkb3d
Hi all, probably I've found a funny bug in the owserver in relation to USB Bus-Master and longer cables. This was mentioned before in http://old.nabble.com/Re%3A-How-to-enable-statistics--p33202282.html this posting very fuzzy, but now I was able to reproduce it in my lab: 1. Install OWFS 2.8p1