is there in Linux any kind of driver (or driver support infrastructure) for the DCE end of a RS232 - basically, for running Linux inside a modem-like device and driving its RS232 interface.
This means especially that the DCD (Data Carrier Detect) and RI (Ring Indicator) lines must be *output* lines settable by software, not input lines. It would be best if I could simply use the normal tty_ioctl(4) interface for that.
I know that there's a concept of "gadget drivers" in the Linux-USB infrastructure, for running Linux in an USB device. Is there such a thing for RS232 as well? Or will I have to write my own?
Any help appreciated.