Thread (2 messages) 2 messages, 2 authors, 2003-08-19

modem multiplexing mode?

From: Dalibor Kranjcic <hidden>
Date: 2003-08-19 09:51:36

Hi,


Is there any way to send addtional traffic (AT commands) to serial port 
(/dev/ttyS1 (COM2) in my example) when ppp is atached to it, thus
providing something as a modem 
multiplexing mode/protocol (Wavecom GPRS modem), since /dev/ttyS1 is
locked by pppd and used by ppp modules. 

I tried 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 (ppp traffic).

So, I expect write to /dev/ttyS12 to activate rs_interrupt_single method
which does the actual write in serial driver. 
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.

Is there any way to have more (virtual) tty device files for the same
COM 
thus allowing AT commands to be sent despite present ppp traffic.
Is it possible to send AT commands when ppp traffic is running on serial
port?  


Thanks for any advice...


Dalibor Kranjcic.



Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help