From: "Бессонов Ян" <yashka@mailru.com>
To: <community@altlinux.ru>
Subject: [Comm] Re: [Comm] COM-порт
Date: Mon, 10 Feb 2003 16:13:11 +0300
Message-ID: <000b01c2d106$2992f120$056409c0@LocalHost> (raw)
In-Reply-To: <3E47795A.4010803@avanto.mpei.ac.ru>
----- Original Message -----
From: "Dmitry E. Oboukhov" <node@avanto.mpei.ac.ru>
To: <debian-russian@lists.debian.org>; <community@altlinux.ru>
Sent: Monday, February 10, 2003 1:05 PM
Subject: [Comm] COM-порт
> 1. делаю перемычку на выводах 2-3
> 2. даю команду
> stty -F /dev/ttyS0 raw 9600
Зачем эта команда ?
> 3. на одной консоли даю команду
> cat /dev/ttyS0
логично...
> 4. на второй даю команду
> echo "test\n" > /dev/ttyS0
заместо этой можно ls >> /dev/ttyS0
и всё должно работать...
COM порт лишний раз лучше не перенастраивать... а то замучаться можно с его
флагами и каноническими режимами....
Ян
>
> ожидаю увидеть на первой консоли слово test и курсор
> переведенный в следующую строку,
> однако вижу следующее:
> test^M^Jtest^M^Jtest^M^Jtest^M^Jtest^M^Jtest^M^J.....
> (непрерывно выводится)
>
> осциллограф на 2-3 показывает, что данные
> непрерывно гонятся
> _процесс прекращается прекращением команды_
> cat /dev/ttyS0 (чтения)
>
> кто-нибудь может прокомментировать ?
> как процесс чтения может порождать и запись?
> что еще в настройках терминала можно
> прописать, чтобы получить эхо через порт ?
>
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
>
next prev parent reply other threads:[~2003-02-10 13:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-10 10:05 Dmitry E. Oboukhov
2003-02-10 13:13 ` Бессонов Ян [this message]
2003-02-10 13:15 ` [Comm] " Dmitry E. Oboukhov
2003-02-10 15:15 ` Dmitry E. Oboukhov
2003-02-10 15:37 ` Sergey Vlasov
2003-02-11 9:15 ` Dmitry E. Oboukhov
2003-02-10 15:50 ` [Comm] " Бессонов Ян
2003-02-10 16:02 ` Yura Kalinichenko
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='000b01c2d106$2992f120$056409c0@LocalHost' \
--to=yashka@mailru.com \
--cc=community@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git