Hi

At last I have had time to try installing owfs again.

On Mon, Jan 30, 2012 at 09:44:01PM +0100, p4trykx wrote:
> Dnia 30-01-2012 o 21:17:49 Robert Hampf <[email protected]>  
> napisaƂ(a):
> 
> > I have tried installing from source before but I don't understand what
> > to do after compiling to be able to get readings.

I now found a howto for the whole process of installing and took advice
from it when following your instructions:
http://wiki.temperatur.nu/index.php/OWFS_HowTo (Sorry, it's in Swedish.)

> Maybe it's good idea to compile owfs if there is no other idea why it  
> doesn't work. Maybe there is some dependency which does not get installed.

So I took your advice. A kind of a log is at:
http://www.skutan.com/owfs.txt 

> Compilation is fairly easy.
> ./configure
> (look at the output and make sure the usb is enabled)
> 
> Compile-time options:
>                    Caching is enabled
>                        USB is enabled
> If USB says DISABLED then You have to install libusb-dev package (I use  
> Ubuntu and it is showed under this name in Synaptic)

It was enabled but owfs was DISABLED until I installed fuse-devel.

> make
> make install

Here I didn't see any problems.

> then owfs should be i /opt/owfs/bin
> First try to run owserver --debug  instead of owfs to rule out problems  
> with fuse. You can get readings from owserver with owread.

This is the output:

# /opt/owfs/bin/owserver --debug
  DEBUG: ow_daemon.c:(166) main thread id = 140620078417664
CONNECT: ow_avahi_link.c:(72) No Avahi support. Library
  libavahi-client couldn't be loaded
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd
  library isn't found
   CALL: ow_parsename.c:(95) path=[]
  DEBUG: owlib.c:(79) Globals temp limits 0C 100C (for simulated
  adapters)
DEFAULT: owlib.c:(54) No valid 1-wire buses found
  DEBUG: ow_exit.c:(18) Exit code = 1
   CALL: ow_lib_close.c:(21) Starting Library cleanup
   CALL: ow_lib_stop.c:(23) Clear Cache
  DEBUG: ow_cache.c:(301) Flipping cache tree (purging timed-out data)
  DEBUG: ow_cache.c:(319) flip cache. tdestroy() will be called.
  DEBUG: ow_cache.c:(301) Flipping cache tree (purging timed-out data)
  DEBUG: ow_cache.c:(319) flip cache. tdestroy() will be called.
   CALL: ow_lib_stop.c:(25) Closing input devices
   CALL: ow_lib_stop.c:(27) Closing outout devices
  DEBUG: ow_connect.c:(229) Freeing outbound (null) #0
   CALL: ow_lib_close.c:(34) Finished Library cleanup
  DEBUG: ow_lib_close.c:(42) Libraries closed

There is something about Avahi support missing.  Is that fatal in this
case?

> Can you post dmesg output after plugging in the 1-wire adapter

I can't find anything in /var/log/messages or by running dmesg
that would be the result of plugging in the adapter.  Nothing is
written to messages on the same minute or the closest minutes.

I hope there is something making sense to you as I don't know how to
carry on.

Thank you very much for your help.

Robert

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to