Difference between revisions of "Airtop: Installing Linux Mint 20"

From fit-PC wiki
Jump to: navigation, search
(I3M)   (change visibility)
(I3M)   (change visibility)
Line 37: Line 37:
 
* Fix dependencies:
 
* Fix dependencies:
 
<pre>
 
<pre>
$ [ -e /usr/lib/x86_64-linux-gnu/libsensors.so.4 ] || ln -s /usr/lib/x86_64-linux-gnu/libsensors.so.*.0.0 /usr/lib/x86_64-linux-gnu/libsensors.so.4
+
$ lib_path="/usr/lib/x86_64-linux-gnu"
 +
$ [ -e $lib_path/libsensors.so.4 ] || sudo ln -s $lib_path/libsensors.so.*.0.0 $lib_path/libsensors.so.4
 
</pre>
 
</pre>
 
* Create file /etc/rc.local with the following content:
 
* Create file /etc/rc.local with the following content:
Line 45: Line 46:
 
sleep 1
 
sleep 1
 
/usr/local/sbin/airtop-fpsvc
 
/usr/local/sbin/airtop-fpsvc
/usr/local/sbin/gpu-thermald
+
[ "$(lspci -nn | grep 10de:)" ] && /usr/local/sbin/gpu-thermald
 
exit 0
 
exit 0
 
</pre>
 
</pre>
Line 52: Line 53:
 
$ sudo chmod +x /etc/rc.local
 
$ sudo chmod +x /etc/rc.local
 
</pre>
 
</pre>
* Ensure airtop-fpvsc panel is working
+
* Ensure I3M panel is working
 
<pre>
 
<pre>
 
$ sudo /etc/rc.local
 
$ sudo /etc/rc.local
 
</pre>
 
</pre>
* Reboot, ensure airtop-fpvsc panel is still working
+
* Reboot, ensure I3M panel is still working
 
<pre>
 
<pre>
 
$ sudo reboot
 
$ sudo reboot
 
</pre>
 
</pre>
 
</div>
 
</div>

Revision as of 10:46, 22 July 2020

Supported devices

  • This guide is valid for Airtop, Airtop2, Airtop3

Prepare installation media

LiveUSB installer crash on Quadro RTX 4000

  • In case your machine is configured with Quadro RTX4000 and experience crashes/freezes while LiveUSB installer running, please expand and follow the below:
  • To perform boot into "Safe Graphics" mode, add "nomodeset" parameter to the kernel boot line:
    • Power-on the Airtop3 with LiveUSB installer
    • Boot menu will appear, default entry will be "Start Linux Mint 20 Cinnamon 64-bit"
    • Press [e] to enter edit mode
    • Add "nomodeset" after the "splash", the end of line will look like "quiet splash nomodeset --"
    • Press [F10] to continue the boot
  • You will need to add "nomodeset" option once again, after base installation of Linux Mint and reboot
  • The problem will disappear after installing Nvidia graphics card drivers


Base installation of Linux Mint

  • Follow the standard Linux Mint installation procedure - choose timezone, partitions, username, password etc.
  • Disconnect the installation media and reboot.
  • Login using previously selected username and password.

I3M

  • To install I3M Linux Daemon on Airtop, please expand and follow the below:
  • Download I3M monitoring tools:
$ sudo wget https://fit-iot.com/files/download/airtop/sw/I3M/Linux/airtop-fpsvc -O /usr/local/sbin/airtop-fpsvc
$ sudo wget https://fit-iot.com/files/download/airtop/sw/I3M/Linux/gpu-thermald -O /usr/local/sbin/gpu-thermald
  • Fix dependencies:
$ lib_path="/usr/lib/x86_64-linux-gnu"
$ [ -e $lib_path/libsensors.so.4 ] || sudo ln -s $lib_path/libsensors.so.*.0.0 $lib_path/libsensors.so.4
  • Create file /etc/rc.local with the following content:
#!/bin/bash
modprobe i2c-i801
sleep 1
/usr/local/sbin/airtop-fpsvc
[ "$(lspci -nn | grep 10de:)" ] && /usr/local/sbin/gpu-thermald
exit 0
  • Make it executable:
$ sudo chmod +x /etc/rc.local
  • Ensure I3M panel is working
$ sudo /etc/rc.local
  • Reboot, ensure I3M panel is still working
$ sudo reboot