1#::BOH 2# Copyright (c) 2004 Peter Kropf. All rights reserved. 3# 4# This program is free software; you can redistribute it and/or modify 5# it under the terms of the GNU General Public License as published by 6# the Free Software Foundation; either version 2 of the License, or (at 7# your option) any later version. 8# 9# This program is distributed in the hope that it will be useful, but 10# WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12# General Public License for more details. 13# 14# You should have received a copy of the GNU General Public License 15# along with this program; if not, write to the Free Software 16# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17#::EOH 18# 19# 1-wire unittest sample configuration file 20 21 22 23# The general section defines how the ow libraries are to be 24# initialized. 25# 26# interface - u | s | tty_path 27# Defines how the OW libraries are to communicate with the 1-wire 28# network. 29# 30# u - Use the USB controller 31# host:3001 - Talk with the OW server on host using port 3001 32# tty_path - full path to the serial port 33 34[General] 35interface = u 36#interface = host:3001 37#interface = /dev/ttyS0 38 39 40 41# The root section defines the attributes and sensors that are 42# attached to the root branch of the 1-wire network. 43# 44# entries - names of all the attributes that are to be found in the 45# root. 46# 47# sensors - names of all the sensors that are attached to the root. 48 49[Root] 50entries = alarm settings simultaneous statistics structure system uncached 51sensors = 10.B7B64D000800 52type = DS9490 53 54 55# Each sensor that's attached to the 1-wire network should have a 56# section named after it. 57# 58# type - the type of the sensor 59# 60# parent - path to the controller or microlan this sensor is connected 61# to. 62# 63# branch - if the sensor is on a microlan, which branch is it on (main 64# or aux) 65# 66# main_sensors - names of all the sensors that are attached to the 67# main branch. This is valid for DS2409 type sensors only. 68# 69# aux_sensors - names of all the sensors that are attached to the aux 70# branch. This is valid for DS2409 type sensors only. 71 72[10.B7B64D000800] 73type = DS18S20 74parent = / 75#branch = 76