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

Raspberry Pi – sensing temperature

A small project, good for beginners, and can be done in 15 minutes. The Raspberry Pi as a temperature monitor using munin.

There has been a Raspberry Pi Model B in my possession for more than 1,5 years. In the early months my system administrator part was strong, so it was used as a DNS/DHCP/LAMP server with Raspbian and Arch. Later it was used as a smart extension for a HDMI capable TV with OpenELEC, but as a physicist it was not put to proper use. Continue reading “Raspberry Pi – sensing temperature”