Menu

#22 owfs vs raspbian

v1.0_(example)
open
nobody
None
1
2015-02-20
2015-02-20
Anonymous
No

Hi.

The owfs lose a first device (20-0000000e5ffa). yet. Too slow.
Raspbian

root@RASPBERY-3:/etc> l /sys/bus/w1/devices/
total 0
drwxr-xr-x 2 root root 0 Feb 20 11:17 ./
drwxr-xr-x 4 root root 0 Feb 20 11:17 ../
lrwxrwxrwx 1 root root 0 Feb 20 11:17 20-0000000e5ffa -> ../../../devices/w1_bus_master1/20-0000000e5ffa/
lrwxrwxrwx 1 root root 0 Feb 20 11:17 20-0000000e6795 -> ../../../devices/w1_bus_master1/20-0000000e6795/
lrwxrwxrwx 1 root root 0 Feb 20 11:17 28-00041b0178ff -> ../../../devices/w1_bus_master1/28-00041b0178ff/
lrwxrwxrwx 1 root root 0 Feb 20 11:17 28-0004630124ff -> ../../../devices/w1_bus_master1/28-0004630124ff/
lrwxrwxrwx 1 root root 0 Feb 20 11:17 w1_bus_master1 -> ../../../devices/w1_bus_master1/
root@RASPBERY-3:/etc> date ; owdir ; date
Fri Feb 20 11:56:43 EET 2015
/20.95670E000000
/28.FF78011B0400
/28.FF2401630400
/bus.1
/bus.0
/uncached
/settings
/system
/statistics
/structure
/simultaneous
/alarm
Fri Feb 20 11:57:43 EET 2015
root@RASPBERY-3:/etc> uname -a
Linux RASPBERY-3 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux
root@RASPBERY-3:/etc> pp owserver
root 2509 0.0 0.5 44360 2444 ? Ssl 11:50 0:00 /usr/bin/owserver -c /etc/owserver.conf --pid-file /var/run/owfs/owserver.pid
root@RASPBERY-3:/etc> cat /etc/owserver.conf

--w1 Scan for kernel-managed bus masters

w1

--fake=list List of devices to simulate (random ID, random data) use family codes in hex

e.g. 1F,10,21 for DS2409,DS18S20,DS1921

--tester=list List of devices to simulate (non-random ID, non-random data)

--temperature_low=0.0

--temperature_high=100.0 temperature range for fake readings

fake=28,28,28,28

temperature_low=-55

temperature_high=150

tester=20,28,28,28,28,28,20

server start

port=127.0.0.1:4304

max_connections=100

CACHE

cached

cache_size=0 # unlimit

Cache timing [default] (in seconds)

--timeout_volatile [ 15] Expiration time for changing data (e.g. temperature)

--timeout_stable [300] Expiration time for stable data (e.g. temperature limit)

--timeout_directory [ 60] Expiration of directory lists

--timeout_presence [120] Expiration of known 1-wire device location

--timeout_w1 [ 30] Timeout for w1 kernel netlink

JOB

foreground

background

VALUES

1-wire address format (for display, all will be accepted for input)

f (family code) = 2 hex digits

i (ID) = 12 hex digits

c (crc8) = 2 hex digits

-f --format f[.]i[[.]c]

format=f.i

Temperature scale (INPUT DATA)

-C --Celsius Celsius(default) temperature scale

-F --Fahrenheit Fahrenheit temperature scale

-K --Kelvin Kelvin temperature scale

-R --Rankine Rankine temperature scale

Celsius

Pressure scale

--atm --mbar --inHg --mmHg --Pa --psi (mbar is the default)

Pa

trim remove extra spaces from numerical values

trim
root@RASPBERY-3:/etc> owserver -V
owserver version:
3.0p0
libow version:
3.0p0
root@RASPBERY-3:/etc>

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.