All of lore.kernel.org
 help / color / mirror / Atom feed
* more device files on same COM?
@ 2003-08-18 14:03 Dalibor Kranjcic
  2003-08-18 14:55 ` Stuart MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Dalibor Kranjcic @ 2003-08-18 14:03 UTC (permalink / raw)
  To: linux-serial

Hi,

I would like to use /dev/ttyS12 as virtual port for COM2, which would
allow sending of additional data flow to COM2 independently from the
data flow which is already sent trough /dev/ttyS1 (let's say ppp).

So, I expect write to /dev/ttyS12 to activate rs_interrupt_single method
which does the actual write. Once I'm in rs_interrupt_single method I
would redirect the incoming user space data to TX lines for COM2.

The write to /dev/ttyS12 fails with EIO Input/Output error, I suppose
because there is no UART defined for this device and some initialization
stuff doesn't go trough.

I'm wondering if there is any way to activate rs_interrupt_single method
in serial.c or for /dev/ttyS12 or in other words is there any way to
have more (virtual) tty device files for the same COM? 


Thanks for any advice...


Dalibor Kranjcic.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-18 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-18 14:03 more device files on same COM? Dalibor Kranjcic
2003-08-18 14:55 ` Stuart MacDonald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.