Hi Markus,
Which version are you using?
I test the latest version now nowhere.
In version 2.8p9 it works.
~$ time ( owdir -s 30001 | grep 28. | while read ds18b20 ; do owread -s 30001
$ds18b20/temperature ; done | wc -w )
127
real1m33.222s
user0m0.021s
sys 0m0.113s
# wait a few min
possible to set negative alarm values for DS18B20
> temperature sensors. Or it is a bug in owhttp interface?
>
>
> Best Regards,
>
> Ivan, PhD
>
>
>
>
> On Tue, Mar 27, 2012 at 12:13 AM, Serg Oskin <mailto:s...@oskin.ru>> wrote:
>
>
Try to use the alarm-directory.
# Setup
foreach 12.*
openeach
writevalue_to_set_alarm
closeeach
end foreach
# Main loop
foreach uncached/alarm
openeach
readvalue
reset_alarm
closeeach
end loop
--
Serg.
> Greetings to all,
>
> I am implementing a system which n
Hello All!
$ rpmbuild
RPM build errors:
File not found: /var/tmp/owfs-root/usr/bin/owside
I think now need to remove
%define build_side 1
from owfs.spec.in.
--
Serg.
--
__
/bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../../src/include-I../include -fexceptions -Wall -W -Wundef
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
-Wredundant-decls -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=50
I tried:
$ owserver --version
owserver version:
2.7p29
libow version:
2.7p29
$ sudo owserver -d /dev/ttyS0 -p 3000 -t 30
Password:
$ owdir -s 3000
/28.2CCD8000
/09.9B309901
/bus.0
/uncached
/settings
/system
/statistics
/structure
/simultaneous
/alarm
$ owdir -s 3000 /alarm
0.001s
> 0 30.25
> real 0m1.155s
> user 0m0.001s
> sys 0m0.000s
>
> Serg.
>
>> Does the simultaneous conversion actually work? (Ignoring the value of
>> reading /simultaeous/temperature)
>>
>> Paul
>>
>> 2009/9/27 Serg Oskin mailto:s...@oskin
ork? (Ignoring the value of
> reading /simultaeous/temperature)
>
> Paul
>
> 2009/9/27 Serg Oskin mailto:s...@oskin.ru>>
>
> Hi All!
>
> I found that simultaneous not working since version 2.7p22:
>
> # owserver -V ; owwrite -s 30001 /simultan
Hi All!
I found that simultaneous not working since version 2.7p22:
# owserver -V ; owwrite -s 30001 /simultaneous/temperature 1 ; owread -s 30001
/simultaneous/temperature
owserver version:
2.7p21
libow version:
2.7p21
1
# owserver -V ; owwrite -s 30001 /simultaneous/temperatu
This is probably the same?
OWSERVER TIMING: Query 390121 Seconds 0.20 Path
28.37959301/temperature
:)
Serg.
> Yup, debug chaff. Sorry about that.
>
> You could wait for the next version. Or remove the printf from
> modules/owlib/src/c/ow_select.c
>
> Paul Alfille
>
> On Tue, Aug 4,
> I was wondering on how stable people have found the (blue) 1wire USB
> adapters. I run mine 24/7, the first unit ran for 12 months and then
> started to fail every 2-4 weeks. A reboot of the server fixed it
> however would fail again in 2-3 weeks. Now my second unit is now about
> 30 month
Sorry, at this moment I am leaving for vacation. :)
Serg.
--8<-
Date: Wed, 8 Jul 2009 15:16:56 +0200
Message-ID: <330b51fc0907080616j180ffb62h32d39ca9ed847...@mail.gmail.com>
Subject: OWFS/owfs.spec
From: Rafał Prasał
To: s...@oskin.ru
Hello
I've managed to buil
IMHO: In the future, it would be better the owtcl to move beyond the directory
swig. Build owtcl now depends on swig, but it is not true.
Serg.
> Great to hear.
> Sounds like swig is an issue -- I ll have to test the newest version.
>
> owmon and owtap are tcl/tk programs. (It's easy to pack a
owdir error corrected. Memory leak remained.
"general protection - Warning!" - closed.
"general protection" - not closed.
:)
Serg.
> Serg,
>
> Is everything fixed? Any outstanding errors?
>
> Paul
>
> On Wed, Dec 24, 2008 at 5:32 AM,
as well
> It might be generated by a un-successful temp-reading, and therefore the
> memory isn't allocated and free'd correctly at some points.
>
> I have to go home now, and I won't be able to look more into this until next
> year.
>
> /Christian
>
gt; /Christian
>
>
> -Original Message-
> From: Serg Oskin [mailto:s...@oskin.ru]
> Sent: Tuesday, December 23, 2008 4:34 PM
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] general protection - Warning!
>
>> Now running CVS-
Yes.
I apologize for the brevity - a device with e-mail program did not have a
keyboard at a time, only the mouse. :)
> So the newest owserver doesn't find devices?
>
> Paul
>
> On Tue, Dec 23, 2008 at 10:33 AM, Serg Oskin <mailto:s...@oskin.ru>> wrote:
>
>
> Now running CVS-version on 9:30 UTC 2008-12-22 ...
# rpm -q owfs-server
owfs-server-2.7p11cvs20081222-1.el5
# owdir -s 30003 | wc -l
...waits for 3-4 seconds...
0
#
# rpm -q owfs-server
owfs-server-2.7p11-1.el5
# owdir -s 30003 | wc -l
...waits for 3-4 seconds...
84
#
owread and owwrite oper
Christmas! :)
Serg.
/Christian
-Original Message-----
From: Serg Oskin [mailto:s...@oskin.ru]
Sent: Tuesday, December 23, 2008 12:11 PM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] general protection
If I run owserver as daemon, he was in such cases crashed.
If
d ...
>
> BTW: I will be on vacation between December 24th to 31'th, so I will not be
> able to do much more on this after tonight.
When owserver runs through valgrind, the system performs its functions... :)
Merry Christmas! :)
Serg.
>
> /Christian
>
>
> -Orig
e major problem fixed
> now?
> I have checked in some various fixed some minutes ago, but nothing special
> that should affect this issue.
>
> /Christian
>
>
> -Original Message-
> From: Serg Oskin [mailto:s...@oskin.ru]
> Sent: Monday, December 22, 2008 7
with
a segmentation fault instead...
Can you try to change the row and recompile with memcpy again?
/Christian
-Original Message-----
From: Serg Oskin [mailto:s...@oskin.ru]
Sent: Monday, December 22, 2008 12:13 PM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] gener
of "Invalid read of size 8" at least, and
perhaps everything will work then as well.
BTW: Which platform are you using? I have a feeling that your source isn't
compiled with -m64, even if it should be...
Could you look at the host_cpu in config.log and "uname -a"
# grep h
en as well.
>
> BTW: Which platform are you using? I have a feeling that your source isn't
> compiled with -m64, even if it should be...
> Could you look at the host_cpu in config.log and "uname -a"
> # grep host_cpu cvs/owfs/config.log
> # uname -a
>
> /
Ctrl-C pressed.
Tried - the result of old.
Version: from CVS at Dec 20 2008 12:00 UTC.
Message in /tmp/owfs_fatal I received only once during the "kill
owserver_pid":
ow_connect.c:322 mutex_destroy failed rc=16 [Device or resource busy]
Serg.
--00:06:33:57.566 2275-- REDIR: 0x30D8E7A020 (
checked in the changes to the CVS, and I hope this will show if there
are more existing bugs with the mutexes.
/Christian
-----Original Message-
From: Serg Oskin [mailto:s...@oskin.ru]
Sent: Thursday, December 18, 2008 4:44 PM
To: owfs-developers@lists.sourceforge.net
Subject:
rors to stderr or syslog depending on
> --error_print
> "--fatal_debug_file /tmp/owfs_fatal" will also log all errors to a file
> /tmp/owfs_fatal.pid
>
> I have checked in the changes to the CVS, and I hope this will show if there
> are more existing bugs with the mutexes
Unfortunately, I can not devote enough time, but I will strongly contribute to
solving this problem.
> Hi All!
>
> version 2.7p11
>
> # dmesg
> ...
> owserver[18546] general protection rip:2b88f97f76c0 rsp:53b29dc8 error:0
> owserver[20757] general protection rip:2b13e1c026c0 rsp:4e8f1dc8 error
Hi All!
version 2.7p11
# dmesg
...
owserver[18546] general protection rip:2b88f97f76c0 rsp:53b29dc8 error:0
owserver[20757] general protection rip:2b13e1c026c0 rsp:4e8f1dc8 error:0
Sometimes this happens, starting with version 2.7p4.
# file core.15352
core.15352: ELF 64-bit LSB core file AMD
--8<-
--- owlib.c 2008/11/11 21:11:14 1.149
+++ owlib.c 2008/11/14 18:07:45 1.150
...
--8<-
It works.
Thanks!
>> Just posted a new release: 2.7p8
>
> Adapter LINK Rev1.2.
>
> $ owread -s 30001 /bus.0
> Just posted a new release: 2.7p8
Adapter LINK Rev1.2.
$ owread -s 30001 /bus.0/interface/settings/name
Bad Adapter
# owserver -p 30001 -d /dev/ttyS0 --foreground --error_print 2 --error_level 6
CALL: PARSENAME path=[]
Byte buffer Attempt serial write:, length=2
--000: E3 C5
<..>
Byte
Hi,
I found such a mistake:
$ tclsh
% package require ow;
% ::OW::init -s 3000
% ::OW::get /alarm
28.2CCD8000/,28.86BF8000/
% # ...Clear all alarms...
% ::OW::get /alarm
I/O error
%
Similar for perl:
$ perl
use OW ;
OW::init("-s 3000");
my $res = OW::get("/alarm") or die;
print "$res\n
Hmm..
Try "make clean" before "make"...
Show output "ldd ow-0.2.so"...
Исходное сообщение
Тема: [Owfs-developers] Yet another build quirk with owtcl.
От: Jan Kandziora <[EMAIL PROTECTED]>
Кому: owfs-developers@lists.sourceforge.net
Дата: 16.02.2008 00:54
> Hi Serg,
>
> while d
Fixed in CVS.
Serg.
> 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-owp
> I first Installed fuse and fuselibs that I dident have, then I tried to
> install these rpms like this:
> rpm -i owfs-libs-2.7p2-1.i586.rpm
> rpm -i owfs-server-2.7p2-1.i586.rpm
> rpm -i owfs-fs-2.7p2-1.i586.rpm
> rpm -i owfs-man-2.7p2-1.i586.rpm
> error reading information on service owman: No
There are two variant:
1. string coma-separated (API original):
% ::OW::get uncached
bus.0/,28.FB450B00/,12.90D21C00/,12.646A2600/,12.0C4A0200/,12.8C422900/,12.26432900/,12.A7672100/,26.0A302600/,alarm/,simultaneous/
%
2. "list" in terms tcl:
% ::OW::get -list uncac
I need 2-3 days for checked and fixed.
Sorry.
Serg
Sven Geggus wrote:
> Jan Kandziora <[EMAIL PROTECTED]> wrote:
>
>> Try inserting "::OW::get uncached" inbetween. Does it work now?
>
> Same Problem :(
>
> Sven
>
-
This
Version owtcl != version owfs (owlib)
$ tclsh
% package require ow
0.1
% ::OW::version
owtcl: 0.1
libow: 2.6p5
%
Serg
Sven Geggus wrote:
> Hi there,
>
> is there a particular reason, why the tcl Interface still has a
> Version Number of 0.1?
>
> I would like to see the real Version here to e
Fixed in the current CVS version.
Thanks!
Serg.
Jan Kandziora wrote:
> Am Montag, 4. Dezember 2006 18:59 schrieb Jan Kandziora:
> Schnipp
> I found another bug in owtcl. If an invalid request is forwarded to owlib, it
> doesn't change the reply buffer pointer at all, not even to NULL.
>
It is semantics owcapi.
Use form
OW::get [path] -list
which returns tcl-list.
In manpage has described. In Changelog did not write, sorry.
Serg.
Jan Kandziora wrote:
> Hi all,
>
> it seems owtcl return values were changed:
>
> % OW::get uncached
> bus.7/,bus.6/,bus.5/,bus.4/,bus.3/,bus.2/,bus.1
Paul,
I can confirm it (see attach). Version CVS 20061118. All devices have an
external power. Earlier there was a version CVS 20060526 all correctly
works. I did not try intermediate versions.
test-owshell and test-owtcl are similar test-owfs.
Paul Alfille wrote:
Well, the simultaneous gets
Hello All!
I had here such problem:
# owfs -t 3 -d /dev/ttyS2 /mnt/1wire
# while : ; do
> echo 1 >/mnt/1wire/simultaneous/temperature
> cat /mnt/1wire/simultaneous/temperature
> echo ""
> sleep 4
done
1
1
1DPD^Pcat: /mnt/1wire/simultaneous/temperature: Numerical result out of range
On version CVS 2006.11.03 I received similar problems: crashed owserver and is
possible deadlock at the simultaneous access of several programs to one device.
SEGFLT at execution "free(db->snlist)" in DirblobClear and at execution
"free(pn->path)" in FS_ParsedName_destroy.
I have postponed detai
gt;
> *To:* owfs-developers@lists.sourceforge.net
> <mailto:owfs-developers@lists.sourceforge.net>
> *Sent:* Monday, November 06, 2006 3:00 AM
> *Subject:* Re: [Owfs-developers] Fwd: [owfs - Help] DS2450 and the
> NSLU2 (SLUG)
>
>
>
> On 11/5/06
Rob Conway wrote:
In an attempt to optimise the 1wire communications can you comment on
the following:
*Reading data*
My current requirment is to read the volts every two minutes (although
would like it faster especially when I get my weather station) from all
channels of 2 x DS2450 (A/D), te
https://sourceforge.net/mailarchive/forum.php?thread_id=6320202&forum_id=34644
Serg.
Paul Alfille wrote:
On Sunday 09 October 2005 11:57 pm, Paul Alfille wrote:
I'm almost done with the Simple C API, but have run into a problem:
The shared libraries are being created with names like "libow.0
"JK" == Jan Kandziora wrote:
JK> Serg (and anybody else who may it concern),
JK> I got some problems with owtcl (owfs-2.1p0RC-1). I connected a single
DS2406
JK> to an 1-Wire/USB-adapter and used owtcl to control a single LED, hooked up
on
JK> its PIO pin. Unfortunately, it works *a little
"JK" == Jan Kandziora wrote:
JK> Am Dienstag, 14. Juni 2005 08:42 schrieb Alfille, Paul H.,M.D.:
>> Sounds like something we need to track down.
>>
>> However, you are getting the error 2-3 times/day. Jan gets it after a few
>> seconds.
>>
JK> And I don't get *any* USB error messages, ple
Sorry. I have inaccuratly copied it by mouse. :)
% ::OW::init /dev/ttyS0
% ::OW::get
09.9B309901/
% ::OW::get uncached/
09.9B309901/
# Connected new iButton device
% ::OW::get
09.9B309901/
% ::OW::get uncached/
01.62EA4102/ 09.9B309901/
% ::OW::get
01.62EA4102/ 09.9B3099010
Has checked up - works correctly:
$ tclsh
% package require owtcl
0.1
% ::OW::init /dev/ttyS0
% ::OW::get
09.9B309901/
% ::OW::get uncached/
09.9B309901/
# Connected new iButton device
% ::OW::get
09.9B309901/
% ::OW::get uncached/
01.62EA4102/ 09.9B309901/
% ::OW::get
09.9B3099
Paul,
I such had 2-3 times per day at execution "ls /mnt/1wire" every second
(without owtcl).
In the beginning there were delays in work owfs (1wire) and there were
messages of a kernel "... bulk ... failed... ". Then occured such:
...
kernel: usb ... reset
kernel: usb 1-7: USB disconnect
Sat, 11/06/2005 в 22:53 +0200, Jan Kandziora wrote:
> Serg (and anybody else who may it concern),
>
> I got some problems with owtcl (owfs-2.1p0RC-1). I connected a single DS2406
> to an 1-Wire/USB-adapter and used owtcl to control a single LED, hooked up on
> its PIO pin. Unfortunately, it wor
"JK" == Jan Kandziora wrote:
JK> BUGS
JK> Simultaneous work of several connections is not supported.
>>
>>
JK> I really need multiple simultaneous connections for my application -
>> who JK> doesn't? Is this a limitation of owlib (global data structures) or
>> simply a JK> limitation in
s
>> where you considering?
>>
JK> ^^; I thought you already have that data, as this is the first question
I'd
JK> expect about any automation system. But Ok, I can measure it myself, too,
no
JK> hassle.
>> 4. TCL doesn't use SWIG, I believe.
>>
"JK" == Jan Kandziora wrote:
JK> Am Donnerstag, 9. Juni 2005 07:55 schrieb Serg Oskin:
>> "JK" == Jan Kandziora wrote:
>>
JK> * What's up with the Tcl binding? The ow.so file seems to be missing -
>> at JK> least, I could not make sense o
"JK" == Jan Kandziora wrote:
JK> * What's up with the Tcl binding? The ow.so file seems to be missing - at
JK> least, I could not make sense of the SWIG guided build process - know
enough
JK> of SWIG to avoid it, though.
owtcl does not compiled by default, run configure or bootsrap with
--
"SG" == Sven Geggus wrote:
SG> Serg Oskin <[EMAIL PROTECTED]> wrote:
>> Try now.
SG> [EMAIL PROTECTED]:./sven> tclsh
SG> tclsh8.4 [~]package require ow
SG> 0.1
SG> looks fine so far, I will now try to communicate with some 1-wire devices.
SG> B
"SG" == Sven Geggus wrote:
SG> Hi there,
SG> I tried to compile owfs from cvs (20050518) which gives me a defunct
owltcl:
SG> [EMAIL PROTECTED]:./sven> tclsh
SG> tclsh8.4 [~]package require ow
SG> couldn't load file "/usr/lib/tcl8.4/owtcl-0.1/ow.so":
SG> /usr/lib/tcl8.4/owtcl-0.1/ow.so: un
While nothing has varied. I all still wish to talk to the author about the
interface for OWFS, but yet there is no time. :( Probably I shall start it in
the beginning of May...
Serg.
"PHA" == Paul H Alfille wrote:
PHA> Are you talking about the ds9490r module? What have you found out about
the
"CM" == Christian Magnusson wrote:
CM> On Tue, 2005-04-12 at 09:50 +0400, Serg Oskin wrote:
>> "CM" == Christian Magnusson wrote:
>>
CM> On Mon, 2005-04-11 at 21:59, Serg Oskin wrote:
>> >> In Mon, 11/04/2005 21:04 +0200, Christian Magnusso
"CM" == Christian Magnusson wrote:
CM> On Mon, 2005-04-11 at 21:59, Serg Oskin wrote:
>> In Mon, 11/04/2005 21:04 +0200, Christian Magnusson wrote:
>>
>> > I was thinking some more about simultaneous reading... How about adding
>>
In Mon, 11/04/2005 21:04 +0200, Christian Magnusson wrote:
> I was thinking some more about simultaneous reading... How about adding
> a feature like "echo 10 > simultaneous/temperature_frequency" which
> automatically send a calculation restart after 10 seconds. That would
> result into always fr
"PA" == Paul Alfille wrote:
PA> On Tuesday 05 April 2005 03:42 am, Serg Oskin wrote:
>> I know only TINI as the alternative decision, but it costs not more
>> cheaply.
>> What is more cheaply?
>>
>> Serg
>>
PA> The Linksys WTR54
I know only TINI as the alternative decision, but it costs not more
cheaply.
What is more cheaply?
Serg
"CM" == Christian Magnusson wrote:
CM> An expensive converter, but who cares... :)
CM> /Christian
CM> On Tue, 2005-04-05 at 08:16, Serg Oskin wrote:
>> Execu
er applications.
CM> 2Mb Flash will fit all binaries, and 2Mb spare RAM will allow them to
CM> run without any problem. I doubt it will be any possibility to save any
CM> temperature logs and create graphs on the device though.
CM> /Christian
CM> On Mon, 2005-04-04 at 15:58 +
e the startup
script
PHA> and have a networked 1-wire adapter.
PHA> How much does it cost?
PHA> Paul
PHA>
PHA> From: [EMAIL PROTECTED] on behalf of Serg Oskin
PHA> Sent: Mon 4/4/2005 7:58 AM
PHA> To: owfs-developers@lists.sourc
I never used uClinux.
There is Enough-whether resources at Picotux for execution on it owserver?
http://www.picotux.com/
Processor: 32-bit ARM 7 Netsilicon NS7520t 55MHz
RAM: 8 MByte SDRAM
EEPROM: 2 MByte Flash
--
Serg (http://oskin.ru/)
~
~
:q!
---
"PA" == Paul Alfille wrote:
>> 3. I try to control a relais with the DS2408 (shematics are attached)
PA> No attachments came through.
>> so I connected, 1-wire IO and 1-Wire GND from the DS9097 (simple 9-Pin
>> version) to the DS2408 and P1 from the DS2408 to A+ Input of the relais
>> but n
68 matches
Mail list logo