Changes

Jump to: navigation, search

Airtop: Installing Linux Mint 20

2,120 bytes added, 10:02, 11 November 2020
/* Missing Built-in Audio */
== Supported devices ==
* This guide is valid for AirtopMintBox3, Airtop1, Airtop2, Airtop3
== Prepare installation media ==
== I3M ==
* To install I3M Linux Daemon on Airtop, please expand and follow the below:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px1000px; overflow:auto;">
* Download I3M monitoring tools:
<pre>
$ 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
$ sudo chmod +x /usr/local/sbin/*
</pre>
* Fix dependencies:
sleep 1
/usr/local/sbin/airtop-fpsvc
[ "$(lspci -nn | grep VGA | grep 10de:NVIDIA)" ] && /usr/local/sbin/gpu-thermald
exit 0
</pre>
$ sudo reboot
</pre>
</div>
 
== Suspend-Resume ==
* There is a internal firmware issue with Airtop3, some units make unexpected reboot a few seconds/minutes after coming back from sleep
* To fix it need to set BIOS setting called "Boot Watchdog" to "Disabled"
<pre>
- Press [DEL] during boot to enter the BIOS settings
- BIOS -> Chipset -> PCH-IO Configuration -> Boot Watchdog [Disabled]
- Press [F4] Save and Exit
</pre>
* At this point suspend-resume will work correctly, issue don't have other side effects
 
== Missing Built-in Audio ==
* Unfortunately there is a set of audio bugs you will encounter on your fresh installation:
<pre>
- No sound from both Front and Rear analog audio outputs
- Volume output is too low
- Alsamixer not working
- Jack detection not working
</pre>
* To fix please expand and follow the below:
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px; overflow:auto;">
* On Airtop in Linux both "Rear Audio" and "Front Audio" can not work in the same time
* You need to select one of "Front Audio" or "Rear Audio":
<pre>
- Press [DEL] during boot to enter the BIOS settings
- BIOS -> Quick-Settings -> Rear/Front Audio -> [Front Audio] or [Rear Audio]
- Press [F4] Save and Exit
</pre>
* Open file /etc/default/grub for editing
* Add "snd-intel-dspcfg.dsp_driver=1" to the end of kernel boot line:
<pre>
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash snd-intel-dspcfg.dsp_driver=1"
</pre>
* Update grub settings
<pre>
$ sudo update-grub2
Sourcing file `/etc/default/grub'
..
done
</pre>
* Create new file /lib/firmware/airtop_beep_disable.fw
<pre>
[codec]
0x10ec0900 0x10ec0901 0
 
[pincfg]
0x1d 0x40010101
 
[codec]
0x10ec0900 0x10ec0900 1
 
[pincfg]
0x1d 0x40010101
</pre>
* Create new file /etc/modprobe.d/airtop_alc1150_hda.conf
<pre>
options snd-hda-intel patch=airtop_beep_disable.fw
</pre>
<pre>
$ sudo reboot
</pre>
* Test audio output, go to Sound settings
<pre>
- Menu -> Sound -> Output -> Headphones Built-in Audio
</pre>
* Click on "Test Sound", then on "Front Left" and "Front Right", check if it hear it from headphones, play with the volume.
</div>
<pre>
- Press [DEL] during boot to enter the BIOS settings
- Set "Chipset -> system System Agent (SA) Configuration -> Graphics Configuration -> Internal Graphics" to [Enabled]
- Press [F4] to save and exit
- Boot to Linux Mint
- All connected displays will appear in the "Display" section
</pre>
425
edits