Difference between revisions of "Application note - Airtop3 serial port configuration in Linux"

From fit-PC wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
</pre>
 
</pre>
 
* COM1 is accessible as device node /dev/ttyUSB0
 
* COM1 is accessible as device node /dev/ttyUSB0
* COM3 is accessible as device node /dev/ttyS6 starting from BIOS version [https://fit-pc.com/wiki/index.php?title=Airtop3_BIOS_files | ATOP3.PRD.0.30.3] and with kernel boot option "acpi_osi=Linux"
+
* COM3 is accessible as device node /dev/ttyS6 starting from BIOS version [[Airtop3 BIOS files | ATOP3.PRD.0.30.3]] and with kernel boot option "acpi_osi=Linux"
 
<pre>
 
<pre>
 
# NOTE: to add kernel boot option "acpi_osi=Linux" please do:
 
# NOTE: to add kernel boot option "acpi_osi=Linux" please do:
Line 14: Line 14:
 
$ sudo update-grub2
 
$ sudo update-grub2
 
</pre>
 
</pre>
 +
 +
[[category: Airtop3]]
 +
[[category: application notes]]
 +
[[category: software]]

Latest revision as of 11:21, 8 January 2020

  • This application note is applicable to Airtop3
  • It provides configuration instructions to work with COM1 and COM3 in Linux environment.

Instructions

  • There are 2 serial ports available for usage: COM1 and COM3
# NOTE: COM2 intended for BIOS debugging and not available as regular COM port!
  • COM1 is accessible as device node /dev/ttyUSB0
  • COM3 is accessible as device node /dev/ttyS6 starting from BIOS version ATOP3.PRD.0.30.3 and with kernel boot option "acpi_osi=Linux"
# NOTE: to add kernel boot option "acpi_osi=Linux" please do:
$ sudo sed '/GRUB_CMDLINE_LINUX_DEFAULT=/s/.$/\ acpi_osi=Linux\"/' -i /etc/default/grub
$ sudo update-grub2