public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Dalibor Kranjcic <dalibor.kranjcic@ultra.si>
To: linux-serial@vger.kernel.org
Subject: modem multiplexing mode?
Date: 19 Aug 2003 11:51:32 +0200	[thread overview]
Message-ID: <1061286695.1312.172.camel@dalibork.ultra.si> (raw)

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.





             reply	other threads:[~2003-08-19  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-19  9:51 Dalibor Kranjcic [this message]
2003-08-19 13:43 ` modem multiplexing mode? Theodore Ts'o
  -- strict thread matches above, loose matches on Subject: below --
2003-08-21  7:28 Dalibor Kranjcic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1061286695.1312.172.camel@dalibork.ultra.si \
    --to=dalibor.kranjcic@ultra.si \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox