Since the today’s Raspbian upudate, the spi interface not working anymore.
uname -a Linux raspberrypi1 3.18.5+ #746 PREEMPT Mon Feb 2 13:57:16 GMT 2015 armv6l GNU/Linux
All commands below and numberous rebooting show, that the support for spi is simply voided.
dmesg | grep spi ls -l /dev/spi* ls /sys/bus/spi/devices lsmod insmod spi modprobe spidev modinfo spidev
I also took care of the blacklist
sudo nano /etc/modprobe.d/raspi-blacklist.conf
nothing worked out so far 😦
I may have found an official explaination for the SPI problems…
All that’s to be done is adding the following lines into /boot/config.txt as super user
dtparam=spi=on dtparam=i2c=on dtparam=i2s=on
An easy approach to solve the issue with 1-wire sensors DS18B20 etc. is described here .
You just add the following line at the end of file /boot/config.txt to use PIN 7 (GPIO=4) as w1-DATA
# 1wire bus for DS18B20 dtoverlay=w1-gpio,gpiopin=4,pullup=on
reboot and check your result with
ls /sys/bus/w1/devices/ cat /sys/devices/w1_bus_master1/28*/w1_slave | grep t=
if you have an installed 1-wire sensor, such as the DS18B20