11-10-2018, 11:39 PM
(11-10-2018, 08:44 PM)tuxd3v Wrote:(11-10-2018, 02:46 AM)Girbur Wrote: I am trying to follow your guide
but when I input
Code:luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-0.1-6.rockspec
I got:
Error loading file: [string "/etc/luarocks/config.lua"]:6: unexpected symbol near '.'
also what is the exact apt - get install for the kernel 4.4.162 witch is the latest version I believe.
Hello Girbur,
its something you typed in "/etc/luarocks/config.lua"( probably in the process of copy & paste)
do this:
edit file /etc/luarocks/config.lua,
and delete this section:
Code:variables = {
UNISTD_INCDIR = "/usr/include",
STAT_INCDIR = "/usr/include/$( gcc -dumpmachine )",
TYPES_INCDIR = "/usr/include/$( gcc -dumpmachine )",
LUALIB_INCDIR = "/usr/include/lua5.3",
LAUXLIB_INCDIR = "/usr/include/lua5.3",
LUA_INCDIR = "/usr/include/lua5.3",
LUA53_LIBDIR = "/usr/lib/$( gcc -dumpmachine )"
}
Then, try Again..
I advise you to install the master-0 version( its more updated, than v0.1.6, and its stable ).
For that, type only this( after delete the section above ):
Code:luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-master-0.rockspec
Does you Succeded?
Regards
Oh yes 2 question I had
Code:
/sys/class/hwmon/hwmon0/pwm1 set at 100 what should I put as reset value since the tools is controling it again how to install
the latest version of the kernel
root@rockpro64:~# systemctl status ats
● ats.service - ATS - Active Thermal Service
Loaded: loaded (/lib/systemd/system/ats.service; enabled; vendor preset: enab
led)
Active: active (running) since Sat 2018-11-10 21:20:27 PST; 2min 3
7s ago
Main PID: 1172 (lua)
Tasks: 1 (limit: 4915)
Memory: 296.0K
CPU: 12ms
CGroup: /system.slice/ats.service
└─1172 lua /usr/local/sbin/ats
Nov 10 21:20:27 rockpro64 systemd[1]: Started ATS - Active Thermal Service.
root@rockpro64:~# ^C
root@rockpro64:~#