Re: [Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Jan Kandziora
Am Donnerstag, 14. Dezember 2006 23:52 schrieb Jan Kandziora: > Am Donnerstag, 14. Dezember 2006 22:29 schrieb Paul Alfille: > > Jan, > > > > Thank you very much! > > I think I found another occurrence of this bug. As the discharge lines > command is not really needed

Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-14 Thread Jan Kandziora
Am Donnerstag, 14. Dezember 2006 12:33 schrieb Jan Kandziora: > > But from the problems we encounter I think the following is done when > reading "1F./simultaneous/single" > > Byte 0 0x55 ROM Command (Match ROM) > Byte 1 0x1F Family Code (DS2409)

Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-15 Thread Jan Kandziora
Am Freitag, 15. Dezember 2006 03:05 schrieb Paul Alfille: > Jan, > > The DS2409 code has been quite a chore to implement. OWFS has the most > flexible of any implementation I know -- support for unlimitted branching, > interleaved bus usage, and lazy bus changes. I'll be interested in any > improve

Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-15 Thread Jan Kandziora
Am Freitag, 15. Dezember 2006 03:05 schrieb Paul Alfille: > Jan, > > The DS2409 code has been quite a chore to implement. OWFS has the most > flexible of any implementation I know -- support for unlimitted branching, > interleaved bus usage, and lazy bus changes. I'll be interested in any > improve

Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-16 Thread Jan Kandziora
Am Samstag, 16. Dezember 2006 02:11 schrieb Paul Alfille: > On 12/15/06, Jan Kandziora <[EMAIL PROTECTED]> wrote: > > Before I'll rumble through that, I'd like to add another node to the > > DS2409 chip: "clearevent" just issues a 0x66 "disconnect

Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-16 Thread Jan Kandziora
Am Samstag, 16. Dezember 2006 02:37 schrieb Paul Alfille: > This is an ambitious, but tricky change. When you are happy with it, let me > test it too. I can construct a 2 level network here. > My idea is to transfer the BUS_select_branch() from BUS_next into BUS_select. This should do no harm -- B

Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-18 Thread Jan Kandziora
Am Samstag, 16. Dezember 2006 02:11 schrieb Paul Alfille: > There are some subtilties with deeper branching. OWFS kee[s trak of the > last selected path to reduce redundant path selection (you have to turn off > all sister DS2409s at each level). I'll add a flag that marks the stored > path as untr

Re: [Owfs-developers] PHP Class for OWServer

2006-12-20 Thread Jan Kandziora
Am Mittwoch, 20. Dezember 2006 13:16 schrieb Paul Alfille: > Hello Roberto, > > Very nice work. > > I found the documentation at the end of the file (as you had said) and have > a few comments: > > A. I dont believe there is a default port for owserver. > Should we issue a request for a "registered

Re: [Owfs-developers] PHP Class for OWServer

2006-12-20 Thread Jan Kandziora
Am Mittwoch, 20. Dezember 2006 15:17 schrieb Paul Alfille: > Sounds fine. We also have an mdns protocol registered. > Do you want to submit the request? > If you are ok with it, I will. It may take some time until I collected the neccessary information for the application (protocol details etc), t

Re: [Owfs-developers] PHP Class for OWServer

2006-12-20 Thread Jan Kandziora
Am Mittwoch, 20. Dezember 2006 17:13 schrieb Roberto Spadim: > any idea on what port should we use as default today?! > As IANA will choose the port number alone, just waiting for the application result seems to be a wise idea -- I expect it to be through first week after new year's eve. In the i

Re: [Owfs-developers] usage of 1wire sensors in motor-sports

2006-12-24 Thread Jan Kandziora
Am Sonntag, 24. Dezember 2006 16:41 schrieb Japie: > On Sun, 24 Dec 2006 14:17:18 +0200, Paul Alfille wrote: > >> Can owfs/1wire read in mili-seconds? > > > > That might be pushing it.10 to 100 msec. > > That would do, 10.000rpm ~ 180 pulses per second, but if I take a pulse > > >from the cams it w

Re: [Owfs-developers] usage of 1wire sensors in motor-sports

2006-12-25 Thread Jan Kandziora
Am Montag, 25. Dezember 2006 12:10 schrieb Japie: > > Data logging has 2 objectives, first is to find out why and where > something went terrebly wrong, second goal is to show us why the engine > was running so much bether one match than the other. > For the "something went terrebly wrong" part we

Re: [Owfs-developers] Switching a voltage other then a low voltage DC one

2007-01-01 Thread Jan Kandziora
Am Montag, 1. Januar 2007 19:47 schrieb Gregg Levine: > Hello! > New project starting up. It will be a single camera CCTV system. I'd > like the camera's P/S to be switchable via a DS2406. > > Problem is that this one uses AC at 24 volts to activate itself. Has > anyone found the right combination

Re: [Owfs-developers] Interpreting counter values from ds2423

2007-01-18 Thread Jan Kandziora
Am Donnerstag, 18. Januar 2007 15:24 schrieb Gene Dio: > > I am in pure testing mode with this, so I am triggering the counters with a > pair of simple momentary contact switches (interpet that to mean a pair of > $2 doorbell switches from the local hardware store). The final use for > this will b

Re: [Owfs-developers] Fwd: [IANA #50010] Application for port-number: owserver (Assigned-4304)

2007-01-24 Thread Jan Kandziora
Am Dienstag, 23. Januar 2007 02:16 schrieb Paul Alfille: > Great news, 4304 is out default port. I'll modify the programs and examples > to use it. In general, if no port is specified, 4304 will be assumed. > That's indeed great news. owserver has a default port now and will be put into /etc/servi

Re: [Owfs-developers] DS2480B based adapter

2007-01-31 Thread Jan Kandziora
Am Donnerstag, 1. Februar 2007 00:39 schrieb George M. Zouganelis: > Simon Natterer wrote on 1/2/2007 01:16: > > George M. Zouganelis wrote: > >> Today I built a DS2480 serial adapter (schematic attached) after > >> failing to work with > >> a orginal Elektor schematic (wich had no RS232 level Driv

Re: [Owfs-developers] DS2480B based adapter

2007-02-01 Thread Jan Kandziora
Am Donnerstag, 1. Februar 2007 16:57 schrieb George M. Zouganelis: > > Hmmm. Maybe I should update the library. Could anyone of the native > > english speakers here come up with an unambiguous text? > > btw, do you know where I can find a good walkthrough tutorial on editing > library components

Re: [Owfs-developers] i2c

2007-02-06 Thread Jan Kandziora
Am Dienstag, 6. Februar 2007 08:30 schrieb Stuart Poulton: > Dear All, > > Does anyone have experience of working i2c interfaces for either > > DS2482-100 , DS2482-800, initially something parallel port based would > be ideal. > I posted a schematic a while ago. To avoid cluttering the list, I mail

Re: [Owfs-developers] OWFS Logo...where is it

2007-02-12 Thread Jan Kandziora
Am Montag, 12. Februar 2007 06:59 schrieb Roberto Spadim: > > every thing could be OWSuite, i'm making some logos check the animated gif > Huh, that's kind of cool! Altough I usually abhor animated pictures (lets me think of ads), I like your logo idea. However, there could arise some problems w

Re: [Owfs-developers] Some thoughts on logos, etc.

2007-02-13 Thread Jan Kandziora
Am Montag, 12. Februar 2007 22:01 schrieb David Lissiuk: > Standards are a good thing. And OWFS has become a major player in terms > of 1-Wire work. As an end user, I'd like to know that my hardware is > fully supported and tested by OWFS and uses a wiring standard like > 1WRJ45 when I buy the prod

Re: [Owfs-developers] Cable length when connecting a 18B20 sensor to a USB dongle

2007-03-03 Thread Jan Kandziora
Am Samstag, 3. März 2007 21:14 schrieb Pedro Côrte-Real: > Do I need to power the 18B20 with Vcc for this distance? > No. Power requirement of the DS18B20 is max. 1.5mA, which causes only a voltage drop in the mV range even on long and thin 1W and GND lines. Check for contact problems at the con

Re: [Owfs-developers] e: line distance

2007-03-04 Thread Jan Kandziora
Am Sonntag, 4. März 2007 00:53 schrieb Wizard: > > > > If you power a lot of onewire chips (and peripheals) over a thin, long > > cable, the GND niveau at the end of the cable may reach 0.7V due to the > > current through it. This disturbs the onewire function for chips at the > > end of the cable

Re: [Owfs-developers] Cable length when connecting a 18B20 sensor to a USB dongle

2007-03-04 Thread Jan Kandziora
Am Sonntag, 4. März 2007 00:38 schrieb Pedro Côrte-Real: > > Any idea what the usable range will be using Cat6? > Cat6 may have different wire gauge. As the cable length is limited by wire gauge, you'll have to be more specific. Kind regards Jan -- People get annoyed when you try to deb

Re: [Owfs-developers] HELP Using DS2405 as Digital Inputs (NSLU2) and some great I/O boards

2007-04-05 Thread Jan Kandziora
Am Donnerstag, 5. April 2007 14:31 schrieb Rob Conway: > > NOW MY PROBLEM > The digital input board uses DS2405 and I just read the sense parameter. > It seems that regardless of how fast I scan these (2 sec or 20 sec) it > takes 2 (sometimes 3) reads of the sense parameter before the state > chan

Re: [Owfs-developers] OT: 1-wire Relais Output

2007-04-07 Thread Jan Kandziora
Am Samstag, 7. April 2007 13:05 schrieb Sven Geggus: > Hello, > > not exactly a Software Question but anyway. I intend to switch mains > connected devices by 1-wire. Any suggestion for a suitable circuit? > Solid state relays, e.g. by OptoZZ or similar behave as a LED on low voltage side. If you l

Re: [Owfs-developers] OT: 1-wire Relais Output

2007-04-07 Thread Jan Kandziora
Am Samstag, 7. April 2007 15:50 schrieb Sven Geggus: > Jan Kandziora <[EMAIL PROTECTED]> wrote: > > Solid state relays, e.g. by OptoZZ or similar behave as a LED on > > low voltage side. If you like to build such a thing yourself, try > > e.g. MOC3043. > > I thin

Re: [Owfs-developers] attaching microcontrollers to OW

2007-04-21 Thread Jan Kandziora
Am Samstag, 21. April 2007 20:45 schrieb njh: > On Sat, 21 Apr 2007, Paul Alfille wrote: > > The problem isn't technical -- Louis Swart does it (PIC based) in his LCD > > controller. > > > > Dallas/Maxim restricts 1-wire slaves (their patents, intellectual > > property, and "quality assurance"), wh

Re: [Owfs-developers] attaching microcontrollers to OW

2007-05-03 Thread Jan Kandziora
Am Sonntag, 22. April 2007 00:25 schrieb Jan Kandziora: > > Ouch. The DS2404 was a useful chip for such appliances. I planned to use it > in a future design, too. I have a datasheet from last year without "Do not > use for new designs" printed over it... > > > I

Re: [Owfs-developers] OWFS on Kamikaze OpenWrt

2007-05-11 Thread Jan Kandziora
Am Freitag, 11. Mai 2007 02:02 schrieb njh: > > Bit bashing i2c is easy - use the i2c 1-wire bus master chips. > And there is already a bunch of bit banging drivers for that. The i2c-parport driver can be adapted to work with any 3-Pin GPIO, I think. Bit-banging i2c consumes a lot of cpu time, th

Re: [Owfs-developers] Fwd: Faster-than-cron polling ideas?

2007-05-19 Thread Jan Kandziora
Am Samstag, 19. Mai 2007 22:50 schrieb Paul Alfille: > -- Forwarded message -- > From: Brian Fahrlander <[EMAIL PROTECTED]> > Date: May 19, 2007 7:03 PM > Subject: Faster-than-cron polling ideas? > To: [EMAIL PROTECTED] > Schnipp > > Most of the things I poll will be in

Re: [Owfs-developers] owtcl broken in 2.6p5!

2007-06-02 Thread Jan Kandziora
Am Freitag, 1. Juni 2007 22:22 schrieb Sven Geggus: > While owserver, owhttpd and owfs are working fine owtcl seems to be > broken :( > > ::OW::put works fine but ::OW::get seems to be broken! > > When try to use the following code in owfs 2.6p5: > --cut-- > #!/usr/bin/tclsh > package require ow >

Re: [Owfs-developers] Usb problem with DS2490

2007-06-04 Thread Jan Kandziora
Am Montag, 4. Juni 2007 11:07 schrieb Vortex: > > This is all very strange to me and i'm a bit helpless where to search the > error. Hardware? Notebook? The DS2490 surrounding hardware? Kernel? > libusb? owfs itself? > > Some ideas? > Your interface may drain too much power on power-on from your no

Re: [Owfs-developers] Usb problem with DS2490

2007-06-04 Thread Jan Kandziora
Am Montag, 4. Juni 2007 14:29 schrieb Sven Geggus: > Jan Kandziora <[EMAIL PROTECTED]> wrote: > > Your interface may drain too much power on power-on from your notebook's > > USB port. Try inserting choke coils into the +5V and GND lines (a few > > µH). > >

Re: [Owfs-developers] Usb problem with DS2490

2007-06-05 Thread Jan Kandziora
Am Montag, 4. Juni 2007 15:42 schrieb Vortex: > > > The OP tried that already, and it worked. Therefore my advice. > > OP? Does that mean it's a known issue? > OP: original posting/poster. > But i can't imagine that this > usb-port which is capable of 500mA should have a problem with a few > mA.

Re: [Owfs-developers] Usb problem with DS2490

2007-06-05 Thread Jan Kandziora
Am Dienstag, 5. Juni 2007 09:48 schrieb Vortex: > > Increasing the capacitors make things *worse*, not better! Empty > > capacitors are like short circuits. You have to limit the current flowing > > into empty capacitors by applying a resistor or (better) a choke coil to > > the supply lines. > > B

Re: [Owfs-developers] Usb problem with DS2490

2007-06-13 Thread Jan Kandziora
Am Mittwoch, 13. Juni 2007 06:50 schrieb Vortex: > Hello! > > I investigated the setup again at last weekend. > > Somebody on linux-usb Mailinglist explaind the "failed with status > 50" message. And so i decided to check the waveforms on D+ and D-. > I've discovered that there is a complete im

Re: [Owfs-developers] Weathervane using DS2450. Volt.ALL query.

2007-07-04 Thread Jan Kandziora
Am Mittwoch, 4. Juli 2007 03:45 schrieb Matt: > I'm using owserver and python to take reading of a 1wire weathervane. > It uses some reed switches to determine the direction. > > Here's some output from owhttpd > > typeDS2450 > volt.ALL0.0597665, 4.38921, 4.53233, 1.11635 > volt.A0.7702

[Owfs-developers] owtcl: More meaningful error messages

2007-07-18 Thread Jan Kandziora
Dear Serg, as my project's focus again moved to owfs and owtcl, I'd like to make some improvements to the tcl binding, especially getting rid of the notorious "Unknown error 4294967295" message and in general, return more meaningful error messages and codes to the tcl program. Is it ok if I ch

Re: [Owfs-developers] owtcl: More meaningful error messages

2007-07-19 Thread Jan Kandziora
Am Mittwoch, 18. Juli 2007 10:34 schrieb Jan Kandziora: > Dear Serg, > > as my project's focus again moved to owfs and owtcl, I'd like to make some > improvements to the tcl binding, especially getting rid of the > notorious "Unknown error 4294967295"

Re: [Owfs-developers] owtcl: More meaningful error messages

2007-07-20 Thread Jan Kandziora
Am Mittwoch, 18. Juli 2007 10:34 schrieb Jan Kandziora: > > as my project's focus again moved to owfs and owtcl, I'd like to make some > improvements to the tcl binding, especially getting rid of the > notorious "Unknown error 4294967295" message and in general

Re: [Owfs-developers] DS2480B and owhttpd

2007-07-28 Thread Jan Kandziora
Am Samstag, 28. Juli 2007 19:35 schrieb Tilman Glotzner: > > I build myself a serial->1Wire adapter using a DS2480B and a MAX232. I have > a 18B20 (temperature sensor) connected to the bus. I am supplying 5 V > externally -- I am not using the parasitic mode. > > Now, I am trying to commission it u

Re: [Owfs-developers] 2.6 kernels and OWFS

2007-08-01 Thread Jan Kandziora
st discussion, I had the impression I can't find the right words to talk to him. Kind regards Jan Kandziora -- "And the next time you consider complaining that running Lucid Emacs 19.05 via NFS from a remote Linux machine in Paraguay doesn't seem to get

Re: [Owfs-developers] 2.6 kernels and OWFS

2007-08-01 Thread Jan Kandziora
Am Mittwoch, 1. August 2007 12:58 schrieb Paul Alfille: > > So that is the status of the w1 interface. It's very linux-specific, and > even at best won't add any new function. I was more interested before we > managed to get I2C working, since there is a kernel module for that as > well. > > In sho

Re: [Owfs-developers] 2.6 kernels and OWFS

2007-08-01 Thread Jan Kandziora
Am Mittwoch, 1. August 2007 14:41 schrieb Matthias Urlichs: > Hi, > > Jan Kandziora: > > I specifically think of onewire chips built into laptop batteries. As > > soon a user encounters such a device, wants to monitor it through the > > usual kernel hardware monitorin

Re: [Owfs-developers] How should we chain?

2007-08-02 Thread Jan Kandziora
Am Donnerstag, 2. August 2007 12:55 schrieb Paul Alfille: > > I can see the argument both ways. Part of the problem is that our > filesystem model really matched the 1-wire design -- no inherent order to > the entries. > > Do you think rewiring is likely/possible on the fly? Could we do both > meth

Re: [Owfs-developers] DS2423 - "Data Error"

2007-08-09 Thread Jan Kandziora
Am Donnerstag, 9. August 2007 07:02 schrieb Gregg C Levine: > Hello! > Paul, David, (welcome to the group by the way.), the DS2423 counter chip is > a strange animal. It requires an external power supply to run it. > The RAM is not 1W powered, but Vdd powered only. So Vdd acts as an -RESET input,

Re: [Owfs-developers] Announcing owtap

2007-08-15 Thread Jan Kandziora
Am Mittwoch, 15. August 2007 04:57 schrieb Paul Alfille: > Ok, I've been hinting for a while, but here is is: owtap > > There is extensive documentation (man pages, screen shots, etc) at > http://www.owfs.org/index.php?page=owtap > > Basically it is a program that displays the traffic to and from o

Re: [Owfs-developers] DS2423 question

2007-10-08 Thread Jan Kandziora
Am Montag, 8. Oktober 2007 22:09 schrieb Paul Alfille: > > Someone is kindly sending me a DS2423 counter device. I'll test this > hypothesis. > Please tell me your postal address and I'll send one. Kind regards Jan -- There's light at the other end of the the Windows. pgpOuUHOdXuVp.pgp

Re: [Owfs-developers] DS2450 A/D has offset..nothing really to do with owfs !

2007-11-23 Thread Jan Kandziora
Am Freitag, 23. November 2007 11:28 schrieb Rob Conway: > Just wondering if anybody else has used the DS2450 for a long time. I am > using one of these A/D's and I have found that after a while ~6-8 months > all channels have a ~0.3 volt offset from zero. ie all 4 channel readings > go up by ~.3

Re: [Owfs-developers] DS2450 A/D has offset..nothing really to dowith owfs !

2007-11-23 Thread Jan Kandziora
Am Freitag, 23. November 2007 13:48 schrieb Rob Conway: > > Isolated is probably the wrong word, as the neg of all inputs is tied to > the neg of the 1wire supply. > No, I really asked about the ground potential. If there is a connector between the DS2450 GND pin and the input's GND, it's likely t

Re: [Owfs-developers] Problem with temperature reading

2007-12-06 Thread Jan Kandziora
Am Donnerstag, 6. Dezember 2007 19:02 schrieb decibels.drop: > cat ~/1wire/uncached/1F.66BD0400/main/10.381755010800/temperature > Just curious: Have you tried cat ~/1wire/uncached/1F.66BD0400/main/uncached/10.381755010800/temperature ,too? Kind regards Jan -- A recent study ha

[Owfs-developers] New OWFS non-root access USB udev rule

2008-02-07 Thread Jan Kandziora
Hello, I recently tried again to set up non-root access to the DS2490 adapter. I failed with the solution showed up at http://owfs.org/index.php?page=udev It seems the config syntax of udev has changed again. However, I came up with a much simpler solution: I set up a file /etc/udev/rules.d/46-ds

Re: [Owfs-developers] New OWFS non-root access USB udev rule

2008-02-12 Thread Jan Kandziora
Am Sonntag, 10. Februar 2008 19:28 schrieb Paul Alfille: > The website now includes both methods: > http://owfs.org/index.php?page=udev-and-usb > > Tell me if I got the details correct. > You got it right. I hope people will read "the line" above the code box with the actual udev line. May I sugge

[Owfs-developers] owtcl build broken?

2008-02-14 Thread Jan Kandziora
Hello, I just tried to compile the latest CVS and it seems something with owtcl has changed. I've done $ ./bootstrap $ /configure --disable-static --enable-shared --enable-swig --enable-owtcl --disable-debug --disable-owperl --disable-owpython --disable-owphp --disable-owfs --with-tcl=/usr/lib

[Owfs-developers] Another build quirk (not severe, though)

2008-02-15 Thread Jan Kandziora
Hello, I found another bug in the current owfs build scripts. It seems the ./configure options --disable-ownet and --disable-owmon do not work. Though in the summary ./configure notices they are disabled, ownet and owmon are built and installed. (I found that out because I'm doing a lot of fres

[Owfs-developers] Yet another build quirk with owtcl.

2008-02-15 Thread Jan Kandziora
Hi Serg, while doing my fresh builds of current CVS, I found another bug in owtcl build. It seems owtcl's ow-0.2.so is still linked to libowcapi-2.6.so.5, while the CVS contains libowcapi-2.7.so.3. Maybe it is possible to link to libowcapi.so instead? Kind regards Jan -- Ein Statisti

Re: [Owfs-developers] owtcl build broken?

2008-02-15 Thread Jan Kandziora
Am Freitag, 15. Februar 2008 09:02 schrieb Serg Oskin: > Fixed in CVS. > That was fast! Many thanks, Serg! Kind regards Jan -- Always remember: Failure is not an option! ...It comes bundled with Windows. pgphinu5bNC0s.pgp Description: PGP signature -

Re: [Owfs-developers] Yet another build quirk with owtcl.

2008-02-15 Thread Jan Kandziora
Am Freitag, 15. Februar 2008 23:59 schrieb Serg Oskin: > Hmm.. > Try "make clean" before "make"... > rpmbuild even does rm..., tar xzf owfs-tar.gz, ./bootstrap etc.. But ok, I build it by hand again. > Show output "ldd ow-0.2.so"... > linux-gate.so.1 => (0xb7fba000) libtcl8.

Re: [Owfs-developers] [CLOSED] Yet another build quirk with owtcl.

2008-02-16 Thread Jan Kandziora
Am Samstag, 16. Februar 2008 09:48 schrieb Christian Magnusson: > You can't have it running in both normal installed environment AND in a > fakeroot. Have you seen any other dynamic linked applications which work > this way? > I'm unsure why the rpmbuild failed yesterday. Maybe I just installed the

Re: [Owfs-developers] Fwd: Simple perl program

2008-03-10 Thread Jan Kandziora
Am Sonntag, 9. März 2008 20:43 schrieb Paul Alfille: > -- Forwarded message -- > From: <[EMAIL PROTECTED]> > Date: Sun, Mar 9, 2008 at 3:29 PM > Subject: Simple perl program > To: Paul Alfille <[EMAIL PROTECTED]> > > > Dear owfs-developers! > > As recommended by you, Paul, I googled

Re: [Owfs-developers] Fwd: Simple perl program

2008-03-13 Thread Jan Kandziora
Am Donnerstag, 13. März 2008 02:07 schrieb Paul Alfille: > > Jan, sorry, I didn't understand anything you tried to explain to me. > 1. What's a "Content-Type:..." header and what does mean "CHECK". > That's what you already have done. CHECK -- to check -> "abhaken". > 2. What is "wwwrun", a certa

[Owfs-developers] Udev rules for openSuSE 11

2009-02-05 Thread Jan Kandziora
Hello, I recently had time again to focus my efforts on owfs. I found out the Udev rules I once posted do no longer work on openSuSE 11. I made up the following new rule, which has to be placed into a new file /etc/udev/rules.d/46-ds2490.rules or similar (just make sure it's before 50-udev-defa

[Owfs-developers] OWFS "forgets" chips after a while.

2009-02-07 Thread Jan Kandziora
Hello, I found a problem (at least for me) with owfs' cache a while ago I'd like to fix. Tried with owtcl: % OW::get uncached 29.E5340100/,bus.0/,bus.1/,bus.2/,bus.3/,bus.4/,bus.5/,bus.6/,bus.7/,settings/,system/,statistics/,structure/,alarm/ % OW::put 29.E5340100/PIO.BYTE 161 % OW::put

Re: [Owfs-developers] OWFS "forgets" chips after a while.

2009-02-08 Thread Jan Kandziora
Am Samstag, 7. Februar 2009 schrieb Jan Kandziora: > > I'd like to have it the way OWFS never "forgets" which chips are on the > bus. Which setting do I have to tune? I tried > Ok, I found out writing a large value to /settings/timeout/presence will disable this fea

Re: [Owfs-developers] OWFS "forgets" chips after a while.

2009-02-09 Thread Jan Kandziora
Am Montag, 9. Februar 2009 schrieb Paul Alfille: > > What version are you using? > Latest CVS. I made an update recently. > The expected response is that calling OW::put 29.E5340100/PIO.BYTE 161 > would check the presence of 29.E5340100 (rebuilding the presence in > cache) before doing th

[Owfs-developers] Bugs with I2C

2009-02-10 Thread Jan Kandziora
Hello Paul (and others), I'm currently testing my onewire installation with owtcl and an I2C adapter. It works more or less. I found out there is a nasty bug which is triggered by OW::finish, but *only* for the DS2482 I2C adapter, not DS9490 or DS9097U, which I tested, too. So I doubt it's a pr

Re: [Owfs-developers] Fwd: [Owfs-forums] [owfs - Help] Problem with DS2482-800 and cable >50meters

2009-02-10 Thread Jan Kandziora
Am Dienstag, 10. Februar 2009 schrieb Paul Alfille: > > I looked at the DS2482-100 Datasheet > http://datasheets.maxim-ic.com/en/ds/DS2482-800-DS2482S-800.pdf > > I see the discussion on page 6 of Active Pullup. I must admit I didn't > realize APU didn't require external hardware. > On DS2482-100,

Re: [Owfs-developers] Bugs with I2C

2009-02-10 Thread Jan Kandziora
Am Dienstag, 10. Februar 2009 schrieb Jan Kandziora: > Hello Paul (and others), > I found another bug with I2C. % package require ow % OW::init /dev/i2c-6 % OW::set_error_level 9 % OW::set_error_print 2 % OW::get alarm gives DEBUG: FS_OWQ_create of alarm CALL: PARSENAME path=[alarm]

Re: [Owfs-developers] Bugs with I2C

2009-02-10 Thread Jan Kandziora
Am Dienstag, 10. Februar 2009 schrieb Paul Alfille: > Found a rather embarrassing error. The cleanup routine didn't have a break > at the end of the switch for the i2c adapter, so tried to clean up a > different adapter as well. > Ok. Thanks for fixing it so quickly. > I'll make a new release. >

Re: [Owfs-developers] Bugs with I2C

2009-02-11 Thread Jan Kandziora
Am Mittwoch, 11. Februar 2009 schrieb Paul Alfille: > You log file doesn't show the Speicherzugriffsfehler. > Yes. Unlike with the other bug, I did not get a trace from glibc. I just have made a valgrind --leak-check=full --show-reachable=yes ./ow_alarm_bug.tcl /dev/i2c-6 Please see th

Re: [Owfs-developers] Bugs with I2C

2009-02-11 Thread Jan Kandziora
Am Mittwoch, 11. Februar 2009 schrieb Paul Alfille: > I looked at the log -- nothing remarkable. A memory leak of 36 bytes was > nice to find. > > Can you test the newer version and see if the problem persists? > With latest CVS from CET 17:00 I get: % OW::get uncached 29.E5340100/,29.E5340100

Re: [Owfs-developers] Bugs with I2C

2009-02-11 Thread Jan Kandziora
Am Mittwoch, 11. Februar 2009 schrieb Paul Alfille: > Just fixed the error in the DS2482_channel_select logic. Can you retry from > the CVS? > I found a stray character in CVS code, fixed it myself, uploaded it. Bus selection just works fine now, the other errors remain. Next one: % OW::get bus.0

Re: [Owfs-developers] OWFS "forgets" chips after a while.

2009-02-11 Thread Jan Kandziora
Am Mittwoch, 11. Februar 2009 schrieb Paul Alfille: > > and I need to re-read it several times with owhttpd to make it > > available. All other devices are retained. When the 2408 disappears it > > is no longer available to php or perl. Any suggestions? Also how can I > > Suggestions? I need to

[Owfs-developers] Problem with /alarm and latest CVS

2009-05-08 Thread Jan Kandziora
Hello, I recently returned to the onewire part of my project and I'm still hunting bugs... With latest CVS version, /alarm or even /alarm/uncached are always empty. I *know* the DS2408 connected to the bus *must* be in alarm state after power up, so there has to be something wrong with my softw

Re: [Owfs-developers] Problem with /alarm and latest CVS

2009-05-09 Thread Jan Kandziora
Am Freitag, 8. Mai 2009 schrieb Jan Kandziora: > > I recently returned to the onewire part of my project and I'm still hunting > bugs... With latest CVS version, /alarm or even /alarm/uncached are always > empty. I *know* the DS2408 connected to the bus *must* be in alarm state

Re: [Owfs-developers] Problem with /alarm and latest CVS

2009-05-09 Thread Jan Kandziora
Am Samstag, 9. Mai 2009 schrieb Jan Kandziora: > > To my curiosity, today it works as expected. What the heck...? If anyone > could explain from the log what went wrong yesterday, I'd be very happy. > I think I have it now: If one is reading the alarm/ directory and no chip

[Owfs-developers] Revisited: OWFS "forgets" chips after a while.

2009-05-09 Thread Jan Kandziora
Hello, A while ago, I found out owfs "forgets" chips after exactly 600 seconds, regardless which timeouts I set, and how. Now I found out this only happens with my DS2482-800 i2c adapter, not with a DS9097U I tried recently. Odd. Any idea what's different with DS2482-800? Kind regards

Re: [Owfs-developers] Revisited: OWFS "forgets" chips after a while.

2009-05-12 Thread Jan Kandziora
Am Montag, 11. Mai 2009 schrieb Paul Alfille: > Is it possible to list a short log? > > Also, is settings/timeout/presence set to what you expect? > I'll provide a test case and log tomorrow. Kind regards Jan -- A closed mouth gathers no foot. ---

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-13 Thread Jan Kandziora
Am Montag, 11. Mai 2009 schrieb Paul Alfille: > Is it possible to list a short log? > > Also, is settings/timeout/presence set to what you expect? > Pew, it was a hard time to catch that bug... It does *not* happen with DS9097U, only with my DS2482 adapter. Please see the following tcl script. I

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-14 Thread Jan Kandziora
Am Donnerstag, 14. Mai 2009 schrieb Paul Alfille: > I found an obscure bug in the device cache code. Can you test? > I tried it, but no change. Kind regards Jan -- TkKasse will not run on any kind of MS-Windows. It can be adapted to do so but I won't do it, as most Microsoft customers ar

Re: [Owfs-developers] 1-wire wiring question -- hope it's not OT

2009-05-14 Thread Jan Kandziora
Am Donnerstag, 14. Mai 2009 schrieb Rob Fugina: > I need to get some 1-wire weather instruments mounted away from my > house, on a post about 75 ft away. This worries me because of how the > system basically becomes an antenna. Nearby lightning strikes would > wreak havok back at the bus master.

Re: [Owfs-developers] 1-wire wiring question -- hope it's not OT

2009-05-14 Thread Jan Kandziora
Am Donnerstag, 14. Mai 2009 schrieb Rob Fugina: > > Ok, you're right, and I'm not really trying to protect myself from a > direct strike. But having a 75m antenna sticking out into my back > yard > 75m band, I think? If it is really 75m high, someone should already have done deep thinking about l

Re: [Owfs-developers] 1-wire wiring question -- hope it's not OT

2009-05-14 Thread Jan Kandziora
Am Donnerstag, 14. Mai 2009 schrieb Rob Fugina: > > It'll be about 4m up. > A 4m pole made of wood will without much doubt *never* been hit by lightning... It's much more likely a 20m high tree nearby is hit (which alone is very unlikely) If you use a metal pole, a halved, tin foiled ball on the

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-15 Thread Jan Kandziora
Am Donnerstag, 14. Mai 2009 schrieb Paul Alfille: > I found an obscure bug in the device cache code. Can you test? > I managed to take a log with owserver /opt/owfs/bin/owserver --timeout_directory=1200 --timeout_presence=1200 --foreground --error_level=9 --error_print=2 /dev/i2c-6 1>log 2>&1 T

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-17 Thread Jan Kandziora
Am Montag, 18. Mai 2009 schrieb Paul Alfille: > Jan, I'm still analyzing your logs. I did find a bug in the > simultaneous/single code, and fixed it in the CVS. Can you try a quick test > of the newest code to see if the problem persists? > The problem is still there. Please see the new log (10 tim

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-18 Thread Jan Kandziora
Am Montag, 18. Mai 2009 schrieb Paul Alfille: > I really appreciate the time and effort you spend testing and filing bug > reports! > Oh, once I nailed a problem down to a simple test case, I always hope my work is nearly done... It took several hours to find out the /simultaneous/... was the cul

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-24 Thread Jan Kandziora
Am Samstag, 23. Mai 2009 schrieb Paul Alfille: > Jan, can you try again? I've cleaned up the handling of device presence, I > think any read/write error was causing problems. Still, I don't have your > setup to test. > Now I get a segmentation fault in the client application after 10 minutes. Plea

Re: [Owfs-developers] /simultaneous bug was: Rev isited: OWFS "forgets" chips after a whil e.

2009-05-25 Thread Jan Kandziora
Am Sonntag, 24. Mai 2009 schrieb Christian Magnusson: > I haven't follows all latest updates, but I found one pointer bug in > ow_presence.c:ReCheckPresence() CheckThisConnection() should not have an > integer as in input-argument, it should be a connection_in pointer. I > haven't checked in the fi

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-27 Thread Jan Kandziora
Am Mittwoch, 27. Mai 2009 schrieb Paul Alfille: > > You are using simultaneous/single_ds2400 to get the single chip (a DS2408) > on the bus. > No. I'm actually looking for an iButton lock connected to the same bus. This way I can connect an arbitrary amount of "normal" onewire slaves and one sing

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-28 Thread Jan Kandziora
Am Mittwoch, 27. Mai 2009 schrieb Paul Alfille: > > Can you try the newest code? > Ok. Two results: Good The OW::put $CHIP/PIO.ALL 0,0,0,0,0,0,0,0 works as expected now. Bad === The OW::get /uncached/simultaneous/single_ds2400 fails with EINVAL if no iButton is connected to the lock. The pr

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-31 Thread Jan Kandziora
Am Sonntag, 31. Mai 2009 schrieb Paul Alfille: > I'm not getting the OW::get problem on simple testing. > > We need to find the difference: > 1. What devices? > None. I found out the bug only appears if no device is in alarm state. I don't have the bug if there is a device to list. > 2. Which ve

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-31 Thread Jan Kandziora
Am Sonntag, 31. Mai 2009 schrieb Paul Alfille: > Ahha. That's owcapi. Found the problem. Try it now. > Great, the alarm bug is away, too. The problem with reading uncached through owserver was just a misspelling, my failure. Case closed -- Thank You! Kind regards Jan -- The first law o

Re: [Owfs-developers] I2C and One-Wire and OWFS

2009-06-25 Thread Jan Kandziora
Am Donnerstag, 25. Juni 2009 schrieb Gregg C Levine: > > Now my question, how did one of us make use of the features on the DS2482 > on or around a motherboard to control the One-Wire access methods? > I use the Kontron KEEX-4000 motherboard as the base for my cash register. This board has the int

Re: [Owfs-developers] I2C and One-Wire and OWFS

2009-06-26 Thread Jan Kandziora
Am Freitag, 26. Juni 2009 schrieb Gregg C Levine: > That is as I remembered it, regarding the motherboard and its attachment. > But of course not the reasoning behind it. I, myself personally, haven't > chosen an appropriate motherboard for this project. > If your mainboard doesn't have a pin heade

Re: [Owfs-developers] Strange DS2450 behaviour

2009-07-10 Thread Jan Kandziora
Am Freitag, 10. Juli 2009 schrieb Steinar Midtskogen: > None of the anemometers have external power. > Simultaneous conversion is not possible when on parasitic power. That's a limitation of the hardware. If OWW works, it just doesn't use simultaneous conversion. Kind regards Jan -- ".

Re: [Owfs-developers] USb adpater -fails every 2-3 weeks

2009-08-01 Thread Jan Kandziora
Am Freitag, 31. Juli 2009 schrieb Rob Conway: > Does anyone else run owfs 24/7 with a USB 1wire and > experienced similar problems ? > I do. Before Paul has implemented USB reconnects, it was far worse. Kind regards Jan -- You cannot achieve the impossible without attempting the absurd.

Re: [Owfs-developers] how many 18b20s on a bus

2014-10-01 Thread Jan Kandziora
Am 01.10.2014 um 20:57 schrieb Jerry Scharf: > > I was planning on a large power supply and using simultaneous mode, but > I know, this is my pet passion, but having done a number of larger networks with central powering delivered through the bus cable, I strongly advise you to have a thick GND l

Re: [Owfs-developers] Missing data

2014-10-28 Thread Jan Kandziora
Am 27.10.2014 um 18:08 schrieb Coudy: > I have in Zabbix Timeout 15 seconds. I want to try restart server every > hour, then I'll post results > Sampling 19 temperature sensors one-by-one takes up to 19 seconds. This is due to the lengthy A/D conversion process. Either increase the timeout, sampl

Re: [Owfs-developers] Missing data

2014-10-29 Thread Jan Kandziora
Am 28.10.2014 um 15:06 schrieb Coudy: > > If temperature sensor is powered, then reading is faster compared to > parasitic power ? > No, but it's the only way you can do a simultaneous conversion for all chips, and this 19 times faster if you have 19 chips. You cannot do a simultaneous conversion

Re: [Owfs-developers] Missing data

2014-10-30 Thread Jan Kandziora
Am 29.10.2014 um 21:42 schrieb Coudy: > Thank You Jan, > I'll try to switch my sensors from parasitic power to regular power. > How to enable simultaneous conversion for all chips ? > this way ? echo 1 > /mnt/1wire/simultaneous/temperature ? > Yes, this starts the temperature conversion on all bus

<    1   2   3   4   5   6   7   8   9   >