Nice code. A small typo, though:
+ {"D6F",PROPERTY_LENGTH_SUBDIR, NON_AGGREGATE, ft_subdir, fc_subdir,
NO_READ_FUNCTION, NO_WRITE_FUNCTION, VISIBLE, NO_FILETYPE_DATA,},
+ {"DF6/airflow",PROPERTY_LENGTH_FLOAT, NON_AGGREGATE, ft_float,
fc_volatile, FS_Air_Flow, NO_WRITE_FUNCTION, VISIBLE, NO_FILETYPE_DATA,},
D6F vs DF6
On Tue, Jan 17, 2012 at 9:02 AM, Simon Walter <simon.wal...@online.fr>wrote:
> Hi,
>
> The MS-TPD is a combined temperature/airflow 1-wire sensor from
> ibuttonlink based on a DS2438 chip and a Omron D6F sensor.
> http://www.ibuttonlink.com/**mstpd.aspx<http://www.ibuttonlink.com/mstpd.aspx>
>
> The airflow value can be computed from the VAD voltage value with linear
> approximation from the D6F specs
> <http://www.ibuttonlink.com/**pdf/omronsensor.pdf<http://www.ibuttonlink.com/pdf/omronsensor.pdf>
> >
>
> While I can post-process the VAD value, I'm trying to add support for it
> into the ow_2438 owlib module (cf. attached patch).
>
> I'd like to add the following file hierarchy :
> /26.XXXXXXXXXXXX/D6F/
> /26.XXXXXXXXXXXX/D6F/airflow
>
> Unfortunately, when I mount my 1-wire system, connected through a
> link-USB device, the D6F directory is present, but it is empty.
>
> Trying to read the D6F/airflow file, I got a "No such file or directory"
> error and the attached logs.
>
> As I'm new to fuse development, odds are that I'm missing something pretty
> obvious, but I can't figure out what it is.
>
> Tested on Debian (sqeeze and lenny), with owfs 2.8p13 and 2.8p14.
>
> I would appreciate any hint you might suggest.
>
>
> Simon.
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers