[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1389195775-22959-1-git-send-email-larsi@wh2.tu-dresden.de>
Date: Wed, 8 Jan 2014 16:42:55 +0100
From: Lars Poeschel <larsi@....tu-dresden.de>
To: poeschel@...onage.de, rob@...dley.net, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, alan@...ux.intel.com
Subject: [PATCH] n_gsm/documentation: Add some words about DCD signal
From: Lars Poeschel <poeschel@...onage.de>
Add some words about modem control lines, DCD signal and that
an open may block to the n_gsm documentation.
Signed-off-by: Lars Poeschel <poeschel@...onage.de>
---
Documentation/serial/n_gsm.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/serial/n_gsm.txt b/Documentation/serial/n_gsm.txt
index a5d9112..089b934 100644
--- a/Documentation/serial/n_gsm.txt
+++ b/Documentation/serial/n_gsm.txt
@@ -74,6 +74,12 @@ done
for example, it's possible :
- and to use gnokii to send / receive SMS on ttygsm1
- to use ppp to establish a datalink on ttygsm2
+- If you want to use a virtual muxed channel in your own programs, be aware
+ that it respects the modem control lines. If you open the virtual port it
+ will block, if it is not connected to a carrier (DCD signal missing). You
+ could open the virtual port with O_NDELAY flag and do normal AT commands
+ to the modem without a carrier. You can change to blocking mode later if
+ you need this with fcntl F_SETFL/F_GETFL.
6- first close all virtual ports before closing the physical port.
--
1.8.5.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists