Christian Magnusson | 1 Mar 2005 11:51

RE: owserver changes

Hi Paul,

I will think a bit on some different changes to owserver and do some
tests here....

Another thing... I think I have used owserver in a wrong way most
of the time... correct me if I'm totally wrong here...
Do you know if there are any limitations on the outdevices today...
I mean, should it be possible for many clients to connect to the same
local port?  It seems like there should be some kind of locking
mechanism and idle-packets between the server and client to make sure
not more than one client use a server connection. If the idle-packets
stops, let say for 30 seconds, the server connection is marked as unused
and some other can "login".

I have sometime started owfs like this:
owserver -d /dev/ttyS0 -p 3002
owfs -s 3002 /var/1wire
owhttpd -s 3002 -p 3001

But I guess it should be like this instead...
owserver -d /dev/ttyS0 -p 3002 -p 3003
owfs -s 3002 /var/1wire
owhttpd -s 3003 -p 3001

I have noticed some strange behavior in the first case. When requesting
some directories and files via owhttpd, it locks up but it continues to
work if I kill owfs!

It might be some bugs I have added to my local source here, but I just
(Continue reading)

Sam Quigley | 1 Mar 2005 16:48
Favicon

owfs on ipodlinux

Hi,

Has there been any work getting owfs working on ipodlinux?  A quick 
search of the list didn't turn up anything obvious, but it seems like 
using an ipod for data collection +  monitoring would be a pretty nifty 
thing...  I'll have to wait until the ipodlinux guys get 4G support 
straightened out, but I'd be interested to know if anyone has any advice 
on how to go about porting owfs to that platform....

thanks,
-sq

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Alfille, Paul H.,M.D. | 1 Mar 2005 19:14
Favicon

RE: owfs on ipodlinux

Sounds very interesting.

There is nothing processor-specific in owfs, and it's been ported to other
platforms already.

What interfaces does the ipod have? serial? usb? network?

If it's only firewire, we'll need an adapter, which I presume will work
transparently (just as usb->serial adapters look just like pure serial to owfs).

Paul

-----Original Message-----
From: owfs-developers-admin <at> lists.sourceforge.net
[mailto:owfs-developers-admin <at> lists.sourceforge.net]On Behalf Of Sam
Quigley
Sent: Tuesday, March 01, 2005 10:49 AM
To: owfs-developers <at> lists.sourceforge.net
Subject: [Owfs-developers] owfs on ipodlinux

Hi,

Has there been any work getting owfs working on ipodlinux?  A quick 
search of the list didn't turn up anything obvious, but it seems like 
using an ipod for data collection +  monitoring would be a pretty nifty 
thing...  I'll have to wait until the ipodlinux guys get 4G support 
straightened out, but I'd be interested to know if anyone has any advice 
on how to go about porting owfs to that platform....

thanks,
(Continue reading)

Alfille, Paul H.,M.D. | 1 Mar 2005 19:23
Favicon

RE: owfs on ipodlinux

Ok, to answer some of my questions,

3rd Gen ipods have a serial hack http://www.ipodlinux.org/Serial_Port

networking is over the firewire.

So the ipod could run as a "stand-alone" 1-wire device, with either passive or
DS2480B-based (or LINK) 1-wire bus connections, or over firewire to owserver
running on another machine.

Paul

-----Original Message-----
From: owfs-developers-admin <at> lists.sourceforge.net
[mailto:owfs-developers-admin <at> lists.sourceforge.net]On Behalf Of Sam
Quigley
Sent: Tuesday, March 01, 2005 10:49 AM
To: owfs-developers <at> lists.sourceforge.net
Subject: [Owfs-developers] owfs on ipodlinux

Hi,

Has there been any work getting owfs working on ipodlinux?  A quick 
search of the list didn't turn up anything obvious, but it seems like 
using an ipod for data collection +  monitoring would be a pretty nifty 
thing...  I'll have to wait until the ipodlinux guys get 4G support 
straightened out, but I'd be interested to know if anyone has any advice 
on how to go about porting owfs to that platform....

thanks,
(Continue reading)

Paul Alfille | 2 Mar 2005 02:49
Picon
Favicon

Re: Some new 1-wire devices & and hangings...

I meant DS1963L.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Christian Magnusson | 2 Mar 2005 05:10

Re: Some new 1-wire devices & and hangings...

