Re: [Owfs-developers] New Release 2.7p39

2010-07-19 Thread Christian Magnusson
I have re-built some new packages, but they still say 2.7p38 since
configure.ac isn't updated in the repository.

http://owfs.sourceforge.net/nslu2/packages/Packages



On Sun, 2010-07-18 at 21:06 -0400, brucek wrote:
> nslu2 packages is still at 2.7p37-1.  Any chance you can update it any
> time soon.
> Thanks
> bruce
> - Original Message - 
> From: Paul Alfille 
> To: owfs-developers 
> Sent: Sunday, July 18, 2010 2:23 PM
> Subject: [Owfs-developers] New Release 2.7p39
> 
> 
> Release OWFS 2.7p39
> 
> Major addition is the usb scanning funtion.
> 
> Command line option -uscan or --usb_scan or --usb_scan=10
> 
> Every time interval (default 10 seconds) the OWFS program will
> scan the 
> USB bus for a new DS9490R adapter and add it to the list of
> bus masters.
> 
> Even the case where no USB devices exist at startup will be
> handled, the 
> program will scan and wait.
> 
> 
> 
> 
> __
> 
> 
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first --
> http://p.sf.net/sfu/sprint-com-first 
> 
> 
> __
> 
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___ Owfs-developers mailing list 
> Owfs-developers@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] New Release 2.7p39

2010-07-19 Thread Christian Magnusson

I'm not sure if the Upload failed, but I have uploaded it again, and
successfully downloaded these files for example.

http://owfs.sourceforge.net/nslu2/packages/owfs_2.7p38-1_armeb.ipk.content
http://owfs.sourceforge.net/nslu2/packages/owfs_2.7p38-1_armeb.ipk
http://owfs.sourceforge.net/nslu2/packages/Packages
http://owfs.sourceforge.net/nslu2/packages/Packages.gz


On Mon, 2010-07-19 at 09:22 -0400, brucek wrote:

> When I run:
> #ipkg update
> #ipkg -test upgrade
> I am getting 404 errors for p38-1 packages.
> 
> I'm currently running 2.7p32, because I had stability problems with P37 
> (that was the next posted release?)
> Thanks
> Bruce
> 
> 
> ----- Original Message - 
> From: "Christian Magnusson" 
> To: "OWFS (One-wire file system) discussion and help" 
> 
> Sent: Monday, July 19, 2010 8:25 AM
> Subject: Re: [Owfs-developers] New Release 2.7p39
> 
> 
> >I have re-built some new packages, but they still say 2.7p38 since
> > configure.ac isn't updated in the repository.
> >
> > http://owfs.sourceforge.net/nslu2/packages/Packages
> >
> >
> >
> > On Sun, 2010-07-18 at 21:06 -0400, brucek wrote:
> >> nslu2 packages is still at 2.7p37-1.  Any chance you can update it any
> >> time soon.
> >> Thanks
> >> bruce
> >> - Original Message - 
> >> From: Paul Alfille
> >> To: owfs-developers
> >> Sent: Sunday, July 18, 2010 2:23 PM
> >> Subject: [Owfs-developers] New Release 2.7p39
> >>
> >>
> >> Release OWFS 2.7p39
> >>
> >> Major addition is the usb scanning funtion.
> >>
> >> Command line option -uscan or --usb_scan or --usb_scan=10
> >>
> >> Every time interval (default 10 seconds) the OWFS program will
> >> scan the
> >> USB bus for a new DS9490R adapter and add it to the list of
> >> bus masters.
> >>
> >> Even the case where no USB devices exist at startup will be
> >> handled, the
> >> program will scan and wait.
> >>
> >>
> >>
> >>
> >> __
> >>
> >> 
> >> --
> >> This SF.net email is sponsored by Sprint
> >> What will you do first with EVO, the first 4G phone?
> >> Visit sprint.com/first --
> >> http://p.sf.net/sfu/sprint-com-first
> >>
> >>
> >> __
> >>
> >> ___
> >> Owfs-developers mailing list
> >> Owfs-developers@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >> --
> >> This SF.net email is sponsored by Sprint
> >> What will you do first with EVO, the first 4G phone?
> >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> >> ___ Owfs-developers mailing 
> >> list Owfs-developers@lists.sourceforge.net 
> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> > --
> > This SF.net email is sponsored by Sprint
> > What will you do first with EVO, the first 4G phone?
> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> > 
> 
> 
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS roadmap

2010-10-28 Thread Christian Magnusson

I found one major bug which needs to be fixed as soon as possible. The
rwlocks have never worked actually!?!
If something will make owfs more stable, it's probably by fixing this
bug. Strange that nobody have seen this before.

void my_rwlock_init(my_rwlock_t * my_rwlock)
{
_MUTEX_INIT(my_rwlock->protect_reader_count);
sem_init(&(my_rwlock->allow_readers), 0, 1);
sem_init(&(my_rwlock->no_processes), 0, 1);
my_rwlock->reader_count = 1;  // This should be initiated to 0! (we
don't have any readers at startup)
}

Changing the reader_count to 0 will probably result into several
dead-locks, so I haven't changed it yet.
Write-locks will ALWAYS be allowed, even if there are several read-locks
active. Look in the example below:

my_rwlock_read_lock(rwlock);
my_rwlock_read_lock(rwlock);
my_rwlock_read_lock(rwlock);
my_rwlock_write_lock(rwlock);
print("this will be printed!\n");


Paul, do you want to look at this?

/Christian


On Thu, 2010-10-28 at 19:54 +1100, Rob Conway wrote:
> Hi,
>  
> Just wondering if there was an update on the roadmap for OWFS.  It
> does everything I want it to do however was just wondering if there
> was any significant changes in the pipeline over the next 6 - 12
> months.
>  
> I would also like to know if the Alias function is OK.  I can remember
> some time ago there was some kind of caution in using the alias
> file.  
>  
> rob
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> ___ Owfs-developers mailing list 
> Owfs-developers@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] segfault in owhttp 2.8p2 accessing BAE /910

2010-11-30 Thread Christian Magnusson

I have a cronjob which update the pages at:
http://owfs.sourceforge.net/statcvs/2010-11.html

The view-source links works correct there.

/Christian


On Tue, 2010-11-30 at 19:04 -0500, Paul Alfille wrote:
> Here are the commits:
> http://www.owfs.org/statcvs/commitlog.html
> 
> The transition from CVS to SVN doesn't seem seamless based on my
> reading. I'm willing to use a new tool, just not to researching and
> performing the transition. Any volunteers?
> 
> Paul Alfille
> 
> 
> > P.S.: Wasn't it discussed to move to SVN ? it's really quite impossible
> > to follow the commits into CVS and quickly see what changed (might also
> > be rather a sf-issue than a CVS-issue!)
> >
> >
> 
> --
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problem in building the latest CVS drop of OWFS on Slackware

2006-05-23 Thread Christian Magnusson

I have made some changes to all makefiles, and I will checkin those
changes later today... It will probably not fix this compilation error,
but I'll see if I can fix it after that.

Which python version do you have?
Do you have the python-devel package installed?

/Christian

On Wed, 2006-05-24 at 01:15 -0400, Gregg Levine wrote:
> Hello!
> I just attempted to build the latest OWFS set on my Slackware 10,1
> system and ran into some interesting problems. It built correctly up
> to the point where it starts considering what to do about the items
> for Python:
> Making all in python
> 
> make[3]: Entering directory `/usr/src/ow/owfs/module/swig/python'
> 
> Making all in ow
> 
> make[4]: Entering directory `/usr/src/ow/owfs/module/swig/python/ow'
> 
> make[4]: Nothing to be done for `all'.
> 
> make[4]: Leaving directory `/usr/src/ow/owfs/module/swig/python/ow'
> 
> make[4]: Entering directory `/usr/src/ow/owfs/module/swig/python'
> 
> /usr/bin/swig -python -o ow_wrap.c ../ow.i
> 
> /usr/bin/python setup.py build
> 
> Could not find platform independent libraries 
> 
> Could not find platform dependent libraries 
> 
> Consider setting $PYTHONHOME to [:]
> 
> 'import site' failed; use -v for traceback
> 
> Traceback (most recent call last):
> 
>   File "setup.py", line 28, in ?
> 
> from distutils.core import setup, Extension
> 
> ImportError: No module named distutils.core
> 
> make[4]: *** [owpython] Error 1
> 
> make[4]: Leaving directory `/usr/src/ow/owfs/module/swig/python'
> 
> make[3]: *** [all-recursive] Error 1
> 
> make[3]: Leaving directory `/usr/src/ow/owfs/module/swig/python'
> 
> make[2]: *** [all-recursive] Error 1
> 
> make[2]: Leaving directory `/usr/src/ow/owfs/module/swig'
> 
> make[1]: *** [all-recursive] Error 1
> 
> make[1]: Leaving directory `/usr/src/ow/owfs/module'
> 
> make: *** [all-recursive] Error 1
> 
> [EMAIL PROTECTED]:/usr/src/ow/owfs#
> 
> I have no idea what its complaining about.



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


SV: [Owfs-developers] Problem in building the latest CVS drop of OWFS on Slackware

2006-05-25 Thread Christian Magnusson

I have installed some more linux distributions in virtual machines now...
The latest CVS works for me with both SUSE 10, Fedora core 5, and Ubunto
5.10.

Have you installed the package python-devel ?  (and swig, tcl-devel,
php-devel to compile the other extensions?

/Christian


> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-developers-
> [EMAIL PROTECTED] För Paul Alfille
> Skickat: den 24 maj 2006 13:06
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] Problem in building the latest CVS drop of
> OWFS on Slackware
> 
> This happens to me on Suse, too.
> 
> I use a rather ugly "--disable-owpython"
> 
> Paul
> 
> On 5/24/06, Christian Magnusson <[EMAIL PROTECTED]> wrote:
> >
> > I have made some changes to all makefiles, and I will checkin those
> > changes later today... It will probably not fix this compilation error,
> > but I'll see if I can fix it after that.
> >
> > Which python version do you have?
> > Do you have the python-devel package installed?
> >
> > /Christian
> >
> > On Wed, 2006-05-24 at 01:15 -0400, Gregg Levine wrote:
> > > Hello!
> > > I just attempted to build the latest OWFS set on my Slackware 10,1
> > > system and ran into some interesting problems. It built correctly up
> > > to the point where it starts considering what to do about the items
> > > for Python:
> > > Making all in python
> > >
> > > make[3]: Entering directory `/usr/src/ow/owfs/module/swig/python'
> > >
> > > Making all in ow
> > >
> > > make[4]: Entering directory `/usr/src/ow/owfs/module/swig/python/ow'
> > >
> > > make[4]: Nothing to be done for `all'.
> > >
> > > make[4]: Leaving directory `/usr/src/ow/owfs/module/swig/python/ow'
> > >
> > > make[4]: Entering directory `/usr/src/ow/owfs/module/swig/python'
> > >
> > > /usr/bin/swig -python -o ow_wrap.c ../ow.i
> > >
> > > /usr/bin/python setup.py build
> > >
> > > Could not find platform independent libraries 
> > >
> > > Could not find platform dependent libraries 
> > >
> > > Consider setting $PYTHONHOME to [:]
> > >
> > > 'import site' failed; use -v for traceback
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "setup.py", line 28, in ?
> > >
> > > from distutils.core import setup, Extension
> > >
> > > ImportError: No module named distutils.core
> > >
> > > make[4]: *** [owpython] Error 1
> > >
> > > make[4]: Leaving directory `/usr/src/ow/owfs/module/swig/python'
> > >
> > > make[3]: *** [all-recursive] Error 1
> > >
> > > make[3]: Leaving directory `/usr/src/ow/owfs/module/swig/python'
> > >
> > > make[2]: *** [all-recursive] Error 1
> > >
> > > make[2]: Leaving directory `/usr/src/ow/owfs/module/swig'
> > >
> > > make[1]: *** [all-recursive] Error 1
> > >
> > > make[1]: Leaving directory `/usr/src/ow/owfs/module'
> > >
> > > make: *** [all-recursive] Error 1
> > >
> > > [EMAIL PROTECTED]:/usr/src/ow/owfs#
> > >
> > > I have no idea what its complaining about.
> >
> >
> >
> > ---
> > All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> > Fully trained technicians. The highest number of Red Hat certifications
> in
> > the hosting industry. Fanatical Support. Click to learn more
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-
> us.falkag.net/sel?cmd___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: SV: [Owfs-developers] Problem in building the latest CVS drop of OWFS on Slackware

2006-05-26 Thread Christian Magnusson

I installed Slackware 10.2 now... and all swig extensions installs
perfectly...  (after installing swig-1.3.29.tar.gz manually)

> > 
> > This happens to me on Suse, too.
> > 
> > I use a rather ugly "--disable-owpython"
> > 
> > Paul


Which Suse version do you use?

/Christian





---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Syntax error in ow_net.c

2006-05-26 Thread Christian Magnusson

Thanks... It's fixed now.

On Fri, 2006-05-26 at 08:39 -0400, Vincent Fleming wrote:
> FYI all;
> 
>  
> 
> When configured/compiled with –disable-mt (no multithread), there is a
> syntax error in owfs-2.3p7/module/owlib/src/c/ow_net.c at line 372.
> 
>  
> 
> There’s an extraneous “)” near the end of the line.
> 
>  
> 
> Here’s the DIFF:
> 
>  
> 
> --- owfs-2.3p7/module/owlib/src/c/ow_net.c.orig 2006-05-26
> 08:35:54.383226164 -0400
> 
> +++ owfs-2.3p7/module/owlib/src/c/ow_net.c  2006-05-26
> 08:36:02.901033493 -0400
> 
> @@ -369,7 +369,7 @@
> 
>  Exit(1) ;
> 
>  } else {
> 
>  while (1) {
> 
> -int acceptfd=accept(outdevice->fd,NULL,NULL)) ;
> 
> +int acceptfd=accept(outdevice->fd,NULL,NULL) ;
> 
>  if ( acceptfd < 0 ) {
> 
>  ERROR_CONNECT("Trouble with accept, will reloop\n") ;
> 
>  } else {
> 
>  
> 
>  
> 
> Regards,
> 
>  
> 
> Vince
> 
> 



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: SV: [Owfs-developers] Problem in building the latest CVS drop of OWFS on Slackware

2006-05-26 Thread Christian Magnusson

Ok... I haven't tried that old version... :)

BTW: I made some changes in the argument handling for owcapi and the
example code.

/Christian




On Fri, 2006-05-26 at 08:27 -0400, Paul Alfille wrote:
> 10.0
> 
> On 5/26/06, Christian Magnusson <[EMAIL PROTECTED]> wrote:
> >
> > I installed Slackware 10.2 now... and all swig extensions installs
> > perfectly...  (after installing swig-1.3.29.tar.gz manually)
> >
> > > >
> > > > This happens to me on Suse, too.
> > > >
> > > > I use a rather ugly "--disable-owpython"
> > > >
> > > > Paul
> >
> >
> > Which Suse version do you use?
> >
> > /Christian
> >
> >
> >
> >
> >
> > ---
> > All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> > Fully trained technicians. The highest number of Red Hat certifications in
> > the hosting industry. Fanatical Support. Click to learn more
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


SV: [Owfs-developers] FUSE/OWFS link weirdness

2006-05-26 Thread Christian Magnusson








 

How about compiling fuse
with FUSE_USE_VERSION=26 too?   I bet you have missed that if you are using the
compat-functions.

 

I have compiled fuse-2.6-packages
for unslung 6.8 (Linksys NSLU2) and fuse-2.4.2 for openwrt rc5 (Linksys WRT54
etc), and those packages works perfect for me.

You might have wrong
include paths or library paths when compiling (eg. They point to your local
fuse-installation, not the cross-compiled fuse installation).

Try to look at the read-access-time
after cross-compiling fuse and owfs… 

ls –autrl /usr/local/include/fuse/
/usr/include/fuse

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Vincent Fleming
Skickat: den 26 maj 2006 18:25
Till: owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] FUSE/OWFS
link weirdness



 

Well, I tracked down the “df”
problem…

 

I ported fuse-2.6.0pre2 to OpenWRT, but when I link
libfuse with owfs-2.3p7, the linker links owfs to the older backward-compatible
versions of some of the FUSE code.  Specifically, it seems to be anything where
fuse uses .symver directives.

 

In this case, statfs() had changed, and if I comment
out these: 

 

__asm__(".symver
fuse_reply_statfs_compat,[EMAIL PROTECTED]");

__asm__(".symver
fuse_reply_open_compat,[EMAIL PROTECTED]");

__asm__(".symver
fuse_lowlevel_new_compat,[EMAIL PROTECTED]");

 

from fuse_lowlevel.c, it works great.  I had
similar problems with fuse_mount().  It seems to link incorrectly whenever
a .symver is used.

 

I’m compiling owfs with FUSE_USE_VERSION=26.

 

Any ideas on where this weirdness might be coming
from?

 

From what I can tell from the code, the compiler
directive should work…

 

Thanks,


Vince










SV: SV: [Owfs-developers] Problem in building the latest CVS dropof OWFS on Slackware

2006-05-26 Thread Christian Magnusson

I installed Suse 10.1 yesterday, and I have several installed python
packages... and one is python-devel !

Python-2.4.1-3
Python-devel-2.4.1-3

/Christian


> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-developers-
> [EMAIL PROTECTED] För Paul Alfille
> Skickat: den 26 maj 2006 17:32
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: SV: [Owfs-developers] Problem in building the latest CVS dropof
> OWFS on Slackware
> 
> I knew I should be more specific. I meant Suse 10.0
> I get the same problem with python: coreutils and no setup.py
> There isn't a python-dev package for Suse, per se, but I've tried
> installing all the many python packages without success.
> 
> The only issue is that I can't build owpython rpms for release.
> 
> Paul Alfille
> 
> 
> On 5/26/06, Gregg C Levine <[EMAIL PROTECTED]> wrote:
> > Hello!
> > I see. The few times I've used that release number something ended up
> > going for what we call around here an engineering casualty. Very
> > messy, and time consuming. Also a bloody nuisance and an
> > inconvenience. So I've essentially decided to stick to the one I have
> > 10.1, and add stuff from either current, or yes 10.2, but in source
> > form.
> >
> > Their steps to build from source are simple. Create a directory which
> > matches their layout, and populate it, then run their script. And
> > everything gets built.
> >
> > Now as to your idea, I'll upgrade my release of the python stuff to
> > match what would be traveling with 10.2, and include a release of Swig
> > at 1.3.29, that is if I'm not already at it.
> > --
> > Gregg C Levine [EMAIL PROTECTED]
> > ---
> > "Remember the Force will be with you. Always." Obi-Wan Kenobi
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > [mailto:owfs-developers-
> > > [EMAIL PROTECTED] On Behalf Of Christian Magnusson
> > > Sent: Friday, May 26, 2006 7:41 AM
> > > To: owfs-developers@lists.sourceforge.net
> > > Subject: Re: SV: [Owfs-developers] Problem in building the latest
> > CVS dropof
> > > OWFS on Slackware
> > >
> > >
> > > I installed Slackware 10.2 now... and all swig extensions installs
> > > perfectly...  (after installing swig-1.3.29.tar.gz manually)
> > >
> > > > >
> > > > > This happens to me on Suse, too.
> > > > >
> > > > > I use a rather ugly "--disable-owpython"
> > > > >
> > > > > Paul
> > >
> > >
> > > Which Suse version do you use?
> > >
> > > /Christian
> > >
> > >
> > >
> > >
> > >
> > > ---
> > > All the advantages of Linux Managed Hosting--Without the Cost and
> > Risk!
> > > Fully trained technicians. The highest number of Red Hat
> > certifications in
> > > the hosting industry. Fanatical Support. Click to learn more
> > >
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=1216
> > 42
> > > ___
> > > Owfs-developers mailing list
> > > Owfs-developers@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> >
> >
> > ---
> > All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> > Fully trained technicians. The highest number of Red Hat certifications
> in
> > the hosting industry. Fanatical Support. Click to learn more
> > http://sel.as-us.falkag.net/sel?cmdlnk&kid7521&bid$8729&dat1642
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-
> us.falkag.net/sel?cmd___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] bus.n behavior again...

2006-05-27 Thread Christian Magnusson








 

There is one strange behaviour in owserver…. owserver
doesn’t allow 2 remote servers.

It works if owfs has 2 remote servers defined.

 

This works:

/opt/owfs/bin/owserver -u -p 3008

/opt/owfs/bin/owserver -p 3005 -s 3008

/opt/owfs/bin/owfs -s 3005 –s 192.168.3.1:3000 /var/1wire/

 

This fails:

/opt/owfs/bin/owserver -u -p 3008

/opt/owfs/bin/owserver -p 3005 -s 3008 -s 192.168.3.1:3000

/opt/owfs/bin/owfs -s 3005 /var/1wire/

 

# ls -l /tmp/2/bus.0/

drwxr-xr-x    1
root
root    1 May 27
09:41 bus.0

drwxr-xr-x    1
root
root    1 May 27
09:41 uncached

(All devices show in the root /tmp/2/ though…)

 

Do you have idea how to fix this problem?

 

/Christian

 

 








[Owfs-developers] segfault in /alarm

2006-05-27 Thread Christian Magnusson








 

ls –l /tmp/1wire/alarm

segfaults when listing alarm directory.

 

Haven’t found any fix for it yet..

 

/Christian

 








Re: [Owfs-developers] OWFS openwrt - Asus deluxe/permium

2006-06-25 Thread Christian Magnusson
On Sun, 2006-06-25 at 15:24 +0200, Kurt André Selbach wrote:
> owfs on openwrt,(wl500gDeluxe)
> 
> Hi i've had this running quite stable for ~3-4 weeks now, but
> since misterhouse was running quite slow on the wl500gD (haven't
> figured the issue yet) i bought the wl500gP which i can't get owfs
> running on.
> 
> Anyone experimented with this, tried whiterussian RC5 and the newest
> branch (kamikaze) but when i install the newest branch i get all kinds
> of fuse invalid argument errors.
> 

Isn't it a 2.6-kernel in that branch?  I haven't tried it, but I guess I
need some more information about this...


> Anyway i can get more debug information from the line owfs is sending
> to fusermount?

This could easily be added to owfs or fuse, but which fuse-version do
you use right now?

> 
> Chistian i can't find the source for your newest compiles on your
> homepages, i'd like to see if thing is better on the kamikazee kernel
> 2.6 branch. with working ehci.

I have added the latest make-files I use at my page:
http://home.mag.cx/openwrt/source/mk/package/owfs/

/Christian


> Have a nice evening/morning.
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problems building 2.4p3

2006-06-26 Thread Christian Magnusson

I have fixed this problem in configure and Makefiles now... tcl should
be disabled automatically if the tclConfig.sh isn't found, and php
should have correct include paths set now.

/Christian


On Sat, 2006-06-24 at 21:49 -0400, Jim Duda wrote:
> I'm unable to compile version 2.4p3.  I have similar problems with CVS.
> I need to configure without TCL support.  Configure cannot find the
> TCL configuration file.
> 
> checking for Python library... /usr/lib/python2.4/config
> checking if owtcl is enabled... yes (default)
> Looking for tclConfig.sh
> checking for Tcl configuration... configure: WARNING: Can't find Tcl 
> configuration definitions
> 
> 
> Snapshot of build issues ...
> 
>   gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I.. 
> -I../../../src/include -I../../../module/owlib/src/include -I../include 
> -fexceptions -D_FILE_OFFSET_BITS=64 -g -O2 -pthread -MT ow_wrap.lo -MD 
> -MP -MF .deps/ow_wrap.Tpo -c ow_wrap.c -fPIC -DPIC -o .libs/ow_wrap.o
> ow_wrap.c:345:18: error: zend.h: No such file or directory
> ow_wrap.c:346:22: error: zend_API.h: No such file or directory
> ow_wrap.c:347:17: error: php.h: No such file or directory
> ow_wrap.c: In function 'SWIG_SetPointerChar':
> ow_wrap.c:414: warning: assignment makes pointer from integer without a cast
> ow_wrap.c: At top level:
> ow_wrap.c:420: error: syntax error before '*' token
> 
> Jim
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS openwrt - Asus deluxe/premium

2006-06-26 Thread Christian Magnusson

Your owfs still use the dynamic library... Didn't Vincent say that you
had to static link the binary?

The trick seemed to be to avoid installing the libfuse.so* files to the
staging dir... (according to the makefile)
"#$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse.so* $(STAGING_DIR)/usr/lib/"

Manually remove all libfuse.so* from the stagingdir and recompile owfs
again.

/Christian


On Mon, 2006-06-26 at 11:52 +0200, Kurt André Selbach wrote:
> [EMAIL PROTECTED]:/# owfs -u /tmp/1wire
> owfs: can't load library 'libfuse.so.2'
> 
> [EMAIL PROTECTED]:/# fusermount --version
> fusermount version: 2.6.0-pre2
> 
> What is wrong?
> What exact steps did you do?
> i create the package/owfs
> insert the makefile, and how do i compile it?
> 
> but since i have the whole branch downloaded, how di you do it?
> feel free to send me the ipkg's (owfs, and fuse)
> 
> 
> ...via the SDK i think the step should be: make owfs-compile
> 
> 
> 
> 
> On 6/26/06, Kurt André Selbach <[EMAIL PROTECTED]> wrote:
> > Do you happen to have a jff2-4mb binary file i could "borrow"?
> >
> > On 6/26/06, Vincent Fleming <[EMAIL PROTECTED]> wrote:
> > > Andre,
> > >
> > > I didn't use the SDK - I build the whole system (kernel and all) from 
> > > sources.  The SDK should work just as well.
> > >
> > > I don't know what SVN version I used... it was current when I last 
> > > compiled on 22 May 2006.  I'm unfamiliar with SVN, and I'm not sure how 
> > > to check.
> > > (it works like magic!)  ;-)
> > >
> > > ...
> > >
> > > "svn info" seems to report that I have revision 3722 of openwrt, dated 1 
> > > May 2006.
> > >
> > > Regards (from New Jersey, USA ;-),
> > >
> > > Vince
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED] [mailto:owfs-
> > > > [EMAIL PROTECTED] On Behalf Of Kurt André Selbach
> > > > Sent: Sunday, June 25, 2006 9:50 PM
> > > > To: owfs-developers@lists.sourceforge.net
> > > > Subject: Re: [Owfs-developers] OWFS openwrt - Asus deluxe/premium
> > > >
> > > > Thanks!
> > > >
> > > > Your a saving angel, going to take a look at it right away when i come
> > > > home from work in a couple of hours.
> > > >
> > > > Skipping 2.6 kernel then, and going for 2.4 kamikaze.
> > > >
> > > > What SVN version of kamikaze  "SDK" did you use?
> > > >
> > > > Thanks!
> > > >
> > > > Best Regards, from norway :-)
> > > >
> > > >
> > > > On 6/26/06, Vincent Fleming <[EMAIL PROTECTED]> wrote:
> > > > > Andre,
> > > > >
> > > > > I've ported owfs 2.3p7 to Openwrt kamikaze.
> > > > >
> > > > > I found it requires fuse v2.6.0-pre2, which is not part of the 
> > > > > standard
> > > > Openwrt distribution.
> > > > >
> > > > > Your problem sounds like one of the problems I ran into... the dynamic
> > > > linker seems to be broken in kamizaze, so you'll need to statically link
> > > > owfs.  So, once I statically linked owfs, the fusermount errors went 
> > > > away.
> > > > >
> > > > > The problem has to do with the use of .asm() directives in the fuse 
> > > > > code
> > > > to support dynamic linking to different (legacy) versions of fuse from 
> > > > the
> > > > same library. (I could type for days telling you what I went through to
> > > > debug this, but that's pretty irreverent now... ;-))
> > > > >
> > > > > I've attached the makefiles I wrote for package/fuse and package/owfs,
> > > > and patches I needed for fuse.  If you get compile errors on fuse, try 
> > > > the
> > > > patches in package/fuse/patches.  These Makefiles should set you up 
> > > > nicely
> > > > with a statically linked version of owfs for kamikaze.
> > > > >
> > > > > As a side note, I had data error problems with the USB drivers in the
> > > > 2.6 kernel - to owfs, it appeared that devices came and went. Kamikaze
> > > > with the 2.4 kernel works perfectly.  I haven't had the time to figure 
> > > > out
> > > > why (I spent enough time debugging already), and I don't really need a 
> > > > 2.6
> > > > kernel anyway, so I haven't debugged it further once finding I was 
> > > > getting
> > > > heaps of CRC errors in owfs.  It could be related to my particular
> > > > hardware platform (netgear WGT), so your mileage may vary.  ;-)
> > > > >
> > > > > But, again, the 2.4 kernel works just great.
> > > > >
> > > > > That's about all I can think of...  good luck!  Let us know how you 
> > > > > make
> > > > out.
> > > > >
> > > > > I hope this helps,
> > > > >
> > > > > Vince
> > > > >
> > > > >
> > > > > > -Original Message-
> > > > > > From: [EMAIL PROTECTED] [mailto:owfs-
> > > > > > [EMAIL PROTECTED] On Behalf Of Kurt André
> > > > Selbach
> > > > > > Sent: Sunday, June 25, 2006 9:24 AM
> > > > > > To: owfs-developers@lists.sourceforge.net
> > > > > > Subject: [Owfs-developers] OWFS openwrt - Asus deluxe/permium
> > > > > >
> > > > > > owfs on openwrt,(wl500gDeluxe)
> > > > > >
> > > > > > Hi i've had this running quite stable for ~3-4 weeks now, but
> > > > > > since misterhouse was running quite slow on the wl500gD (haven't
> > > > > > figu

Re: [Owfs-developers] nslu2 pressure

2006-09-06 Thread Christian Magnusson
Title: Message









 

Sorry for not building
any new versions for nslu2 lately…

 

We got twins 6 months
ago, and after that I have been very busy at work with many deadlines…
and there haven’t been any spare time to do any daily builds.

I’m trying to
compile a new version now… and hopefully it will be done before we are
going to Crete tomorrow afternoon.

 

/Christian

 

 

 

 











Från:
[EMAIL PROTECTED] [mailto:owfs-dev[EMAIL PROTECTED]
För Lorenz Drack
Skickat: den 6 september 2006
15:54
Till:
owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] nslu2
pressure



 



Hi - I'm loving OWFS on the slug, and I  hope I'm
not bothering too many people with this question: the 2x DS2406's for the TAI8570
AAG pressure sensor show up, but there is no TAI8570 subdirectory to read the
pressure from. Could this be because the unslug ipkg version of owfs is 2.4p1-1? Is
there anything I can do to get this working? I've read through the archives but
no-one seems to have mentioned anything about this. 



thanks very much





Lorenz







 










-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] nslu2 pressure

2006-09-06 Thread Christian Magnusson
Title: Message








 

I have compiled 2.5p0
now, and it’s located at http://owfs.sourceforge.net/nslu2/packages/ as usual.

I haven’t tried it
myself yet, since I don’t have my NSLU2 at home at the moment.

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Christian Magnusson
Skickat: den 6 september 2006
22:25
Till:
owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] nslu2
pressure



 

 

Sorry for not building
any new versions for nslu2 lately…

 

We got twins 6 months
ago, and after that I have been very busy at work with many deadlines…
and there haven’t been any spare time to do any daily builds.

I’m trying to
compile a new version now… and hopefully it will be done before we are
going to Crete tomorrow afternoon.

 

/Christian

 

 

 

 











Från:
[EMAIL PROTECTED] [mailto:owfs-dev[EMAIL PROTECTED]
För Lorenz Drack
Skickat: den 6 september 2006
15:54
Till:
owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] nslu2
pressure



 



Hi - I'm loving OWFS on the slug, and I  hope I'm
not bothering too many people with this question: the 2x DS2406's for the TAI8570
AAG pressure sensor show up, but there is no TAI8570 subdirectory to read the
pressure from. Could this be because the unslug ipkg version of owfs is 2.4p1-1? Is
there anything I can do to get this working? I've read through the archives but
no-one seems to have mentioned anything about this. 



thanks very much





Lorenz







 












-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Fwd: owfs pressure

2006-09-15 Thread Christian Magnusson








 

As I said in my last
e-mail before I went to Crete last week…
I was never able to try the latest version on my real hardware since I don’t
have it at home right now.

 

I will get it back in a
few days, and I will try to debug the problem…

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 8 september 2006
22:10
Till: owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] Fwd: owfs
pressure



 



-- Forwarded message --
From: Lorenz Drack
<[EMAIL PROTECTED]>
Date: Sep 8, 2006 12:31 PM 
Subject: RE: owfs pressure
To: Paul Alfille <[EMAIL PROTECTED]>







Hi Paul - I've noticed an update in the
nslu package directory 2.5p0-1 - I hope I haven't stuffed things up by
upgrading my owfs before you'd finished - but now the 1-wire filesystem doesn't
mount anymore, just sits there at the fuse.o line when I try to start
it.  Do I perhaps need to remove the old version or something along
those lines?





thanks very much









Lorenz







-Original
Message-
From: Paul Alfille [mailto: [EMAIL PROTECTED]]

Sent: Wednesday, 6 September 2006
11:43 PM
To: Lorenz Drack
Subject: Re: owfs pressure





I guess I'll have to
write a routine that generates the memory contents.

Give me a day.

Paul



On 9/6/06, Lorenz
Drack <[EMAIL PROTECTED]>
wrote: 







Hi Paul - I'm using owfs on my SLUG and everything is grand!
Love the software. One problem though - the 2 x DS2406's that belong to the AAG
pressure sensor show up, but neither have the T AI8570 directory
in which the pressure value is supposed to live. Would you have any suggestions
on how I could get this working? The version of owfs is the current distro for
the slug





thanks very much





Lorenz
























-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] bug

