From: "Dmitry E. Oboukhov" <node@avanto.mpei.ac.ru> To: community@altlinux.ru Subject: Re: [Comm] Re: [Comm] COM-порт Date: Mon, 10 Feb 2003 16:15:51 +0300 Message-ID: <3E47A607.7020604@avanto.mpei.ac.ru> (raw) In-Reply-To: <000b01c2d106$2992f120$056409c0@LocalHost> Бессонов Ян wrote: > ----- 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 > > Зачем эта команда ? эта команда устанавливает скорость обмена, а так же выключает всякие ХON итп вещи, которые растут от модема реальная задача - не получить лооп устройство из ком-порта, а общение с другим устройством (железным ;) когда я понял что проблемы со связью растут от настроек порта стал играться с loop на нем и получил вот такой (неожиданный для меня) результат > > >>3. на одной консоли даю команду >> cat /dev/ttyS0 > > логично... > > >>4. на второй даю команду >> echo "test\n" > /dev/ttyS0 > > заместо этой можно ls >> /dev/ttyS0 > и всё должно работать... > COM порт лишний раз лучше не перенастраивать... а то замучаться можно с его > флагами и каноническими режимами.... ;) ну а если его все же надо перенастроить ?
next prev parent reply other threads:[~2003-02-10 13:15 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 ` [Comm] " Бессонов Ян 2003-02-10 13:15 ` Dmitry E. Oboukhov [this message] 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=3E47A607.7020604@avanto.mpei.ac.ru \ --to=node@avanto.mpei.ac.ru \ --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