DS2413 'clone' has family ID of 0x85 - Raspberry Pi Forums


hi, i'm new here, forgive me if wrong place put forward suggestion. there plethora of stockists in china selling purports ds2413.(1-wire 2-way switch) package marked 3a 2100h. however, on using pi, not function, not have ds2413 family code of 0x3a, family code of 0x85. buyers have tried money back, vendors adamant ic performs correctly - , large part correct. running test on arduino , substituting 0x85 family code, devices work perfectly. change easy implement on arduino, of nightmare beginners on raspberry pi. - suggestion either: supply updated family group slave designation 3a 2100h device in next kernel distro; or provide sufficient information quick , easy change relevant module(s) pi users can make use of competitively-priced product. patience appreciated.
joe.

an update. yes 'clone' works pi. quick , (very) dirty hack allowed me access chip's registers via arcane file i/o supplied w1 subsystem. viewed w1_ds2413.ko object file using hex editor. there 3 entries of 0x3a in file, 2 of belong embedded text. (0x3a of course ':') re-wrote other 0x85 , saved file. having re-booted system, device directory (begins 85-) contained both 'state' , 'output' files, former readable, latter writable. wiring led device able control it.
2 things here: make backup of object file before edit it, in case of finger trouble. prepared use quirky file i/o interface access device. [i tested cp using source , destination files in home/pi directory.
forward 'correct' solution problem.
joe.


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code