Hello,

For me, this is now solved: I don't have anymore double entries in owfs 
directory listing :-)

I'm not sure what exactly the root cause was, but I can tell what I did:
When I had double entries (each 1wire device was listed twice in owfs tree, 
I had bus.0 and bus.1 with only 1 physical i2c device), I was using a RPI on 
which I had made a lot of tests and many packages installed/removed.
Today I decided to put this RPI in real production (driving my home 
automation) and re-insall everything on the SD card (not exactly a brand new 
Raspbian but almost) then to have the i2c working I added these 2 lines at 
the bottom of /etc/modules
i2c-bcm2708 
i2c-dev
and then ran this command: apt-get install i2c-tools (because i2cdetect is a 
convenient tool)
and this line in /etc/owfs.conf
server: device = /dev/i2c-1
That's it! Nothing else! It's perfectly working.

So I believe owfs was not the faulty, but something wrong with i2c modules 
(actually it was the same), or a bad couple with owfs + another piece of 
software.
Anyway with a clean Raspbian, owfs 2.8p15-1 (the one available via apt-get 
install owfs directly from the Pi), and the here above lines it's working :-
)
Hope this will help.

Have a good 1wire day
--
Guy


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to