Article 539P2 Runtime 217 error on Linux Mint 19.3

Runtime 217 error on Linux Mint 19.3

by
cavman35
from LinuxQuestions.org on (#539P2)
I have 3 desktop computers all using the same model MOBO and all 3 have 3 separate SATA drives with LM19.3 on one . Windows XP on another and Win 7 on another. Now I ran a program called Weather-Display on the Win 7 drive and they all worked using the ports TTY and USB 1 so it appears my physical hardware is fully functioning. In LM 19.3 they are now /dev/ttyS0 and dev/ttyUSB0. I found the /dev/ttyS0 is not working at all and the device /dev/ttyUSB0 will run for either hours , a day or days and then stops.

Part of the trouble is getting the STTY settings just right. No mater what the settings though the program always dies with a runtime 217 error with a consistent address. In my searches I find zero mention of this error in Linux but plenty of mentions in Windows. Part of my trouble is I have asked other users on the programs user forum that are running the program on Linux to do an STTY of their ports so I can see if I have a MOBO generated problem with the multiple settings on the port.

In my testing I note that the /dev/ttyXXX always defaults on any restarts and you have to re-input settings such as changing from defaults of 9600 baud or higher to 2400. The two answers I get is "We don't know what you are asking for or "There is some other trouble." Hence "What the heck is a Runtime 217 and what is causing it?" If I can rule out what is creating that then I can pursue the /dev/ttyXXX settings.

Here is the output when the program terminates.

ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable
Restoring the tty configuration
wmr300decodemac: no process found
wmr200decodemac: no process found
wmr100decodemac: no process found
acuritedecodemac: no process found
fineoffsetdecodemac: no process found
cronweatherflow: no process found
cronftpreal: no process found
cronrapid: no process found
usbreaderirox: no process found
usbreader: no process found
crongw1000: no process found
Terminated
don@don-P43T-ES3G:~/Desktop/wdisplay$ Runtime error 217 at 00000000008410CF

System info.
System: Host: don-P43T-ES3G Kernel: 5.3.0-51-generic x86_64 bits: 64 compiler: gcc v: 7.5.0
Desktop: Cinnamon 4.4.8 wm: muffin dm: LightDM Distro: Linux Mint 19.3 Tricia
base: Ubuntu 18.04 bionic
Machine: Type: Desktop Mobo: Gigabyte model: P43T-ES3G serial: <filter> BIOS: Award v: F7
date: 08/20/2010
CPU: Topology: Dual Core model: Intel Core2 Duo E8600 bits: 64 type: MCP arch: Penryn rev: A
L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 13333
Speed: 2000 MHz min/max: 2000/3333 MHz Core speeds (MHz): 1: 2000 2: 2000
Graphics: Device-1: NVIDIA GT218 [GeForce 210] vendor: Micro-Star MSI N210 Geforce driver: nvidia
v: 340.108 bus ID: 01:00.0 chip ID: 10de:0a65
Display: x11 server: X.Org 1.19.6 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1280x720~60Hz
OpenGL: renderer: GeForce 210/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 direct render: Yes
Audio: Device-1: Intel 82801JI HD Audio vendor: Gigabyte GA-EP45-UD3R driver: snd_hda_intel
v: kernel bus ID: 00:1b.0 chip ID: 8086:3a3e
Device-2: NVIDIA High Definition Audio vendor: Micro-Star MSI N210 Geforce 210 PCIe
driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0be3
Sound Server: ALSA v: k5.3.0-51-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte
driver: r8169 v: kernel port: ce00 bus ID: 04:00.0 chip ID: 10ec:8168
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 931.51 GiB used: 69.18 GiB (7.4%)
ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08WN4A0 size: 931.51 GiB
speed: 3.0 Gb/s serial: <filter>
Partition: ID-1: / size: 915.89 GiB used: 69.18 GiB (7.6%) fs: ext4 dev: /dev/sda1
Sensors: System Temperatures: cpu: 38.0 C mobo: N/A gpu: nvidia temp: 36 C
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com tricia main upstream import backport #id:linuxmint_main
2: deb http: //archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
6: deb http: //archive.canonical.com/ubuntu/ bionic partner
Info: Processes: 168 Uptime: 5m Memory: 3.84 GiB used: 821.8 MiB (20.9%) Init: systemd v: 237
runlevel: 5 Compilers: gcc: 7.5.0 alt: 7 Client: Unknown python3.6 client inxi: 3.0.32latest?d=yIl2AUoC8zA latest?i=KWe4-zqCI_E:300gXYyiHW8:F7zBnMy latest?i=KWe4-zqCI_E:300gXYyiHW8:V_sGLiP latest?d=qj6IDK7rITs latest?i=KWe4-zqCI_E:300gXYyiHW8:gIN9vFwKWe4-zqCI_E
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments