> Hello,
> have you build owfs self INCLUDING the USB settings?

Its a package so no I didnt build it. So is this a line in the make file I 
guess?

> Maybe when that be missing, you will never can read sensors.
> Also will you will be sure, that OW_HTTPD will not access
> to the USB-adapter during the time you start owserver/owfs?

I commented the httpd line in the owfs.conf file but other than that I dont 
know how I could prevent it!?

> The access from two program (server and httpd) at the same
> hardware bring you up to problems.
> 
> Best regards,
> Roland 

Ok so update.

did this after a reboot.!

ps -Af | grep ow
root      2134     1  0 13:35 ?        00:00:00 /usr/bin/owserver -c 
/etc/owfs.conf --pid-file /var/run/owfs/owserver.pid
root      2213     1  0 13:35 ?        00:00:00 /usr/bin/owhttpd -c 
/etc/owfs.conf --pid-file /var/run/owfs/owhttpd.pid
kdj       2361  2346  0 13:35 pts/0    00:00:00 grep --color=auto ow

Looks like owserver is running.


cat /etc/owfs.conf 
# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.

######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = localhost: 4304
#
# This part must be changed on real installation
#server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
server: usb = all
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
mountpoint = /mnt/1wire
allow_other
#
####################### OWHTTPD #########################

#http: port = 2121

####################### OWFTPD ##########################

#ftp: port = 2120

####################### OWSERVER ########################

server: port = 4304

kdj@raspberrypi ~ $ sudo owfs -c /etc/owfs.conf
kdj@raspberrypi ~ $ cd /mnt/1wire
kdj@raspberrypi /mnt/1wire $ ls
bus.0  bus.1  settings  statistics  structure  system  uncached

for some reason calling it this way does not work

kdj@raspberrypi /mnt/1wire $ owget /uncached
-bash: owget: command not found

but calling it this way works!

kdj@raspberrypi /mnt/1wire $ /opt/owfs/bin/owget /uncached

/uncached/bus.0
/uncached/settings
/uncached/system
/uncached/statistics
/uncached/structure
kdj@raspberrypi /mnt/1wire $ 

still no Devices though!:(

David





------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to