2006-09-26 Thread Christian Magnusson


[EMAIL PROTECTED] ~]# gdb /opt/owfs/bin/owserver 
 (gdb) run --fake 10 -p  --foreground
Starting program: /usr/opt/owfs/bin/owserver --fake 10 -p  --foreground
[Thread debugging using libthread_db enabled]
[New Thread -1085201760 (LWP 30601)]
[New Thread 24677296 (LWP 30610)]
[New Thread 35167152 (LWP 30611)]

(Application crashes...)

(gdb) thread apply all bt

This will show you a backtrace of all threads... and you can probably see
where it crashed 

/Christian





> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Roberto Spadim
> Skickat: den 26 september 2006 04:51
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] bug
> 
> i can't execure the error consistently
> now i stoped and started owserver again and the error stoped, how could
> i run gdb to get backtrace??? i don't work with gdb very well.. :(
> 
> Paul Alfille escreveu:
> > 1. is the error reproducable?
> > 2. in your example program, what happens of you take out the
> > temperature lines (i.e. just bang away at the DS2405)?
> >
> > If you can reproduce the error consistently, we can add debugging code
> > to narrow down the location.
> >
> > Paul Alfille
> >
> > On 9/23/06, *Roberto Spadim* <[EMAIL PROTECTED]
> > > wrote:
> >
> > i'm not using zeroconf or profiling on ./configure everyothers is
> > ENABLED
> > owserver starts with:
> > ServerAddr: [(null)] [1234]
> >
> >
> > pstree:
> >
> >
> >
> > init-+-agetty
> >  |-agetty
> >  |-agetty
> >  |-agetty
> >  |-agetty
> >  |-agetty
> >  |-crond
> >  |-cupsd
> >  |-devfsd
> >  |-events/0-+-aio/0
> >  |  |-ata/0
> >  |  |-kblockd/0
> >  |  |-kcryptd/0
> >  |  |-khelper
> >  |  |-kmirrord/0
> >  |  |-pdflush
> >  |  |-pdflush
> >  |  |-reiserfs/0
> >  |  |-xfsdatad/0
> >  |  `-xfslogd/0
> >  |-httpd-+-httpd  <= i'm playing with apache :)
> >  |   |-httpd
> >  |   |-httpd
> >  |   |-httpd
> >  |   |-httpd
> >  |   `-httpd
> >  |-jfsCommit
> >  |-jfsIO
> >  |-jfsSync
> >  |-kapmd
> >  |-khubd
> >  |-kseriod
> >  |-ksoftirqd/0
> >  |-kswapd0
> >  |-migration/0
> >  |-nmbd---nmbd
> >  |-owhttpd-+-{owhttpd}
> >  | `-{owhttpd}  <= i was conected :)
> >  |-owserver-+-{owserver}
> >  |  |-{owserver}  <= many owserver?? maybe my
> > threads :)
> > and owhttpd right?
> >  |  |-{owserver}
> >  |  |-{owserver}
> >  |  |-{owserver}
> >  |  `-{owserver}
> >  |-php
> >  |-php
> >  |-smbd-+-smbd
> >  |  `-smbd
> >  |-sshd-+-sshd---bash---php-+-php
> >  |  |   |-php<= pic bus on /dev/ttyS1
> >  |  |   |-php  <= an email parse to change
> > values and send to database :) and write to pic or owserver
> >  |  |   |-php <= email thread to help me :)
> >  |  |   |-php-+-php <=my write thread on
> > 127.0.0.1:1234 
> >  |  |   | `-php <= my read thread
> > 127.0.0.1:1234 
> >  |  |   `-php <= pic bus on /dev/ttyS2
> >  |  `-sshd---bash---pstree <= i'm using ssh :D
> >  |-syslog-ng
> >  |-udevd
> >  `-xfsbufd
> >
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > opinions on IT & business topics through brief surveys -- and earn
> > cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
>  >
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > 
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> >
> > 
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys -- and earn cash
> >
> http://www.techsay.com/default.php?page

Re: [Owfs-developers] bug

2006-09-28 Thread Christian Magnusson

SIGPIPE should be ignored by owserver/owfs/owhttpd and not exit when this is
received. It's basically a network problem when writing to the socket. The
write request should of course return an error, but it should not exit the
whole application.

I haven't looked at the owfs source for some time now, but I'm sure Paul
could make sure the signal is ignored pretty quick.

/Christian



> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Roberto Spadim
> Skickat: den 28 september 2006 09:31
> Till: owfs-developers@lists.sourceforge.net
> Ämne: [Owfs-developers] bug
> 
> 
>  again the same backtrace: i think that's a problem to clone
> 
>DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
>DEBUG: ReadHandler: sm->payload=38 sm->size=12 sm->offset=0
>DEBUG: READ_POSTPARSE /uncached/10.6F7EC9000800/temperature
>DEBUG: READ_POSTPOSTPARSE /uncached/10.6F7EC9000800/temperature
>DEBUG: READSEEK
>DEBUG: READSEEK2 pid=31424 not found in cache
>DEBUG:   Transaction readin = 0
>DEBUG: FS_r_single: (temperature) 28.4375
>DEBUG: Add to cache sn 10 6F 7E C9 00 08 00 0F in=0xb7fd6bac index=0
>  size=12
>DEBUG: READ_POSTPOSTPARSE: /uncached/10.6F7EC9000800/temperature
> return 12
>DEBUG: READ_POSTPARSE /uncached/10.6F7EC9000800/temperature return 12
>DEBUG: Read message done retbuffer=0x804cf70
>DEBUG: ParsedName_destroy /uncached/10.6F7EC9000800/temperature
>DEBUG: RealHandler: FS_ParsedName_destroy done
>DEBUG: RealHandler: cm.ret=12
> CALL: FS_r_single: format=11 s=12 offset=0
>DEBUG: Selecting a path (and device)
>  path=/uncached/10.6F7EC9000800/temperature SN=10 6F 7E C9 00 08 00 0F
>  last path=00 00 00 00 00 00 00 00
> 
>  Program received signal SIGPIPE, Broken pipe.
>  [Switching to Thread -1209861200 (LWP 17445)]
>  0xe410 in __kernel_vsyscall ()
>  (gdb) bt
>  #0  0xe410 in __kernel_vsyscall ()
>  #1  0xb7ee82d4 in do_writev () from /lib/tls/libc.so.6
>  #2  0xb7ee839b in writev () from /lib/tls/libc.so.6
>  #3  0x08048f89 in ToClient (fd=8, cm=0xb7e2f400, data=0xb7e2f360 "") at
>  owserver.c:231
>  #4  0x08049510 in RealHandler (v=0xb662b3ac) at owserver.c:399
>  #5  0xb7f5d2b0 in start_thread () from /lib/tls/libpthread.so.0
>  #6  0xb7eef7ce in clone () from /lib/tls/libc.so.6
>  (gdb)
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] bug

2006-10-01 Thread Christian Magnusson

Just ignore SIGPIPE in the main-function or something similar... The latest
fuse-source is ignoring SIGPIPE in it's signal-setup function, so owfs might
not be vulnerable if that setup-function is used. Owserver and owhttpd must
ignore the signal though... If the socket is broken while reading/writing,
it (the read()/write()) will return -1 instead of exiting the whole program.

/Christian



> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Alfille, Paul H.,M.D.
> Skickat: den 1 oktober 2006 13:00
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] bug
> 
> Actually, I probably could use some help.
> How do I know which thread to map the error to? Will I also get a "write"
> error and so can just ignore the sigpipe entirely?
> 
> Paul Alfille
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] on behalf of Christian
> Magnusson
> Sent: Thu 9/28/2006 5:45 AM
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] bug
> 
> 
> SIGPIPE should be ignored by owserver/owfs/owhttpd and not exit when this
> is
> received. It's basically a network problem when writing to the socket. The
> write request should of course return an error, but it should not exit the
> whole application.
> 
> I haven't looked at the owfs source for some time now, but I'm sure Paul
> could make sure the signal is ignored pretty quick.
> 
> /Christian
> 
> 
> 
> > -Ursprungligt meddelande-
> > Från: [EMAIL PROTECTED] [mailto:owfs-
> > [EMAIL PROTECTED] För Roberto Spadim
> > Skickat: den 28 september 2006 09:31
> > Till: owfs-developers@lists.sourceforge.net
> > Ämne: [Owfs-developers] bug
> >
> >
> >  again the same backtrace: i think that's a problem to clone
> >
> >DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
> >DEBUG: ReadHandler: sm->payload=38 sm->size=12 sm->offset=0
> >DEBUG: READ_POSTPARSE /uncached/10.6F7EC9000800/temperature
> >DEBUG: READ_POSTPOSTPARSE /uncached/10.6F7EC9000800/temperature
> >DEBUG: READSEEK
> >DEBUG: READSEEK2 pid=31424 not found in cache
> >DEBUG:   Transaction readin = 0
> >DEBUG: FS_r_single: (temperature) 28.4375
> >DEBUG: Add to cache sn 10 6F 7E C9 00 08 00 0F in=0xb7fd6bac index=0
> >  size=12
> >DEBUG: READ_POSTPOSTPARSE: /uncached/10.6F7EC9000800/temperature
> > return 12
> >DEBUG: READ_POSTPARSE /uncached/10.6F7EC9000800/temperature return 12
> >DEBUG: Read message done retbuffer=0x804cf70
> >DEBUG: ParsedName_destroy /uncached/10.6F7EC9000800/temperature
> >DEBUG: RealHandler: FS_ParsedName_destroy done
> >DEBUG: RealHandler: cm.ret=12
> > CALL: FS_r_single: format=11 s=12 offset=0
> >DEBUG: Selecting a path (and device)
> >  path=/uncached/10.6F7EC9000800/temperature SN=10 6F 7E C9 00 08 00 0F
> >  last path=00 00 00 00 00 00 00 00
> >
> >  Program received signal SIGPIPE, Broken pipe.
> >  [Switching to Thread -1209861200 (LWP 17445)]
> >  0xe410 in __kernel_vsyscall ()
> >  (gdb) bt
> >  #0  0xe410 in __kernel_vsyscall ()
> >  #1  0xb7ee82d4 in do_writev () from /lib/tls/libc.so.6
> >  #2  0xb7ee839b in writev () from /lib/tls/libc.so.6
> >  #3  0x08048f89 in ToClient (fd=8, cm=0xb7e2f400, data=0xb7e2f360 "") at
> >  owserver.c:231
> >  #4  0x08049510 in RealHandler (v=0xb662b3ac) at owserver.c:399
> >  #5  0xb7f5d2b0 in start_thread () from /lib/tls/libpthread.so.0
> >  #6  0xb7eef7ce in clone () from /lib/tls/libc.so.6
> >  (gdb)
> >
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys -- and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.

Re: [Owfs-developers] owshell

2006-10-05 Thread Christian Magnusson








 

Hi Paul...

 

I just tried your new
owshell commands, and I found some problems with owdir.

I’m trying to
update the nslu2 and openwrt packages, so I just wanted to make sure it worked
on my server at home first…

 

 

 

[EMAIL PROTECTED] c]# owdir

Segmentation fault (core
dumped)

 

[EMAIL PROTECTED] c]# gdb
/opt/owfs/bin/owdir core.733

#0  0x08048da3 in
Server_detect () at ow_server.c:23

23  if (
indevice->name == NULL || ClientAddr( indevice->name, indevice ) ) {

(gdb) bt

#0  0x08048da3 in
Server_detect () at ow_server.c:23

#1  0x08049934 in main
(argc=1, argv=0xbff7b824) at owdir.c:44

(gdb)

 

 

[EMAIL PROTECTED] c]# owdir -s
192.168.3.1:3002 /

Unrecognized format type
192.168.3.1:3002

 

Bug: Wrong reading of parameters…

 

[EMAIL PROTECTED] c]# owdir
192.168.3.1:3002 /

bus.0

settings

system

statistics

/10.6D015800

 

[EMAIL PROTECTED] c]# owdir
192.168.3.1:3002 /10.6D015800/temperature

/10.6D015800/temperature/address

/10.6D015800/temperature/crc8

/10.6D015800/temperature/die

/10.6D015800/temperature/family

/10.6D015800/temperature/id

/10.6D015800/temperature/locator

/10.6D015800/temperature/power

/10.6D015800/temperature/present

/10.6D015800/temperature/r_address

/10.6D015800/temperature/r_id

/10.6D015800/temperature/r_locator

/10.6D015800/temperature/temperature

/10.6D015800/temperature/temphigh

/10.6D015800/temperature/templow

/10.6D015800/temperature/trim

/10.6D015800/temperature/trimblanket

/10.6D015800/temperature/trimvalid

/10.6D015800/temperature/type

 

Bug?: Wrong output?

 

/Christian

 

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 1 oktober 2006 05:07
Till: owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] owshell



 

I've made a new release 2.5p3 that has a new set of programs:

owdir
owread
owwrite
owpresent

Collectively I call these the "owshell" programs. Basically they ask
a single question from owserver and exit. 

Examples:

# OWSERVER:
owserver -u -p 3000

# Get a directory listing
owdir -s 3000

#get the list of error statistics
owdir -s 3000 /statistics/errors

#get the temperature from a specific chip 
owread -s 3000 /10.00235345967/temperature

# set the high temperature limit
owwrite -s 3000 /10.00235345967/temperature 57

# Is the chip present?
owpresent -s 3000 1F.003311432234

More data at: http://www.owfs.org/index.php?page=owshell

The idea is to create a light-weight way to access OWFS from a script without
the filesystem. The owshell programs skip local caching, multiple threads and
multiple adapters. The programs should also be easier to port to other
operating systems (?Windows). 

Paul Alfille








-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Anyone else having problems getting 2.5p3tocompile?

2006-10-05 Thread Christian Magnusson

I noticed that owtcl has a dependency to owcapi nowadays... I got
compilation error when I tried to compile with --disable-owcapi and
--enable-owtcl.

Perhaps this should be fixed in the configure.ac.

BTW: will the other swig-modules have the same dependencies later?

/Christian




> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Alfille, Paul H.,M.D.
> Skickat: den 4 oktober 2006 14:53
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] Anyone else having problems getting
> 2.5p3tocompile?
> 
> Sorry about that.
> 
> You can remove that line, safely. The next version will be fixed.
> 
> Paul
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Dylan
> Hall
> Sent: Wednesday, October 04, 2006 5:50 AM
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] Anyone else having problems getting 2.5p3
> tocompile?
> 
> The configure script outputs the following:
> 
> Current configuration:
> 
>  Deployment location: /usr/local
> 
> Compile-time options:
>Caching is enabled
>USB is enabled
>I2C is enabled
> HA7Net is enabled
> Multithreading is enabled
>  Parallel port DS1410E is enabled
>  TAI8570 barometer is enabled
>   Thermocouple is enabled
>   Debug-output is enabled
>  Profiling is DISABLED
> Zeroconf (Bonjour) is DISABLED
> 
> Module configuration:
>  owfs is enabled
>   owhttpd is enabled
>owftpd is enabled
>  owserver is enabled
>owcapi is enabled
>  swig is enabled
>owperl is enabled
> owphp is enabled
>  owpython is enabled
> owtcl is enabled
> 
> make stops with the following error:
> 
> gcc -I../include -D_FILE_OFFSET_BITS=64 -I../../../owlib/src/include
> -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual
> -Wcast-align -Wstrict-prototypes -Wredundant-decls -g -O2 -o owdir
> ow_opt.o ow_help.o ow_connect.o ow_server.o ow_net.o ow_browse.o
> globals.o owdir.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
> -Wl,/usr/local/lib  -pthread /usr/lib/libusb.so
> ow_opt.o: In function `owopt':
> /usr/local/src/owfs-2.5p3/module/owshell/src/c/ow_opt.c:73: undefined
> reference to `OW_Browse'
> collect2: ld returned 1 exit status
> make[4]: *** [owdir] Error 1
> make[4]: Leaving directory `/usr/local/src/owfs-
> 2.5p3/module/owshell/src/c'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/owfs-2.5p3/module/owshell/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/owfs-2.5p3/module/owshell'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/owfs-2.5p3/module'
> make: *** [all-recursive] Error 1
> 
> 
> I'm building this on a fairly up to date Gentoo box.
> 
> 
> Thanks,
> 
> Dylan
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] USB timeout bug.

2006-10-06 Thread Christian Magnusson








 

Found a bug for the timeout_usb variable… It
should be set to 5000 instead of 5 (milli seconds)… This caused problems
when processor is slow (like NSLU2) or if the usb-bus is overloaded.

 

Fixed in the cvs.. (both in owlib and owshell)

 

/Christian

 

 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] New packages for NSLU2

2006-10-06 Thread Christian Magnusson








 

New working packages for NSLU2 are available at: http://owfs.sourceforge.net/nslu2/packages/

 

I created a new package for the owshell commands too…

 

-rw-r--r--  1 root root   6990 Oct  6 16:31
owcapi_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root  39174 Oct  6 16:31
owfs_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root 128768 Oct  6 16:31
owlib_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root   7700 Oct  6 16:31
owshell_2.5p4-4_armeb.ipk

 

 

[EMAIL PROTECTED] packages]# cat
owcapi_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0 2006-10-06 16:23:15 ./

drwxr-xr-x root/root 0 2006-10-06 16:23:15
./opt/

drwxr-xr-x root/root 0 2006-10-06 16:23:15
./opt/lib/

lrwxrwxrwx root/root 0 2006-10-06 16:23:11
./opt/lib/libowcapi.so -> libowcapi.so.0.0.0

lrwxrwxrwx root/root 0 2006-10-06 16:23:11
./opt/lib/libowcapi.so.0 -> libowcapi.so.0.0.0

-rwxr-xr-x root/root  7132 2006-10-06 16:23:13
./opt/lib/libowcapi.so.0.0.0

drwxr-xr-x root/root 0 2006-10-06 16:23:15
./opt/include/

-rw-r--r-- root/root  3398 2006-10-06 16:23:12
./opt/include/owcapi.h

-rw-r--r-- root/root  3194 2006-10-06 16:22:38
./opt/include/owfs_config.h

[EMAIL PROTECTED] packages]# cat
owshell_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0 2006-10-06 16:23:16 ./

drwxr-xr-x root/root 0 2006-10-06 16:23:16
./opt/

drwxr-xr-x root/root 0 2006-10-06 16:23:16
./opt/bin/

-rwxr-xr-x root/root 10380 2006-10-06 16:23:13
./opt/bin/owwrite

-rwxr-xr-x root/root 10276 2006-10-06 16:23:13
./opt/bin/owpresent

-rwxr-xr-x root/root 10276 2006-10-06 16:23:13
./opt/bin/owread

-rwxr-xr-x root/root 10308 2006-10-06 16:23:13
./opt/bin/owdir

[EMAIL PROTECTED] packages]# cat
owlib_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0 2006-10-06 16:23:17 ./

drwxr-xr-x root/root 0 2006-10-06 16:23:17
./opt/

drwxr-xr-x root/root 0 2006-10-06 16:23:17
./opt/lib/

-rwxr-xr-x root/root    334512 2006-10-06 16:23:13
./opt/lib/libow.so.0.0.0

lrwxrwxrwx root/root 0 2006-10-06 16:22:58
./opt/lib/libow.so -> libow.so.0.0.0

lrwxrwxrwx root/root 0 2006-10-06 16:22:58
./opt/lib/libow.so.0 -> libow.so.0.0.0

[EMAIL PROTECTED] packages]# cat
owfs_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0 2006-10-06 16:23:18 ./

drwxr-xr-x root/root 0 2006-10-06 16:23:18
./opt/

drwxr-xr-x root/root 0 2006-10-06 16:23:13
./opt/etc/

drwxr-xr-x root/root 0 2006-10-06 16:23:15
./opt/etc/init.d/

-rwxr-xr-x root/root   409 2006-10-06 16:23:14
./opt/etc/init.d/S80owhttpd

-rwxr-xr-x root/root   414 2006-10-06 16:23:15
./opt/etc/init.d/S80owftpd

-rwxr-xr-x root/root   830 2006-10-06 16:23:14
./opt/etc/init.d/S80owfs

-rwxr-xr-x root/root   405 2006-10-06 16:23:14
./opt/etc/init.d/S70owserver

drwxr-xr-x root/root 0 2006-10-06 16:23:14
./opt/etc/owfs/

-rw-r--r-- root/root    26 2006-10-06 16:23:14
./opt/etc/owfs/owhttpd

-rw-r--r-- root/root   529 2006-10-06 16:23:13
./opt/etc/owfs/owserver

-rw-r--r-- root/root    40 2006-10-06 16:23:13
./opt/etc/owfs/owfs

-rw-r--r-- root/root    34 2006-10-06 16:23:14
./opt/etc/owfs/owftpd

drwxr-xr-x root/root 0 2006-10-06 16:23:16
./opt/bin/

-rwxr-xr-x root/root 16132 2006-10-06 16:23:13
./opt/bin/owhttpd

-rwxr-xr-x root/root 10080 2006-10-06 16:23:13
./opt/bin/owserver

-rwxr-xr-x root/root   137 2006-06-08 10:16:32
./opt/bin/kill-owfs

-rwxr-xr-x root/root   140 2006-06-08 10:42:48
./opt/bin/run-owfs

-rwxr-xr-x root/root 10932 2006-10-06 16:23:13
./opt/bin/owfs

-rwxr-xr-x root/root 47920 2006-10-06 16:23:13
./opt/bin/owftpd

[EMAIL PROTECTED] packages]#

 

 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] New packages for NSLU2

2006-10-07 Thread Christian Magnusson









 

No.. I don’t think so… I
code do that if you want.

 

/Christian

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 7 oktober 2006 03:53
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] New
packages for NSLU2



 

Very nice!

Were these linked in with the Bonjour code?

Paul



On 10/6/06, Christian
Magnusson <
[EMAIL PROTECTED]> wrote:





 

New working packages for NSLU2 are available at: http://owfs.sourceforge.net/nslu2/packages/ 

 

I created a new package for the owshell commands too…

 

-rw-r--r--  1 root root   6990 Oct  6 16:31
owcapi_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root  39174 Oct  6 16:31
owfs_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root 128768 Oct  6 16:31
owlib_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root   7700 Oct  6 16:31
owshell_2.5p4-4_armeb.ipk

 

 

[EMAIL PROTECTED] packages]# cat owcapi_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./opt/

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./opt/lib/

lrwxrwxrwx root/root 0
2006-10-06 16:23:11 ./opt/lib/libowcapi.so -> libowcapi.so.0.0.0

lrwxrwxrwx root/root 0
2006-10-06 16:23:11 ./opt/lib/libowcapi.so.0 -> libowcapi.so.0.0.0

-rwxr-xr-x root/root  7132 2006-10-06
16:23:13 ./opt/lib/libowcapi.so.0.0.0

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./opt/include/

-rw-r--r-- root/root  3398 2006-10-06
16:23:12 ./opt/include/owcapi.h

-rw-r--r-- root/root  3194 2006-10-06
16:22:38 ./opt/include/owfs_config.h

[EMAIL PROTECTED] packages]# cat owshell_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0
2006-10-06 16:23:16 ./

drwxr-xr-x root/root 0
2006-10-06 16:23:16 ./opt/

drwxr-xr-x root/root 0
2006-10-06 16:23:16 ./opt/bin/

-rwxr-xr-x root/root 10380 2006-10-06 16:23:13
./opt/bin/owwrite

-rwxr-xr-x root/root 10276 2006-10-06 16:23:13
./opt/bin/owpresent

-rwxr-xr-x root/root 10276 2006-10-06 16:23:13
./opt/bin/owread

-rwxr-xr-x root/root 10308 2006-10-06 16:23:13
./opt/bin/owdir

[EMAIL PROTECTED] packages]# cat owlib_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0
2006-10-06 16:23:17 ./

drwxr-xr-x root/root 0
2006-10-06 16:23:17 ./opt/

drwxr-xr-x root/root 0
2006-10-06 16:23:17 ./opt/lib/

-rwxr-xr-x root/root    334512 2006-10-06 16:23:13
./opt/lib/libow.so.0.0.0

lrwxrwxrwx root/root 0
2006-10-06 16:22:58 ./opt/lib/libow.so -> libow.so.0.0.0

lrwxrwxrwx root/root 0
2006-10-06 16:22:58 ./opt/lib/libow.so.0 -> libow.so.0.0.0

[EMAIL PROTECTED] packages]# cat owfs_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0
2006-10-06 16:23:18 ./

drwxr-xr-x root/root 0
2006-10-06 16:23:18 ./opt/

drwxr-xr-x root/root 0
2006-10-06 16:23:13 ./opt/etc/

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./opt/etc/init.d/

-rwxr-xr-x root/root   409 2006-10-06
16:23:14 ./opt/etc/init.d/S80owhttpd

-rwxr-xr-x root/root   414 2006-10-06
16:23:15 ./opt/etc/init.d/S80owftpd

-rwxr-xr-x root/root   830 2006-10-06
16:23:14 ./opt/etc/init.d/S80owfs

-rwxr-xr-x root/root   405 2006-10-06
16:23:14 ./opt/etc/init.d/S70owserver

drwxr-xr-x root/root 0
2006-10-06 16:23:14 ./opt/etc/owfs/

-rw-r--r-- root/root    26
2006-10-06 16:23:14 ./opt/etc/owfs/owhttpd

-rw-r--r-- root/root   529 2006-10-06
16:23:13 ./opt/etc/owfs/owserver

-rw-r--r-- root/root    40
2006-10-06 16:23:13 ./opt/etc/owfs/owfs

-rw-r--r-- root/root    34
2006-10-06 16:23:14 ./opt/etc/owfs/owftpd

drwxr-xr-x root/root 0
2006-10-06 16:23:16 ./opt/bin/

-rwxr-xr-x root/root 16132 2006-10-06 16:23:13
./opt/bin/owhttpd

-rwxr-xr-x root/root 10080 2006-10-06 16:23:13
./opt/bin/owserver

-rwxr-xr-x root/root   137 2006-06-08
10:16:32 ./opt/bin/kill-owfs

-rwxr-xr-x root/root   140 2006-06-08
10:42:48 ./opt/bin/run-owfs

-rwxr-xr-x root/root 10932 2006-10-06 16:23:13
./opt/bin/owfs

-rwxr-xr-x root/root 47920 2006-10-06 16:23:13
./opt/bin/owftpd

[EMAIL PROTECTED] packages]#

 

 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash 
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/owfs-developers





 








-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through

Re: [Owfs-developers] New packages for NSLU2

2006-10-07 Thread Christian Magnusson








I can’t enable it
since I get this error message.

 

checking for
DNSServiceRegister in -ldns_sd... no

configure: WARNING:
libdns_sd not found, zeroconf will be disabled

 

I will see if it’s
possible to find that library for NSLU2, otherwise it will be disabled.

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Christian Magnusson
Skickat: den 8 oktober 2006 07:46
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] New
packages for NSLU2



 

 

No.. I don’t think
so… I code do that if you want.

 

/Christian

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 7 oktober 2006 03:53
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] New
packages for NSLU2



 

Very nice!

Were these linked in with the Bonjour code?

Paul



On 10/6/06, Christian
Magnusson <
[EMAIL PROTECTED]> wrote:





 

New working packages for NSLU2 are available at: http://owfs.sourceforge.net/nslu2/packages/ 

 

I created a new package for the owshell commands too…

 

-rw-r--r--  1 root root   6990 Oct  6 16:31
owcapi_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root  39174 Oct  6 16:31
owfs_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root 128768 Oct  6 16:31
owlib_2.5p4-4_armeb.ipk

-rw-r--r--  1 root root   7700 Oct  6 16:31
owshell_2.5p4-4_armeb.ipk

 

 

[EMAIL PROTECTED] packages]# cat owcapi_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./opt/

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./opt/lib/

lrwxrwxrwx root/root 0
2006-10-06 16:23:11 ./opt/lib/libowcapi.so -> libowcapi.so.0.0.0

lrwxrwxrwx root/root 0
2006-10-06 16:23:11 ./opt/lib/libowcapi.so.0 -> libowcapi.so.0.0.0

-rwxr-xr-x root/root  7132 2006-10-06
16:23:13 ./opt/lib/libowcapi.so.0.0.0

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./opt/include/

-rw-r--r-- root/root  3398 2006-10-06
16:23:12 ./opt/include/owcapi.h

-rw-r--r-- root/root  3194 2006-10-06
16:22:38 ./opt/include/owfs_config.h

[EMAIL PROTECTED] packages]# cat owshell_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0
2006-10-06 16:23:16 ./

drwxr-xr-x root/root 0
2006-10-06 16:23:16 ./opt/

drwxr-xr-x root/root 0
2006-10-06 16:23:16 ./opt/bin/

-rwxr-xr-x root/root 10380 2006-10-06 16:23:13
./opt/bin/owwrite

-rwxr-xr-x root/root 10276 2006-10-06 16:23:13
./opt/bin/owpresent

-rwxr-xr-x root/root 10276 2006-10-06 16:23:13
./opt/bin/owread

-rwxr-xr-x root/root 10308 2006-10-06 16:23:13
./opt/bin/owdir

[EMAIL PROTECTED] packages]# cat owlib_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0
2006-10-06 16:23:17 ./

drwxr-xr-x root/root 0
2006-10-06 16:23:17 ./opt/

drwxr-xr-x root/root 0
2006-10-06 16:23:17 ./opt/lib/

-rwxr-xr-x root/root    334512 2006-10-06 16:23:13
./opt/lib/libow.so.0.0.0

lrwxrwxrwx root/root 0
2006-10-06 16:22:58 ./opt/lib/libow.so -> libow.so.0.0.0

lrwxrwxrwx root/root 0
2006-10-06 16:22:58 ./opt/lib/libow.so.0 -> libow.so.0.0.0

[EMAIL PROTECTED] packages]# cat owfs_2.5p4-4_armeb.ipk.content

drwxr-xr-x root/root 0
2006-10-06 16:23:18 ./

drwxr-xr-x root/root 0
2006-10-06 16:23:18 ./opt/

drwxr-xr-x root/root 0
2006-10-06 16:23:13 ./opt/etc/

drwxr-xr-x root/root 0
2006-10-06 16:23:15 ./opt/etc/init.d/

-rwxr-xr-x root/root   409 2006-10-06
16:23:14 ./opt/etc/init.d/S80owhttpd

-rwxr-xr-x root/root   414 2006-10-06
16:23:15 ./opt/etc/init.d/S80owftpd

-rwxr-xr-x root/root   830 2006-10-06
16:23:14 ./opt/etc/init.d/S80owfs

-rwxr-xr-x root/root   405 2006-10-06
16:23:14 ./opt/etc/init.d/S70owserver

drwxr-xr-x root/root 0
2006-10-06 16:23:14 ./opt/etc/owfs/

-rw-r--r-- root/root    26
2006-10-06 16:23:14 ./opt/etc/owfs/owhttpd

-rw-r--r-- root/root   529 2006-10-06
16:23:13 ./opt/etc/owfs/owserver

-rw-r--r-- root/root    40
2006-10-06 16:23:13 ./opt/etc/owfs/owfs

-rw-r--r-- root/root    34
2006-10-06 16:23:14 ./opt/etc/owfs/owftpd

drwxr-xr-x root/root 0
2006-10-06 16:23:16 ./opt/bin/

-rwxr-xr-x root/root 16132 2006-10-06 16:23:13
./opt/bin/owhttpd

-rwxr-xr-x root/root 10080 2006-10-06 16:23:13
./opt/bin/owserver

-rwxr-xr-x root/root   137 2006-06-08
10:16:32 ./opt/bin/kill-owfs

-rwxr-xr-x root/root   140 2006-06-08
10:42:48 ./opt/bin/run-owfs

-rwxr-xr-x root/root 10932 2006-10-06 16:23:13
./opt/bin/owfs

-rwxr-xr-x root/root 47920 2006-10-06 16:23:13
./opt/bin/owftpd

[EMAIL PROTECTED] packages]#

 

 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash 
http://www.techsay.com/default

[Owfs-developers] zeroconf requirements?

2006-10-09 Thread Christian Magnusson








 

 

What are the requirements for building with zero-conf
support?

 

I have NOT found the “libdns_sd” which
the configure script seem to look for…. The only thing I find is “libhowl”
for my Fedora installation… and it does not contain the same functions.

Libhowl is also possible to use for OpenWRT and NSLU2…


 

Could anyone help me with this…

 

/Christian

 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] Cygwin support

2006-10-12 Thread Christian Magnusson








 

I have managed to compile owfs for Cygwin now… All
changes are committed to the CVS.

 

Hopefully I didn’t break any old support, but please
try it before releasing a new version.

 

The generated binaries are:

Owhttpd.exe

Owserver.exe

Owftpd.exe

Owdir.exe

Owread.exe

Owwrite.exe

Owpresent.exe

 

You need cygwin to run the binaries since they need
cygwin1.dll etc…

I could create a tar-package with the binaries and upload
them to the web-site if you want.

 

/Christian

 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Cygwin support

2006-10-12 Thread Christian Magnusson









BTW: Binaries could be downloaded from: http://owfs.sourceforge.net/cygwin/

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Christian Magnusson
Skickat: den 12 oktober 2006 14:56
Till:
owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers]
Cygwin support



 

 

I have managed to compile owfs for Cygwin now… All
changes are committed to the CVS.

 

Hopefully I didn’t break any old support, but please
try it before releasing a new version.

 

The generated binaries are:

Owhttpd.exe

Owserver.exe

Owftpd.exe

Owdir.exe

Owread.exe

Owwrite.exe

Owpresent.exe

 

You need cygwin to run the binaries since they need
cygwin1.dll etc…

I could create a tar-package with the binaries and upload
them to the web-site if you want.

 

/Christian

 








-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Cygwin support

2006-10-12 Thread Christian Magnusson









 

I couldn’t compile it on my laptop sínce
cygwin crashed all the time…. Make and gcc failed to allocate memory and fork()
failed randomly.

When I tried to compile on a better
server, it worked without any problems.

 

It’s just straight forward to compile it…

 

./bootstrap

./configure –disable-swig

make

make install

/opt/owfs/bin/owdir.exe –s 192.168.3.1:3002
/

 

I got some errors while trying to compile
with swig and perl support, so disable that before compiling.

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 12 oktober 2006 17:51
Till:
owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Cygwin
support



 

Very impresive,
Christian.

There are some opensource windows installers that I'll try to use to package it
up.

Paul



On 10/12/06, Christian
Magnusson <[EMAIL PROTECTED]> wrote:





BTW: Binaries could be downloaded from: http://owfs.sourceforge.net/cygwin/

 

/Christian

 

 











Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] För Christian Magnusson
Skickat: den 12 oktober 2006 14:56
Till: owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] Cygwin
support





 

 

I
have managed to compile owfs for Cygwin now… All changes are committed to the CVS.

 

Hopefully
I didn't break any old support, but please try it before releasing a new
version.

 

The
generated binaries are:

Owhttpd.exe

Owserver.exe

Owftpd.exe

Owdir.exe

Owread.exe

Owwrite.exe

Owpresent.exe

 

You
need cygwin to run the binaries since they need cygwin1.dll etc…

I
could create a tar-package with the binaries and upload them to the web-site if
you want.

 

/Christian

 












-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier 
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers 





 








-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Cygwin support

2006-10-15 Thread Christian Magnusson

I never tried to read my usb-adapter with owserver before... but I noticed
that owserver and cygwin didn't find ANYTHING on the USB-busses.
5 busses are found, but no devices at all... I tried to connect my digital
camera too, and it didn't show up during the search-loop through all busses
and devices either.

Has anyone successfully read the usb-bus with libusb-win32 and cygwin?

I'm using windows XP and I always login as a user with administrative
rights, but it doesn't work for me...

/Christian



> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Roberto Spadim
> Skickat: den 14 oktober 2006 18:11
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] Cygwin support
> 
> owserver consuming too much memory, i'm using 5 ds18s20 and 2 ds18b20 with
> cache
> when i started owserver.exe mem was 5mb
> after 1 hour mem was 16mb
> maybe cache is not clean, or when updated the old value isn't removed from
> memory
> please verify,
> i'm reading all devices without pause
> owphp:
> 
>  init("172.16.1.100:1234"); // running on linux (php 172.16.0.1) and server
> on windows (172.16.1.100)
> $ow=array();
> while(1){
> for ($i=0;$i echo $ow[$i]." = ".get($ow[$i])."\n";
> }
> ?>
> 
> 
> 
> 
> 
> 
> BTW: Binaries could be downloaded from:
> http://owfs.sourceforge.net/cygwin/
> 
> 
> 
> /Christian
> 
> 
> 
> 
> 
> Från: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] För Christian
> Magnusson
> Skickat: den 12 oktober 2006 14:56
> Till: owfs-developers@lists.sourceforge.net
> Ämne: [Owfs-developers] Cygwin support
> 
> 
> 
> 
> 
> I have managed to compile owfs for Cygwin now… All changes are committed
> to
> the CVS.
> 
> 
> 
> Hopefully I didn’t break any old support, but please try it before
> releasing
> a new version.
> 
> 
> 
> The generated binaries are:
> 
> Owhttpd.exe
> 
> Owserver.exe
> 
> Owftpd.exe
> 
> Owdir.exe
> 
> Owread.exe
> 
> Owwrite.exe
> 
> Owpresent.exe
> 
> 
> 
> You need cygwin to run the binaries since they need cygwin1.dll etc…
> 
> I could create a tar-package with the binaries and upload them to the
> web-site if you want.
> 
> 
> 
> /Christian
> 
> 
> 
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: McAfee VirusScan / Atualizado em 11/10/2006 / Versão:
> 4.4.00/4871
> Proteja o seu e-mail Terra: http://mail.terra.com.br/
> 
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> 
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> _
> Descubra como mandar Torpedos Messenger do computador para o celular
> http://www.msn.com.br/artigos/maguire/default.asp
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] configure changes for Python in 2.5p4

2006-10-17 Thread Christian Magnusson

The first patch in module/perl5/perl5.m4 is fixed... it was a typo nobody
has found before.
AC_ARG_WITH(perl5, [  --with-perl5Set location of Perl
executable],[ PERLBIN="$withval"], [PERLBIN=yes])


The fix for PYLIB should not be needed... and then PYLIB should be a
directory... not a file.

Could you try the latest cvs again?

/Christian


> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Brad Clements
> Skickat: den 17 oktober 2006 17:46
> Till: owfs-developers@lists.sourceforge.net
> Ämne: [Owfs-developers] configure changes for Python in 2.5p4
> 
> Here's a patch for configure. For some reason PERL options is still using
> --with-python switch, and also, its not possible to specify PYLIB on
> configure
> command line.
> 
> I'm not really sure how to properly fix configure.
> 
> Here's my command line:
> 
>  ./configure_fixed --disable-owphp --disable-owperl --with-
> python=/usr/local/bin/python2.4
> PYLIB=/usr/local/lib/python2.4/config/libpython2.4.a
> 
> 
> And here's a context diff I needed to make the above work.
> 
> 
> *** ./configure 2006-10-04 23:05:53.0 -0400
> --- ./configure_fixed   2006-10-16 22:05:58.0 -0400
> ***
> *** 22008,22015 
>   #AS_HELP_STRING([--with-perl5=path], [Set location of Perl5
> executable]),[ PERLBIN="$withval"], [PERLBIN=yes])
> 
>   # Check whether --with-python or --without-python was given.
> ! if test "${with_python+set}" = set; then
> !   withval="$with_python"
>  PERLBIN="$withval"
>   else
> PERLBIN=yes
> --- 22008,22015 
>   #AS_HELP_STRING([--with-perl5=path], [Set location of Perl5
> executable]),[ PERLBIN="$withval"], [PERLBIN=yes])
> 
>   # Check whether --with-python or --without-python was given.
> ! if test "${with_perl+set}" = set; then
> !   withval="$with_perl"
>  PERLBIN="$withval"
>   else
> PERLBIN=yes
> ***
> *** 22487,22493 
>   #
> 
>   PYINCLUDE=
> ! PYLIB=
>   PYPACKAGE=
> 
>   #AC_ARG_WITH(python, AS_HELP_STRING([--without-python], [Disable
> Python])
> --- 22487,22493 
>   #
> 
>   PYINCLUDE=
> ! #PYLIB=
>   PYPACKAGE=
> 
>   #AC_ARG_WITH(python, AS_HELP_STRING([--without-python], [Disable
> Python])
> 
> 
> 
> --
> Brad Clements,[EMAIL PROTECTED](315)268-1000
> http://www.murkworks.com
> AOL-IM or SKYPE: BKClements
> 
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] cygwin

2006-10-18 Thread Christian Magnusson

I have fixed this problem in the CVS...

/Christian


> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Roberto Spadim
> Skickat: den 18 oktober 2006 06:02
> Till: owfs-developers@lists.sourceforge.net
> Ämne: [Owfs-developers] cygwin
> 
> can't find resolv.h?! is resolv.h an library or anything else that my
> cygwin don't have?
> 
> checking for termios.h... yes
> checking for unistd.h... (cached) yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking for stdint.h... (cached) yes
> checking features.h usability... yes
> checking features.h presence... yes
> checking for features.h... yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking resolv.h usability... no
> checking resolv.h presence... yes
> configure: WARNING: resolv.h: present but cannot be compiled
> configure: WARNING: resolv.h: check for missing prerequisite headers?
> configure: WARNING: resolv.h: see the Autoconf documentation
> configure: WARNING: resolv.h: section "Present But Cannot Be Compiled"
> configure: WARNING: resolv.h: proceeding with the preprocessor's result
> configure: WARNING: resolv.h: in the future, the compiler will take
> precedence
> configure: WARNING: ## -- ##
> configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists.  ##
> configure: WARNING: ## -- ##
> checking for resolv.h... yes
> checking linux/limits.h usability... no
> checking linux/limits.h presence... no
> checking for linux/limits.h... no
> checking linux/types.h usability... no
> checking linux/types.h presence... no
> checking for linux/types.h... no
> checking bits/netdb.h usability... no
> checking bits/netdb.h presence... no
> checking for bits/netdb.h... no
> checking bits/siginfo.h usability... no
> checking bits/siginfo.h presence... no
> checking for bits/siginfo.h... no
> configure: WARNING: SS is true
> checking for an ANSI C-conforming const... yes
> checking for off_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for stdbool.h that conforms to C99... yes
> checking for _Bool... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for unistd.h... (cached) yes
> checking vfork.h usability... no
> checking vfork.h presence... no
> checking for vfork.h... no
> checking for fork... yes
> checking for vfork... yes
> checking for working fork... yes
> checking for working vfork... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for alarm... yes
> checking for working mktime... no
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] temploggerd

2006-10-18 Thread Christian Magnusson

Sure... Now when we have owdir and owread it will be possible to make some
patches and avoid using owfs+fuse.

I will go through the code a bit and see how it could be implemented.

/Christian



> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Wizard
> Skickat: den 18 oktober 2006 21:30
> Till: owfs-developers@lists.sourceforge.net
> Ämne: [Owfs-developers] temploggerd
> 
> Message for
> 
> Christian Magnusson
> 
> Hi  is there a chance you can whip up a version of
> temploggerd to work with mysql and or direct to owserver
> 
> bash script...
> 
> 
> Thanks..
> 
> 
> Mike
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] DS18S20 incorrect readings on NSLU

2006-10-22 Thread Christian Magnusson
Title: Message









 

It might have been the
usb-timeout bug, but my guess is that the signal-quality in your 1-wire cables are
bad for some reason…

 

I have compiled 2.5p5-1
now (and uploaded to sourceforge.net), so could you try to update to the latest
version now?

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Lorenz Drack
Skickat: den 22 oktober 2006 10:03
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers]
DS18S20 incorrect readings on NSLU



 



well, additionally I've done this ...





 





1. downgraded owfs and owlib to v2.4p1-1





2. removed owcapi and owshell





 





and I still have exactly the same
problems, so I'm stumped. 2.4p1-1 previously worked.





 





have perhaps any of the motion, libfuse,
kmod-fuse, fuse-utils or ffmpeg also changed since v2.4p1-1?





 





thanks





-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille
Sent: Sunday, 22 October 2006 1:59
PM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers]
DS18S20 incorrect readings on NSLU

Hello Lorenz,

I just tried the current version -- DS18S20 seems to work fine (owhttpd) on the
standard platform.

There is a new release coming -- 2.5p5 with fixes for the DS2438 current
sensing among other things. Perhaps Christian can create a new NSLU package for
that one. I'll test it as well. 

The problem certainly isn't obvious from the symptoms you describe. Any other
clues?

Paul Alfille



On 10/21/06, Lorenz
Drack < [EMAIL PROTECTED]>
wrote: 





Hi - I'm running owfs 2.5p4-4 on the NSLU. I have 2 DS18S20
temperature sensors, one from hobby-boars and one from AAG. They both read a
constant value all the time, 127.68 & -103.25 resepectively (regardless
whether they are plugged in together or only one at a time, also regardless whether
I have several devices on the network or only 1). My DS2406 based pressure
sensor reports temperature fine. These temp sensors were previously working in
2.4p1-1 (but pressure wasn't supported in that release). Any hints on what I
may be able to do?





thanks





Lorenz






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier 
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers 





 










-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Windows release

2006-10-23 Thread Christian Magnusson








 

You forgot to include
usb-support to the binaries… J

 

Recompile it and include
the cygusb0.dll in c:\program\owfs\ too… I think this is the best…

 

If user want to activate
the libusb-win32 support (and haven’t installed cygwin), then they have
to download and install the package:

libusb-win32-filter-bin-0.1.10.1.exe

It would perhaps be
possible to check if it’s already installed before asking people to
install it…

 

Libusb-win32-filter-bin
will install:

  C:\windows\system32\libusb0.dll


  C:\windows\system32\drivers\libusb0.sys

  The
service called “LibUSB-Win32 – Daemon”

 

C:\program\owfs\cygusb0.dll
& C:\windows\system32\libusb0.dll
_might_ be different versions,
but we better hope it works for most people anyway.

 

You should also include
the driver files somewhere like:

C:\program\owfs\drivers\windows\ds9490.*

C:\program\owfs\drivers\cygwin\ds9490.*

 

/Christian

 

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 23 oktober 2006 04:57
Till: owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] Windows
release



 

It's a little raw and untested, but there is now a Windows version of
OWFS.

Thanks to the work of Christian Magnusson, OWFS compiles under Cygwin. http://www.redhat.com/services/custom/cygwin/

We use the Nullsoft NSIS installer to make a pretty nice executable.

USB does work, but see the website for details: http://www.owfs.org/index.php?page=ms-windows
A table of all ports, and capabilities is at: http://www.owfs.org/index.php?page=porting
Feedback. Big reports. Suggestions. All welcome!

Paul Alfille

-

Some other minor changes: Fix of DS2438 current measurement. Now labeled vis,
since current can't be reported without knowing the (external) resistor value. 
This system matches the properties of the other battery sensing chips: DS2720,
DS2740, DS2751/5/6, DS2760/1/2, DS2770, DS2780/1 (all long supported).








-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] Owfs and mDNSResponder for NSLU2

2006-10-25 Thread Christian Magnusson








 

I managed to port mDNSReponder-107.6 to NSLU2, and I
also compiled some new owfs-packages (ending with –mdns) which have
support for bonjour-zeroconf.

Packages are uploaded to: http://owfs.sourceforge.net/nslu2/packages/

 

There are now two different sets of packages which
could be installed. (but not at the same time)

 

owfs-mdns_2.5p5

owlib-mdns_2.5p5

owshell-mdns_2.5p5

owcapi-mdns_2.5p5

mdns-107.6

 

or you can install the smaller version without
support for bonjour-zeroconf

 

owfs_2.5p5

owlib_2.5p5

owshell_2.5p5

owcapi_2.5p5

 

 

Update to the new packages like this:

ipkg update

ipkg –recursive remove owlib

ipkg –recursive remove owshell

ipkg install owfs-mdns

ipkg install owshell-mdns

ipkg install owcapi-mdns

 

You can try to start the application like this:

# /opt/etc/init.d/S60mdns start

# owserver –fake 10

# owdir –autoserver /

 

/Christian

 

 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Fwd: [owfs - Help] DS2450 and the NSLU2 (SLUG)

2006-11-03 Thread Christian Magnusson








 

How do you read your
sensors from the NSLU2?

 

Are the grahps generated
on the actual NSLU2?

Do you read from a
mounted fuse-filesystem on the NSLU2, or are you connecting to a running
owserver on the NSLU2?

Do you use the
owshell-commands on a NSLU2 or some other remote-server?

Do you use the
Bonjour/Zeroconf feature on the NSLU2?

 

I'm just trying to figure
out if it could be a network problem (either hardware or owfs-network code),
fuse-related problem, mDNS bugs (in my quick compilation), or problem the new
owshell commands.

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 3 november 2006 12:24
Till: owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] Fwd: [owfs
- Help] DS2450 and the NSLU2 (SLUG)



 

>From the forum:
--

Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3993682
By: rob_conway


First post to this group however have been usinf owfs for a couple fo months 
and want to grow my network.  I have loaded owfs on my NSLU2
"aka SLUG" and
have a number of devices off the link.  It works great 99.9% of the
time and
am very pleased.  I log the data and sync to NTP time and display
this on a 
web page.


I was wondering if anybody else has seen the following with respect to the
DS2450
(4 ch A/D)

a/ A PIO channel sometimes, maybe once per month, change from 1 to 0 thus
disabling
the analog input channel.  I then go back into the interface (web
page) and 
change it back to 1 and all is well again.  It can happen on any of
the the
four channels however only 1 channel PIO gets changed.  I have no
scripts quering
PIO.x  I suppose a fix maybe to query the PIO.x's and set it if its
0. 

b/ The analog input reading seems very noisy ie the values change +/- 0.1 volts
on the Volt.x register ie 0-5v scale.  I have ended up doing a number
of reads
and averaging the result over a 15 minute period. 

c/ You will also see on the attached link below a spike on one of the
temperature
inputs.  This can happen very infrequent and also late in the morning
so I have
discounted any type of interference.
http://img.photobucket.com/albums/v319/rjconway/1wire.jpg


cheers

rob

__
You are receiving this email because you elected to monitor this forum. 
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=292718








-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Fwd: [owfs - Help] DS2450 and the NSLU2 (SLUG)

2006-11-04 Thread Christian Magnusson
28 S  
owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
 5220 root    928 S  
owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
 9222 root    824 S  
upnpd &>/dev/null
10012 root   1828 S   sshd: [EMAIL PROTECTED]
10014 root    568 S   -sh
10236 root    852 S   owserver
-P /opt/var/run/owserver.pid -u -p 3002
10237 root    852 S   owserver
-P /opt/var/run/owserver.pid -u -p 3002





 





 





cheers from australia





 





 





 





 





 





 







- Original Message - 





From: Christian Magnusson 





To: owfs-developers@lists.sourceforge.net






Sent: Friday, November
03, 2006 11:40 PM





Subject: Re:
[Owfs-developers] Fwd: [owfs - Help] DS2450 and the NSLU2 (SLUG)





 



 

How do you read your
sensors from the NSLU2?

 

Are the grahps generated
on the actual NSLU2?

Do you read from a
mounted fuse-filesystem on the NSLU2, or are you connecting to a running
owserver on the NSLU2?

Do you use the
owshell-commands on a NSLU2 or some other remote-server?

Do you use the
Bonjour/Zeroconf feature on the NSLU2?

 

I'm just trying to figure
out if it could be a network problem (either hardware or owfs-network code),
fuse-related problem, mDNS bugs (in my quick compilation), or problem the new
owshell commands.

 

/Christian

 

 











Från:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
För Paul Alfille
Skickat: den 3 november 2006 12:24
Till: owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] Fwd: [owfs
- Help] DS2450 and the NSLU2 (SLUG)



 

>From the forum:
--

Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3993682
By: rob_conway


First post to this group however have been usinf owfs for a couple fo months 
and want to grow my network.  I have loaded owfs on my NSLU2
"aka SLUG" and
have a number of devices off the link.  It works great 99.9% of the
time and
am very pleased.  I log the data and sync to NTP time and display
this on a 
web page.


I was wondering if anybody else has seen the following with respect to the
DS2450
(4 ch A/D)

a/ A PIO channel sometimes, maybe once per month, change from 1 to 0 thus
disabling
the analog input channel.  I then go back into the interface (web
page) and 
change it back to 1 and all is well again.  It can happen on any of
the the
four channels however only 1 channel PIO gets changed.  I have no
scripts quering
PIO.x  I suppose a fix maybe to query the PIO.x's and set it if its
0. 

b/ The analog input reading seems very noisy ie the values change +/- 0.1 volts
on the Volt.x register ie 0-5v scale.  I have ended up doing a number
of reads
and averaging the result over a 15 minute period. 

c/ You will also see on the attached link below a spike on one of the temperature
inputs.  This can happen very infrequent and also late in the morning
so I have
discounted any type of interference.
http://img.photobucket.com/albums/v319/rjconway/1wire.jpg


cheers

rob

__
You are receiving this email because you elected to monitor this forum. 
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=292718









-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642








___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers










-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Fwd: [owfs - Help] DS2450 and the NSLU2 (SLUG)

2006-11-07 Thread Christian Magnusson








 

I have updated the NSLU2
package to version 2.5p6 now… (I don’t think this will fix the
problem, but it’s the latest version anyway…)

 

/Christian

 

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Rob Conway
Skickat: den 7 november 2006 09:30
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Fwd:
[owfs - Help] DS2450 and the NSLU2 (SLUG)



 



I changed my bash script to set simultaneous then read the
voltage / Temp from cached data.  This HAS improved my "noisy"
readings by 50%.





See attached trend,  from Monday night you can see
an improvement.  The 8:00am slight dip is becaouse the sun shines on my
pressure transducer.   Don't know if its also solved my missing data
problems too early to tell yet.





 





http://img.photobucket.com/albums/v319/rjconway/litres1d.png





 





More Filtering options I am thinking about :





 





A/  I have also noticed that Volt.All  Does NOT
have the same values as Volt.A Volt.B Volt.C Volt.D.  I thought it maybe
one scan behind however they are always slightly different.  On
that basis it must be doing two conversions thus I may try and average the
Volt.All (1st value) with the Volt.A to provide some averaging which
would provide some filtering however not load my SLUG (NSLU2) too much ;





 





B/  I think a better solution maybe to cron start my
script every two minutes and the script to loop 5 times which would gather data
from 10 devices and average the data over that 5 seconds then save the results.  
Is there a recommended limit on retrieving data .. ie 1wire devices /
second.





 





Any thoughts on the above options ?





 





cheers





 







- Original Message - 





From: Paul Alfille






To: owfs-developers@lists.sourceforge.net






Sent: Monday, November
06, 2006 3:03 PM





Subject: Re:
[Owfs-developers] Fwd: [owfs - Help] DS2450 and the NSLU2 (SLUG)





 



Simultaneous uses a known
"trick" of the 1-wire system.

Normally you address a specific device before sending a command. All the other
devices drop off and stop listening.
If there is only one device on the bus, you can use the special 0x33 command
that addresses it.

The convert command for temperature is only recognized by appropriate devices,
so using 0x33 on a crowded bus will set every device listening, and all
potentially converting. Only temperature sensors will actually do anything with
the command. They will all start temperature measurement simultaneously, and
all share the same delay.

Same for voltage. (Different "convert" command.

Caveates -- needs a lot of power, so parasytic is unwise.
Can't be in different DS2409 branches.
Timing can get complex if more than one program is accessing the bus.

The other data from the devices is not affected -- but usually don't require a
significant delay.
Note the DS2438 can measure voltage on 2 channels, but not simultaneously.
Humidity measurements won't be sped up by "simultaneous".

Paul Alfille



On 11/5/06, Serg
Oskin <[EMAIL PROTECTED]>
wrote: 

It starts procedure "convert" on all devices on the bus -
hence it actually only
for values volt* and temp*.
While read from simultaneous/volt value "1" (time of it is set by
cache-options)
procedure "convert" is not started at data reading from device/volt*.
Here an 
example of my script for the program similar rrdtool:

[ -f $Base/simultaneous/temperature ] && {
 sim=`cat
$Base/simultaneous/temperature`
 if [ "$sim" =
"0" ]; then 

echo 1 >$Base/simultaneous/temperature
 fi
}
val=`cat $Base/$dev/temperature`

It allows very quickly to obtain data from such quantity of gauges:

# ls -d /mnt/1wire/28.* | wc -l
77
#

:)

Rob Conway wrote:
> Serg & Paul,
>
> I use powered devices so I have updated my script to set
> simultaneous/voltage and temp to 1 then read all device data out
> of cached data.  crontab was also starting a rrdtool trend
script at the 
> same time as my 1wire read script.  It seemed to work OK however
I put a
> sleep in my rrdtool script such that my 1wire script can complete first.
>
> Question:  does setting "simultaneous/volt & temp"
to 1 initiate a 
> reading of just the volts (I assume Volts.all & volt.x) and temp
> parameters or all data from the devices.
>
> cheers
>












-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problems

2006-11-09 Thread Christian Magnusson

Looks like you get some strange signal and pause() ends in ow_net.c.

I have changed the behavior of the SIGHUP handling... The function which
handled that signal contained a wrong format string, and I think it's better
to just ignore the signal totally.


Try the latest cvs now and add all debug output to syslog instead.

owserver --error_level=9 -p 3000 -d /dev/ttyS1
strace -f -p 

owdir -s 3000
tail -50 /var/log/messages

Does the syslog say anything of interest?

/Christian



> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Bo Hedberg
> Skickat: den 9 november 2006 21:43
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] Problems
> 
> Hello, I'd just like to report that I'm seeing exactly the same problem
> so the cause for it is not some strange settings.
> I did this (also using owfs 2.5p6) on a Debian 3.1 with kernel 2.6.8-3-
> 686.
> 
> start up the server:
> 
> [EMAIL PROTECTED]:~/owfs-2.5p6$ owserver -p 3000 -d /dev/ttyS1
> 
> trace the server process:
> 
> [EMAIL PROTECTED]:~/owfs-2.5p6$ ps ww | grep owserver
> 32403 ttyS1Ss+0:00 owserver -p 3000 -d /dev/ttyS1
> 32409 pts/2R+ 0:00 grep owserver
> [EMAIL PROTECTED]:~/owfs-2.5p6$ strace -p 32403
> Process 32403 attached - interrupt to quit
> pause(
> 
> issue some client command in another terminal:
> 
> [EMAIL PROTECTED]:~$ owdir -s 3000
> bus.0
> settings
> system
> statistics
> /10.FA5C1300
> /12.C2CF0500
> /12.ED960200
> 
> after that I get this in the first terminal:
> 
> ) = ? ERESTARTNOHAND (To be restarted)
> PANIC: attached pid 32403 exited
> 
> 
> The system is a plain vanilla installation, owfs is so far the only part
> compiled from source on it.
> 
> 
> On 11/9/06, Matt <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > Paul,
> >
> >
> >
> > I had another recent install of Debian Sarge (kernel-image-2.6.8-3-386)
> on
> > different hardware.
> >
> > The only extra packages installed are :
> >
> > Apache2, snmp, mc, ssh, autoconf, gcc, g++, make
> >
> >
> >
> > I downloaded owfs 2.5p6
> >
> > It compiles without issue and I used the same LINK device, but different
> > sensors.
> >
> >
> >
> > Compile-time options:
> >
> >   Caching is enabled
> >
> >   USB is DISABLED
> >
> >   I2C is enabled
> >
> >HA7Net is enabled
> >
> >Multithreading is enabled
> >
> > Parallel port DS1410E is enabled
> >
> > TAI8570 barometer is enabled
> >
> >  Thermocouple is enabled
> >
> >  Debug-output is enabled
> >
> > Profiling is DISABLED
> >
> >
> >
> > Module configuration:
> >
> > owfs is DISABLED
> >
> >  owhttpd is enabled
> >
> >   owftpd is enabled
> >
> > owserver is enabled
> >
> >   owcapi is enabled
> >
> > swig is DISABLED
> >
> >   owperl is DISABLED
> >
> >owphp is DISABLED
> >
> > owpython is DISABLED
> >
> >owtcl is DISABLED
> >
> >
> >
> > I ran the same tests as before..
> >
> >
> >
> > owserver in background – owdir reads once then fails
> >
> > owserver in foreground – owdir succeeds repeatedly
> >
> > owserver (foreground) + owserver (background) - owdir succeeds
> repeatedly
> > for both servers
> >
> >
> >
> > Here's what's running…
> >
> >
> >
> > 1 ?00:00:00 init
> >
> > 2 ?00:00:00 ksoftirqd/0
> >
> > 3 ?00:00:03 events/0
> >
> > 4 ?00:00:00 khelper
> >
> > 5 ?00:00:00 kacpid
> >
> >34 ?00:00:00 kblockd/0
> >
> >44 ?00:00:00 pdflush
> >
> >45 ?00:00:00 pdflush
> >
> >47 ?00:00:00 aio/0
> >
> >46 ?00:00:00 kswapd0
> >
> >   189 ?00:00:00 kseriod
> >
> >   293 ?00:00:00 kjournald
> >
> >   748 ?00:00:00 khubd
> >
> >   956 ?00:00:00 pciehpd_event
> >
> >   976 ?00:00:00 shpchpd_event
> >
> >  1591 ?00:00:00 dhclient
> >
> >  1946 ?00:00:00 syslogd
> >
> >  1949 ?00:00:00 klogd
> >
> >  1981 ?00:00:00 exim4
> >
> >  1987 ?00:00:00 inetd
> >
> >  1994 ?00:00:00 sshd
> >
> >  1997 ?00:00:00 atd
> >
> >  2000 ?00:00:00 cron
> >
> >  2005 ?00:00:00 apache2
> >
> >  2006 ?00:00:00 apache2
> >
> >  2008 ?00:00:00 apache2
> >
> >  2015 ?00:00:00 apache2
> >
> >  2078 tty1 00:00:00 getty
> >
> >  2084 tty2 00:00:00 getty
> >
> >  2085 tty3 00:00:00 getty
> >
> >  2086 tty4 00:00:00 getty
> >
> >  2087 tty5 00:00:00 getty
> >
> >  2088 tty6 00:00:00 getty
> >
> > 26330 ?00:00:00 sshd
> >
> > 26333 ?00:00:00 sshd
> >
> > 26334 pts/000:00:00 bash
> >
> > 26339 pts/000:00:00 bash
> >
> > 26350 ?00:00:00 sshd
> >
> > 26353 ?00:00:00 sshd
> >
> > 26354 pts/100:00:00 bash
> >
> > 26360 pts/100:00:00 ba

Re: [Owfs-developers] Problems

2006-11-09 Thread Christian Magnusson

In strace you have times like:
29106 send(3, "<30>Nov 10 17:00:06 OWFS[29106]:"..., 97, 0) = 97

And in syslog is some other time...
Nov 10 16:51:38 localhost OWFS[29046]: owserver dir path = /

It would be nice to have the data from the same test. Perhaps you should
send it to me only to avoid flooding to the list.

/Christian





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problems

2006-11-10 Thread Christian Magnusson

I have found some problems... and I'm updating the cvs again very soon...
You could wait a while before sending me new debug-output and try the latest
cvs when I'm done instead.

/Christian


> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Matt
> Skickat: den 10 november 2006 10:20
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] Problems
> 
> Apologies Christian.
> I only ran the second test after realising I forgot to capture the strace
> output.
> I'll reproduce syncronised results and email you directly.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Christian Magnusson
> Sent: Friday, 10 November 2006 6:06 PM
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] Problems
> 
> 
> In strace you have times like:
> 29106 send(3, "<30>Nov 10 17:00:06 OWFS[29106]:"..., 97, 0) = 97
> 
> And in syslog is some other time...
> Nov 10 16:51:38 localhost OWFS[29046]: owserver dir path = /
> 
> It would be nice to have the data from the same test. Perhaps you should
> send it to me only to avoid flooding to the list.
> 
> /Christian
> 
> 
> 
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] owserver bug

2006-11-10 Thread Christian Magnusson

I have worked with the signal handling and made some adjustments... But I
recently found out some bad free() calls in owserver/owlib.
It only occurs when I start owserver & owhttpd.
(owserver & owdir works fine!?!)

owserver --foreground --error_level=9 --fake 10,10 -p 3011
owhttpd --foreground --error_level=9 -s 3011 -p 3012

View a sensor directory and you will get some errors in owserver about:
"free(): invalid pointer 0x8b66eb8!"
And after that I can't stop the process correctly.


I don't have time to search for the problem right now, and I'm not sure if I
will have much spare time this weekend either... that's why I send an email
about it.

/Christian



(gdb)   run --foreground --error_level=9 --fake 10,10 -p 192.168.3.2:3011
Starting program: /usr/opt/owfs/bin/owserver --foreground --error_level=9
--fake 10,10 -p 192.168.3.2:3011
[Thread debugging using libthread_db enabled]
[New Thread -1084926656 (LWP 15449)]
CONNECT: Setting up Simulated (Fake) Bus Master (0)
[New Thread 24677296 (LWP 15460)]
ServerAddr: [192.168.3.2] [3011]
  DEBUG: OW_Announce: 1
  DEBUG: OW_Announce: 2
[New Thread 116980656 (LWP 15461)]
  DEBUG: OW_Announce: end
  DEBUG: Announce: 1
  DEBUG: Announce: err=0
  DEBUG: Announce: 2
[New Thread 75656112 (LWP 15462)]
  DEBUG: RegisterBack:
 DETAIL: RegisterBack ref=146173304 flags=0 error=0 name=OWFS (1-wire)
Server (3) type=_owserver._tcp. domain=local.
  DEBUG: RegisterBack: 1
  DEBUG: RegisterBack: done
  DEBUG: Announce: 3
  DEBUG: Announce: end
[New Thread 5796 (LWP 15509)]
   CALL: owserver: parse path=/10.67C6697351FF/temperature
   CALL: PARSENAME path=[/10.67C6697351FF/temperature]
  DEBUG: Get from cache sn 10 67 C6 69 73 51 FF 8D in=(nil) index=-1
size=7201904
  DEBUG: Not found in cache
 DETAIL: Checking presence of /10.67C6697351FF/temperature
  DEBUG: Add to cache sn 10 67 C6 69 73 51 FF 8D in=(nil) index=-1 size=4
   CALL: Presence message on /10.67C6697351FF/temperature bus_nr=0
  DEBUG: ParsedName_destroy /10.67C6697351FF/temperature
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=0
  DEBUG: RealHandler: done
   CALL: owserver: parse path=/10.67C6697351FF/temperature
   CALL: PARSENAME path=[/10.67C6697351FF/temperature]
  DEBUG: Get from cache sn 10 67 C6 69 73 51 FF 8D in=(nil) index=-1 size=0
  DEBUG: Found in cache
   CALL: Read message
  DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
  DEBUG: ReadHandler: sm->payload=29 sm->size=12 sm->offset=0
  DEBUG: READ_POSTPARSE /10.67C6697351FF/temperature
  DEBUG: READ_POSTPOSTPARSE /10.67C6697351FF/temperature
  DEBUG: READSEEK
  DEBUG: Get from cache sn 10 67 C6 69 73 51 FF 8D in=0x48734c index=0
size=4808336
  DEBUG: Not found in cache
  DEBUG: READSEEK2 pid=15449 not found in cache
  DEBUG: FS_parse_readfake: (temperature) 36.4784
free(): invalid pointer 0x8b66eb8!
  DEBUG: Add to cache sn 10 67 C6 69 73 51 FF 8D in=0x48734c index=0 size=12
  DEBUG: READ_POSTPOSTPARSE: /10.67C6697351FF/temperature return 12
  DEBUG: READ_POSTPARSE /10.67C6697351FF/temperature return 12
  DEBUG: Read message done retbuffer=0x8b66ea8
  DEBUG: ParsedName_destroy /10.67C6697351FF/temperature
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=12
  DEBUG: RealHandler: done
[New Thread 45513648 (LWP 15511)]
   CALL: owserver: parse path=/uncached/10.67C6697351FF/temperature
   CALL: PARSENAME path=[/uncached/10.67C6697351FF/temperature]
  DEBUG: Get from cache sn 10 67 C6 69 73 51 FF 8D in=(nil) index=-1
size=8522656
  DEBUG: Found in cache
   CALL: Read message
  DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
  DEBUG: ReadHandler: sm->payload=38 sm->size=12 sm->offset=0
  DEBUG: READ_POSTPARSE /uncached/10.67C6697351FF/temperature
  DEBUG: READ_POSTPOSTPARSE /uncached/10.67C6697351FF/temperature
  DEBUG: READSEEK
  DEBUG: READSEEK2 pid=15449 not found in cache
  DEBUG: FS_parse_readfake: (temperature) 51.3401
  DEBUG: Add to cache sn 10 67 C6 69 73 51 FF 8D in=0x48734c index=0 size=12
  DEBUG: READ_POSTPOSTPARSE: /uncached/10.67C6697351FF/temperature return 12
  DEBUG: READ_POSTPARSE /uncached/10.67C6697351FF/temperature return 12
  DEBUG: Read message done retbuffer=0x8b66e98
  DEBUG: ParsedName_destroy /uncached/10.67C6697351FF/temperature
free(): invalid pointer 0x8b66ea8!
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=12
  DEBUG: RealHandler: done
Cannot get thread event message: generic error



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/

Re: [Owfs-developers] owserver bug

2006-11-11 Thread Christian Magnusson








 

The segfault is one of
the problem… It only segfaults after you have read a device-page.

 

owhttpd --foreground
--error_level=9 -s 3011 -p 3012

owserver --foreground
--error_level=9 --fake 10,10 -p 3011

kill –INT 

works perfect

 

owhttpd --foreground
--error_level=9 -s 3011 -p 3012

owserver --foreground
--error_level=9 --fake 10,10 -p 3011

lynx –source http://localhost:3012/uncached/

kill –INT 

works perfect..

 

owhttpd --foreground
--error_level=9 -s 3011 -p 3012

owserver --foreground
--error_level=9 --fake 10,10 -p 3011

lynx –source http://172.20.1.101:3012/10.67C6697351FF

kill –INT 

owserver segfaults since the
memory/stack is corrupt.

 

 

I’m playing the
Swedish championship in pinball this weekend, and I qualified for the finals
today. Will not have home to look at the bug until Monday… Have you tried
to trace down the failing free() calls?

 

/Christian

 

 











Från:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 11 november 2006
05:33
Till:
owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers]
owserver bug



 

Christian,

I can't replicate this error. (Current CVS version, AMD64 platform).

Used your example invokation exactly, except didn't run gdb.

I assume you featured only a part of the output, my listing starts with
address, not temperature. 

I do notice a segfault whenever I Cntr-C out of
owserver. That isn't the problem you're noting. owhttpd exits
gracefully.

I'll try running wget on owhttpd overnight to see if this is an intermittent
problem. 

Paul Alfille





On 11/10/06, Christian
Magnusson <[EMAIL PROTECTED]> wrote:


I have worked with the signal handling and made some adjustments... But I
recently found out some bad free() calls in owserver/owlib.
It only occurs when I start owserver & owhttpd.
(owserver & owdir works fine!?!) 

owserver --foreground --error_level=9 --fake 10,10 -p 3011
owhttpd --foreground --error_level=9 -s 3011 -p 3012

View a sensor directory and you will get some errors in owserver about:
"free(): invalid pointer 0x8b66eb8!" 
And after that I can't stop the process correctly.


I don't have time to search for the problem right now, and I'm not sure if I
will have much spare time this weekend either... that's why I send an email 
about it.

/Christian



(gdb)   run --foreground --error_level=9 --fake 10,10 -p 192.168.3.2:3011
Starting program: /usr/opt/owfs/bin/owserver --foreground --error_level=9 
--fake 10,10 -p 192.168.3.2:3011
[Thread debugging using libthread_db enabled]
[New Thread -1084926656 (LWP 15449)]
CONNECT: Setting up Simulated (Fake) Bus Master (0)
[New Thread 24677296 (LWP 15460)]
ServerAddr: [192.168.3.2] [3011]
  DEBUG: OW_Announce: 1
  DEBUG: OW_Announce: 2
[New Thread 116980656 (LWP 15461)]
  DEBUG: OW_Announce: end 
  DEBUG: Announce: 1
  DEBUG: Announce: err=0
  DEBUG: Announce: 2
[New Thread 75656112 (LWP 15462)]
  DEBUG: RegisterBack:
DETAIL: RegisterBack ref=146173304 flags=0 error=0 name=OWFS (1-wire)
Server (3) type=_owserver._tcp. domain=local. 
  DEBUG: RegisterBack: 1
  DEBUG: RegisterBack: done
  DEBUG: Announce: 3
  DEBUG: Announce: end
[New Thread 5796 (LWP 15509)]
   CALL: owserver: parse path=/10.67C6697351FF/temperature
   CALL: PARSENAME path=[/10.67C6697351FF/temperature] 
  DEBUG: Get from cache sn 10 67 C6 69 73 51 FF 8D in=(nil) index=-1
size=7201904
  DEBUG: Not found in cache
DETAIL: Checking presence of /10.67C6697351FF/temperature
  DEBUG: Add to cache sn 10 67 C6 69 73 51 FF 8D in=(nil) index=-1
size=4 
   CALL: Presence message on /10.67C6697351FF/temperature bus_nr=0
  DEBUG: ParsedName_destroy /10.67C6697351FF/temperature
  DEBUG: RealHandler: FS_ParsedName_destroy done
  DEBUG: RealHandler: cm.ret=0
  DEBUG: RealHandler: done 
   CALL: owserver: parse path=/10.67C6697351FF/temperature
   CALL: PARSENAME path=[/10.67C6697351FF/temperature]
  DEBUG: Get from cache sn 10 67 C6 69 73 51 FF 8D in=(nil) index=-1
size=0
  DEBUG: Found in cache 
   CALL: Read message
  DEBUG: ReadHandler: cm->payload=0 cm->size=0 cm->offset=0
  DEBUG: ReadHandler: sm->payload=29 sm->size=12
sm->offset=0
  DEBUG: READ_POSTPARSE /10.67C6697351FF/temperature 
  DEBUG: READ_POSTPOSTPARSE /10.67C6697351FF/temperature
  DEBUG: READSEEK
  DEBUG: Get from cache sn 10 67 C6 69 73 51 FF 8D in=0x48734c
index=0
size=4808336
  DEBUG: Not found in cache
  DEBUG: READSEEK2 pid=15449 not found in cache 
  DEBUG: FS_parse_readfake: (temperature) 36.4784
free(): invalid pointer 0x8b66eb8!
  DEBUG: Add to cache sn 10 67 C6 69 73 51 FF 8D in=0x48734c index=0
size=12
  DEBUG: READ_POSTPOSTPARSE: /10.67C6697351FF/temperature return 12 
  DEBUG: READ_POSTPARSE /10.67C6697351FF/temperature return 12
  DEBUG: Read message done retbuffer=0x8b66ea8
  DEBUG: ParsedName_destroy /10.67C6697351FF/temperature
  DEBUG: RealHandler: FS_ParsedName_destroy done 
  DEBUG: RealHandler: cm.ret=12
  D

Re: [Owfs-developers] Problems

2006-11-15 Thread Christian Magnusson
 

Yes… Sorry for not telling you to try the latest version… My guess is that
owserver received some signal and it wasn’t handled correctly for you.

I think my latest patches will fix this problem and it might work now.

 

Download and try the latest cvs or a late daily build at:

 

http://owfs.sourceforge.net/daily/owfs-2006-11-15.tar.gz
<http://owfs.sourceforge.net/daily/owfs-2006-11-15.tar.gz> 

 

/Christian

 

 

  _  

Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Matt
Skickat: den 15 november 2006 10:48
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Problems

 

Please do let me know if I can help test.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: Saturday, 11 November 2006 1:21 PM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problems

 

Beautiful work, Christian, on rather subtle problems. Signal handling in
multithreaded client-server sections.

Paul Alfille

On 11/10/06, Christian Magnusson <[EMAIL PROTECTED]> wrote:


I have found some problems... and I'm updating the cvs again very soon... 
You could wait a while before sending me new debug-output and try the latest
cvs when I'm done instead.

/Christian


> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Matt
> Skickat: den 10 november 2006 10:20 
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] Problems
>
> Apologies Christian.
> I only ran the second test after realising I forgot to capture the strace 
> output.
> I'll reproduce syncronised results and email you directly.
>
>
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Christian Magnusson
> Sent: Friday, 10 November 2006 6:06 PM 
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] Problems
>
>
> In strace you have times like:
> 29106 send(3, "<30>Nov 10 17:00:06 OWFS[29106]:"..., 97, 0) = 97 
>
> And in syslog is some other time...
> Nov 10 16:51:38 localhost OWFS[29046]: owserver dir path = /
>
> It would be nice to have the data from the same test. Perhaps you should
> send it to me only to avoid flooding to the list. 
>
> /Christian
>
>
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security? 
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
> - 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
&kid=120709&bid=263057&dat=121642 
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Using Tomcat but need to do more? Need to support web services, security? 
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Need for Speed... (scanning speed)

2006-11-19 Thread Christian Magnusson
 

Does the same error/bug exist for ow_ds9097U.c ?

On my WRT54G router I get really bad search time. 15 devices are listed in
minimum 3.3seconds (owserver + owfs). 100 loops will take about 5 minutes!

 

/Christian

 

 

[EMAIL PROTECTED]:~# cat /tmp/1wire/bus.0/system/adapter/name.ALL 

DS9097U

[EMAIL PROTECTED]:~# cat apa.sh

#!/bin/sh

for i in 1 2 3 4 5 6 7 8 9 10 ; do ls /tmp/1wire/uncached ; done

[EMAIL PROTECTED]:~# time -v ./apa.sh 

10.061847000800  10.5D1947000800  10.E2C746000800  alarm

10.1A9246000800  10.6D015800  10.E54347000800  bus.0

10.233B4800  10.762047000800  1F.7DC20200  simultaneous

10.2BD346000800  10.A2284800  FF.71020100

10.4D8746000800  10.B3E166000800  FF.72020100

…(repeated 10 times)

   Command being timed: "./apa.sh"

User time (seconds): 0.10

System time (seconds): 0.19

Percent of CPU this job got: 0%

Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 37.17s

Average shared text size (kbytes): 0

Average unshared data size (kbytes): 0

Average stack size (kbytes): 0

Average total size (kbytes): 0

Maximum resident set size (kbytes): 0

Average resident set size (kbytes): 0

Major (requiring I/O) page faults: 258

Minor (reclaiming a frame) page faults: 417

Voluntary context switches: 0

Involuntary context switches: 0

Swaps: 0

File system inputs: 0

File system outputs: 0

Socket messages sent: 0

Socket messages received: 0

Signals delivered: 0

Page size (bytes): 4096

Exit status: 0

 

 

 

 

  _  

Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 19 november 2006 00:54
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Need for Speed... (scanning speed)

 

Ahha!

It looks like a logic error -- if no device is found, the code still tests
for a CRC error in the serial number, and probably asks for retries.

Fixed in the CVS.

Paul

On 11/18/06, Paul Alfille <[EMAIL PROTECTED]> wrote:

It will take some looking (?check stats?) but I really suspect the problem
is with a timeout waiting for a response with no devices. Can you compare
0,1,2 devices on the bus?

Paul

On 11/18/06, Jan Kandziora <[EMAIL PROTECTED]> wrote:

Am Samstag, 18. November 2006 22:52 schrieb Paul Alfille:
> That's not good.
>
If 160ms/scan is the worst time you measured, it means there's hope I don't
need to change parts of the machine design. Scanning locks connected to an 
USB adaptor is quite faster (at least on my development PC), but the machine
should use the DS2482-800 instead.

I will setup a stable measurement environment on the actual platform around
next wednesday. 


> If we can't resolve it this way, we may have to add a special "file" that
> checks for ANY device on the bus rapidly.
>
Hm. I don't understand where the difference would be. Could you explain? 

My idea was, the problem lies somewhere in the timing of onewire or i2c, or
in
the timing requirements of the host OS. To achieve a rapid scan of a
(sub)bus, one has to issue the "triplet" command rapidly. This could exhaust

the process' timeslice and such, the owserver etc. is getting "niced". Maybe
a static priority for owserver helps? I haven't checked so far.

Kind regards

Jan
--
Alles Schwere kommt von oben... 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.php

&p=sourceforge&CID=DEVDEV 
___ 
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
 

 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problems

2006-11-23 Thread Christian Magnusson

Hi again Matt,

I have made some more change/cleanup in both the signal-handling and
threads in ow_net now. Check out the latest cvs in a few minutes or
hours when the anonymous cvs is updated.

The SIGHUP signal you got was generated by the kernel! (no user
application and general exception from libc). I'm not sure why, but
could it be something like selinux which cause this?

Can you test something like this... and then look at the error-counters
(if owserver still works)

owserver -d /dev/ttyS0 --error_level=9 -p 3000
owdir -p 3000 /uncached/
(does owserver still die?)
owdir -p 3000 /uncached/