On Wed, 2005-03-02 at 02:47, Paul Alfille wrote:
> On Thursday 24 February 2005 04:13 pm, Christian Magnusson wrote:
> > Hi Paul,
> >
> > I still haven't got any new 1-wire adapter, but I got some
> > samples of SHA iButton(DS1963S) and Multikey iButton(DS1991L)
> > which have family ID 0x02 and 0x18. They are unsupported
> > so far, but I will try to add support for them as soon as I can.
> 
> Added support for the DS1993L to your code. (Family 1A)
> The 'L looks mostly like a DS2423 but without touch counters and a slightly 
> differrent "tamper" code.
> 
> >
> > I have serious problem with multiple adapters (when starting
> > owfs with one working adapter and one bad adapter).
> >
> > It hangs on my Coldfire board and I haven't been able to trace
> > it down since it hangs the whole kernel during a pthread_create()
> > in FS_dir_seek() and Dir2().  It works on WRT54G even if it's
> > a much older kernel AND older uClibc... The big difference is that
> > my Coldfire doesn't have any MMU...
> 
> Any progress?

I have made some minor changes to the embedded functions, and I can
now use multiple output devices at least... As you can see in the
debug-output below, there were some problems to use the parent's
variables in the embedded funtions. I haven't been able to fix
multiple input devices yet (hanging in ow_dir.c), not even if I move ALL
(Continue reading)

Christian Magnusson | 2 Mar 2005 07:54

Re: Some new 1-wire devices & and hangings...


Yeah... I finally got FS_dir_remote to work with multiple adapters. Some
minor changes connected to variables in the embedded functions where
the problem here too...
read/write still hangs but now I know what to look for at least.

/Christian

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Christian Magnusson | 2 Mar 2005 12:53

Re: Some new 1-wire devices & and hangings...

On Tue, 2005-03-01 at 20:47 -0500, Paul Alfille wrote:
> On Thursday 24 February 2005 04:13 pm, Christian Magnusson wrote:
> > Hi Paul,
> >
> > I still haven't got any new 1-wire adapter, but I got some
> > samples of SHA iButton(DS1963S) and Multikey iButton(DS1991L)
> > which have family ID 0x02 and 0x18. They are unsupported
> > so far, but I will try to add support for them as soon as I can.
> 
> Added support for the DS1993L to your code. (Family 1A)
> The 'L looks mostly like a DS2423 but without touch counters and a slightly 
> differrent "tamper" code.
> 

I haven't looked very much into the code, but it returns errors
when reading the counters and memory on the DS1963S. Are you done with
the support for that device, or are you still working on that code?

/Christian

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Paul Alfille | 2 Mar 2005 02:47
Picon
Favicon

Re: Some new 1-wire devices & and hangings...

On Thursday 24 February 2005 04:13 pm, Christian Magnusson wrote:
> Hi Paul,
>
> I still haven't got any new 1-wire adapter, but I got some
> samples of SHA iButton(DS1963S) and Multikey iButton(DS1991L)
> which have family ID 0x02 and 0x18. They are unsupported
> so far, but I will try to add support for them as soon as I can.

Added support for the DS1993L to your code. (Family 1A)
The 'L looks mostly like a DS2423 but without touch counters and a slightly 
differrent "tamper" code.

>
> I have serious problem with multiple adapters (when starting
> owfs with one working adapter and one bad adapter).
>
> It hangs on my Coldfire board and I haven't been able to trace
> it down since it hangs the whole kernel during a pthread_create()
> in FS_dir_seek() and Dir2().  It works on WRT54G even if it's
> a much older kernel AND older uClibc... The big difference is that
> my Coldfire doesn't have any MMU...

Any progress?
>
> There might be some "bug" in the *_seek() functions but I guess
> it's some other problem with my MMU-less board. I will try to
> use the 2.6.10-uc0 kernel and the latest uClibc too just to see
> if I can solve the problem with an upgrade.
>
> I have tried your embedded function technique in a test program, and
(Continue reading)

Alfille, Paul H.,M.D. | 2 Mar 2005 15:31
Favicon

RE: Some new 1-wire devices & and hangings...

Feel free to attack the code.

-----Original Message-----
From: owfs-developers-admin <at> lists.sourceforge.net
[mailto:owfs-developers-admin <at> lists.sourceforge.net]On Behalf Of
Christian Magnusson
Sent: Wednesday, March 02, 2005 6:54 AM
To: owfs-developers
Subject: Re: [Owfs-developers] Some new 1-wire devices & and hangings...

On Tue, 2005-03-01 at 20:47 -0500, Paul Alfille wrote:
> On Thursday 24 February 2005 04:13 pm, Christian Magnusson wrote:
> > Hi Paul,
> >
> > I still haven't got any new 1-wire adapter, but I got some
> > samples of SHA iButton(DS1963S) and Multikey iButton(DS1991L)
> > which have family ID 0x02 and 0x18. They are unsupported
> > so far, but I will try to add support for them as soon as I can.
> 
> Added support for the DS1993L to your code. (Family 1A)
> The 'L looks mostly like a DS2423 but without touch counters and a slightly 
> differrent "tamper" code.
> 

I haven't looked very much into the code, but it returns errors
when reading the counters and memory on the DS1963S. Are you done with
the support for that device, or are you still working on that code?

/Christian

(Continue reading)


Gmane