Difference between revisions of "Linux Mint: Serial port name bug on fitlet2 with Atom CPU"

From fit-PC wiki
Jump to: navigation, search
Line 1: Line 1:
 +
* This document is applicable to fitlet2 with Intel(R) Atom(TM) E3XXX CPU.
 +
* It provides an explanation to workaround a bug related to the serial port's name change.
 +
 
== Serial port name ==
 
== Serial port name ==
* There is a bug in serial port name in Linux on Intel(R) Atom(TM) E3XXX platforms
+
* There is a bug in serial port name in Linux on Intel(R) Atom(TM) E3XXX platforms.
 
[https://bugs.launchpad.net/ubuntu/+source/linux-oem/+bug/1769610 https://bugs.launchpad.net/ubuntu/+source/linux-oem/+bug/1769610]
 
[https://bugs.launchpad.net/ubuntu/+source/linux-oem/+bug/1769610 https://bugs.launchpad.net/ubuntu/+source/linux-oem/+bug/1769610]
 
* Depending on Linux distribution and kernel version serial port name can be: /dev/ttyS6 or /dev/ttyHS1 or something similar or just unavailable
 
* Depending on Linux distribution and kernel version serial port name can be: /dev/ttyS6 or /dev/ttyHS1 or something similar or just unavailable

Revision as of 11:42, 8 October 2018

  • This document is applicable to fitlet2 with Intel(R) Atom(TM) E3XXX CPU.
  • It provides an explanation to workaround a bug related to the serial port's name change.

Serial port name

  • There is a bug in serial port name in Linux on Intel(R) Atom(TM) E3XXX platforms.

https://bugs.launchpad.net/ubuntu/+source/linux-oem/+bug/1769610

  • Depending on Linux distribution and kernel version serial port name can be: /dev/ttyS6 or /dev/ttyHS1 or something similar or just unavailable
  • For example, on Linux Mint 19 with kernel 4.15+ serial port initially detected as /dev/ttyS6, but then device node is absent in the /dev/ directory

Temporary solution

  • Ensure latest BIOS is installed: Fitlet2:_BIOS_Files
  • Install development Ubuntu kernel provided by Canonical Kernel Team
$ sudo add-apt-repository ppa:canonical-kernel-team/ppa
$ sudo apt update
$ sudo apt install linux-oem
$ sudo reboot
  • Missing device node /dev/ttyS6 will appear now as /dev/ttyHS1
  • Tested with serial loopback cable:
$ sudo -i
$ echo "12345678" > /dev/ttyHS1
$ cat /proc/tty/driver/serial | grep -v unknown
serinfo:1.0 driver revision:
4: uart:16550A mmio:0x7FFFF10000 irq:4 tx:0 rx:0
5: uart:16550A mmio:0x7FFFF0E000 irq:5 tx:0 rx:0 RTS|CTS|DTR
6: uart:16550A mmio:0x281011000 irq:6 tx:10 rx:10 RTS|DTR
7: uart:16550A mmio:0x7FFFF0C000 irq:7 tx:0 rx:0 CTS