owfs -s 3000 /tmp/1wire
grep -v " 0" /tmp/1wire/bus.0/statistics/errors/*

/Christian



On Mon, 2006-11-20 at 13:59 +0100, Christian Magnusson wrote:
> Your system obviously send a SIGHUP to your owserver process for some
> reason? It's catched in the main-process and ignores it right now.
> 
> > Nov 16 12:32:53 localhost OWFS[19068]: Signal handler for 1, errno 0, code
> > 128, pid 0
> 
> The strange thing is that info->si_pid = 0... I'm not sure why it's like
> this, but I'll make some more experiments and see if I can block the SIGHUP
> signal in some other ways. It might still be some thread which doesn't
> handle SIGHUP and dies at that point.
> 
> FS_read_postpostparse/FS_r_given_bus seem to return -22 (EINVAL) during the
> failed read, and Paul might have some idea when this occurs.
> 
> /Christian
> 
> 
> > -Ursprungligt meddelande-
> > Från: [EMAIL PROTECTED] [mailto:owfs-
> > [EMAIL PROTECTED] För Matt
> > Skickat: den 20 november 2006 12:06
> > Till: owfs-developers@lists.sourceforge.net
> > Ämne: Re: [Owfs-developers] Problems
> > 
> > Sorry, I thought I had posted my results.
> > No, the latest owserver didn't work, I get one result, then no results.
> > The owserver process keep running, doesn't quit like with the previous
> > build. (<13102006).
> > 
> > Below is the results for a successful read, then a failed read.
> > 
> 
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] bug...

2006-11-24 Thread Christian Magnusson
 

Paul,

 

I just found a bug. It's when owserver have two adapters, owfs will hang
hard when browsing the bus-directories.

It's in the ow_parsename.c CONNINLOCK which isn't released when it returns
parse_error.

We have to allow any "bus.x" when it comes from a remote-server. We can't
compare it with "indevices". 

 

I have made a fix in the CVS, and I think it works for all cases now. Adding
"remote" as input to Parse_Bus().

 

 

 

owserver -foreground -error_level=9 -fake 10,10 -p 4000

owfs -foreground -error_level=9 -s 4000 /tmp/1wire

ls -l /tmp/1wire/uncached/

(works)

ls -l /tmp/1wire/uncached/bus.0/

(works)

ls -l /tmp/1wire/uncached/bus.0/

(works)

 

 

owserver -foreground -error_level=9 -fake 10,10 -fake 28,28 -p 4000

owfs -P /tmp/owfs.pid -foreground -error_level=9 -s 4000 /tmp/1wire

ls -l /tmp/1wire/uncached/

(works)

ls -l /tmp/1wire/uncached/bus.0/

(returns an empty directory)

ls -l /tmp/1wire/uncached/bus.0/

(owfs hangs hard.)

kill -9 `cat /tmp/owfs.pid`

fusermount -u /tmp/1wire2

 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problems

2006-11-25 Thread Christian Magnusson

Look at the errors counter in /tmp/1wire/bus.0/statistics/errors/*
After owserver fails to read.

My guess is that your kernel denies the access to the serial port or
something, and then tries to kill the process.

Where can I download your debian sarge version? It would be interesting to
try it in vmware and see if it's possible to get the same error.

There is a new debian version at:
http://cdimage.debian.org/cdimage/etch_di_rc1/i386/iso-cd/
but I guess it's not this you have...

Is it version 3.1 you have?
http://cdimage.debian.org/cdimage/archive/3.1_r0/


/Christian


> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Matt
> Skickat: den 25 november 2006 04:26
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] Problems
> 
> Thanks Christian
> 
> Sorry for the delay, cvs doesn't happen from work, so had to wait.
> 
> It didn’t work though, owserver stays resident, but the second owdir
> doesn't
> show any devices.
> I'll snag the syslog and post it later.
> 
> 
> 
> -Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Christian Magnusson
> Sent: Friday, 24 November 2006 7:24 AM
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] Problems
> 
> 
> Hi again Matt,
> 
> I have made some more change/cleanup in both the signal-handling and
> threads in ow_net now. Check out the latest cvs in a few minutes or
> hours when the anonymous cvs is updated.
> 
> The SIGHUP signal you got was generated by the kernel! (no user
> application and general exception from libc). I'm not sure why, but
> could it be something like selinux which cause this?
> 
> Can you test something like this... and then look at the error-counters
> (if owserver still works)
> 
> owserver -d /dev/ttyS0 --error_level=9 -p 3000
> owdir -p 3000 /uncached/
> (does owserver still die?)
> owdir -p 3000 /uncached/
> 
> 
> owfs -s 3000 /tmp/1wire
> grep -v " 0" /tmp/1wire/bus.0/statistics/errors/*
> 
> /Christian
> 
> 
> 
> On Mon, 2006-11-20 at 13:59 +0100, Christian Magnusson wrote:
> > Your system obviously send a SIGHUP to your owserver process for some
> > reason? It's catched in the main-process and ignores it right now.
> >
> > > Nov 16 12:32:53 localhost OWFS[19068]: Signal handler for 1, errno 0,
> code
> > > 128, pid 0
> >
> > The strange thing is that info->si_pid = 0... I'm not sure why it's like
> > this, but I'll make some more experiments and see if I can block the
> SIGHUP
> > signal in some other ways. It might still be some thread which doesn't
> > handle SIGHUP and dies at that point.
> >
> > FS_read_postpostparse/FS_r_given_bus seem to return -22 (EINVAL) during
> the
> > failed read, and Paul might have some idea when this occurs.
> >
> > /Christian
> >
> >
> > > -Ursprungligt meddelande-
> > > Från: [EMAIL PROTECTED] [mailto:owfs-
> > > [EMAIL PROTECTED] För Matt
> > > Skickat: den 20 november 2006 12:06
> > > Till: owfs-developers@lists.sourceforge.net
> > > Ämne: Re: [Owfs-developers] Problems
> > >
> > > Sorry, I thought I had posted my results.
> > > No, the latest owserver didn't work, I get one result, then no
> results.
> > > The owserver process keep running, doesn't quit like with the previous
> > > build. (<13102006).
> > >
> > > Below is the results for a successful read, then a failed read.
> > >
> >
> >
> >
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
&

Re: [Owfs-developers] simultaneous fixed

2006-11-26 Thread Christian Magnusson

Great...

I have compiled new openwrt and nslu2 packages with the new cache and
simultaneous fixes.

/Christian


On Sat, 2006-11-25 at 22:18 -0500, Paul Alfille wrote:
> Fixed (I think) the function of simultaneous in the current CVS
> version.
> 
> Also improved cache handling, especially for owserver designs.
> 
> I'd like to figure out DS2482 directory problem before the next
> (2.5p7) release. 
> 
> 
> Paul Alfille
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___ Owfs-developers mailing list 
> Owfs-developers@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] owshell and owhttpd

2006-11-26 Thread Christian Magnusson

We still have the text-support in owhttpd. I guess the xml-support will be
implemented exactly the same...

/Christian


[EMAIL PROTECTED] root]# telnet 192.168.3.2 
Trying 192.168.3.2...
Connected to 192.168.3.2.
Escape character is '^]'.
GET /text/

HTTP/1.0 200 OK
Date: Mon, 27 Nov 2006 07:09:25 GMT
Server: owhttpd
Last-Modified: Mon, 27 Nov 2006 07:09:25 GMT
Content-Type: text/plain

structure structure "directory"
bus.0 bus.0 "directory"
uncached uncached "directory"
settings settings "directory"
system system "directory"
statistics statistics "directory"
10.A2284800 DS18S20 "1-wire chip"
10.E2C746000800 DS18S20 "1-wire chip"
10.1A9246000800 DS18S20 "1-wire chip"
10.061847000800 DS18S20 "1-wire chip"
10.762047000800 DS18S20 "1-wire chip"
10.E54347000800 DS18S20 "1-wire chip"
10.4D8746000800 DS18S20 "1-wire chip"
10.6D015800 DS18S20 "1-wire chip"
10.5D1947000800 DS18S20 "1-wire chip"
10.233B4800 DS18S20 "1-wire chip"
10.B3E166000800 DS18S20 "1-wire chip"
10.2BD346000800 DS18S20 "1-wire chip"
1F.7DC20200 DS2409 "1-wire chip"
FF.72020100 LCD "1-wire chip"
FF.71020100 LCD "1-wire chip"
alarm alarm "directory"
simultaneous simultaneous "1-wire chip"
Connection closed by foreign host.




> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Roberto Spadim
> Skickat: den 27 november 2006 03:25
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] owshell and owhttpd
> 
> the most used style for html data is:
> javascript array (very usefull with AJAX or frame code):
> var variable={ 'blablbal' : 'value'};
> 
> 
> GET string (very usefull with PHP, just parse_str($result, $matches);)
> variable=value&variable2=value2
> 
> 
> XML (use with anything...)
> 
> value
> 
> 
> i think that any one of this types could help
> the other style is today implemented, human readable :)
> any improvement could be done in owhttpd part of code, just look at C
> code and change, i will work a little on it
> bye
> 
> 
> Matt escreveu:
> > What about just adding a top level folder for xml data?
> > http://:/xml/uncached/
> >
> > 
> > 1034C8020108000C
> > 0C
> > C2
> > 10
> > C8020108000C
> > 
> > NO
> > YES
> > 0C00080102C83410
> > 00080102C834
> > 
> > 26
> > YES
> > DS18S20
> > 
> >
> > Or cvs
> > http://:/cvs/uncached/
> >
> Address,crc8,die,family,id,locator,power,present,r_address,r_id,r_locator,
> te
> > mperature,trimvalid,type
> >
> 1034C8020108000C,0C,C2,10,C8020108000C,,NO,YES,0C00080102C
> 83
> > 410,00080102C834,,26,YES,DS18S20
> >
> > Or some sort of simple template system.
> > %address%,%temperature%
> > Owhttpd -s 3000 -p 3001 -t mytemplate.cfg
> > http://:/mytemplate/uncached/
> > 1034C8020108000C,26
> >
> >
> > It's not really what you suggested, but it's written now so I'll post
> it.
> >
> > 
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Paul
> > Alfille
> > Sent: Sunday, 26 November 2006 2:29 PM
> > To: owfs-developers@lists.sourceforge.net
> > Subject: [Owfs-developers] owshell and owhttpd
> >
> > I'd like some comments on allowing the owshell routines (owdir, owread,
> > owwrite, owpresent) to read owhttpd as well as owserver. That would make
> > "web-scraping" owhttpd easier for scripts, and allow network use across
> > firewalls that only allow web traffic.
> >
> > My thought is to have the program figure out which protocol to use
> > transparently.
> >
> > Paul Alfille
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> > Esta mensagem foi verificada pelo E-mail Protegido Terra.
> > Scan engine: McAfee VirusScan / Atualizado em 24/11/2006 / Versão:
> 4.4.00/4904
> > Proteja o seu e-mail Terra: http://mail.terra.com.br/
> >
> >
> >
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Ca

Re: [Owfs-developers] simultaneous fixed

2006-11-27 Thread Christian Magnusson

I copmpiled a new version owfs_2.5p7-2_armeb.ipk with the latest cache and
simultaneous changes.

http://owfs.sourceforge.net/nslu2/packages/

Paul has made some more changes after my build, but they fix problems with
DS1982U, DS2502U and link-adapter.
http://owfs.sourceforge.net/statcvs/commit_log.html


/Christian



> -Ursprungligt meddelande-
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Rob Conway
> Skickat: den 27 november 2006 08:26
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] simultaneous fixed
> 
> Does this also mean there is a new version (CVS) for the Linksys NSLU2 ?
> 
> 
> - Original Message -
> From: "Jerry Scharf" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, November 27, 2006 4:17 AM
> Subject: Re: [Owfs-developers] simultaneous fixed
> 
> 
> > Paul Alfille wrote:
> >> Fixed (I think) the function of simultaneous in the current CVS
> version.
> >>
> >> Also improved cache handling, especially for owserver designs.
> >>
> >> I'd like to figure out DS2482 directory problem before the next
> >> (2.5p7) release.
> >>
> >>
> >> Paul Alfille
> >>
> > Paul,
> >
> > Thanks so much for the fix. Latest CVS worked on my system as well.
> >
> > I'm revamping my house control system written in python. Next owfs thing
> > is to move to owpython from owfs. I'll run owfs still just to have a
> > quick way to look at things. I am also moving it to be backed by
> > postgresql (that's about 50% done.)
> >
> > jerry
> >
> > [EMAIL PROTECTED]:~$ time for i in /var/1wire/mount/28*; do cat
> > $i/temperature; done 21.5625 25.0625 23.4375 38.9375
> > 25.3125 36.5625   35 39.1875 24.5625 34.1875
> > 36.375 36.9375 40.0625  32.0625  35.125 23.8125
> > 34.375 25.6875 25.9375 23.9375 12.4375
> > 34.5625  23  39.62534.5  34.125  24.625
> > 39.9375 37.1875 34.6875   12.75 34.8125 23.5625
> > 24.9375 24.8125
> > real0m45.928s
> > user0m0.204s
> > sys 0m0.084s
> > [EMAIL PROTECTED]:~$ echo 1 > /var/1wire/mount/simultaneous/temperature;time
> > for i in /var/1wire/mount/28*; do cat $i/temperature; done
> > 21.5625 25.0625 23.4375 38.9375 25.3125
> > 36.5625 35.0625  39.12524.5 34.1875  36.375
> > 36.875 40.0625  32.0625 35.1875 23.8125 34.3125
> > 25.6875  85  85 12.4375 34.5625  23
> > 39.5625 34.5625  34.125 24.5625 39.9375  37.125
> > 34.625 12.8125   34.75 23.5625   24.875  24.875
> > real0m8.689s
> > user0m0.264s
> > sys 0m0.028s
> >
> >
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] rand() bug for cygwin

2006-11-30 Thread Christian Magnusson

I fixed a bug for cygwin... For some reason the seed is reset in cygwin,
and rand() always return 0 at the first call in every new thread. This
resulted into temperature==0 if you read a fake temperature device.

I also changed the exit-value for owdir, owread, owpresent and owwrite
too. They exits with 1 on error and 0 otherwise now.

/Christian



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problems compiling CVS

2006-12-04 Thread Christian Magnusson

Which python version do you have... Can you check with "python -V"...

Do you have the python module "distutils" on your computer?

ls -l /usr/lib/python*/distutils/__init__.py
ls -l /usr/lib/python*/distutils/core.py
ls -l /usr/lib/python*/distutils/extension.py

/Christian



On Mon, 2006-12-04 at 16:22 +0100, Jan Kandziora wrote:
> Hi all,
> 
> I have a problem compiling the last week's CVS (owfs-2.5p7) with owtcl 
> support. I always get an error if SWIG is enabled, and disabling it disables 
> owtcl, too. Here's what I tried:
> 
> $ aclocal && autoheader && autoconf && libtoolize -f -c && automake -a -c
> $ ./configure --disable-perl --disable-python
> $ make
> .
> .
> .
> Making all in swig
> make[2]: Entering directory `/vault/1/Software/sources/owfs/module/swig'
> Making all in perl5
> make[3]: Entering directory `/vault/1/Software/sources/owfs/module/swig/perl5'
> perl Makefile.PL MAKEFILE=Makefile.perl
> Warning: -L../../owlib/src/c/.libs changed to 
> -L/vault/1/Software/sources/owfs/module/swig/perl5/../../owlib/src/c/.libs
> Writing Makefile.perl for OW
> /usr/bin/swig -perl5 -o ow_wrap.c ../ow.i
> make -fMakefile.perl
> make[4]: Entering directory `/vault/1/Software/sources/owfs/module/swig/perl5'
> Skip blib/lib/OW.pm (unchanged)
> gcc -c  -I../../../src/include -I../../owlib/src/include  -D_REENTRANT 
> -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686 
> -fmessage-length=0 -Wall -g -Wall -pipe   -DVERSION=\"2.5p7\" 
> -DXS_VERSION=\"2.5p7\" -fPIC 
> "-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE"  -DSKIP_SEARCH_H 
> -DHAVE_CONFIG_H ow_wrap.c
> ow_wrap.c: In function `boot_OW':
> ow_wrap.c:1163: warning: unused variable `items'
> ow_wrap.c: At top level:
> ow_wrap.c:183: warning: `SWIG_Perl_TypeDynamicCast' defined but not used
> ow_wrap.c:195: warning: `SWIG_Perl_TypeName' defined but not used
> ow_wrap.c:201: warning: `SWIG_Perl_TypeQuery' defined but not used
> ow_wrap.c:487: warning: `SWIG_Perl_ConvertPtr' defined but not used
> ow_wrap.c:577: warning: `SWIG_Perl_NewPointerObj' defined but not used
> ow_wrap.c:596: warning: `SWIG_Perl_ConvertPacked' defined but not used
> ow_wrap.c:619: warning: `SWIG_Perl_SetErrorSV' defined but not used
> ow_wrap.c:624: warning: `SWIG_Perl_SetErrorf' defined but not used
> ow_wrap.c:988: warning: `swig_magic_readonly' defined but not used
> Running Mkbootstrap for OW ()
> chmod 644 OW.bs
> rm -f blib/arch/auto/OW/OW.so
> LD_RUN_PATH="/vault/1/Software/sources/owfs/module/swig/perl5/../../owlib/src/c/.libs:/usr/lib"
>  
> cc  -shared -Wl,-L../../owlib/src/c/.libs -Wl,-rpath=/opt/owfs/lib ow_wrap.o  
> -o blib/arch/auto/OW/OW.so   
> -L/vault/1/Software/sources/owfs/module/swig/perl5/../../owlib/src/c/.libs 
> -low -lpthread -ldl -lusb
> chmod 755 blib/arch/auto/OW/OW.so
> cp OW.bs blib/arch/auto/OW/OW.bs
> chmod 644 blib/arch/auto/OW/OW.bs
> make[4]: Leaving directory `/vault/1/Software/sources/owfs/module/swig/perl5'
> make[3]: Leaving directory `/vault/1/Software/sources/owfs/module/swig/perl5'
> Making all in python
> make[3]: Entering directory 
> `/vault/1/Software/sources/owfs/module/swig/python'
> Making all in ow
> make[4]: Entering directory 
> `/vault/1/Software/sources/owfs/module/swig/python/ow'
> make[4]: Für das Ziel »all« ist nichts zu tun.
> make[4]: Leaving directory 
> `/vault/1/Software/sources/owfs/module/swig/python/ow'
> make[4]: Entering directory 
> `/vault/1/Software/sources/owfs/module/swig/python'
> /usr/bin/swig -python -o ow_wrap.c ../ow.i
> python setup.py build
> Traceback (most recent call last):
>   File "setup.py", line 28, in ?
> from distutils.core import setup, Extension
> ImportError: No module named distutils.core
> make[4]: *** [OW.py] Fehler 1
> make[4]: Leaving directory `/vault/1/Software/sources/owfs/module/swig/python'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory `/vault/1/Software/sources/owfs/module/swig/python'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/vault/1/Software/sources/owfs/module/swig'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/vault/1/Software/sources/owfs/module'
> make: *** [all-recursive] Fehler 1
> $
> 
> 
> What's wrong?
> 
> Kind regards
> 
>   Jan
> 
> -- 
> Even more amazing was the realization that God has internet access.
> I wonder if He has a full newsfeed?
>   -- Matt Welsh
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/list

Re: [Owfs-developers] Problems compiling CVS

2006-12-05 Thread Christian Magnusson
Accoording to your include-paths, ENABLE_OWPHP is set and PHPINC is NOT set
for some reason!?!

 

This should not be possible… since configure.ac sets ENABLE_OWPHP=”false” if
PHPINC is empty.

PHPINC is normally set to something like

PHPINC = “-I/usr/include/php –I/usr/include/php/main –I/usr/include/php/TSRM
–I/usr/include/php/Zend”

 

Could you look in the generated Makefile for these variables?

 

grep PHPINC  owfs/module/swig/php/Makefile

grep ENABLE_OWPHP owfs/module/swig/php/Makefile

 

/Christian

 

 

  _  

Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 5 december 2006 14:32
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Problems compiling CVS

 

Just tested. I fingered the wrong man!
It's PHP that get's confused by zend.

Making all in php
make[3]: Entering directory `/home/paul/owfs/module/swig/php'
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../../../src/include-fexceptions -I.. -I../../../src/include
-I../../../module/owlib/src/include -D_FILE_OFFSET_BITS=64  -g -O2 -pthread
-MT ow_wrap.lo -MD -MP -MF ".deps/ow_wrap.Tpo" -c -o ow_wrap.lo ow_wrap.c; \

then mv -f ".deps/ow_wrap.Tpo" ".deps/ow_wrap.Plo"; else rm -f
".deps/ow_wrap.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -fexceptions -I..
-I../../../src/include -I../../../module/owlib/src/include
-D_FILE_OFFSET_BITS=64 -g -O2 -pthread -MT ow_wrap.lo -MD -MP -MF
.deps/ow_wrap.Tpo -c ow_wrap.c  -fPIC -DPIC -o .libs/ow_wrap.o 
ow_wrap.c:496:18: error: zend.h: No such file or directory
ow_wrap.c:497:22: error: zend_API.h: No such file or directory
ow_wrap.c:498:17: error: php.h: No such file or directory
ow_wrap.c: In function 'SWIG_SetPointerChar': 
ow_wrap.c:565: warning: assignment makes pointer from integer without a cast
ow_wrap.c: At top level:
ow_wrap.c:571: error: syntax error before '*' token
ow_wrap.c: In function 'SWIG_ZTS_SetPointerZval':
ow_wrap.c:574: error: 'type' undeclared (first use in this function) 
ow_wrap.c:574: error: (Each undeclared identifier is reported only once
ow_wrap.c:574: error: for each function it appears in.)
ow_wrap.c:575: error: 'E_ERROR' undeclared (first use in this function)
ow_wrap.c:577: error: 'ptr' undeclared (first use in this function) 
ow_wrap.c:578: error: 'newobject' undeclared (first use in this function)
ow_wrap.c:579: error: 'z' undeclared (first use in this function)
ow_wrap.c: At top level:
ow_wrap.c:673: error: syntax error before '*' token 
ow_wrap.c: In function 'SWIG_ZTS_ConvertResourcePtr':
ow_wrap.c:679: error: 'z' undeclared (first use in this function)
ow_wrap.c:683: warning: assignment makes pointer from integer without a cast
ow_wrap.c:685: error: 'ptr' undeclared (first use in this function) 
ow_wrap.c:685: error: 'ty' undeclared (first use in this function)
ow_wrap.c: At top level:
ow_wrap.c:697: error: syntax error before '*' token
ow_wrap.c: In function 'SWIG_ZTS_ConvertPtr':
ow_wrap.c:699: error: 'zval' undeclared (first use in this function) 
ow_wrap.c:699: error: 'val' undeclared (first use in this function)
ow_wrap.c:701: error: 'z' undeclared (first use in this function)
ow_wrap.c:702: error: 'ptr' undeclared (first use in this function)
ow_wrap.c:706: error: 'IS_OBJECT' undeclared (first use in this function) 
ow_wrap.c:707: error: '_cPtr' undeclared (first use in this function)
ow_wrap.c:708: error: 'SUCCESS' undeclared (first use in this function)
ow_wrap.c:710: error: 'IS_STRING' undeclared (first use in this function) 
ow_wrap.c:710: warning: assignment makes pointer from integer without a cast
ow_wrap.c:711: error: 'IS_RESOURCE' undeclared (first use in this function)
ow_wrap.c:712: error: 'ty' undeclared (first use in this function) 
ow_wrap.c:718: warning: assignment makes pointer from integer without a cast
ow_wrap.c:760:21: error: php_ini.h: No such file or directory
ow_wrap.c:761:31: error: ext/standard/info.h: No such file or directory
In file included from ow_wrap.c:762:
php_OW.h: At top level:
php_OW.h:34: error: syntax error before 'OW_module_entry'
php_OW.h:34: warning: data definition has no type or storage class
php_OW.h:43: warning: parameter names (without types) in function
declaration 
php_OW.h:43: warning: data definition has no type or storage class
php_OW.h:44: warning: parameter names (without types) in function
declaration
php_OW.h:44: warning: data definition has no type or storage class 
php_OW.h:45: warning: parameter names (without types) in function
declaration
php_OW.h:45: warning: data definition has no type or storage class
php_OW.h:46: warning: parameter names (without types) in function
declaration 
php_OW.h:46: warning: data definition has no type or storage class
php_OW.h:47: warning: parameter names (without types) in function
declaration
php_OW.h:47: warning: data definition has no type or storage class 
php_OW.h:49: warning: parameter names (without types) in function
declaration
php_OW.h:49: warnin

Re: [Owfs-developers] Problems compiling CVS

2006-12-05 Thread Christian Magnusson
I might have fixed the problem… I guess the conditional values were set in
set too early in the configure.ac, and that caused problems for some
autoconf versions.

 

/Christian

 

  _  

Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Christian
Magnusson
Skickat: den 5 december 2006 14:58
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Problems compiling CVS

 

Accoording to your include-paths, ENABLE_OWPHP is set and PHPINC is NOT set
for some reason!?!

 

This should not be possible… since configure.ac sets ENABLE_OWPHP=”false” if
PHPINC is empty.

PHPINC is normally set to something like

PHPINC = “-I/usr/include/php –I/usr/include/php/main –I/usr/include/php/TSRM
–I/usr/include/php/Zend”

 

Could you look in the generated Makefile for these variables?

 

grep PHPINC  owfs/module/swig/php/Makefile

grep ENABLE_OWPHP owfs/module/swig/php/Makefile

 

/Christian

 

 

  _  

Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 5 december 2006 14:32
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Problems compiling CVS

 

Just tested. I fingered the wrong man!
It's PHP that get's confused by zend.

Making all in php
make[3]: Entering directory `/home/paul/owfs/module/swig/php'
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../../../src/include-fexceptions -I.. -I../../../src/include
-I../../../module/owlib/src/include -D_FILE_OFFSET_BITS=64  -g -O2 -pthread
-MT ow_wrap.lo -MD -MP -MF ".deps/ow_wrap.Tpo" -c -o ow_wrap.lo ow_wrap.c; \

then mv -f ".deps/ow_wrap.Tpo" ".deps/ow_wrap.Plo"; else rm -f
".deps/ow_wrap.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -fexceptions -I..
-I../../../src/include -I../../../module/owlib/src/include
-D_FILE_OFFSET_BITS=64 -g -O2 -pthread -MT ow_wrap.lo -MD -MP -MF
.deps/ow_wrap.Tpo -c ow_wrap.c  -fPIC -DPIC -o .libs/ow_wrap.o 
ow_wrap.c:496:18: error: zend.h: No such file or directory
ow_wrap.c:497:22: error: zend_API.h: No such file or directory
ow_wrap.c:498:17: error: php.h: No such file or directory
ow_wrap.c: In function 'SWIG_SetPointerChar': 
ow_wrap.c:565: warning: assignment makes pointer from integer without a cast
ow_wrap.c: At top level:
ow_wrap.c:571: error: syntax error before '*' token
ow_wrap.c: In function 'SWIG_ZTS_SetPointerZval':
ow_wrap.c:574: error: 'type' undeclared (first use in this function) 
ow_wrap.c:574: error: (Each undeclared identifier is reported only once
ow_wrap.c:574: error: for each function it appears in.)
ow_wrap.c:575: error: 'E_ERROR' undeclared (first use in this function)
ow_wrap.c:577: error: 'ptr' undeclared (first use in this function) 
ow_wrap.c:578: error: 'newobject' undeclared (first use in this function)
ow_wrap.c:579: error: 'z' undeclared (first use in this function)
ow_wrap.c: At top level:
ow_wrap.c:673: error: syntax error before '*' token 
ow_wrap.c: In function 'SWIG_ZTS_ConvertResourcePtr':
ow_wrap.c:679: error: 'z' undeclared (first use in this function)
ow_wrap.c:683: warning: assignment makes pointer from integer without a cast
ow_wrap.c:685: error: 'ptr' undeclared (first use in this function) 
ow_wrap.c:685: error: 'ty' undeclared (first use in this function)
ow_wrap.c: At top level:
ow_wrap.c:697: error: syntax error before '*' token
ow_wrap.c: In function 'SWIG_ZTS_ConvertPtr':
ow_wrap.c:699: error: 'zval' undeclared (first use in this function) 
ow_wrap.c:699: error: 'val' undeclared (first use in this function)
ow_wrap.c:701: error: 'z' undeclared (first use in this function)
ow_wrap.c:702: error: 'ptr' undeclared (first use in this function)
ow_wrap.c:706: error: 'IS_OBJECT' undeclared (first use in this function) 
ow_wrap.c:707: error: '_cPtr' undeclared (first use in this function)
ow_wrap.c:708: error: 'SUCCESS' undeclared (first use in this function)
ow_wrap.c:710: error: 'IS_STRING' undeclared (first use in this function) 
ow_wrap.c:710: warning: assignment makes pointer from integer without a cast
ow_wrap.c:711: error: 'IS_RESOURCE' undeclared (first use in this function)
ow_wrap.c:712: error: 'ty' undeclared (first use in this function) 
ow_wrap.c:718: warning: assignment makes pointer from integer without a cast
ow_wrap.c:760:21: error: php_ini.h: No such file or directory
ow_wrap.c:761:31: error: ext/standard/info.h: No such file or directory
In file included from ow_wrap.c:762:
php_OW.h: At top level:
php_OW.h:34: error: syntax error before 'OW_module_entry'
php_OW.h:34: warning: data definition has no type or storage class
php_OW.h:43: warning: parameter names (without types) in function
declaration 
php_OW.h:43: warning: data d

Re: [Owfs-developers] I can't build with alternate python 2.4.3

2006-12-07 Thread Christian Magnusson

I have made some changes to python.m4. PYLIBDIR trusted very much to
LIBPOSTFIX and it was forced to be set to "lib$LIBPOSTFIX". In this case you
didn't install your lib-files in "lib64".

