A program that I run under Dosbox (HCS 4.0) which uses a serial port to communicate with a home control system was working fine under Ubuntu 16.04, but now fails to comunicate via the serial port under Ubuntu 18.04. I am utilizing a pl203 converter connected to a USB port (ttyUSB0) . It appears that the config file parser may be broken and or the config file is incorrect: in the examples for serial ports:
serial1=directserial realport:COM1 realport:ttyUSB0
serial2=dummy
serial3=disabled
serial4=disabled
this creates an errror on the serial port when starting dosbox.
The original line that worked in Ubuntu 16
serial1:directserial realport:/dev/ttyUSB0 realport:COM1
So were changes made to the conf file parser that broke the current version?
If so the conf file needs to be corrected to reflect the changes...
Please contact me if additional information is required.
Regards
Jim
Updates: the holiday week gave me an opportunity to work on this issue a bit more and I discovered that the following entry resolved most of my serial issues (still getting Serial overrun errors scrolling in the terminal where I opened Dosbox though) but at least my home control program runs and can be configured.
Correct config file entry
serial1=directserial realport:ttyUSB0
Note that I had to remove the realport:COM1 entry as it caused a serial port error and would not open the program. This is contrary to what is mentioned in the dosbox-0.74.conf file
I will try and look at the source code to see if I can identify the changes that occured since something changed from Ubuntu 16.04 to 18.04
Regards
Jim