Hi Paul

 

I think the problem is in owhttpd as owdir works as expected.

 

 

Version 

 owfs-2.8p16

 

Startup

/opt/owfs/bin/owserver -p 3001 --i2c=/dev/i2c-0:ALL

/opt/owfs/bin/owhttpd  -s 3001 -p 3002

 

OWDIR

root@raspberrypi:/# /opt/owfs/bin/owdir  -s 3001

/28.E1C96F030000

/28.26F06F030000

/FC.000000000015

/bus.1

/bus.0

/uncached

/settings

/system

/statistics

/structure

/simultaneous

/alarm

 

 

OWHTTPD

http://192.168.1.90:3002/

------------------

top

/28.E1C96F030000

/28.26F06F030000

/FC.000000000015

/bus.0

/uncached

/settings

/system

/statistics

/structure

/simultaneous

/alarm

---------------------

 

Then if I select Bus.0 from  the list it now shows Bus.0 and Bus1

http://192.168.1.90:3002/bus.0/

 

----------------------

Top

interface

/28.E1C96F030000

/28.26F06F030000

/FC.000000000015

/bus.1

/bus.0

/uncached

/settings

/system

/statistics

/structure

/simultaneous

/alarm

-----------------------

 

Rob

 

From: Paul Alfille [mailto:[email protected]] 
Sent: Tuesday, 17 July 2012 12:44 AM
To: OWFS (One-wire file system) discussion and help
Subject: Re: [Owfs-developers] Can someone explain the bus listing owhttpd

 

That's interesting.

I think this is an (unintended) consequence of some internal changes.

The initial design of owfs was a single bus adapter. That was expanded to
multiple adapters with the master-specific information (port, speed, etc)
stored for each adapter.

When newer "multichannel" adapters came out, it got more confusing -- like
the DS2482-800 and the HA5 (and soon the EDS OWSERVER-2) which have multiple
1-wire buses, but share some state information and certainly the same
physical port.

The obvious solution is to add another layer, separating port and bus. It's
delicate surgery however.

Can you tell me how you are accessing owfs? owserver? owhttpd?

Paul Alfille



On Mon, Jul 16, 2012 at 7:49 AM, Robert Conway <[email protected]> wrote:

Hi,

 

I have got a raspberry PI running with two DS2482-100

 

Bus 0   DS18B20 & BAE910

Bus 1   DS18B20

 

My question is when I select Bus listing (top level) from owhttpd  I see the
devices OK and only Bus.0 and the usual other items in the list

 

When I select Bus.0  I then see the devices and Bus.1 and Bus.0

 

So to get to the adapter owhttpd shows the following paths at the top of the
page  

 

bus.0/bus.0/interface/settings

  or the 2nd adapter is

bus.0/bus.1/interface/settings

 

So my question is whats the first bus.0 there for. ?

 

Thanks Rob

BTW. It seems to work well, its my first time playing with I2C.

 

 

 

 


----------------------------------------------------------------------------
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to