I have a problem with raspbian on a raspberry-pi version B and the gpio (from
pin=19 /usr/local/bin/gpio mode $pin up # Enable internal pull-up /bin/sleep 180 # wait 3 minutes!!! /usr/local/bin/gpio mode $pin up # Enable internal pull-up /usr/local/bin/gpio wfi $pin falling # Wait for input level to drop echo "SHUTDOWN at: `date -R`" >> /var/log/on.log echo >> /var/log/on.log /sbin/iptables-save > $(echo "/root/iptables-save__$(date +%Y-%m-%d__%H:%M)") sleep 1 /usr/bin/sudo /sbin/halt
Last use of button was the 27 febrary and work ok. Today, with the last update of raspbian, not work and crash with this message:
Message from syslogd@localhost at Apr 7 21:59:19 ... kernel:[ 922.196295] Disabling IRQ #50
... and dmesg report many error linees.
Because I have not a recent backup (the last backup is from 4 months) I want to restore the previous kernel.
How I do ?