Re: [Owfs-developers] Bug in DS2413 sensed.*

2012-04-23 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Getting back on this, this is really odd: With 2.8p14 on i386: - All fine on MIPS24k (OpenWRT) only sensed.BYTE shows up correctly, sensed.ALL/A/B is always 0 Maybe somebody can dis/confirm this on a similar platform.. Maybe some nasty

Re: [Owfs-developers] Bug in DS2413

2005-10-27 Thread Marek Wodzinski
On Thu, 27 Oct 2005, Paul Alfille wrote: Majek, I've looked at the problem you've found, and now can see it clearly. [...] I'm not sure your patch quite addresses the problem. I fear the true patch will be a little uglier, and probably not done till next week. My patch changed (broke?)

[Owfs-developers] Bug in DS2413

2005-10-26 Thread Marek Wodzinski
Hello, There is a bug in operating on PIO.A or PIO.B. If you write to PIO.A, state of PIO.B (and vice versa) is fetched from pin state instead of latch state. This lead to loss of state of PIO.B if you write to PIO.A (and vice versa). For example: I have pull down resistor in PIN.B, so: cat

Re: [Owfs-developers] Bug in DS2413

2005-10-26 Thread Paul Alfille
Majek, I've looked at the problem you've found, and now can see it clearly. Basically, the latch state should be used for the unknown PIO bit when setting one of the pins. As you point out, the pins must be set together in the hardware, it is only the software abstraction that allows them to