Nope, no go on moving it:

{21}/tmp/1wire/12.1D9C3B000000 > cat TAI8570/*
cat: TAI8570/pressure: No such file or directory
cat: TAI8570/sibling: No such file or directory
cat: TAI8570/temperature: No such file or directory
{22}/tmp/1wire/12.1D9C3B000000 > cd ../12.DD983B000000/
{23}/tmp/1wire/12.DD983B000000 > cat TAI8570/*
cat: TAI8570/pressure: No such file or directory
cat: TAI8570/sibling: No such file or directory
cat: TAI8570/temperature: No such file or directory

But my script can still read it:
{26}/export/dbapps/env > ./pcv
power 12.DD983B000000 = 1
determined read = 12.1D9C3B000000, write = 12.DD983B000000
sending start,pread,stop = 1111010000
sending start,tread,stop = 1111001000
praw = 18707
traw = 23593
final reading: P = 992.04 mbar, T = 74.66 F

On a somewhat related note, I did fix my problem with the 2408.  I must
have inadvertently taken advantage of a bug on 1.0p0 that was later
fixed.  I modified my code to look at 'sensed' and invert the logic
values, and it works fine.

Thanks,
Dave

On Tue, 2006-08-15 at 21:02 -0400, Paul Alfille wrote:
> Works for me, even with hub.
> 
> You know that only one of the DS2406's will show data
> 
> Example script:
> [EMAIL PROTECTED]:~/owfs> for h in 1wire/uncached/1F.* ; do for b in aux
> main ; do for s in $h/$b/12.*/TAI8570/* ; do echo "$s is `cat $s`" ;
> done ; done ; done 
> cat: 1wire/uncached/1F.02D700000000/aux/12.*/TAI8570/*: No such file
> or directory
> 1wire/uncached/1F.02D700000000/aux/12.*/TAI8570/* is
> cat: 1wire/uncached/1F.02D700000000/main/12.*/TAI8570/*: No such file
> or directory 
> 1wire/uncached/1F.02D700000000/main/12.*/TAI8570/* is
> cat: 1wire/uncached/1F.74D300000000/aux/12.*/TAI8570/*: No such file
> or directory
> 1wire/uncached/1F.74D300000000/aux/12.*/TAI8570/* is
> cat:
> 1wire/uncached/1F.74D300000000/main/12.95CF1B000000/TAI8570/pressure:
> No such file or directory 
> 1wire/uncached/1F.74D300000000/main/12.95CF1B000000/TAI8570/pressure
> is
> cat:
> 1wire/uncached/1F.74D300000000/main/12.95CF1B000000/TAI8570/sibling:
> No such file or directory
> 1wire/uncached/1F.74D300000000/main/12.95CF1B000000/TAI8570/sibling
> is 
> cat:
> 1wire/uncached/1F.74D300000000/main/12.95CF1B000000/TAI8570/temperature: No 
> such file or directory
> 1wire/uncached/1F.74D300000000/main/12.95CF1B000000/TAI8570/temperature is
> 1wire/uncached/1F.74D300000000/main/12.E4D21B000000/TAI8570/pressure
> is      1002.14
> 1wire/uncached/1F.74D300000000/main/12.E4D21B000000/TAI8570/sibling is
> 1295CF1B0000003A
> 1wire/uncached/1F.74D300000000/main/12.E4D21B000000/TAI8570/temperature is    
>   28.7305
> cat: 1wire/uncached/1F.E3DB00000000/aux/12.*/TAI8570/*: No such file
> or directory 
> 1wire/uncached/1F.E3DB00000000/aux/12.*/TAI8570/* is
> cat: 1wire/uncached/1F.E3DB00000000/main/12.*/TAI8570/*: No such file
> or directory
> 1wire/uncached/1F.E3DB00000000/main/12.*/TAI8570/* is
> 
> 
> On 8/15/06, Paul Alfille <[EMAIL PROTECTED]> wrote:
>         I think od is reversing the bytes. The data is fine,
>         otherwise.
>         I assume you are using a DS2409 hub. Let me test the barometer
>         with that.
>         
>         
>         Paul Alfille
>         
>         
>         
>         On 8/15/06, David Torrey <[EMAIL PROTECTED]> wrote:
>         
>         od -x memory
>         0000000 aa0f 0000 0000 0100 3538 3037 0100 0001
>         0000020 46ee ffff ffff ffff ffff ffff ffff ffff
>         0000040 1209 98dd 003b 0000 005a 9241 ffff ffff
>         0000060 ffff ffff ffff ffff ffff ffff ffff ffff
>         
>         The bytes looked swapped versus yours.
>         
>         I attached an error log from startup and one attempt to read
>         'sibling'.
>         My email client kept hanging on cut-and-paste.
>         
>         Thanks,
>         Dave
>         
>         On Tue, 2006-08-15 at 13:38 -0400, Paul Alfille wrote: 
>         > I'll start it off. My TAI8575 EPROM:
>         >
>         >
>         0FAA0000000000013835373000010100EE46FFFFFFFFFFFFFFFFFFFFFFFFFFFF
>         >
>         091295CF1B0000003A004DA1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>         >
>         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 
>         >
>         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>         >
>         > Tmex format
>         > First line has "directory" with "file" 8570 (3835373000)
>         > Second line has other adapter ( 12.95CF1B0000003A)
>         >
>         > I put in error messages if the line linghts (first byte) or
>         CRC16
>         > checksums don't match.
>         >
>         > Paul Alfille
>         >
>         
>         
>         
>         
>         
> ------------------------------------------------------------------------- 
>         Using Tomcat but need to do more? Need to support web
>         services, security?
>         Get stuff done quickly with pre-integrated technology to make
>         your job easier
>         Download IBM WebSphere Application Server v.1.0.1 based on
>         Apache Geronimo 
>         
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>         
>         _______________________________________________ 
>         Owfs-developers mailing list
>         [email protected]
>         https://lists.sourceforge.net/lists/listinfo/owfs-developers
>         
>         
>         
>         
>         
>         
>         
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________ Owfs-developers mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to