RE: [Owfs-developers] New Device Notification

2006-01-11 Thread Alfille, Paul H.,M.D.
The easiest is to have a script loop through polling the device list. Something like: #!/bin/sh ls 1wire/uncached > oldlist while : sleep 1 ls 1wire/uncached > newlist diff oldlist newlist | grep "^[<>]" > difflist # difflist process, perhaps with a simple perlscript mv oldlist newlist d

RE: [Owfs-developers] New Device Notification

2006-01-11 Thread Alfille, Paul H.,M.D.
Here is new complete pass at the polling. (Actually 2) Pure shell script. A perl program (or python, etc) could look for jitter in the line, remember previous times the devices was seen, etc. #!/bin/sh # Poll for a change in devices and run a program on the new device # This version runs the progr

[Owfs-developers] Easiest Linux Distro to install OWFS?

2006-01-11 Thread Sean Spratt
Hello, I have been trying for several days now to install OWFS and I keep running into problems. First I tried installing on Fedora Core 4 and install went OK, but I had problems with getting FUSE to work with OWFS. OWHTTPD was fine, but not OWFS. Got fed up and thought I should try installing OW

FW: RE: [Owfs-developers] Easiest Linux Distro to install OWFS?

2006-01-11 Thread paul
Sean, There are successful users of all thos distributions. I use SuSE, which clearly works for versions 8.1 8.2 9.0 9.1 9.2 9.3 10.0 ... I believe Fedora has built the libraries as libow.0.0.0 instead of libow.so.0.0.0 or whatever. A simple rename fixed that. Perhaps my success has been from

[Owfs-developers] owpython error

2006-01-11 Thread George Bobeck
I installed the cvs version of owfs and any time I try to either run the python examples (i.e. temperature.py) or import ow I recieve the following error: Traceback (most recent call last): File "", line 1, in ? File "/usr/lib/python2.4/site-packages/ow/__init__.py", line 31, in ? import _