Am 30.09.2015 um 19:45 schrieb Henry Pootel: > > I use a kernel v3.12 with w1-gpio module now. The owfs is working > with errors. > > When I check devices by owdir commands, it sometimes lose one or > more sensors or make a double of existing sensors. > Do you run the onewire with 3.3V from the Raspberry's I/O pin? If so, have you checked all your slaves are 3.3V compatible?
If you use a 3.3V<->5V level converter, have you checked the High->Low transitions edges on both the 3.3V and 5V side? They have to be sharp, without bumps near 0V or round edges at 5V (round edges are allowed on the Low->High transitions). And of course, the transmission delay shouldn't be more than a few microseconds. Check it with a scope and 1:10 probe. > It's 4 percents of > asks. It's too more for me. > Errors should be in less than 1 of 1000 transmissions. If it's more, I go check what's wrong with my circuit. > And I went to looking new kernels or new > decision. New kernel has broken my brain. And I found DS1WM with your > help... Thanks, but I think how I can change my scheme now. > So before linux-3.12, you had it working without errors? If yes, which kernel version was that? I ask that because I would check what has changed in the kernel driver if you can tell me. > Well, I can make a new PCB and set the DS2482 chip into my scheme. I > think it should use a I2C bus of my PI. Isn't it? What modules must > be loaded ( i2c-dev.ko, i2c-bcm2708.ko and ds1ws.ko ) before start > the owserver? Should the owserver to start in the i2c mode (by > setting in a config file )? > You need a 3.3V<->5V level converter with two channels, i2c-dev.ko and i2c-bcm2708.ko. The i2c-tools package can help you debugging problems. Start owserver with --i2c=ALL:ALL. Kind regards Jan ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers