Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-20 Thread Ethan Xue
Thanks for your reply. I will have a try. 2012/5/18 Michael Markstaller > owfs compiles and runs fine on OpenWRT, on a box with 4M Flash and 32MB > RAM worst case, just switch off perl as mentioned (--disable-ownet) > > Michael > > > --

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-17 Thread Michael Markstaller
owfs compiles and runs fine on OpenWRT, on a box with 4M Flash and 32MB RAM worst case, just switch off perl as mentioned (--disable-ownet) Michael -- Live Security Virtual Conference Exclusive live event will cover all

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-17 Thread Paul Alfille
w1d.d dates from 2006, that's a long time ago in linux kernel years. The w1 interface has changed considerably to I don't know if that interface still works. In particular, there was only support for a small subset of 1wire slaves (basically temperature sensors for hardware monitoring). The generic

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-17 Thread Paul Alfille
owfs itself is pure C. That includes owfs/owserver/owhttpd/owftpd and the owshell utilities owdir/owread/owwrite The standard build includes building modules and libraries for a variety of languages including tcl, python, perl and php. If you configure: ./configure --disable-swig --disable-ownet

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-17 Thread Ethan Xue
I've tried to compile owfs from Gentoo's repo using Crossdev, and it depends on perl. Maybe I need to fetch owfs source code from official repo and try cross-compiling again. 2012/5/17 Patryk > I compiled owfs to run on OpenWrt on a router and I think it runs without > perl. > --

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-17 Thread Patryk
Dnia 17.05.2012 o 08:34 Ethan Xue Ethan Xue napisaƂ(a): > Thanks for your reply.But owfs depends on perl which is hard to > cross-compile on my ARM board. Are you sure? I compiled owfs to run on OpenWrt on a router and I think it runs without perl. There is only an api for perl but it's not

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-16 Thread Ethan Xue
2012/5/17 Michael Markstaller > blacklist the w1 kernel-modules and get lucky using owfs ;) Thanks for your reply.But owfs depends on perl which is hard to cross-compile on my ARM board. So I think maybe I have to write a program using netlink talking to w1-gpio. I'm using 2.6.27 Kernel, if w1

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-16 Thread Michael Markstaller
Am 16.05.2012 18:29, schrieb Ethan Xue: > Hi, > > I'm try to use w1d.c from http://www.ioremap.net/archive/w1/. Now, this isn't really related to owfs in any way.. And pretty old stuff. If you don't insist on using the rather - let me call it "basic/maybe evolving" - kernel w1 driver my 5ct: blac

[Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-16 Thread Ethan Xue
Hi, I'm try to use w1d.c from http://www.ioremap.net/archive/w1/. According to documation "w1.netlink", this program can "uses read/write/search commands for all master/slave devices found on the bus.". I'm using w1-gpio as w1 master, and i can see the 64bit chip id though sysfs. After i run compi