You've answered most of it, let me clarify a bit: There are a few computers, networked together and to the serial port switch, i.e. a box with 32 serial ports and an ethernet port. We *can* connect the parallel devices directly to the computers, but that would make a computer failure potentially catastrophic, so we want the parallel ports to be accessed over the serial ports on the serial port switch, which requires a parallel-serial converter microprocessor. What is needed is a virtual linux driver that looks like a parallel port, which you said would be easy. I assume that with that written, the driver for the controller can be told to access the virtual parallel port.
With that said, what is required in writing this driver? I don't need elaborate details, as I probably will not be doing it myself. Could you give me an outline of what is required?
Thanks.
Main Topics
Browse All Topics





by: kiffneyPosted on 2003-12-19 at 14:45:48ID: 9975565
Can you explain the actual setup a bit better?
It seemed like you were talking about a microprocessor that is connected to a physical RS-232 serial port which gets serial data and converts it to parallel data, demultiplexing it at the same time (sending it to various physical parallel ports).
Then you mentioned a serial port switch and an ethernet connection and I got lost.
Writing a device driver in linux that appears to be a parallel port (acts as if it were /dev/lp0) is no problem, nor is writing one that appears to be a serial port (/dev/ttyS0), and once the data got to the driver you could pretty much do as you wished.
But I am sure I don't yet understand exactly what you want to do.