Serial and Parallel Ports

Serial and parallel port configuration is very similar to drive configuration – simply create a symbolic link in ~/.wine/dosdevices with the name of the device. Windows serial ports follow a naming convention of the word “com” followed by a number, such as com1, com2, etc. Similarly, parallel ports use “lpt” followed by a number, such as lpt1. You should link these directly to the corresponding Unix devices, such as /dev/ttyS0 and /dev/lp0. For example, to configure one serial port and one parallel port, run the following commands:

ln -s /dev/ttyS0 com1
ln -s /dev/lp0 lpt1

Rohit Khosla
Rohit Khosla
Director |Netmax Technologies ( Embedded Systems and Industrial Automation Division) [ IOT & Embedded Systems Expert]

Comments are closed.