Am 04.02.2015 um 09:23 schrieb Torrini, Eugenio:
> We are using Owfs in Linux to access a DS1991 and DS1995 through the USB 
> DS9490R reader.
> Everything is ok for DS1995.
> For DS1991 we are not able to make it work. Maybe we are doing something 
> wrong.
> We know the password of the 3 pages of the iButton because we can set it with 
> another tool in Windows.
> 
> We tried with different approaches this one for example should be right:
> 
> 1) Create a pwd.hex file with (in hex) 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38
> 2) Check the file with hexedit in windows
> 3) Chech the file with hexdump in Linux
> 4) cat ./pwd.hex > /disk/1wire/02.12B0CE000000/pages/password.0
> 5) hexdump -Cv /disk/1wire/02.12B0CE000000/pages/page.0
>
Read

        /disk/1wire/uncached/02.12B0CE000000/pages/page.0

instead. Setting a password doesn't invalidate the cache IIRC.

Kind regards

        Jan

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to