Hello, Please find below an interesting trick to work around the fact that Wine / CrossOver is not capable
to handle the RS232 or COM ports properly: the idea is to use Tera Term Pro to connect
to a network "localhost" telnet session (instead of a RS232 serial port) which in turn
starts (via inetd) the Linux application "microcom" (instead of the expected shell)
to finally pipe the Tera Term Pro data connection into the desired RS232 port.
This sounds like a quite complicated way but Linux can handle such a setup very efficiently.
The only draw back is that it is not possible to change the COM parameters from
within Tera Term Pro. So this setup can be achieved by:
1) adding the following line to the inetd config file "/etc/inetd.conf":
"2323 stream tcp nowait root /bin/busybox telnetd -i -p 2323 -l /usr/bin/ttpro"
Please note that since the busybox telnet daemon is used there no need to enter any credentials.
2) and create the shell script "/usr/bin/ttpro" which in turn starts microcom with the desired
RS232 communication parameters (in this example 115200 Bauds and the port /dev/ttyUSB0) "microcom -s 115200 -p /dev/ttyUSB0"
3) Finally after restarting inetd by "/etc/init.d/inetd restart", it is just necessary to launch
Tera Term Pro and open a telnet connection to the host "localhost" and port "2323"
which practically connects automatically to the port ttyUSB0 at a speed of 115200 Bauds.
In all cases this is only a work around and a native Linux version of Tera Term Pro
would be a much better deal. I tested this setup on Knoppix 7.0.5 but it should work
the same way on most Linux distributions. I hope this is helpful.
Please provide some feedback.
Best Regards,
Gilles
Important Information
Tips are provided by the CrossOver Community and Advocates. They are not
intended to be used for official CodeWeavers Support. For that, please visit our
official support pages.
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.