Fix 1-wire after upgrading to kernel 3.18.*

After todays update I have lost my 1-wire devices. As it turns out on January 20 they moved to Kernel 3.18 with device trees enabled. This breaks the i2c, spi, w1 … (list and fix here)

If you are using my setup on 1-wire temperature sensing then here is the fix for you.

  1. Open the /boot/config.txt file as root to gain write access.
  2. Add the following line to the end of the file:
  3. Reboot your pi.

This solves your problem with the DS18B20 and other w1 sensors which are connected with three wires to the Pi. (Don’t use parasite mode…)

Have fun, and continue your super work.

Update (2015-03-30): Adafruit page