Setting of comm ports - adding second com port - redirection
I've found 'lx-viewer' which should let me view and plot '.DXF' format CAD files to my HP (hpgl) plotter. A couple of things are stopping me from doing this! How do I set up baud, parity, bits and handshaking on my serial port, how do I get the second coms port recognised by Knoppix and what is the best way of outputting the plot file to the device?
cp plot.hpgl /dev/ttys0 ?????
Many thanks, I'll do a 'google' in the meantime!
Stu.....
Re: Setting of comm ports - adding second com port - redirec
--See ' man setserial ', and /etc/init.d/setserial. To check your serial port current config:
' setserial -a /dev/ttyS0 ' as root.
--You can also:
' cat /proc/tty/driver/serial ' as any user:
serinfo:1.0 driver:5.05c revision:2001-07-08
0: uart:16550A port:3F8 irq:4 baud:9600 tx:8 rx:60 brk:3
1: uart:16550A port:2F8 irq:3 baud:9600 tx:6 rx:0
--From google, here is example of something you could put into /etc/serial.conf:
/dev/ttyS0 uart 16550A port 0x03f8 irq 4 baud_base 115200 spd_normal skip_test
--As far as getting the plot to the device, maybe use cat(?) But you did say lx-viewer should let you do the plot directly to the device...
Quote:
Originally Posted by stukennedyuk
I've found 'lx-viewer' which should let me view and plot '.DXF' format CAD files to my HP (hpgl) plotter. A couple of things are stopping me from doing this! How do I set up baud, parity, bits and handshaking on my serial port, how do I get the second coms port recognised by Knoppix and what is the best way of outputting the plot file to the device?
cp plot.hpgl /dev/ttys0 ?????
Many thanks, I'll do a 'google' in the meantime!
Stu.....