Hi,
 I have serveral 1-wire devices connected to a DS9097U. I was using a 
program I hacked together several years ago, but thought I would use owfs as 
it looks a lot better than what I wrote.
    When I start owfs it creates the directory structure, but there aren't 
any devices listed. I am running Ubuntu 9.04 x64. I have downloaded the 
latest version of owfs, version 2.7p21. I have the 9097 connected to the 
second comm port.

    I can run the program called tstfind that comes from the Dallas website 
and it discovers all the devices:

#./tstfind /dev/ttyS1
Port opened: /dev/ttyS1

/---------------------------------------------
  Loop to find all iButton on 1-Wire Net.

-------------------- Start of search
(1) B80008006E96E610
(2) B10000004AB12710
(3) CB00000041B59928
(4) 15000000477BE328
(5) AC00000019954912
(6) 330000000F6DCD12
(7) DB00000019B72312
(8) C100000019B0AB12
(9) 9200000001056A1D
-------------------- End of search

-------------------- Start of search
(1) B80008006E96E610
(2) B10000004AB12710
(3) CB00000041B59928
^C<< CTRL-C key abort >>-------------------- End of search

Closing port /dev/ttyS1.
#

    I stop tstfind and start owfs. It creates the directory structure but 
does not discover any devices.

# ./owfs -d /dev/ttyS1 /var/1-wire/
# ls /var/1-wire/ -l
total 0
drwxr-xr-x 1 root root  8 2009-06-07 22:45 bus.0
drwxr-xr-x 1 root root  8 2009-06-07 22:45 settings
drwxr-xr-x 1 root root  8 2009-06-07 22:45 statistics
drwxr-xr-x 1 root root 30 2009-06-07 22:45 structure
drwxr-xr-x 1 root root  8 2009-06-07 22:45 system
drwxr-xr-x 1 root root  8 2009-06-07 22:45 uncached
#

    I have tried configuring owfs with the default options, and with the 
following options.
# 
./configure --disable-usb --disable-parport --disable-w1 --disable-ha7 
--disable-i2c

    I have run owfs with error_level=9, and the last debug output is:
.....
Byte buffer Serial read:, length=1
--000: CD
   <.>
  DEBUG: owfs.c:main(151) fuse_mnt_opt=[(null)]
   DEBUG: owfs.c:main(153) fuse_open_opt=[(null)]
#

    There is no other debug output after this. owfs is still running. As 
owfs has created bus.0, settings, statistics etc I assume that FUSE is 
working correctly. I have tried launching owfs as both a user and as root 
via sudo, there has been no difference.

    Now I'm stuck and don't know where to go. Any suggestions would be 
appreciated.

Andrew Day






------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to