I have added a test and detects if the directory
/usr/local/lib64/python2.4/config/ exists before setting PYLIBDIR. If not,
it is set to /usr/local/lib/python2.4/config/
and LIBPOSTFIX is ignored.

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Peter Kropf
> Sent: den 7 december 2006 06:40
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] I can't build with alternate python
> 2.4.3
> 
> Just to let you know, I ran
> 
> ./configure --with-python=/opt/python2.5/bin/python2.5
> 
> and it worked as expected. I don't think the problem is with 2.4.3 vs
> 2.5 but we'll have to dig a bit more into the configure script to
> figure out what's going on.
> 
> - Peter
> 
> 
> 
> On 12/6/06, Brad Clements <[EMAIL PROTECTED]> wrote:
> > I just did a csv co, bootstrap, and now I run configure with
> >
> >  ./configure --disable-owphp --disable-owperl --with-
> python=/usr/local/bin/python2.4
> >
> > But python doesn't get enabled. I know I've mentioned this problem on
> the list a
> > while back, and finally resorted to hacking configure.  But, has
> anyone looked at
> > why this doesn't work yet?
> >
> > Current configuration:
> >
> > Deployment location: /opt/owfs
> >
> > Compile-time options:
> >   Caching is enabled
> >   USB is enabled
> >   I2C is enabled
> >HA7Net is enabled
> >Multithreading is enabled
> > Parallel port DS1410E is enabled
> > TAI8570 barometer is enabled
> >  Thermocouple is enabled
> >  Zeroconf/Bonjour is enabled
> >  Debug-output is enabled
> > Profiling is DISABLED
> >
> > Module configuration:
> > owfs is DISABLED
> >  owhttpd is enabled
> >   owftpd is enabled
> > owserver is enabled
> >   owcapi is enabled
> > swig is enabled
> >   owperl is DISABLED
> >owphp is DISABLED
> > owpython is DISABLED
> >owtcl is enabled
> >
> > I have an x86-64 machine. Python is compiled as a 64 bit executable.
> >
> > from config.log
> >
> > configure:22161: checking if owpython is enabled
> > configure:22194: result: yes (default)
> > configure:2: result: Looking for location of Python executable
> > configure:22298: checking for Python prefix
> > configure:22301: result: /usr/local
> > configure:22303: checking for Python exec-prefix
> > configure:22306: result: /usr/local
> > configure:22313: checking for Python version
> > configure:22319: result: python2.4
> > configure:22324: checking for Python lib dir
> > configure:22331: result: lib64
> > configure:22336: checking for Python header files
> > configure:22346: result: -I/usr/local/include/python2.4 -
> I/usr/local/lib64/python2.4/config
> > configure:22350: checking for Python library
> > configure:22360: result: Not found
> > configure:22398: WARNING: Cannot find python library. Install python-
> devel package.
> > configure:22400: WARNING: OWPYTHON is disabled because python library
> is not found
> >
> > The actual location for PYLIB is
> /usr/local/lib/python2.4/config/libpython2.4.a
> >
> > On my system /usr/local/lib64 is empty
> >
> > and
> >
> > Python 2.4.3 (#1, Aug 22 2006, 17:41:07)
> > [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2
> > Type "help", "copyright", "credits" or "license" for more
> information.
> > >>> import sys
> > >>> sys.lib
> > Traceback (most recent call last):
> >   File "", line 1, in ?
> > AttributeError: 'module' object has no attribute 'lib'
> >
> > I try setting PYLIB directly on the command line, but that doesn't
> work UNLESS
> > I comment out this line in configure line 22230.
> >
> > PYLIB=
> >
> > It seems to me (other than upgrading to python 2.5) that there should
> be a way to
> > set the PYLIB path explicitly on the configure command line, and then
> only do all
> > the lib checking if the user hasn't specified it.
> >
> > however my configure-foo is low.. so I resort to commenting out the
> above line.
> >
> >
> >
> >
> >
> > --
> > Brad Clements,[EMAIL PROTECTED](315)268-1000
> > http://www.murkworks.com
> > AOL-IM or SKYPE: BKClements
> >
> >
> >
> > -
> 
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys - and earn
> cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs

Re: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B

2006-12-20 Thread Christian Magnusson
I fixed it in the CVS... A missing break-statement in owlib.

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Simon Natterer
> Sent: den 20 december 2006 02:17
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B
> 
> Hello,
> 
> I've got owserver/owperl running for quite a while, with version 2.4p7.
> When installing 2.5p8 or actual CVS version my DS2480B based 1-Wire
> interface doesn't work any more.
> When starting owserver (owserver --error_level=9 -d /dev/ttyS0 -p
> localhost:3002)
> log says "Cannot detect DS9097 (passive) interface on /dev/ttyS0" and
> nothing works.
> 
> After reinstalling 2.4p7 it works again.
> 
> Are there any big changes that can cause this problem?
> How can I debug this issue?
> 
> Thanks a lot
> 
> Simon
> 
> ---
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B

2006-12-21 Thread Christian Magnusson

The update I did only fixed the detection of the serial 1-wire adapter. I
haven't looked at the cache-changes.

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Simon Natterer
> Sent: den 21 december 2006 18:36
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B
> 
> Simon Natterer wrote:
> > Confirmed, it works.
> >
> 
> Nope, there is still something strange.
> The temperatures from three sensors didn't change their value after
> installing CVS. Looks like the first value is cached and no further
> reading is done. These are all DS18S20 sensors. I read the cached value
> (didn't try uncached yet).
> 
> This looks like that:
> http://www.sngs.de/temp.png
> 
> I started actual CVS at about 2:00. At about 15:45 I used 2.5p7 again.
> 
> Any ideas?
> 
> 
> Simon
> 
> ---
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B

2006-12-23 Thread Christian Magnusson
 

It still seem to be some problems with the cache.

I use temploggerd to create graphs, and most of the temperature sensors
return the same value all the time now.

Some of the temperature sensors are read from multiple applications (such as
outdoor sensor which is also read uncached frequently),

and that specific sensor return correct value.

 

http://home.mag.cx/cgi-bin/all.temperature.rrd.cgi?params=-s-1day

 

Temploggerd works something like this.

 

loop

Write 1 to /simultaneous/temperature

Read /tmp/1wire/10.*/temperature

Create graph

Sleep 60

End loop

 

Do you have any idea if the cache-code still is broken in combination with
simultaneous?

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: den 23 december 2006 14:03
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B

 

Uncached was broken! (Fixed in the CVS). Thanks for the report.

I'm not sure if your problem (Simultaneous pinning the result) is fixed too.
I'm still testing.

Paul Alfille

On 12/22/06, Simon Natterer <[EMAIL PROTECTED]> wrote:

Simon Natterer wrote:
> Paul Alfille wrote:
>
>> Powered or parasytic?
> Powered.
> Seems it is caching. Doing an uncached read returns right values.
> Afterwards cached value stuck on this value. 
>

It seem like I was wrong. Reading the whole night from uncached returns
the same constant value again. The problem seems to be
/simultaneous/temperature. I wrote 1 there before reading. Removing this 
makes returns changed values with cached and uncached reads.


Simon

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php

&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B

2006-12-24 Thread Christian Magnusson
Here is an update of my topology when having problem to read correct values
from the temperature sensors.

 

Linux-serverLinux-serverWRT54GWRT54G

Owfs -> owserver ->owserver <-owfs

||

temploggerdDS9097U with 12 DS1820.

 

 

Reading both cached and uncached values from my Linux-server's owfs only
read OLD cached values.

 

Reading uncached values from WRT54G's owfs return a new value and the cache
is updated. Next read from the Linux-servers owfs will return this new
value.

 

The problem I have noticed is probably only showing up when you have
multiple owservers connecting to eachother.

 

/Christian

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Magnusson
Sent: den 23 december 2006 21:35
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B

 

 

It still seem to be some problems with the cache.

I use temploggerd to create graphs, and most of the temperature sensors
return the same value all the time now.

Some of the temperature sensors are read from multiple applications (such as
outdoor sensor which is also read uncached frequently),

and that specific sensor return correct value.

 

http://home.mag.cx/cgi-bin/all.temperature.rrd.cgi?params=-s-1day

 

Temploggerd works something like this.

 

loop

Write 1 to /simultaneous/temperature

Read /tmp/1wire/10.*/temperature

Create graph

Sleep 60

End loop

 

Do you have any idea if the cache-code still is broken in combination with
simultaneous?

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: den 23 december 2006 14:03
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problem with 2.5p8/CVS and DS2480B

 

Uncached was broken! (Fixed in the CVS). Thanks for the report.

I'm not sure if your problem (Simultaneous pinning the result) is fixed too.
I'm still testing.

Paul Alfille

On 12/22/06, Simon Natterer <[EMAIL PROTECTED]> wrote:

Simon Natterer wrote:
> Paul Alfille wrote:
>
>> Powered or parasytic?
> Powered.
> Seems it is caching. Doing an uncached read returns right values.
> Afterwards cached value stuck on this value. 
>

It seem like I was wrong. Reading the whole night from uncached returns
the same constant value again. The problem seems to be
/simultaneous/temperature. I wrote 1 there before reading. Removing this 
makes returns changed values with cached and uncached reads.


Simon

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
<http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] Simultaneous bug?

2006-12-27 Thread Christian Magnusson
 

I found the problem I had with the simultaneous temp-conversions.

For some reason pn2.dev wasn't set to NULL in FS_w_convert(), and conversion
wasn't started for all devices.

It was set to null some weeks ago, but are there any reason to this change
in the CVS?

 

/Christian

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] New build

2006-12-28 Thread Christian Magnusson
 

 

Paul,

 

It's perhaps time to make a new build as soon as possible since 2.5p8 is
broken. The serial adapter doesn't work at all.

 

/Christian

 

 

 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] New build

2006-12-28 Thread Christian Magnusson
I will go through the makefiles and do some updates too. I will probably be
done within a couple of hours to make sure the rpm's could be created.

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Peter Kropf
> Sent: den 28 december 2006 18:58
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] New build
> 
> I've updated the Makefile.am for ownet/python. It should now install
> ownet in the python site-packages directory when make install is
> run...
> 
> - Peter
> 
> 
> On 12/28/06, Paul Alfille <[EMAIL PROTECTED]> wrote:
> > Ok, this evening.
> >
> > Can you help me with the configuration/Makefiles for the new ownet
> stuff? I
> > presume the php and python scripts only need installation -- they
> aren't
> > compiled. I would like to have them added to the owshell rpm. I put
> minimal
> > Makefiles there as placeholkders, but am a little unsure of how to
> proceed.
> >
> > Paul
> >
> >
> > On 12/28/06, Christian Magnusson <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Paul,
> > >
> > >
> > >
> > > It's perhaps time to make a new build as soon as possible since
> 2.5p8 is
> > broken. The serial adapter doesn't work at all.
> > >
> > >
> > >
> > > /Christian
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > -
> 
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > your
> > > opinions on IT & business topics through brief surveys - and earn
> cash
> > >
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> > >
> > > ___
> > > Owfs-developers mailing list
> > > Owfs-developers@lists.sourceforge.net
> > >
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> > >
> > >
> > >
> >
> >
> > -
> 
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys - and earn
> cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> >
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> >
> >
> 
> ---
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] New build

2006-12-28 Thread Christian Magnusson
I never finished it completely... I have checked in some changes, but the
makefiles and rpm-packages need some more fixes...

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Christian
> Magnusson
> Sent: den 28 december 2006 21:18
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] New build
> 
> I will go through the makefiles and do some updates too. I will
> probably be
> done within a couple of hours to make sure the rpm's could be created.
> 
> /Christian
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:owfs-
> > [EMAIL PROTECTED] On Behalf Of Peter Kropf
> > Sent: den 28 december 2006 18:58
> > To: owfs-developers@lists.sourceforge.net
> > Subject: Re: [Owfs-developers] New build
> >
> > I've updated the Makefile.am for ownet/python. It should now install
> > ownet in the python site-packages directory when make install is
> > run...
> >
> > - Peter
> >
> >
> > On 12/28/06, Paul Alfille <[EMAIL PROTECTED]> wrote:
> > > Ok, this evening.
> > >
> > > Can you help me with the configuration/Makefiles for the new ownet
> > stuff? I
> > > presume the php and python scripts only need installation -- they
> > aren't
> > > compiled. I would like to have them added to the owshell rpm. I put
> > minimal
> > > Makefiles there as placeholkders, but am a little unsure of how to
> > proceed.
> > >
> > > Paul
> > >
> > >
> > > On 12/28/06, Christian Magnusson <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Paul,
> > > >
> > > >
> > > >
> > > > It's perhaps time to make a new build as soon as possible since
> > 2.5p8 is
> > > broken. The serial adapter doesn't work at all.
> > > >
> > > >
> > > >
> > > > /Christian
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > ---
> --
> > 
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share
> > > your
> > > > opinions on IT & business topics through brief surveys - and earn
> > cash
> > > >
> > >
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> > EV
> > > >
> > > > ___
> > > > Owfs-developers mailing list
> > > > Owfs-developers@lists.sourceforge.net
> > > >
> > > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> > > >
> > > >
> > > >
> > >
> > >
> > > ---
> --
> > 
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > > opinions on IT & business topics through brief surveys - and earn
> > cash
> > >
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> > EV
> > >
> > > ___
> > > Owfs-developers mailing list
> > > Owfs-developers@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> > >
> > >
> > >
> >
> > -
> --
> > --
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > your
> > opinions on IT & business topics through brief surveys - and earn
> cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> > EV
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> 
> 
> ---
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] CVS updated for new build...

2006-12-29 Thread Christian Magnusson
 

I have updated the CVS to build fresh rpm's now. I included ownet-files to
owshell as you asked about, and they will be duplicated files..

They also exists in owfs-php and owfs-python. I don't think this is any
problem since many man-pages also are duplicates.

 

Note that owfs-python is installed at both /usr/lib and /usr/lib64. (if
compiled under 64 bit computers). Setup.py used this by default, so I hope
it's correct.

 

I also broke out the examples to ownet/php/examples/. I noticed that
ownet.php required a function called bcadd(), and I have included that file
in the example directory. Is this a standard-function in some php-versions?

 

/Christian

 

 

Rpm-file: owfs-capi-2.5p9-1.x86_64.rpm

/usr/include/owfs/owcapi.h

/usr/lib/libowcapi.a

/usr/lib/libowcapi.la

/usr/lib/libowcapi.so

/usr/lib/libowcapi.so.0

/usr/lib/libowcapi.so.0.0.0

/usr/share/man/man1/libowcapi.1.gz

/usr/share/man/man1/owcapi.1.gz

 

Rpm-file: owfs-fs-2.5p9-1.x86_64.rpm

/etc/rc.d/init.d/owfs

/etc/sysconfig/owfs

/usr/sbin/owfs

/usr/share/man/man1/owfs.1.gz

 

Rpm-file: owfs-ftpd-2.5p9-1.x86_64.rpm

/etc/rc.d/init.d/owftpd

/etc/sysconfig/owftpd

/usr/sbin/owftpd

/usr/share/man/man1/owftpd.1.gz

 

Rpm-file: owfs-httpd-2.5p9-1.x86_64.rpm

/etc/rc.d/init.d/owhttpd

/etc/sysconfig/owhttpd

/usr/sbin/owhttpd

/usr/share/man/man1/owhttpd.1.gz

 

Rpm-file: owfs-libs-2.5p9-1.x86_64.rpm

Skipping list of this file...

 

Rpm-file: owfs-man-2.5p9-1.x86_64.rpm

Skipping list of this file...

 

Rpm-file: owfs-perl-2.5p9-1.x86_64.rpm

/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi/OW.pm

/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi/auto/OW

/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi/auto/OW/OW.bs

/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi/auto/OW/OW.so

 

Rpm-file: owfs-php-2.5p9-1.x86_64.rpm

/usr/bin/ownet.php

/usr/lib64/php/modules

/usr/lib64/php/modules/libowphp.so

/usr/lib64/php/modules/libowphp.so.0

/usr/lib64/php/modules/libowphp.so.0.0.0

 

Rpm-file: owfs-python-2.5p9-1.x86_64.rpm

/usr/lib/python2.4/site-packages/ownet

/usr/lib/python2.4/site-packages/ownet/__init__.py

/usr/lib/python2.4/site-packages/ownet/__init__.pyc

/usr/lib/python2.4/site-packages/ownet/connection.py

/usr/lib/python2.4/site-packages/ownet/connection.pyc

/usr/lib64/python2.4/site-packages/ow

/usr/lib64/python2.4/site-packages/ow/_OW.so

/usr/lib64/python2.4/site-packages/ow/__init__.py

/usr/lib64/python2.4/site-packages/ow/__init__.pyc

 

Rpm-file: owfs-server-2.5p9-1.x86_64.rpm

/etc/rc.d/init.d/owserver

/etc/sysconfig/owserver

/usr/sbin/owserver

/usr/share/man/man1/owserver.1.gz

 

Rpm-file: owfs-shell-2.5p9-1.x86_64.rpm

/usr/bin/owdir

/usr/bin/ownet.php

/usr/bin/owpresent

/usr/bin/owread

/usr/bin/owwrite

/usr/lib/python2.4/site-packages/ownet

/usr/lib/python2.4/site-packages/ownet/__init__.py

/usr/lib/python2.4/site-packages/ownet/__init__.pyc

/usr/lib/python2.4/site-packages/ownet/connection.py

/usr/lib/python2.4/site-packages/ownet/connection.pyc

/usr/share/man/man1/owdir.1.gz

/usr/share/man/man1/owpresent.1.gz

/usr/share/man/man1/owread.1.gz

/usr/share/man/man1/owshell.1.gz

/usr/share/man/man1/owwrite.1.gz

 

Rpm-file: owfs-tcl-2.5p9-1.x86_64.rpm

/usr/lib64/owtcl-0.1

/usr/lib64/owtcl-0.1/ow-0.1.so

/usr/lib64/owtcl-0.1/ow.so

/usr/lib64/owtcl-0.1/ow.tcl

/usr/lib64/owtcl-0.1/pkgIndex.tcl

/usr/share/man/mann/owtcl.n.gz

 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] Python warning...

2006-12-29 Thread Christian Magnusson

Hi all python gurus... :)

Installing module/ownet/python with python2.2 give this warning... The
same warning goes for module/swig/python/..  I guess it's not any major
problem that __init__.pyc isn't created, but is it possible to fix this
warning?

[EMAIL PROTECTED] owfs]# ls -trl /usr/lib/python2.2/site-packages/ownet/
total 36
-rw-r--r--  1 root root 13778 Dec 28 19:45 __init__.py
-rw-r--r--  1 root root  6588 Dec 28 19:45 connection.py
-rw-r--r--  1 root root  9494 Dec 28 22:54 connection.pyc
[EMAIL PROTECTED] owfs]# ls -trl /usr/lib/python2.2/site-packages/ow/
total 100
-rw-r--r--  1 root root 15610 Dec  7 16:46 __init__.py
-rwxr-xr-x  1 root root 78976 Dec 29 12:44 _OW.so*


make[4]: Entering directory
`/usr/src/1wire/cvs/owfs/module/ownet/python'
make[4]: Nothing to be done for `install-exec-am'.
python setup.py install --root="/"
/usr/lib/python2.2/distutils/dist.py:215: UserWarning: Unknown
distribution option: 'classifiers'
  warnings.warn(msg)
/usr/lib/python2.2/distutils/dist.py:215: UserWarning: Unknown
distribution option: 'download_url'
  warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/ownet
copying ownet/__init__.py -> build/lib/ownet
copying ownet/connection.py -> build/lib/ownet
running install_lib
not copying build/lib/ownet/__init__.py (output up-to-date)
not copying build/lib/ownet/connection.py (output up-to-date)
byte-compiling /usr/lib/python2.2/site-packages/ownet/__init__.py to
__init__.pyc
:336: Warning: 'yield' will become a reserved keyword in the
future
  File "usr/lib/python2.2/site-packages/ownet/__init__.py", line 336
yield entry
  ^
SyntaxError: invalid syntax
skipping byte-compilation
of /usr/lib/python2.2/site-packages/ownet/connection.py to
connection.pyc
make[4]: Leaving directory `/usr/src/1wire/cvs/owfs/module/ownet/python'





make[2]: Entering directory `/usr/src/1wire/cvs/owfs/module/swig/python'
make[2]: Nothing to be done for `install-exec-am'.
python setup.py install --root="/"
/usr/lib/python2.2/distutils/dist.py:215: UserWarning: Unknown
distribution option: 'classifiers'
  warnings.warn(msg)
running install
running build
running build_py
not copying ow/__init__.py (output up-to-date)
running build_ext
skipping '_OW' extension (up-to-date)
running install_lib
not copying build/lib.linux-i686-2.2/ow/__init__.py (output up-to-date)
not copying build/lib.linux-i686-2.2/ow/_OW.so (output up-to-date)
byte-compiling /usr/lib/python2.2/site-packages/ow/__init__.py to
__init__.pyc
:419: Warning: 'yield' will become a reserved keyword in the
future
  File "usr/lib/python2.2/site-packages/ow/__init__.py", line 419
yield entry.split( '/' )[ 0 ]
  ^
SyntaxError: invalid syntax
make[2]: Leaving directory `/usr/src/1wire/cvs/owfs/module/swig/python'




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Python warning...

2006-12-29 Thread Christian Magnusson
Thanks a lot... I added this to __init__.py and it works for both new and
old python installations.

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Darryl
> Sent: den 29 december 2006 14:37
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] Python warning...
> 
> On 12/29/06, Christian Magnusson <[EMAIL PROTECTED]> wrote:
> >
> > Hi all python gurus... :)
> >
> > Installing module/ownet/python with python2.2 give this warning...
> The
> > same warning goes for module/swig/python/..  I guess it's not any
> major
> > problem that __init__.pyc isn't created, but is it possible to fix
> this
> > warning?
> >
> 
> >   File "usr/lib/python2.2/site-packages/ownet/__init__.py", line 336
> > yield entry
> >   ^
> > SyntaxError: invalid syntax
> > skipping byte-compilation
> 
> "Note: In Python 2.2, the yield statement is only allowed when the
> generators feature has been enabled. It will always be enabled in
> Python 2.3. This __future__ import statement can be used to enable the
> feature:
> 
> from __future__ import generators"
> 
> http://docs.python.org/ref/yield.html
> 
> -Darryl
> 
> ---
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] understanding owserver TCP connection behavior

2007-01-09 Thread Christian Magnusson
I made some tests with a persistant tcp-connection to each owserver.
Patches needed to be done in ow_server.c/owserver.c and ow.h.

I added a while(1) loop in owserver.c:RealHandler() to allow multiple
requests within an open connection.
I didn't touch the ping-thread, and this still had the function to close an
idle connection.

ow_server.c:ServerRead/Dir/Write/Present() tries to used an already opened
connection if the busmode is bus_server.

In my case I couldn't see much improvement at all... Mostly because I had a
_SLOW_ DS9097U, and the all processes were started on the same network. I
hoped that I could poll the buttons on the 1-wire LCD much quicker, but it
was not very successful solution. It takes 0.4 seconds for me to read the
button-status, and that doesn't give very good feeling when pressing the
buttons and you expect something to happen on the screen at once.

I'm sure there could be some improvements when you have a fast 1-wire
adapter + the remote owserver is located far away.

My patch didn't work "perfect" when the ping-thread killed the connection
and a reconnection needed to be done, but it's just to work on a better
reconnection-code. Sometimes you have to do "ls /tmp/1wire/uncached/"
several times when the connection was closed after idling.

Take a look at the quick test-patch I made if you want:

http://home.mag.cx/owfs_keepalive_patch.txt

/Christian




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of ziggy
> Sent: den 9 januari 2007 07:14
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] understanding owserver TCP connection
> behavior
> 
> 
> First, just a quick statement. I am only looking at the way owserver
> operates with a TCP connection. Please note that I am *not* suggesting
> a change to the owserver protocol itself, but the way it uses the TCP
> connections from clients. And now that I think about it, persistent
> connections makes sense between owservers too. I suppose the protocol
> could be extended to indicate that the client wishes a persistent
> connection, so nothing is broken for existing clients, but I digress.
> 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] owfs-2.6p0 SLUG build?

2007-01-25 Thread Christian Magnusson
Hi,

I haven't built any new slug-version since the cvs-version contained bugs
that made it impossible for me to use.
When Paul have fixed the simultaneous bug which showed up after the
persistent-feature, I will make a new build.

(I just wanted to keep a stable build in the repository)

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of ziggy
> Sent: den 26 januari 2007 04:39
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] owfs-2.6p0 SLUG build?
> 
> 
> I'd exercise the persistent TCP option, but I need a new build for the
> NSLU2. Real Life(tm) has not allowed for any owfs time in the last two
> weeks or so, sorry about the lack of updates. I've got ownet python
> module templates for the new read directory function and the persistent
> TCP connections, but don't have any way to test. (I still don't have a
> NSLU2 build environment set up so I haven't been able to build a new
> owserver.) Should be able to make some progress this weekend if I can
> find accurate instructions on setting up the build environment.
> 
> Paul
> 
> 
> On Thu, 25 Jan 2007 21:47:56 -0500, "Paul Alfille"
> <[EMAIL PROTECTED]> wrote:
> > Found the problem -- it was in swig.i uu unsed by owperl, pwpython
> and
> > owphp. Fixed in the CVS.
> >
> > I'm working on some "simultaneous" bugs that Chrstian found, then
> we'll
> > make
> > a new release.
> >
> > Peter, have you looked persistent tcp connections? The strategy is to
> set
> > the persistent bit in the SG parameter of the message, and if it is
> > returned
> > set, keep the same file descriptor open for the next message. If the
> next
> > message fails, close and open a new descriptor and try sending again.
> The
> > connection may have timed out.
> >
> > It's implemented in the perl module: OWNet.pm
> >
> > Paul Alfille
> >
> 
> 
> 
> ---
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] owfs-2.6p0 SLUG build?

2007-01-26 Thread Christian Magnusson
Paul Alfille fixed the bugs I found in the cvs, and I have built and
uploaded new nslu2 and openwrt packages now.

/Christian
 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of ziggy
> Sent: den 26 januari 2007 04:39
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] owfs-2.6p0 SLUG build?
> 
> 
> I'd exercise the persistent TCP option, but I need a new build for the
> NSLU2. Real Life(tm) has not allowed for any owfs time in the last two
> weeks or so, sorry about the lack of updates. I've got ownet python
> module templates for the new read directory function and the persistent
> TCP connections, but don't have any way to test. (I still don't have a
> NSLU2 build environment set up so I haven't been able to build a new
> owserver.) Should be able to make some progress this weekend if I can
> find accurate instructions on setting up the build environment.
> 
> Paul
> 
> 
> On Thu, 25 Jan 2007 21:47:56 -0500, "Paul Alfille"
> <[EMAIL PROTECTED]> wrote:
> > Found the problem -- it was in swig.i uu unsed by owperl, pwpython
> and
> > owphp. Fixed in the CVS.
> >
> > I'm working on some "simultaneous" bugs that Chrstian found, then
> we'll
> > make
> > a new release.
> >
> > Peter, have you looked persistent tcp connections? The strategy is to
> set
> > the persistent bit in the SG parameter of the message, and if it is
> > returned
> > set, keep the same file descriptor open for the next message. If the
> next
> > message fails, close and open a new descriptor and try sending again.
> The
> > connection may have timed out.
> >
> > It's implemented in the perl module: OWNet.pm
> >
> > Paul Alfille
> >
> 
> 
> 
> ---
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] mdns for OpenWrt

2007-01-30 Thread Christian Magnusson
 

I managed to compile mDNSResponder partially for the OpenWRT routers. This
means that you can install owfs + mdns, and owfs successfully register the
started owserver into the mdnsd process.

Remote servers can find the owserver running on OpenWRT using -autoserver.

 

The only thing that doesn't work is that you can't run "owdir -autoserver /"
locally on the OpenWRT. The support for /lib/libnss_dns and
/etc/nsswitch.conf doesn't work with the uClibc used in OpenWRT.

 

/Christian

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS on WRT-Router

2007-02-10 Thread Christian Magnusson
Which distribution have you installed on your router?
Have you compiled libc yourself?  Is it glibc or uclibc ?

tsearch should be a part of libc, but I have added my own tdestroy()
function if that is missing from the libc.

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Chris
> Sent: den 9 februari 2007 23:14
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] OWFS on WRT-Router
> 
> Hi,
> I installed OWFS on my WRT54GL-Router with the packages you provide
> here: http://owfs.sourceforge.net/openwrt/packages/
> 
> But when I want to start any program I get a "can't resolve symbol
> 'tsearch'"-error
> 
> What is the problem?
> 
> ---
> --
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-
> us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS on WRT-Router

2007-02-11 Thread Christian Magnusson

My guess is that dd-wrt isn't compatible with openwrt-packages...

I tried E-WRT-0.3 long time ago... and when I compiled a new firmware-image
it "optimized" libc and removed all unused functions. This resulted into
that it was impossible to know if an uploaded binary would work or not...
some functions in libc could be missing due to this behavior. If I included
my compiled applications in the generated image it always worked (since the
build-scripts noticed that my application used the functions)

