serial port configuration
OS: Linux TLE 5.0 based on Red Hat 8.
Legacy barcode printing equipment demands serial communications, 9600 baud, even parity, 7 data bits, 1 stop bit. I have found /dev/ttyS0, but how to configure the baud/E/7/1? Setserial will let me set the baud rate; change base or divisor? My C program must write to /dev/ttyS0 to run this device. No driver exists except for the standard Linux kernel serial driver. I've been using MODE.COM under MS-DOS and Windows 98; now porting to Linux. [Thank you for everything]. How do I configure the serial port?
|