[Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Martin Rapavy
Dear owfs developers, I'm currently exploring options of adding custom hardware-based onewire master chip support into owfs. Could you explain which parts of the software stack of owfs would need to be extended/altered in order to add new bus master support (or perhaps point me to relevant

Re: [Owfs-developers] DS2423 strangeness (again)

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 08:23 schrieb Gregg Levine: In it he writes that it needed a 4.7K pull up resistor to Vbat. Well I found one and attached it. Same strange behavior as before. But what I'm concerned with more is what are the rest of us doing with their parts? What resistor value was selected

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 15:34 schrieb Martin Rapavy: To add some technical details to my query: the bus master chip in question si very similiar to DS1WM (which is something like DS2482-800 but with memory-mapped registers, instead of I2C access). After browsing the sources for some time I concluded

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Martin Rapavy
Am 18.02.2015 um 15:34 schrieb Martin Rapavy: To add some technical details to my query: the bus master chip in question si very similiar to DS1WM (which is something like DS2482-800 but with memory-mapped registers, instead of I2C access). After browsing the sources for some time I

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Martin Rapavy
Am 18.02.2015 um 21:19 schrieb Martin Rapavy: I was exactly in favor of avoiding w1 because of bus polling. It is important for me not to use the bus frequently (the wire is also shared for reading out data from sensors). Do you think that the w1 polling might be turned off using

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 21:19 schrieb Martin Rapavy: I was exactly in favor of avoiding w1 because of bus polling. It is important for me not to use the bus frequently (the wire is also shared for reading out data from sensors). Do you think that the w1 polling might be turned off using

Re: [Owfs-developers] DS2423 strangeness (again)

2015-02-18 Thread Gregg Levine
Hello! He cited that the resistor was connected to the counter inputs to the Voltage Battery input point. However I'm more inclined to try your idea then his. Which is of course what I'm looking for. - Gregg C Levine gregg.drw...@gmail.com This signature fought the Time Wars, time and again.

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 21:58 schrieb Martin Rapavy: Option C Memory-mapped IO from userspace, which is *UGH!*. See module/owlib/src/c/ow/ow_ds2482.c for all the things to write and change. The disadvantage is owfs has to run as root to do MMIO. I don't mind running under root. I suppose

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Martin Rapavy
To add some technical details to my query: the bus master chip in question si very similiar to DS1WM (which is something like DS2482-800 but with memory-mapped registers, instead of I2C access). After browsing the sources for some time I concluded that without guidance from developers it's

[Owfs-developers] DS1921G in SSOP16 question

2015-02-18 Thread Larry Knox
hello all, been playing around with onewire since the original DS weather station came out. while looking at DS offerings on ebay i came across the following DS1921G IN SSOP16. i couldn't locate the data sheet for the DS1921G in SSOP16, only in the familiar ibutton. does anyone know of a

Re: [Owfs-developers] DS2423 strangeness (again)

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 23:07 schrieb Gregg Levine: Hello! He cited that the resistor was connected to the counter inputs to the Voltage Battery input point. However I'm more inclined to try your idea then his. Which is of course what I'm looking for. You certainly need a capacitor for

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Paul Alfille
Adding support for a new bus-master chip is actually rather easy. OWFS only requires a few functions be supported. This is actually the point of OWFS: the bus master and slave functions are encapsulated easily. Since we support so many different devices, the level of abstraction is very precise.