跳到主要內容

owfs install

1 fuse

sudo apt-get install fuse
sudo apt-get install libfuse-dev ( for fusexmp etc)

cd /usr/share/doc/libfuse-dev/examples
ls -al


check installation by:

dpkg --get-selections | grep fuse




ubuntu libfuse-dev file list in here

according to  excellent owfs quickstart guide:

owfs
ow-shell
ownet( optional for perl or php programming)
python-ownet

edit /etc/owfs.conf:
######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = localhost:4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
# server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
# enable i2c support
# This is for 1-wire bus master IC, eg DS2482-100
#server:i2c=/dev/i2c-1:ALL
#
server: device = /dev/i2c-1
#server: usb = all
#
# w1 devices
server: w1 = all

# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
mountpoint = /mnt/1wire
allow_other
#
####################### OWHTTPD #########################

http: port = 2121

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

ftp: port = 2120
 

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

server: port = localhost:4304

reboot


sudo owfs --w1 -m /mnt/1wire --allow_other --debug -F




other resources:
OWFS sourceforge mail archive

https://raspberrypi.stackexchange.com/questions/37070/problems-with-owfs-over-the-w1-kernel-module

留言

這個網誌中的熱門文章

越南香草

Ngo ~ "N-gaw" Mui ~ "Moo-ee" Ngo ~ "N-gaw" Mui ~ "Moo-ee" Ngo ~ "N-gaw" Mui ~ "Moo-ee" Ngo (N-gaw) ,  Mui  (Moo-ee )  Cilantro Coriandrum sativum, chinese parsley  Ngo Gai (N-gaw guy), Mui Tau (Moo-ee Tao), Ngo Tau (N-gaw Tao)   Mexican Coriander,  Sawtooth Coriander, Cilantro Eryngium foetidum    娥女帝(拼音), 刺芹   特徵:娥女帝是短株形的植物,氣味清淡,葉邊呈鋸齒形,十分容易辨認。來源地:越南。 功效:和白夏差不多,娥女帝亦有祛濕、解毒及驅風的療效。建議食法: Pho,  (Bánh Xeò) 越南煎餅, 炒菜,湯,咖哩 Ngo Gai ~ "N-gaw guy" Mui Tau ~ "Moo-ee Tao" Ngo Tau ~ "N-gaw Tao" - See more at: http://vietworldkitchen.typepad.com/blog/vietnamese-herb-primer.html#sthash.I9rzkzwI.dpuf Rau Ram (Rau Rahm) Vietnam Coriander, Laksa Leaf, "Vietnamese mint(actually not a mint)". Polygonum leaf Polygonum odoratum Peppery, quite spicy. In salad, soup Hung (Hoong), , Hung Lang (Hoong Lang) Spearmint.  Vietnamese coriander Hung Lui (Hoong Lou-ee), Hung ...

沖田博文 Hirofumi Okita 60cm F3.25 dobsonian telescope

  the making mirror from Mike Lockwood webpage   youtube uwakina bokura other ATMers in Japan blueforest anettai  

劣質洗衣機入水喉

上面白色是最易找到,$2x. 但漏水. 灰色, $4x, 是假冒 "MADE IN ITALY"  假冒 "MADE IN ITALY"  的標緻  左面是白色膠喉的喉頭, 右面是灰色膠喉的喉頭, 上圖左面是真正 好貨 ( MADE IN ITALY )灰色膠蓋.右面是冒牌 白色膠蓋. 膠蓋在安裝扭緊時爆開  上圖左面是真正 好貨 , 標了其他規格.右面是冒牌, 單單印了 MADE IN ITALY  好貨的膠蓋是可以下移, 露出喉頭及黑色軟膠墊 黑色軟膠墊是有坑紋. 質感較柔軟. 緊後可以"迫實"水龍頭 及喉蓋, 沒有滲漏 正板 MADE IN ITALY 賣 $4x, 價錢絕對合理. 冒牌貨在旺角新填地街買的, 也是$4x. 真是要小心!!! NB: MADE IN ITALY 是否真正 意大利制造實在無從考 証