New answers tagged

0

You should be able to detect parity errors with the right termios settings, and even count them, depending on what the driver provides. The ioctl TIOCGICOUNT (see man 4 tty_ioctl) can retrieve error counters, though this is not documented in the man page. The ioctl is not provided by Python, but the following script getcounts.py does it through a low-level ...


0

On the Ubuntu side, you would typically do this (assuming you have GRUB2 and systemd): If you configure the serial console in GRUB2 systemd will create a getty listener on the same serial device as GRUB2 by default. So, this is the only configuration needed for Linux running with systemd. To make grub enable the serial console, open /etc/default/grub in an ...


Top 50 recent answers are included