Ahh.. Seems like some problems in the logic writing "bitfields". Can you try now?
Paul -----Original Message----- From: Ricounet [mailto:[EMAIL PROTECTED] Sent: Sun 10/2/2005 8:41 AM To: Alfille, Paul H.,M.D. Subject: RE : Owfs and DS2413 -- SOLVED Hello OK, I can read files. But have another problem cat PIO.ALL --> 1,1 cat sensed.all --> 0,0 But PIO.A is switched to ground "close" and PIO.B is "open" So I try "echo 0 > PIO.A" PIO.A is now "open", but PIO.B is "close" (switched to ground). It seems to be a toggle switch. And the command cat give always the same result cat PIO.ALL --> 1,1 cat sensed.all --> 0,0 If you need more tests, or more results, send me a mail. Bests reards Eric -----Message d'origine----- De : Alfille, Paul H.,M.D. [mailto:[EMAIL PROTECTED] Envoyé : samedi 1 octobre 2005 23:22 À : Ricounet; [email protected] Objet : RE: Owfs and DS2413 -- SOLVED Thanks for the bug report. Rather stupid mistake on my part. On reading the "PIO Status Bit Assignment" adding the lower 4 bits to the upper 4 should be 0x0F, not 0x10. Fixed in the CVS. Paul -----Original Message----- From: Ricounet [mailto:[EMAIL PROTECTED] Sent: Sat 10/1/2005 4:01 PM To: Alfille, Paul H.,M.D. Subject: Owfs and DS2413 Hello Sorry for this question, but I am a newbie in Linux and I have a problem with OWFS. II have 3 DS1820 sensors (work fine) 2 DS2405 interface (work fine) and I have make a new module with DS2413. When I have connected the DS2413, OWFS create a new directory , and here is the listing [EMAIL PROTECTED] 3A.402E00000000]# ls -al total 0 drwxr-xr-x 3 root root 1 oct 1 16:45 . drwxr-xr-x 3 root root 1 sep 30 19:29 .. -r--r--r-- 1 root root 16 sep 30 19:29 address -r--r--r-- 1 root root 2 sep 30 19:29 crc8 -r--r--r-- 1 root root 2 sep 30 19:29 family -r--r--r-- 1 root root 12 sep 30 19:29 id -r--r--r-- 1 root root 1 oct 1 16:45 latch.A -r--r--r-- 1 root root 3 oct 1 16:45 latch.ALL -r--r--r-- 1 root root 1 oct 1 16:45 latch.B -r--r--r-- 1 root root 12 oct 1 16:45 latch.BYTE -rw-rw-rw- 1 root root 1 oct 1 16:45 PIO.A -rw-rw-rw- 1 root root 3 oct 1 16:45 PIO.ALL -rw-rw-rw- 1 root root 1 oct 1 16:45 PIO.B -rw-rw-rw- 1 root root 12 oct 1 16:45 PIO.BYTE -r--r--r-- 1 root root 1 oct 1 16:45 present -r--r--r-- 1 root root 1 oct 1 16:45 sensed.A -r--r--r-- 1 root root 3 oct 1 16:45 sensed.ALL -r--r--r-- 1 root root 1 oct 1 16:45 sensed.B -r--r--r-- 1 root root 12 oct 1 16:45 sensed.BYTE -r--r--r-- 1 root root 6 sep 30 19:29 type But when I try to read the PIO.A or PIO.B file I have a message : cat PIO.A cat: PIO.A: Aucun fichier ou répertoire de ce type (No file or directory of this type) I have a fedora Core3, The latest version of OWFS and the latest version of fuse. Is there a special parameter to read or write the PIO.X files ? I have the problem only with this part number : DS2413 Thanks for the time you spend on this project. Best regards Eric Cocquerez ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
