ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] COM-порт
@ 2003-02-10 10:05 Dmitry E. Oboukhov
  2003-02-10 13:13 ` [Comm] " Бессонов Ян
  2003-02-10 15:15 ` Dmitry E. Oboukhov
  0 siblings, 2 replies; 8+ messages in thread
From: Dmitry E. Oboukhov @ 2003-02-10 10:05 UTC (permalink / raw)
  To: debian-russian, community

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 (чтения)

кто-нибудь может прокомментировать ?
как процесс чтения может порождать и запись?
что еще в настройках терминала можно
прописать, чтобы получить эхо через порт ?



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-02-11  9:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-10 10:05 [Comm] COM-порт Dmitry E. Oboukhov
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

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