SOLVED: DOSEMU serial port problems
Took DAYS to chase this down:
In the latest (and probably last) DOSEMU version, there's a bug that sets com ports to 2400 baud. You can get around this by adding a "system" command to the ~/.dosemu/drive_c/autoexec.bat file: "system stty 9600 -F /dev/ttyWhichever" ("whichever" being the device you specified in
/etc/dosemu/dosemu.conf to be $_com1 (or whichever com port).
So in summary, to allow DOSEMU to send to a serial port as NON-ROOT user:
1) be sure your DOSEMU user belongs to the same group as the /dev/ttyX device you want does.
2) modify /etc/dosemu/dosemu.conf to set $_com1=/dev/ttyX
3) modify the autoexec.bat file as above because every time DOSEMU is started it will set it's com port to 2400, and the autoexec.bat will reset it to what you want.
Aside: you can check (from the Linux side) the port's speed with "stty -a -F /dev/ttyX" to make sure.
|