Hello, Jan Kandziora <jjj <at> gmx.de> writes: > Ah, for the 3.16rc and later kernels that's only necessary if you use > --w1 instead of accessing I²C directly. Sorry for the confusion. The > ds2482 kernel module is not loaded, so it seems all ok. > > However, there are a number of other bugs fixed in 3.1p1 as well, so > updating may a good decision anyways. >
Yes I'll update. But first I want to try to understand what's going on and let my script running for a few days. > Oh, you misunderstood. Reading from /uncached means the cache is not > considered, but instead a fresh sample is taken. > > The cache is *always* updated after taking a sample. Ok, I wasn't clear in my explanantions. I understand that the fact of reading from uncached updates the cache. I mean that in my system I do everything with /mnt/1wire. I don't need to be fast. The cache is updated every minute that's ok for me. My system basically does 2 things: 1st log values (temp, humidity, etc.) every 5 minutes and generate graph from these values and 2nd drives the heating system and the swimming pool filter pump. When I write a 0 or a 1 to a PIO thru /mnt/1wire owfs does it instantaneously as described in the doc (doesn't wait 60sec) I don't have to write to uncached. So that's ok. Anyway in these applications 1 minutes is nothing, I have an hysteresis of 0.1°C in my home heating system. Example the set point is 20°C the heating start order will be given when the measured value is <19.9 and stop when >20.1, so it will heat during something like 15 minutes. So I'm ok by doing everything with the cached values. But ok to debug we have to understand if there is any discrepancies between cached / uncached and more than that between mnt/1wire and owdir. > You cannot debug the bus this way. If you don't read *uncached*, owfs > doesn't do anything on the bus but read the cache instead until it > expires. So you get a one new directory sample every 60 seconds. I mean I have seen many times that when a device disappear from /mnt/1wire it also disappear from /mnt/1wire/uncached. But it can be very strange I have links like TempSensorRoom pointing to the corresponding sensor. If the sensor disappear from the directory sometimes, not always, I can still read it thru TempSensorRoom/temperature > No wonder you have so few errors. > I used to have no errors at all. And now yes it's a few but it can increase anytime. The thing is I hate to have "holes" in my graph. By the way I'm wondering if these problems have appeared after having updated Raspbian (and thus the kernel). I used to keep the system up to date, (I have stopped since I went read only in August last year). But 3 year ago I had no any lost measure, it was 100% ok. So may be the problems have started after a kernel update.. Can't be sure, can't remember. Anyway I monitor my script outputs, let's see what's coming. Best reagards -- Guy ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers