From 9a27a1f22d22e0f7651d101350c18ec39578504a Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Sun, 9 Jan 2011 14:01:37 +0100 Subject: [PATCH] [fluksod] chmod 666 /dev/spidev0.0 in rc.local --- mote/v2/openwrt/files/etc/rc.local | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mote/v2/openwrt/files/etc/rc.local b/mote/v2/openwrt/files/etc/rc.local index 584da98..ff23f53 100644 --- a/mote/v2/openwrt/files/etc/rc.local +++ b/mote/v2/openwrt/files/etc/rc.local @@ -3,5 +3,7 @@ # set the wifi led pin (=GPIO 7) direction to output gpioctl dirout 7 +# set rw permissions for spidev +chmod 666 /dev/spidev0.0 exit 0