From: "Dmitry E. Oboukhov" <node@avanto.mpei.ac.ru> To: debian-russian@lists.debian.org, community@altlinux.ru Subject: [Comm] COM-порт Date: Mon, 10 Feb 2003 13:05:14 +0300 Message-ID: <3E47795A.4010803@avanto.mpei.ac.ru> (raw) 1. делаю перемычку на выводах 2-3 2. даю команду stty -F /dev/ttyS0 raw 9600 3. на одной консоли даю команду cat /dev/ttyS0 4. на второй даю команду echo "test\n" > /dev/ttyS0 ожидаю увидеть на первой консоли слово test и курсор переведенный в следующую строку, однако вижу следующее: test^M^Jtest^M^Jtest^M^Jtest^M^Jtest^M^Jtest^M^J..... (непрерывно выводится) осциллограф на 2-3 показывает, что данные непрерывно гонятся _процесс прекращается прекращением команды_ cat /dev/ttyS0 (чтения) кто-нибудь может прокомментировать ? как процесс чтения может порождать и запись? что еще в настройках терминала можно прописать, чтобы получить эхо через порт ?
next reply other threads:[~2003-02-10 10:05 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-02-10 10:05 Dmitry E. Oboukhov [this message] 2003-02-10 13:13 ` [Comm] " Бессонов Ян 2003-02-10 13:15 ` 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=3E47795A.4010803@avanto.mpei.ac.ru \ --to=node@avanto.mpei.ac.ru \ --cc=community@altlinux.ru \ --cc=debian-russian@lists.debian.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
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