I have never tried dd-wrt myself, so I don't know how to solve the problem
for you... Perhaps somebody else now how to create correct packages for
dd-wrt.

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Chris
> Sent: den 10 februari 2007 15:16
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] OWFS on WRT-Router
> 
> I am using dd-wrt whiterussian, there seems to be no c-library
> installed. and trying to install the packages always ends in errors:
> 
> tar: unexpected end of file
> tar: ./control.tar.gz: Not found in archive
> 
> tar: Short read
> ipkg_install_file: ERROR unpacking control.tar.gz from
> /jffs/tmp/ipkg/uclibc_0.9.27-9_mipsel.ipk
> 
> 
> Christian Magnusson wrote:
> > Which distribution have you installed on your router?
> > Have you compiled libc yourself?  Is it glibc or uclibc ?
> >
> > tsearch should be a part of libc, but I have added my own tdestroy()
> > function if that is missing from the libc.
> >
> > /Christian
> >
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:owfs-
> >> [EMAIL PROTECTED] On Behalf Of Chris
> >> Sent: den 9 februari 2007 23:14
> >> To: owfs-developers@lists.sourceforge.net
> >> Subject: [Owfs-developers] OWFS on WRT-Router
> >>
> >> Hi,
> >> I installed OWFS on my WRT54GL-Router with the packages you provide
> >> here: http://owfs.sourceforge.net/openwrt/packages/
> >>
> >> But when I want to start any program I get a "can't resolve symbol
> >> 'tsearch'"-error
> >>
> >> What is the problem?
> >>
> >> 
> ---
> >> --
> >> Using Tomcat but need to do more? Need to support web services,
> >> security?
> >> Get stuff done quickly with pre-integrated technology to make your
> job
> >> easier.
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> >> Geronimo
> >> http://sel.as-
> >> us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> ___
> >> Owfs-developers mailing list
> >> Owfs-developers@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> >
> > -
> 
> > Using Tomcat but need to do more? Need to support web services,
> security?
> > Get stuff done quickly with pre-integrated technology to make your
> job easier.
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > http://sel.as-
> us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> 
> 
> ---
> --
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-
> us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problem running recent versions of owfs on Slackware-11.0

2007-02-22 Thread Christian Magnusson
I will work on some changes in the configure-script. Some problems there
might have caused the bad detection.

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: den 22 februari 2007 21:05
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problem running recent versions of owfs on
Slackware-11.0

 

The original post was about Slackware and a new kernel (2.6.18). I now have
fould the same problem in Suse 10.2 and kernel 2.6.18 and traced the problem
to the USB configuration.

For some reason, the configuration variable "HAVE_USB_INTERRUPT_READ" is set
to false. If set yo true it works.

I'm a little lost chasing through where the variable is set (
src/include/config.h.in probably by automake or autoconf ).

( the easy, ugly, fix is #define HAVE_USB_INTERRUPT_READ at the start of
module/owlib/src/c/ow_9490.c )

Anyone have better insight?

Paul Alfille



On 2/8/07, J Kvalvaag <[EMAIL PROTECTED]> wrote:

Hi all,

I am having trouble running owfs version 2.6p0 and 2.6p1 on Slackware-11.0
with a stock 2.6.18 kernel. Version 2.5p0 to 2.5p10 runs fine. I am using
fuse-2.6.3.

Did something change, or am I doing anything wrong? 

Below is the output from running owserver with debug:

# ./owserver -u -C -p  --mountpoint /mnt/1wire --error_level 9
--foreground

   CALL: PARSENAME path=[]
CONNECT: Adapter found: 4/5
DEFAULT: Opened USB DS9490 adapter at 4/5. 
   DATA: DS9490_getstatus: error reading ret=-22
   DATA: DS9490_setup_adapter: getstatus failed ret=-5
DEFAULT: Error setting up USB DS9490 adapter at 4/5.
  DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00 
   DATA: BUS_first: No data will be returned
  DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 00 last
path=00 00 00 00 00 00 00 00
  DEBUG: Clearing root branch
   DATA: DS9490_reset
   DATA: BUS_first failed during connect [-1/-1]
  DEBUG: main_threadid = 3084400320
  DEBUG: ServerProcessOut = 3084397488
  DEBUG: ServerProcessAccept [3084397488] try lock 0
  DEBUG: ServerProcessAccept [3084397488] locked 0 
  DEBUG: ServerProcessAccept [3076008880] try lock 0

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Problem running recent versions of owfs on Slackware-11.0

2007-02-23 Thread Christian Magnusson
I'm pretty sure I have fixed the detection of usb_interrupt_read() in the
configure-script now.

Could you test it and see if it fix the problem?

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Magnusson
Sent: den 22 februari 2007 23:05
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problem running recent versions of owfs on
Slackware-11.0

 

I will work on some changes in the configure-script. Some problems there
might have caused the bad detection.

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: den 22 februari 2007 21:05
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problem running recent versions of owfs on
Slackware-11.0

 

The original post was about Slackware and a new kernel (2.6.18). I now have
fould the same problem in Suse 10.2 and kernel 2.6.18 and traced the problem
to the USB configuration.

For some reason, the configuration variable "HAVE_USB_INTERRUPT_READ" is set
to false. If set yo true it works.

I'm a little lost chasing through where the variable is set (
src/include/config.h.in probably by automake or autoconf ).

( the easy, ugly, fix is #define HAVE_USB_INTERRUPT_READ at the start of
module/owlib/src/c/ow_9490.c )

Anyone have better insight?

Paul Alfille

On 2/8/07, J Kvalvaag <[EMAIL PROTECTED]> wrote:

Hi all,

I am having trouble running owfs version 2.6p0 and 2.6p1 on Slackware-11.0
with a stock 2.6.18 kernel. Version 2.5p0 to 2.5p10 runs fine. I am using
fuse-2.6.3.

Did something change, or am I doing anything wrong? 

Below is the output from running owserver with debug:

# ./owserver -u -C -p  --mountpoint /mnt/1wire --error_level 9
--foreground

   CALL: PARSENAME path=[]
CONNECT: Adapter found: 4/5
DEFAULT: Opened USB DS9490 adapter at 4/5. 
   DATA: DS9490_getstatus: error reading ret=-22
   DATA: DS9490_setup_adapter: getstatus failed ret=-5
DEFAULT: Error setting up USB DS9490 adapter at 4/5.
  DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00 
   DATA: BUS_first: No data will be returned
  DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 00 last
path=00 00 00 00 00 00 00 00
  DEBUG: Clearing root branch
   DATA: DS9490_reset
   DATA: BUS_first failed during connect [-1/-1]
  DEBUG: main_threadid = 3084400320
  DEBUG: ServerProcessOut = 3084397488
  DEBUG: ServerProcessAccept [3084397488] try lock 0
  DEBUG: ServerProcessAccept [3084397488] locked 0 
  DEBUG: ServerProcessAccept [3076008880] try lock 0

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Reading 1 wire data every minute with anNSLU2(SLUG)

2007-03-13 Thread Christian Magnusson
 

There have been one fix which effects the USB adapter on the NSLU2 too..
(HAVE_INTERRUPT_READ wasn't detected correctly).

I have recompiled owfs and created new ipk-packages which you can upgrade
too from sourceforge. (2.6p2-3). I'm not 100% sure about Paul's latest

changes in the cvs if they are stable right now, but it seems to work for
me.

 

It might also be some problem with fuse+owfs which you have found. You can
try the shell-commands and not use fuse at all.

Try re-write the scripts like this and see if that works better.

 

# cat cgi-script.sh

#!/bin/bash

etime=$(/bin/date)

 

OWSERVER="-s 3002"

 

### Read 1wire data and convert into engineering units #ph was 2.6667##

PH=$(owread $OWSERVER 20.B71F0500/volt.A | /opt/bin/awk '{printf
"%4.2f\n",((($0-1)/1.6)+5.5)}')

US=$(owread $OWSERVER 20.B71F0500/volt.B | /opt/bin/awk '{printf
"%5.1f\n",($0*100)}')

TempAqua=$(owread $OWSERVER 20.B71F0500/volt.C | /opt/bin/awk '{printf
"%3.1f\n",((($0-1)*5)+20)}')

LITRES=$(owread $OWSERVER 20.952A0500/volt.D | /opt/bin/awk '{printf
"%3.1f\n",(($0-2.900)*60)}')

TempOut=$(owread $OWSERVER 28.11BF9700/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

TempAmb=$(owread $OWSERVER 28.D7059800/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

TempRes=$(owread $OWSERVER 28.A6EE9700/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

 

set -f

echo Content-type: text/plain

echo

echo " DEMAND REPORT"

echo ---

echo Report Date  $etime

echo

echo

echo Aquaium Data

echo " pH =" $PH

echo " Conductivity =" $US uS

echo " Aquarium = "$TempAqua " DegC"

echo " Reservoir Temperature = "$TempRes DegC

echo " Litres Available  = "$LITRES L

echo

echo Weather Data

echo " Outside Temperature =" $TempOut DegC

echo " House   Temperature =" $TempAmb DegC

echo

echo 

echo " Page 1/1"

###

 

# cat cron-script.sh

#!/bin/bash

###  Force Simultaneous 1wire conversion ###

 

OWSERVER="-s 3002"

 

owwrite $OWSERVER simultaneous/voltage 1

owwrite $OWSERVER simultaneous/temperature 1

 

### Read 1wire data and convert into engineering units ##

PH=$(owread $OWSERVER 20.B71F0500/volt.A | /opt/bin/awk '{printf
"%4.2f\n",((($0-1)/1.6)+5.5)}')

US=$(owread $OWSERVER 20.B71F0500/volt.B | /opt/bin/awk '{printf
"%5.1f\n",($0*100)}')

TempAqua=$(owread $OWSERVER 20.B71F0500/volt.C | /opt/bin/awk '{printf
"%3.1f\n",((($0-1)*5)+20)}')

LITRES=$(owread $OWSERVER 20.952A0500/volt.D | /opt/bin/awk '{printf
"%3.1f\n",(($0-2.900)*60)}')

TempOut=$(owread $OWSERVER 28.11BF9700/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

TempAmb=$(owread $OWSERVER 28.D7059800/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

TempRes=$(owread $OWSERVER 28.A6EE9700/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

Accum_flow=$(owread $OWSERVER uncached/1D.EBEF090034/counters.A |
/opt/bin/awk '{printf "%d\n",($0/4100)}')

 

### Calculations based upon Data ###

C12=$(/opt/bin/awk -v PH="$PH" '{printf "%3.1f\n",((3*$0)*(10^(7-PH)))}'
/public/kh_value)

Todayflow=$(/opt/bin/awk -v AF="$Accum_flow" '{printf "%d\n",(AF-$0)}'
/public/lastflow.txt)

Weekflow=$(/opt/bin/awk -v AF="$Accum_flow" '{printf "%d\n",(AF-$0)}'
/public/weekflow.txt)

 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Reading 1 wire data every minutewith anNSLU2(SLUG)

2007-03-13 Thread Christian Magnusson
 

Sorry. It's located in owshell package.

 

# ipkg install owshell

 

/Christian

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Conway
Sent: den 13 mars 2007 21:12
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Reading 1 wire data every minutewith
anNSLU2(SLUG)

 

Christian

 

I cannot find where on my slug owread and owwrite are located.I assumed
they would of been in a bin directly

 

cheers

 

rob

 

 

 

- Original Message - 

From: Christian Magnusson <mailto:[EMAIL PROTECTED]>  

To: owfs-developers@lists.sourceforge.net 

Sent: Tuesday, March 13, 2007 10:16 PM

Subject: Re: [Owfs-developers] Reading 1 wire data every minutewith
anNSLU2(SLUG)

 

 

There have been one fix which effects the USB adapter on the NSLU2 too..
(HAVE_INTERRUPT_READ wasn't detected correctly).

I have recompiled owfs and created new ipk-packages which you can upgrade
too from sourceforge. (2.6p2-3). I'm not 100% sure about Paul's latest

changes in the cvs if they are stable right now, but it seems to work for
me.

 

It might also be some problem with fuse+owfs which you have found. You can
try the shell-commands and not use fuse at all.

Try re-write the scripts like this and see if that works better.

 

# cat cgi-script.sh

#!/bin/bash

etime=$(/bin/date)

 

OWSERVER="-s 3002"

 

### Read 1wire data and convert into engineering units #ph was 2.6667##

PH=$(owread $OWSERVER 20.B71F0500/volt.A | /opt/bin/awk '{printf
"%4.2f\n",((($0-1)/1.6)+5.5)}')

US=$(owread $OWSERVER 20.B71F0500/volt.B | /opt/bin/awk '{printf
"%5.1f\n",($0*100)}')

TempAqua=$(owread $OWSERVER 20.B71F0500/volt.C | /opt/bin/awk '{printf
"%3.1f\n",((($0-1)*5)+20)}')

LITRES=$(owread $OWSERVER 20.952A0500/volt.D | /opt/bin/awk '{printf
"%3.1f\n",(($0-2.900)*60)}')

TempOut=$(owread $OWSERVER 28.11BF9700/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

TempAmb=$(owread $OWSERVER 28.D7059800/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

TempRes=$(owread $OWSERVER 28.A6EE9700/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

 

set -f

echo Content-type: text/plain

echo

echo " DEMAND REPORT"

echo ---

echo Report Date  $etime

echo

echo

echo Aquaium Data

echo " pH =" $PH

echo " Conductivity =" $US uS

echo " Aquarium = "$TempAqua " DegC"

echo " Reservoir Temperature = "$TempRes DegC

echo " Litres Available  = "$LITRES L

echo

echo Weather Data

echo " Outside Temperature =" $TempOut DegC

echo " House   Temperature =" $TempAmb DegC

echo

echo 

echo " Page 1/1"

###

 

# cat cron-script.sh

#!/bin/bash

###  Force Simultaneous 1wire conversion ###

 

OWSERVER="-s 3002"

 

owwrite $OWSERVER simultaneous/voltage 1

owwrite $OWSERVER simultaneous/temperature 1

 

### Read 1wire data and convert into engineering units ##

PH=$(owread $OWSERVER 20.B71F0500/volt.A | /opt/bin/awk '{printf
"%4.2f\n",((($0-1)/1.6)+5.5)}')

US=$(owread $OWSERVER 20.B71F0500/volt.B | /opt/bin/awk '{printf
"%5.1f\n",($0*100)}')

TempAqua=$(owread $OWSERVER 20.B71F0500/volt.C | /opt/bin/awk '{printf
"%3.1f\n",((($0-1)*5)+20)}')

LITRES=$(owread $OWSERVER 20.952A0500/volt.D | /opt/bin/awk '{printf
"%3.1f\n",(($0-2.900)*60)}')

TempOut=$(owread $OWSERVER 28.11BF9700/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

TempAmb=$(owread $OWSERVER 28.D7059800/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

TempRes=$(owread $OWSERVER 28.A6EE9700/temperature | /opt/bin/awk
'{printf "%3.1f\n",($0)}')

Accum_flow=$(owread $OWSERVER uncached/1D.EBEF090034/counters.A |
/opt/bin/awk '{printf "%d\n",($0/4100)}')

 

### Calculations based upon Data ###

C12=$(/opt/bin/awk -v PH="$PH" '{printf "%3.1f\n",((3*$0)*(10^(7-PH)))}'
/public/kh_value)

Todayflow=$(/opt/bin/awk -v AF="$Accum_flow" '{printf "%d\n",(AF-$0)}'
/public/lastflow.txt)

Weekflow=$(/opt/bin/awk -v AF="$Accum_flow" '{printf "%d\n",(AF-$0)}'
/public/weekflow.txt)

 

 

  _  

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and 

Re: [Owfs-developers] Reading 1 wire dataevery minutewith anNSLU2(SLUG)

2007-03-14 Thread Christian Magnusson
 

Nice to hear that owshell works better for you. I guess there are some
thread or locking issues with fuse or owfs which doesn't work 100% with
uClibc.

owserver+owlib seem to be very stable, so my first guess is that fuse need
some more patches to make it work better with uClibc on the NSLU2.

 

fuse-2.4.2 which might work better, but I don't think I have time to try it
right now. I need to re-compile everything before trying that.

 

/Christian

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Conway
Sent: den 14 mars 2007 10:38
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Reading 1 wire dataevery minutewith
anNSLU2(SLUG)

 

Paul, Christian

 

I installed owshell, updated my scripts (as suggested -thanks) stopped owfs,
owhttpd, owsftp.  (Have not updated owfs to the latest build)

 

I put a continuous loop in my read script without a pause and it was reading
8 values continuously for 1 hour.  the SLUG top command showed a load of
2.9, 2.5, 2.6  which I think equates to 290% load ? At the same time I
run the cgi file multiple times from the web page.  wow it is so much more
stable than owfs/fuse.

 

I will now progress to getting some outputs happening...was thinking of just
pulsing an LED via a script every 3 seconds for a couple of weeks prior to
going live.  It will be interesting if I can extend my uptime...I think the
best I got from owfs/fuse was about 8-10 days, before I started to use
multiple read scripts.

 

thanks for the help guy's...I class myself as a user, (not developer or
programmer) every time I have an issue my application and knowledge gets
stronger.  This allows me to develop my monitoring application further and
further. 

 

 

cheers

 

rob Australia

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Python with ownet

2007-03-17 Thread Christian Magnusson

I have made some changes for the files module/swig/perl5/ which should make
it possible to compile all swig modules for MacOSX now.
I hope I didn't break anything, but I tried to compile it for 4 different
platforms and it should work now.

(I haven't looked at the other things you wrote about)


/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Stephen Houser
> Sent: den 16 mars 2007 18:25
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] Python with ownet
> 
> The third diff is for the swig/perl makefile to work on OSX. Seems
> configure is not treating it properly. Have not looked more than to
> make a manual change, removing the unsupported "-shared" options.
> 
> Here are my diff's from the most recent CVS
> 
> diff -r owfs-cvs/module/swig/perl5/Makefile.PL.in owfs/module/swig/
> perl5/Makefile.PL.in
> 15c15
> < 'LDDLFLAGS' =>  q[-shared -Wl,-L../../owlib/src/c/.libs -
> Wl,[EMAIL PROTECTED]@/lib],
> ---
>  > 'LDDLFLAGS' =>  q[-bundle -flat_namespace -undefined
> suppress -Wl,-L../../owlib/src/c/.libs -Wl],
> 
> 
> Stephen
> 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Build problem with CYGWIN observed with 2.5p10

2007-03-18 Thread Christian Magnusson
I patched owfs/src/scripts/usb/cygwin/Makefile.am to ignore errors when
installing the dll to /usr/bin.
Normally it's installed in /opt/owfs/bin and then there are no errors. Just
add two '-' before the if statements.

-if test -f /bin/cygwin1.dll; then \
@INSTALL@ /bin/cygwin1.dll ${DESTDIR}${bindir}/ ; \
fi
-if test -f /bin/cygusb0.dll; then \
@INSTALL@ /bin/cygusb0.dll ${DESTDIR}${bindir}/ ; \
fi

/Christian

> make[5]: Entering directory `/usr/src/owfs-
> 2.5p10/src/scripts/usb/cygwin'
> make[5]: Nothing to be done for `install-exec-am'.
> /usr/bin/install -c -d /usr/bin
> if test -f /bin/cygwin1.dll; then \
> /usr/bin/install -c /bin/cygwin1.dll /usr/bin/ ; \
> fi
> /usr/bin/install: `/bin/cygwin1.dll' and `/usr/bin/cygwin1.dll' are the
> same fil
> e
> make[5]: *** [install-data-local] Error 1
> make[5]: Leaving directory `/usr/src/owfs-
> 2.5p10/src/scripts/usb/cygwin'



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] owfs exits, no obvious error

2007-03-19 Thread Christian Magnusson

The reason must be that fuse_main() exits for some reason after the first
request...?!?
ow_exit(0) is then called and cleans up owfs in
owfs/module/owfs/src/c/owfs.c.
Do you know which fuse-version you use?  Try "fusermount -V" and tell us.

/Christian



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Shawn Rutledge
> Sent: den 18 mars 2007 22:23
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] owfs exits, no obvious error
> 
> I just tried to move my ow networks to a different machine, so I have
> the latest gentoo fuse, 2.6.19-gentoo-r5 kernel, etc. and just
> compiled owfs-2.6p1.  When running with debug turned on I see that
> everything looks OK, then ow_exit is called for some reason.  I also
> tried running owserver instead, and connecting to it from owfs; in
> that case, owserver runs, but owfs exits.
> 
> [muon][01:58:17 PM] /opt/owfs/bin/owfs --foreground --error_level 9 -u
> -F /mnt/ow2
> CONNECT: fuse mount point: /mnt/ow2
>CALL: PARSENAME path=[]
> CONNECT: Adapter found: 001/005
> DEFAULT: Opened USB DS9490 adapter at 001/005.
>DATA: DS9490_setup_adapter: done (ret=0)
>DATA: DS9490_overdrive()
>   DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
>DATA: BUS_first: No data will be returned
>   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00
> 00 last path=00 00 00 00 00 00 00 00
>   DEBUG: Clearing root branch
>DATA: DS9490_reset
>DATA: DS9490_reset: ok
>   DEBUG:   Transaction send = 0
>   DEBUG:   Transaction end = 0
>DATA: DS9490_reset
>DATA: DS9490_reset: ok
>   DEBUG: DS9490_next_both SN found: 12 0C 84 11 00 00 00 9F
>   DEBUG: BUS_next return = 0 12 0C 84 11 00 00 00 9F
>   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00
> 00 last path=00 00 00 00 00 00 00 00
>DATA: DS9490_reset
>DATA: DS9490_reset: ok
>   DEBUG: DS9490_next_both SN found: 12 69 C1 11 00 00 00 8C
>   DEBUG: BUS_next return = 0 12 69 C1 11 00 00 00 8C
>   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00
> 00 last path=00 00 00 00 00 00 00 00
>DATA: DS9490_reset
>DATA: DS9490_reset: ok
>   DEBUG: DS9490_next_both SN found: 12 FD 74 11 00 00 00 7C
>   DEBUG: BUS_next return = 0 12 FD 74 11 00 00 00 7C
>   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00
> 00 last path=00 00 00 00 00 00 00 00
>DATA: DS9490_reset
>DATA: DS9490_reset: ok
>   DEBUG: DS9490_next_both SN found: 81 12 93 24 00 00 00 18
>   DEBUG: BUS_next return = 0 81 12 93 24 00 00 00 18
> CONNECT: Good DS1421 tag found for 001/005
> DEFAULT: Set DS9490 001/005 unique id to FF81 12 FF93 24 00 00
> 00 18
>   DEBUG: owfs: ow_exit(0)
>CALL: Starting Library cleanup
>CALL: Closing Cache
>CALL: Closing input devices
>   DEBUG: FreeIn: busmode=3
> CONNECT: Closed USB DS9490 adapter at 001/005. ret=0
>CALL: Closing outout devices
>CALL: Finished Library cleanup
> 
> Something similar happens for a serial port adapter:
> 
> [muon][02:19:37 PM] /opt/owfs/bin/owfs /mnt/ow1 --foreground
> --error_level 9 -d /dev/ttyS1
> CONNECT: fuse mount point: /mnt/ow1
>CALL: PARSENAME path=[]
>   DEBUG: owfs: ow_exit(0)
>CALL: Starting Library cleanup
>CALL: Closing Cache
>CALL: Closing input devices
>   DEBUG: FreeIn: busmode=1
>   DEBUG: COM_close: flush
>   DEBUG: COM_close: restore
>   DEBUG: COM_close: close
>CALL: Closing outout devices
>CALL: Finished Library cleanup
> 
> But owhttpd will work fine with that same serial port.
> 
> ---
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


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

2007-04-05 Thread Christian Magnusson
 

As Ben said in his posting. you should try to read the uncached values, just
to be sure it's the current value.

Change the reading by adding /uncached before the paths.

 

DI_4=$(/opt/bin/owread -s 3002 /uncached/05.FC152D00/sensed)



/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Conway
Sent: den 5 april 2007 14:32
To: owfs-developers@lists.sourceforge.net
Subject: [Owfs-developers] HELP Using DS2405 as Digital Inputs (NSLU2) and
some great I/O boards

 

After my NSLU2 has now run faultlessly with owserver for 3 weeks, thanks
Christian for the help, having got rid of fuse and only startup owserver. I
decided to move into control.  I built two I/O boards from the futurlec opto
isolated digital input board and a Digital output board.  I included a link
as at US13.00 each they work out great with only minor modifications.  They
have an area to mount the DS2405/6 chip directly onto the board.

 

I had 4 off each of the following chips so I installed them as follows

 

DI board uses 4 x  DS2405

DO boards use 4 x DS2406

 

Included link to some pics of the I/O boards

 

DO board no 1wire as yet however driver transistor removed
http://img.photobucket.com/albums/v319/rjconway/IMG_0018.jpg

DO board fitted into enclosure
http://img.photobucket.com/albums/v319/rjconway/IMG_0024.jpg

 

DI board with DS2405 fitted (no enclusre as yet)
http://img.photobucket.com/albums/v319/rjconway/IMG_0025-1.jpg

DI board underside wires not too many mods required...
http://img.photobucket.com/albums/v319/rjconway/IMG_0023-1.jpg

 

 

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 changes. Again
if I  physically turn off the input, the 1st read no change the 2nd read it
will show a change.  

 

I am now approaching 20 devices on the network and do not particulary want
to scan these Digital inputs twice as fast as nessecary.  I am going to use
some inputs as "momentary buttons and a high level alarm" thus wanting to
read the status on every scan.

 

 

 

this is my test script...I just turn on the DO to watch the lights turn on
in succession looks cool and is fast !

###

#!/bin/bash
DO_2="/opt/bin/owwrite -s 3002 12.26774500/PIO.BYTE"
DO_3="/opt/bin/owwrite -s 3002 12.A3764500/PIO.BYTE"
DO_4="/opt/bin/owwrite -s 3002 12.D3724500/PIO.BYTE"
DO_1="/opt/bin/owwrite -s 3002 12.276B4500/PIO.BYTE"

 

while true
do

 

DI_4=$(/opt/bin/owread -s 3002 05.FC152D00/sensed)
DI_1=$(/opt/bin/owread -s 3002 05.76132D00/sensed)
DI_3=$(/opt/bin/owread -s 3002 05.65142D00/sensed)
DI_2=$(/opt/bin/owread -s 3002 05.07202D00/sensed)

 

$DO_1 1
$DO_2 1
$DO_3 1
$DO_4 1
sleep 1
$DO_1 0
$DO_2 0
$DO_3 0
$DO_4 0
sleep 20

 

echo $DI_1 $DI_2 $DI_3 $DI_4
done



 

cheers

 

rob Australia

 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] [owfs - Help] RE: Data error on 1D... when reading DS2423

2007-04-24 Thread Christian Magnusson

I don't have that device myself, so I can't test it...
Perhaps Paul know which changes are made in the source which could effect
that device.
The counter.A file works for me with the LCD-display, so it should be a
error to the device-source and probably not to the general owlib.

/Christian



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Rob Conway
> Sent: den 25 april 2007 00:12
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] [owfs - Help] RE: Data error on 1D...
> when reading DS2423
> 
> I run  a DS2423 on an NSLU2 and it works fine
> 
> "owfs - 2.6p1-3"
> 
> # /opt/bin/owread -s 3002 1D.EBEF090034/counters.A
>  8998369#
> 
> cheers
> 
> rob
> 
> 
> - Original Message -
> From: "SourceForge.net" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 25, 2007 3:16 AM
> Subject: [owfs - Help] RE: Data error on 1D... when reading DS2423
> 
> 
> >
> > Read and respond to this message at:
> > https://sourceforge.net/forum/message.php?msg_id=4278394
> > By: awrede
> >
> > Looks like the same problem. For me it occurs with the owfs-2.6p4
> release
> > as
> > well as the current cvs tree.
> >
> >
> __
> > You are receiving this email because you elected to monitor this
> forum.
> > To stop monitoring this forum, login to SourceForge.net and visit:
> > https://sourceforge.net/forum/unmonitor.php?forum_id=292718
> >
> 
> 
> ---
> --
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Data error reading DS2423 counters

2007-05-01 Thread Christian Magnusson

I have changed the if-statement for the ds2423 which probably caused the
problem.
I also built new nslu2 and openwrt ipk-packages with this update.

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Matt
> Sent: den 2 maj 2007 04:36
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] Data error reading DS2423 counters
> 
> I had problems with 2.6p1-3 with DS2423 devices on an NSLU2 and
> problems
> (less) on Debian.
> In both instances I was using USB.
> 
> I eventually reverted to an old serial adaptor which worked.
> 
> 
> 
> Lorenz Drack wrote:
> >
> > Hi
> >
> > I run 2.6p3-4 which is the latest port to the slug.
> >
> > Previous versions don't support the AAG thermocouple device (DS2760)
> > which I need as part of my setup.
> >
> > DS2423 counters did work in 2.6p1-3 but the DS2760 didn't.
> >
> > thanks
> >
> >
> >
> > *From:* [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] *On Behalf Of
> > *Rob Conway
> > *Sent:* Tuesday, 1 May 2007 7:23 AM
> > *To:* owfs-developers@lists.sourceforge.net
> > *Subject:* Re: [Owfs-developers] Data error reading DS2423 counters
> >
> >
> >
> > see below for unslung 6.8 SLUG
> >
> >
> >
> >
> >
> > I run  a DS2423 on an NSLU2 and it works fine
> >
> > "owfs - 2.6p1-3"
> >
> > # /opt/bin/owread -s 3002 1D.EBEF090034/counters.A
> >  8998369#
> >
> > cheers
> >
> > rob
> >
> > - Original Message -
> >
> > *From:* Lorenz Drack 
> >
> > *To:* owfs-developers@lists.sourceforge.net
> > 
> >
> > *Sent:* Tuesday, May 01, 2007 12:52 AM
> >
> > *Subject:* Re: [Owfs-developers] Data error reading DS2423
> counters
> >
> >
> >
> > Hi all, FWIW all my DS2423 devices on the slug are now reading
> > errors. Does anyone remember which version these still worked
> for?
> >
> >
> >
> > *From:* [EMAIL PROTECTED]
> > 
> > [mailto:[EMAIL PROTECTED] *On Behalf
> > Of *Paul Alfille
> > *Sent:* Sunday, 29 April 2007 11:56 AM
> > *To:* owfs-developers@lists.sourceforge.net
> > 
> > *Subject:* Re: [Owfs-developers] Data error reading DS2423
> counters
> >
> >
> >
> > I've been looking at the code.
> >
> > Can you post what kind of errors you are getting? Perhaps debug
> > output?
> >
> > Paul Alfille
> >
> > On 4/27/07, *Paul Alfille *<[EMAIL PROTECTED]
> > > wrote:
> >
> > Hacker's guide:
> >
> > code is in: DS2423 is in module/owlib/src/c/ow_ds2423.c
> > debugging: --foreground --error_level=9
> > sniffing: use an extra "LINK" adapter and the
> > src/sniffer/linksniff program (just run "make" in that
> directory).
> >
> > Paul Alfille
> >
> >
> >
> > On 4/27/07, *Matthias Urlichs* < [EMAIL PROTECTED]
> > > wrote:
> >
> > Hi,
> >
> > njh:
> > > Ok, I just soldered one up and plugged it in.  I get roughly
> the
> > same
> > > error:
> >
> > Ouch. Any ideas where that comes from?
> >
> > owserver doesn't seem to actually log anything special.
> > A Hacker's Guide (or, if it already exists, a pointer to it)
> which
> > gives one a few pointers WRT where to start finding that kind of
> > problem
> > would be appreciated.
> >
> > --
> > Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de
> >    |   [EMAIL PROTECTED]
> > 
> > Disclaimer: The quote was selected randomly. Really. |
> > http://smurf.noris.de
> > - -
> > I WILL NOT CHARGE ADMISSION TO THE BATHROOM
> > -- Bart Simpson on chalkboard in episode 9F19
> >
> > -
> 
> >
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > 
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> >
> >
> >
> >
> > -
> ---
> >
> > -
> 
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> >
> > -
> ---
> >
> > __

Re: [Owfs-developers] DS2760 - two bugs

2007-05-03 Thread Christian Magnusson
I will make a new build with the fix later today.

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lorenz
Drack
Sent: den 3 maj 2007 15:32
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] DS2760 - two bugs

 

thanks Paul - I was having the same problem with my 2760. what version
number should I look for when it gets ported to the slug?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: Thursday, 3 May 2007 11:25 AM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] DS2760 - two bugs

 

Ok, I see part of the problem: The DS2760 stores data highbyte/lowbyte and
the DS2438 stores data lowbyte/highbyte. I was trying to reduce repetetive
code between these very similar chips and missed this nuance. It effects
voltage readings, temperature, and current. Fixed in the CVS. 

Paul Alfille

On 5/2/07, Jan Bertelsen <[EMAIL PROTECTED]> wrote:

Hi all,

running 2.6p4 on a FC5 I get some wrong readings from a DS2760 (like -31 C
as room temperature...)

Bug 1
After some debugging I found that OW_r_int(...) (line 886 in ow_2760.c) is
returning the temperature bytes from DS2760 in reversed order. OW_r_int 
has another way of reading the bytes (line 1043 in ow_2760.c) but this is
commented out.

Swapping comment of line 1043 and 1044 in ow_2760.c gives the right
temperature reading, but I can't figure out if this is the right way to do 
it or if there is a general bug in UT_int16() (or maybe OW_r_sram()).

Bug 2
But still I get the wrong thermocouple temperature. After some more
debugging  I realized that an old bug has been reintroduced (see e-mail 
from 5/23/06): FS_r_vis() has a special if-statement for DS2740BU (line
617,618 in ow_2760.c) which is only relevant for DS2740BU (or am I
wrong?).

After moving it to the case-statement of DS2740 (as it was in version 
2.3p7) I got the right readings from the thermocouple.

Does anybody know why this if-statement has been moved??


A diff of my changes is included below.

Jan B.





[EMAIL PROTECTED] c]$ diff ow_2760.c ow_2760.c_org
603,604d602
<   if (pn->ft->data.v)
< f = pn->ft->data.f;   // for DS2740BU
618a617,618
>   if (pn->ft->data.v )
>   f = pn->ft->data.f; // for DS2740BU
1043,1044c1043,1044
<   I[0] = (((int)((int8_t)i[0])<<8) + ((uint8_t)i[1]) ) ;
<   //I[0] = UT_int16(i);
---
>   //I[0] = (((int)((int8_t)i[0])<<8) + ((uint8_t)i[1]) ) ;
>   I[0] = UT_int16(i);



-
This SF.net email is sponsored by DB2 Express 
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/ 
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] DS2760 - two bugs

2007-05-04 Thread Christian Magnusson
 

2.6p4-5 to the nslu2 is built from the latest CVS-version now.

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lorenz
Drack
Sent: den 3 maj 2007 15:32
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] DS2760 - two bugs

 

thanks Paul - I was having the same problem with my 2760. what version
number should I look for when it gets ported to the slug?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: Thursday, 3 May 2007 11:25 AM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] DS2760 - two bugs

 

Ok, I see part of the problem: The DS2760 stores data highbyte/lowbyte and
the DS2438 stores data lowbyte/highbyte. I was trying to reduce repetetive
code between these very similar chips and missed this nuance. It effects
voltage readings, temperature, and current. Fixed in the CVS. 

Paul Alfille

On 5/2/07, Jan Bertelsen <[EMAIL PROTECTED]> wrote:

Hi all,

running 2.6p4 on a FC5 I get some wrong readings from a DS2760 (like -31 C
as room temperature...)

Bug 1
After some debugging I found that OW_r_int(...) (line 886 in ow_2760.c) is
returning the temperature bytes from DS2760 in reversed order. OW_r_int 
has another way of reading the bytes (line 1043 in ow_2760.c) but this is
commented out.

Swapping comment of line 1043 and 1044 in ow_2760.c gives the right
temperature reading, but I can't figure out if this is the right way to do 
it or if there is a general bug in UT_int16() (or maybe OW_r_sram()).

Bug 2
But still I get the wrong thermocouple temperature. After some more
debugging  I realized that an old bug has been reintroduced (see e-mail 
from 5/23/06): FS_r_vis() has a special if-statement for DS2740BU (line
617,618 in ow_2760.c) which is only relevant for DS2740BU (or am I
wrong?).

After moving it to the case-statement of DS2740 (as it was in version 
2.3p7) I got the right readings from the thermocouple.

Does anybody know why this if-statement has been moved??


A diff of my changes is included below.

Jan B.





[EMAIL PROTECTED] c]$ diff ow_2760.c ow_2760.c_org
603,604d602
<   if (pn->ft->data.v)
< f = pn->ft->data.f;   // for DS2740BU
618a617,618
>   if (pn->ft->data.v )
>   f = pn->ft->data.f; // for DS2740BU
1043,1044c1043,1044
<   I[0] = (((int)((int8_t)i[0])<<8) + ((uint8_t)i[1]) ) ;
<   //I[0] = UT_int16(i);
---
>   //I[0] = (((int)((int8_t)i[0])<<8) + ((uint8_t)i[1]) ) ;
>   I[0] = UT_int16(i);



-
This SF.net email is sponsored by DB2 Express 
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/ 
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS on Kamikaze OpenWrt

2007-05-11 Thread Christian Magnusson
My makefiles for openwrt is located at:
http://home.mag.cx/openwrt/source/mk/package/owfs/
if you want to take a look. I haven't tried it myself with the Kamikaze
build-tree though.

I have compiled owfs with the 0.9 build-tree too, and those packages could
be found here:
http://home.mag.cx/openwrt/0.9/beta/

I'm not sure if they differ compared to the original packages (for RC5/RC6)
located at:
http://owfs.sourceforge.net/openwrt/packages/
but some user complained about those packages couldn't be used with the
0.9-version. (he had some libc-problems)

/Christian



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Alessio Sangalli
> Sent: den 11 maj 2007 01:38
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] OWFS on Kamikaze OpenWrt
> 
> Hi, I have an Asus wl-500gP with Openwrt Kamikaze on it and I would
> like
> to run OWFS on it. Are there packages for Kamikaze version? I don't
> mind
> compiling the Kamikaze image myself if necessary.
> 
> Another thing: as I think it would be simpler, is it possible to use a
> GPIO pin to master the 1-wire bus? That would greatly reduce the
> component count as I only plan to connect a temperature sensor which I
> will read once every hour, so performances are not a problem.
> 
> Thank you very much for the impressive work
> Alessio Sangalli
> 
> 
> 
> ---
> --
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Debian packaging

2007-05-16 Thread Christian Magnusson

> 
> NB: The library name is libow.so.0.0.0. That is unrelated to packaging
> and needs to be fixed urgently -- a release should basically NEVER have
> a broken shared library soname like that.
> 

Question is how to name the library... Current version is 2.6p4, so how
should we name the library.
libusb add their release to the name as well...  like libusb-0.1.so.4.4.2

The format seem to be libX[-release].so.{current}:{revision}:{age}, so how
about changing the library-name to 
libow-2.6.so.4.0.0, libow-2.6.so.5.0.0 etc..

I can't see any reason to use the age-field, since there are no reason to
use the libow to anything else
but the owfs-binaries (and probably libowcapi).

/Christian

--

I found some page at apple which describe the name convention.

http://developer.apple.com/documentation/DeveloperTools/glibtool/libtool_6.h
tml

Never try to set the interface numbers so that they correspond to the
release number of your package. This is an abuse that only fosters
misunderstanding of the purpose of library versions. Instead, use the
`-release' flag (see section Managing release information), but be warned
that every release of your package will not be binary compatible with any
other release. 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS on DD-WRT

2007-05-17 Thread Christian Magnusson
 

Using the function __pthread_initialize() and variable
__pthread_initial_thread_bos were highly risky, but it was necessary to do
it

due to a bug in libpthread with uclibc. After the main-process forked a new
process and died, I had to re-initialize libpthread from the child to make
mutexes work.

 

I'm not sure how to fix this without reordering lots of code in owlib  (and
use pthread-function first time after deamon is called). This should fix the
problem, but I never tried to do those changes before. The quick fix was to
re-initialize pthread and it worked for all platforms I used at that time.

 

/* Have to re-initialize pthread since the main-process is gone.

 *

 * This workaround will probably be fixed in uClibc-0.9.28

 * Other uClibc developers have noticed similar problems which are

 * trigged when pthread functions are used in shared libraries. */

__pthread_initial_thread_bos = NULL;

__pthread_initialize();

 

 

It's strange that you don't have PTHREAD_MUTEX_ADAPTIVE_NP defined in
pthread.h. It's defined in all uclibc versions I have seen.

 

Which uclibc-version do you have?

 

/Christian

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Allen
Sent: den 16 maj 2007 06:04
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] OWFS on DD-WRT

 

It looks like there are three files it's used in: ow_cache.c, ow_locks.c,
and ow_tree.c. The first two can be disabled with config options.

When I attempted to build with gcc-mipsel-linux-uclibc 4.1 I got the
following error 
owlib.c: In function 'LibStart':
owlib.c:215: error: '__pthread_initial_thread_bos' undeclared (first use in
this function)
owlib.c:215: error: (Each undeclared identifier is reported only once
owlib.c:215: error: for each function it appears in.)
owlib.c:216: warning: implicit declaration of function
'__pthread_initialize'
owlib.c:219: warning: implicit declaration of function
'pthread_mutexattr_init' 
owlib.c:219: error: 'mattr' undeclared (first use in this function)
owlib.c:220: warning: implicit declaration of function
'pthread_mutexattr_settype'
owlib.c:220: error: 'PTHREAD_MUTEX_ADAPTIVE_NP' undeclared (first use in
this function) 
owlib.c:221: error: 'pmattr' undeclared (first use in this function)
make[4]: *** [owlib.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1 
make: *** [all-recursive] Error 1

On 5/15/07, Eric Allen <[EMAIL PROTECTED]> wrote:

Ah. Okay. How tough is it to build owfs for dd-wrt? Is it simply a matter of
taking the source distro and compiling with mipsel-uclibc?

 

On 5/15/07, Paul Alfille <[EMAIL PROTECTED] mail> wrote:

tsearch is the binary tree search that is part of glibc and some
implementations of uClibc.  It may not have been included in the dd-wrt
version of uClibc. It could be an optional part of owlib, like some of the
semaphore and other code. 

Does that give you a place to look?

Paul Alfille

On 5/15/07, Eric Allen < [EMAIL PROTECTED] 
mailError! Filename not specified.> wrote:

I've gotten as far as the previous poster with install OWFS on DD- 
WRT: when I try to start the daemon I get a "can't resolve symbol
'tsearch' "-error. I tried installing uclibc from http://
downloads.openwrt.org/whiterussian/packages/ and reordering
LD_LIBRARY_PATH to load that libc, but then I just got a segfault.
Any ideas how to proceed?

-
This SF.net email is sponsored by DB2 Express 
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/ 
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net  mailError! Filename not specified.
https://lists.sourceforge.net/lists/listinfo/owfs-developers



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now. 
http://sourceforge.net/powerbar/db2/
___
Owfs-developers mailing list 
Owfs-developers@lists.sourceforge.net mailError! Filename not specified.
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS on DD-WRT

2007-05-18 Thread Christian Magnusson
Building owlib without cache-support seem to be broken right now.

OW_CACHE is not used in ow_read.c or ow_write.c, so I guess Paul have to
look closer into this. I don't have time for it right now.

We have guests at home this weekend..

 

Fix one problem with disable-mt on uclibc. (checked in to the cvs too.)

 

diff -u -r1.117 owlib.c

--- module/owlib/src/c/owlib.c  7 May 2007 17:14:37 -   1.117

+++ module/owlib/src/c/owlib.c  18 May 2007 20:48:33 -

@@ -207,6 +207,7 @@

PIDstart();

}

 

+#if OW_MT

/* Have to re-initialize pthread since the main-process is gone.

 *

 * This workaround will probably be fixed in uClibc-0.9.28

@@ -219,6 +220,7 @@

pthread_mutexattr_init(&mattr);

pthread_mutexattr_settype(&mattr, PTHREAD_MUTEX_ADAPTIVE_NP);

pmattr = &mattr;

+#endif /* OW_MT */

 

/* Setup the multithreading synchronizing locks */

LockSetup();

 

/Christian

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Allen
Sent: den 18 maj 2007 19:12
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] OWFS on DD-WRT

 

Interesting...If I run ./configure with --disable-mt I get the error about
pthread stuff not being present. If I run it with --disable-cache I get an
error about the cache functions not being present (listed below). If I
enable both it compiles cleanly, but I'm left with a binary that depends
heavily on tesearch. 

mipsel-linux-uclibc-gcc -I../include -I../../../owlib/src/include
-fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wstrict-prototypes -Wredundant-decls -D_FILE_OFFSET_BITS=64
-I/home/eric/ddwrt/toolchains/4.1.0- uclibc-0.9.28/include -o .libs/owhttpd
owhttpd.o owhttpd_handler.o owhttpd_present.o owhttpd_write.o owhttpd_read.o
owhttpd_dir.o owhttpd_favicon.o -Wl,--rpath -Wl,/opt/owfs/lib
-L/home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c -pthread
-L/home/eric/ddwrt/toolchains/4.1.0- uclibc-0.9.28/lib
/home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c/.libs/libow.so -lpthread -ldl
-Wl,--rpath -Wl,/opt/owfs/lib
/home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c/.libs/libow.so: undefined
reference to `OWQ_Cache_Add' 
/home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c/.libs/libow.so: undefined
reference to `OWQ_Cache_Get'
/home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c/.libs/libow.so: undefined
reference to `OWQ_Cache_Del'
collect2: ld returned 1 exit status
make[4]: *** [owhttpd] Error 1
make[4]: Leaving directory
`/home/eric/ddwrt/owfs-2.6p4/module/owhttpd/src/c'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/eric/ddwrt/owfs- 2.6p4/module/owhttpd/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eric/ddwrt/owfs-2.6p4/module/owhttpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eric/ddwrt/owfs- 2.6p4/module'
make: *** [all-recursive] Error 1

On 5/17/07, Eric Allen <[EMAIL PROTECTED]> wrote: 

I'm using uclibc 0.9.28 and either gcc 4.1 or 3.4.6 (same result). Might it
be worth a shot to drop the reinitialization? 

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS on DD-WRT

2007-05-20 Thread Christian Magnusson

Could you look in the config.h and see which functions were detected during
the configure-script was run?

[EMAIL PROTECTED] owfs]# grep HAVE_T src/include/config.h
#define HAVE_TDELETE 1
#define HAVE_TDESTROY 1
#define HAVE_TERMIOS_H 1
#define HAVE_TFIND 1
#define HAVE_TSEARCH 1

I really wonder if you only lack the tsearch() function... and then have
tfind() and tdelete()..

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Paul Alfille
> Sent: den 19 maj 2007 22:54
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] OWFS on DD-WRT
> 
> Not without writing a version for your machine, though I could switch
> in a linear search algorthm.
> Let me work on it Monday.
> Paul Alfille
> On 5/19/07, Eric Allen <[EMAIL PROTECTED]> wrote:
> > Okay. But I'm still stuck with tsearch. Any way to get around that?
> >
> >
> > On 5/18/07, Christian Magnusson <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > >
> > > Building owlib without cache-support seem to be broken right now.
> > >
> > > OW_CACHE is not used in ow_read.c or ow_write.c, so I guess Paul
> have to
> > look closer into this. I don't have time for it right now.
> > >
> > > We have guests at home this weekend..
> > >
> > >
> > >
> > > Fix one problem with disable-mt on uclibc. (checked in to the cvs
> too.)
> > >
> > >
> > >
> > > diff -u -r1.117 owlib.c
> > >
> > > --- module/owlib/src/c/owlib.c  7 May 2007 17:14:37 -
> 1.117
> > >
> > > +++ module/owlib/src/c/owlib.c  18 May 2007 20:48:33 -
> > >
> > > @@ -207,6 +207,7 @@
> > >
> > > PIDstart();
> > >
> > > }
> > >
> > >
> > >
> > > +#if OW_MT
> > >
> > > /* Have to re-initialize pthread since the main-process is
> gone.
> > >
> > >  *
> > >
> > >  * This workaround will probably be fixed in uClibc-0.9.28
> > >
> > > @@ -219,6 +220,7 @@
> > >
> > > pthread_mutexattr_init(&mattr);
> > >
> > > pthread_mutexattr_settype(&mattr,
> > PTHREAD_MUTEX_ADAPTIVE_NP);
> > >
> > > pmattr = &mattr;
> > >
> > > +#endif
> > /* OW_MT */
> > >
> > >
> > >
> > > /* Setup the multithreading synchronizing locks */
> > >
> > > LockSetup();
> > >
> > >
> > >
> > > /Christian
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] ] On
> > Behalf Of Eric Allen
> > > Sent: den 18 maj 2007 19:12
> > > To: owfs-developers@lists.sourceforge.net
> > > Subject: Re: [Owfs-developers] OWFS on DD-WRT
> > >
> > >
> > >
> > >
> > > Interesting...If I run ./configure with --disable-mt I get the
> error about
> > pthread stuff not being present. If I run it with --disable-cache I
> get an
> > error about the cache functions not being present (listed below). If
> I
> > enable both it compiles cleanly, but I'm left with a binary that
> depends
> > heavily on tesearch.
> > >
> > > mipsel-linux-uclibc-gcc -I../include -I../../../owlib/src/include
> > -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual
> > -Wcast-align -Wstrict-prototypes -Wredundant-decls -
> D_FILE_OFFSET_BITS=64
> > -I/home/eric/ddwrt/toolchains/4.1.0- uclibc-0.9.28/include
> > -o .libs/owhttpd owhttpd.o owhttpd_handler.o owhttpd_present.o
> > owhttpd_write.o owhttpd_read.o owhttpd_dir.o owhttpd_favicon.o -Wl,--
> rpath
> > -Wl,/opt/owfs/lib  -L/home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c -
> pthread
> > -L/home/eric/ddwrt/toolchains/4.1.0- uclibc-0.9.28/lib
> > /home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c/.libs/libow.so
> > -lpthread -ldl -Wl,--rpath -Wl,/opt/owfs/lib
> > >
> > /home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c/.libs/libow.so:
> > undefined reference to `OWQ_Cache_Add'
> > >
> > /home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c/.libs/libow.so:
> > undefined reference to `OWQ_Cache_Get'
> > >
> > /home/eric/ddwrt/owfs-2.6p4/module/owlib/src/c/.libs/libow.so:
> > und

Re: [Owfs-developers] OWFS on DD-WRT

2007-05-20 Thread Christian Magnusson

I have added compatibility functions for tsearch(), tfind(), tdelete() and
twalk() in case they are missing now.
Perhaps this will work better for you.. (Can't promise anything though...)

/Christian


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Christian
> Magnusson
> Sent: den 20 maj 2007 19:00
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] OWFS on DD-WRT
> 
> 
> Could you look in the config.h and see which functions were detected
> during
> the configure-script was run?
> 
> [EMAIL PROTECTED] owfs]# grep HAVE_T src/include/config.h
> #define HAVE_TDELETE 1
> #define HAVE_TDESTROY 1
> #define HAVE_TERMIOS_H 1
> #define HAVE_TFIND 1
> #define HAVE_TSEARCH 1
> 
> I really wonder if you only lack the tsearch() function... and then
> have
> tfind() and tdelete()..
> 
> /Christian
> 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] OWFS on DD-WRT

2007-05-21 Thread Christian Magnusson


[EMAIL PROTECTED] lib.mipsel]#
/usr/src/1wire/dd-wrt/toolchains/opt/4.1.1/bin/mipsel-linux-uclibc-nm libc.a
| grep -i walk
twalk.o:
00f0 T twalk
[EMAIL PROTECTED] lib.mipsel]#
/usr/src/1wire/dd-wrt/toolchains/opt/4.1.1/bin/mipsel-linux-uclibc-objdump
-xatT libuClibc-0.9.28.so | grep -i walk
0002fc20 gDF .text  0034 twalk
[EMAIL PROTECTED] lib.mipsel]#
/usr/src/1wire/dd-wrt/toolchains/opt/4.1.1/bin/mipsel-linux-uclibc-objdump
-xatT libc.so | grep -i walk


If you look in dd-wrt/src/router/lib.mipsel/Makefile it will test for a
config-option called
CONFIG_LIBOPT... If this is defined in src/router/.config
[EMAIL PROTECTED] lib.mipsel]# grep LIB /usr/src/1wire/dd-wrt/src/router/.config
CONFIG_LIBBCM=y
CONFIG_LIBIPT=y
# CONFIG_GLIBC is not set
CONFIG_UCLIBC=y
CONFIG_LIBOPT=y

This uclibc will be optimized and all unused functions will be removed...
(That includes tsearch, twalk etc since no applications in src/router/* use
those functions.)

After you recompile owfs located in src/router/owfs, a new optimized libc
will be generated with all necessary functions.
If you re-flash your router with the complete firmware-image you ust
compiled it will probably work.


A method which should work for you is this Could you try that...

You can try to use the compiled (and non-optimized) library
libuClibc-0.9.28.so.

cp owserver /tmp/owserver
cp libuClibc-0.9.28.so /tmp/libc.so.0
export LD_LIBRARY_PATH=/tmp:/lib:/usr/lib
cd /tmp

Find out which libraries are used now...

[EMAIL PROTECTED]:/tmp# ldd ./owserver
libow.so.0 => /usr/lib/libow.so.0 (0x2aaee000)
libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0x2ab99000)
libpthread.so.0 => /lib/libpthread.so.0 (0x2abe)
libdl.so.0 => /lib/libdl.so.0 (0x2ac34000)
libc.so.0 => /tmp/libc.so.0 (0x2ac76000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)

And then try to start "/tmp/owserver".

If you are lucky, /tmp/libc.so.0 will be used instead of /lib/libc.so.0

/Christian



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Christian
> Magnusson
> Sent: den 20 maj 2007 19:00
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] OWFS on DD-WRT
> 
> 
> Could you look in the config.h and see which functions were detected
> during
> the configure-script was run?
> 
> [EMAIL PROTECTED] owfs]# grep HAVE_T src/include/config.h
> #define HAVE_TDELETE 1
> #define HAVE_TDESTROY 1
> #define HAVE_TERMIOS_H 1
> #define HAVE_TFIND 1
> #define HAVE_TSEARCH 1
> 
> I really wonder if you only lack the tsearch() function... and then
> have
> tfind() and tdelete()..
> 
> /Christian
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:owfs-
> > [EMAIL PROTECTED] On Behalf Of Paul Alfille
> > Sent: den 19 maj 2007 22:54
> > To: owfs-developers@lists.sourceforge.net
> > Subject: Re: [Owfs-developers] OWFS on DD-WRT
> >
> > Not without writing a version for your machine, though I could switch
> > in a linear search algorthm.
> > Let me work on it Monday.
> > Paul Alfille
> > On 5/19/07, Eric Allen <[EMAIL PROTECTED]> wrote:
> > > Okay. But I'm still stuck with tsearch. Any way to get around that?
> > >
> > >
> > > On 5/18/07, Christian Magnusson <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Building owlib without cache-support seem to be broken right now.
> > > >
> > > > OW_CACHE is not used in ow_read.c or ow_write.c, so I guess Paul
> > have to
> > > look closer into this. I don't have time for it right now.
> > > >
> > > > We have guests at home this weekend..
> > > >
> > > >
> > > >
> > > > Fix one problem with disable-mt on uclibc. (checked in to the cvs
> > too.)
> > > >
> > > >
> > > >
> > > > diff -u -r1.117 owlib.c
> > > >
> > > > --- module/owlib/src/c/owlib.c  7 May 2007 17:14:37 -
> > 1.117
> > > >
> > > > +++ module/owlib/src/c/owlib.c  18 May 2007 20:48:33 -
> > > >
> > > > @@ -207,6 +207,7 @@
> > > >
> > > > PIDstart();
> > > >
> > > > }
> > > >
> > > >
> > > >
> > > > +#if OW_MT
> > > >
> > > > /* Have to re-initialize pthread since the main-process
> is
> > gone.
> > > >
> > > >  *
> > > >
> > > >  * Th

Re: [Owfs-developers] OWFS on DD-WRT

2007-05-21 Thread Christian Magnusson

I have made the changes to the CVS, so the soname should now be correct I
think.

/Christian

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Matthias Urlichs
> Sent: den 21 maj 2007 17:06
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] OWFS on DD-WRT
> 
> Hi,
> 
> Paul Alfille:
> > If everything seem good, it's time for a new release.
> >
> Somebody please fix the shared library sonames before releasing (if it
> hasn't happened already) so that I can put out a "proper" version of
> the
> Debian packaging.
> 
> (I still need to forward my patches... I know.)
> 
> --
> Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |
> [EMAIL PROTECTED]
> Disclaimer: The quote was selected randomly. Really. |
> http://smurf.noris.de
>  - -
> Every little picofarad has a nanohenry all its own.
>   -- Don Vonada
> 
> ---
> --
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


[Owfs-developers] Latest patches...

2007-05-22 Thread Christian Magnusson
 

Why should owserver be installed in sbin now. and all other binaries in bin.

 

I'm not very happy about this update since it will require tons of changes
(in about 50 scripts here for all different platform builds) , so could we
go back to the bin directory for binaries?   There are many startup-scripts
and build scripts nowadays.

 

If owserver is moved, then owhttpd, owfs and owftpd should be moved too if
we should be consequent, but I don't see the point. They are all deamon or
background tasks.

 

/Christian

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Latest patches...

2007-05-23 Thread Christian Magnusson
I noticed that bootstrap was changed to use automake-1.9 too... Is there any
reason not to use "automake" which should be the latest available version?
I only have "automake-1.7" and "automake" on one of my build-servers, so it
kind of break many buildtrees for me. Upgrading to automake-1.9 would
require newer autoconf-2.59 for me too.

Which distribution requires to use automake-1.9 ?  Is it debian again?

/Christian




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


  1   2   3   4   5   6   >