Ubuntu/Linux DOSBox: setting up USB to Serial RS232 port converter

To setup a USB to serial converter to use with DOSBox on Linux:

  1. type

    ll /dev/ttyUSB*
    

    and note the device corresponding to your USB to serial adapter (probably /dev/ttyUSB0 unless you have multiple such adapters)

  2. type

    sudo chmod 666 /dev/ttyUSB0
    

    (assuming ttyUSB0 is your device)

  3. Edit the DOSBox configuration file ~/.dosbox/dosbox*.conf and find the [serial] portion of dosbox.conf file, and modify the serial1=dummy to be:

    serial1=directserial realport:ttyUSB0
    
  4. run DOSBox and you should find your serial device on COM1

reference

DOSbox config manual