Changes

Jump to: navigation, search

Linux Mint: Serial port name bug on fitlet2 with Atom CPU

1,241 bytes added, 09:40, 13 August 2018
Created page with "== 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 htt..."
== 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 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 ==
* The temporary solution is to install development Ubuntu kernel provided by Canonical Kernel Team
<pre>
$ sudo add-apt-repository ppa:canonical-kernel-team/ppa
$ sudo apt update
$ sudo apt install linux-oem
$ sudo reboot
</pre>
* Missing device node /dev/ttyS6 will appear now as /dev/ttyHS1
* Tested with serial loopback cable:
<pre>
$ 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
</pre>
425
edits