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

2015-02-25 Thread Paul Alfille
>> -- >> *From:* Paul Alfille [paul.alfi...@gmail.com] >> *Sent:* Monday, February 23, 2015 7:18 PM >> >> *To:* owfs-developers >> *Subject:* Re: [Owfs-developers] Add support for additional hardware bus >> master >> &

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

2015-02-25 Thread Paul Alfille
> > Thank you for your support. > > Best regards, > Martin > -- > *From:* Paul Alfille [paul.alfi...@gmail.com] > *Sent:* Monday, February 23, 2015 7:18 PM > > *To:* owfs-developers > *Subject:* Re: [Owfs-developers] Add support for additio

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

2015-02-23 Thread Martin Rapavy
Paul Alfille [paul.alfi...@gmail.com] Sent: Monday, February 23, 2015 7:18 PM To: owfs-developers Subject: Re: [Owfs-developers] Add support for additional hardware bus master I'm working on the ds1wm support. Just got example code from Maxim. How about basing you modifications from that. Paul

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

2015-02-23 Thread Paul Alfille
his should be > done? > > > > Thanks in advance, > > Martin > > > > > > *From:* Paul Alfille [mailto:paul.alfi...@gmail.com] > *Sent:* Friday, February 20, 2015 3:32 PM > *To:* OWFS (One-wire file system) discussion and help > *Subject:* Re: [Owfs-develop

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

2015-02-23 Thread Martin Rapavy
: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Add support for additional hardware bus master Optimally the number of channels should be auto-discovered. I like to make the configuration as automatic as possible. So if the hardware can be safely probed for the

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

2015-02-20 Thread Martin Rapavy
[mailto:paul.alfi...@gmail.com] Sent: Friday, February 20, 2015 3:32 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Add support for additional hardware bus master Optimally the number of channels should be auto-discovered. I like to make the configuration as

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

2015-02-20 Thread Paul Alfille
gmail.com] > *Sent:* Friday, February 20, 2015 1:43 PM > *To:* owfs-developers > *Subject:* Re: [Owfs-developers] Add support for additional hardware bus > master > > > > Do you map the 6 control registers to consecutive memory locations? Would > we pass that location

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

2015-02-20 Thread Martin Rapavy
, Martin From: Paul Alfille [mailto:paul.alfi...@gmail.com] Sent: Friday, February 20, 2015 1:43 PM To: owfs-developers Subject: Re: [Owfs-developers] Add support for additional hardware bus master Do you map the 6 control registers to consecutive memory locations? Would we pass that location in a

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

2015-02-20 Thread Paul Alfille
Do you map the 6 control registers to consecutive memory locations? Would we pass that location in a command line option? On Feb 19, 2015 12:16 PM, "Jan Kandziora" wrote: > Am 19.02.2015 um 08:59 schrieb Martin Rapavy: > > Hi Paul, > > > > thanks for briefing me on the architecture of OWFS. My ma

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

2015-02-19 Thread Jan Kandziora
Am 19.02.2015 um 08:59 schrieb Martin Rapavy: > Hi Paul, > > thanks for briefing me on the architecture of OWFS. My master chip > has almost exactly the same register interface as Dallas DS1WM > (http://datasheets.maximintegrated.com/en/ds/DS1WM.pdf). It only > differs in one register: Clock divis

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

2015-02-19 Thread Martin Rapavy
2:39 AM To: owfs-developers Subject: Re: [Owfs-developers] Add support for additional hardware bus master 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

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. 1

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

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 w1_master_

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

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 conclud

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

2015-02-18 Thread Martin Rapavy
x27;s going to be very hard to identify all the places where to hook-in support for new bus master. Thanks, Martin From: Rapavy Martin Sent: Wednesday, February 18, 2015 10:35 AM To: owfs-developers@lists.sourceforge.net; paul.alfi...@gmail.com Subject: [Owfs-developers] Add support for addit

[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 docu