equal
deleted
inserted
replaced
|
1 important! |
|
2 after recompile of the IOC, you have to set |
|
3 root as owner of the IOC-executable (bin/<arch>/kstm) |
|
4 and set the sticky bit so it will be executed as root |
|
5 instead of local user. |
|
6 |
|
7 the DHT22 temperature & humidity sensor need root access |
|
8 for direct interaction with the GPIO pins of the |
|
9 raspberry pi! |
|
10 |
|
11 do it as follows: |
|
12 |
|
13 ###### |
|
14 cd bin/linux-arm/ |
|
15 sudo chown root:root kstm |
|
16 sudo chmod u+s kstm |
|
17 ###### |
|
18 |
|
19 check success with ls -la |
|
20 it should be marked red and have |
|
21 -r-sr-xr-x root root |