From: "Бессонов Ян" <yashka@mailru.com>
To: <community@altlinux.ru>
Subject: Re: [Comm] COM-port & bash
Date: Sat, 28 Dec 2002 18:09:05 +0300
Message-ID: <002101c2ae83$103d5940$056409c0@LocalHost> (raw)
In-Reply-To: <3E0DBDD3.8090908@avanto.mpei.ac.ru>
----- Original Message -----
From: "Dmitry E. Oboukhov" <node@avanto.mpei.ac.ru>
To: <community@altlinux.ru>
Sent: Saturday, December 28, 2002 6:05 PM
Subject: Re: [Comm] COM-port & bash
> Dmitry E. Oboukhov wrote:
>
> >>
> >> почему чтение не открыввает порт ( по крайней мере не выкатывает
> >> ошибку ?)
> >>
> > блин - сам дятел, как говорится... ;)
> > там все по умолчанию настроено на всякие сингалы от модема,
> > оно на них и реагирует....
> > а мне надо простой RS, у которого только TXD & RXD выводы,
> > щас попробую отключить все что только можно с помощью stty...
>
> неа
> не получается
> stty -F /dev/ttyS0 clocal cread 38400
> - то есть сказал, что
> линия _без_ модемного управления,
> и прием символов разрешен
> скорость 38400
>
> 2,3 выводы закорочены
>
> cat /dev/urandom > /dev/ttyS0 работает (осциллограф все нормально
> кажет)
>
> операция чтения
> cat /dev/ttyS0
> выбрасывает управление _сразу_ без всяких предупреждений итд
> куда копать дальше подскажите ?
>
> ЗЫ: а то так неохота на С/С++ это делать, тут именно набор скриптов
> нужен...
со скриптами конечно проще чем с С/С++
посмотри настройки stty по поводу времени
Ян
>
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
>
next prev parent reply other threads:[~2002-12-28 15:09 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-28 11:55 Dmitry E. Oboukhov
2002-12-28 12:18 ` Бессонов Ян
2002-12-28 12:45 ` Dmitry E. Oboukhov
2002-12-28 12:48 ` Бессонов Ян
2002-12-28 12:54 ` Dmitry E. Oboukhov
2002-12-28 13:21 ` Бессонов Ян
2002-12-28 13:30 ` Dmitry E. Oboukhov
2002-12-28 13:51 ` Бессонов Ян
2002-12-28 13:55 ` Dmitry E. Oboukhov
2002-12-28 14:05 ` Dmitry E. Oboukhov
2002-12-28 14:19 ` Dmitry E. Oboukhov
2002-12-28 15:05 ` Dmitry E. Oboukhov
2002-12-28 15:09 ` Бессонов Ян [this message]
2002-12-28 15:21 ` Dmitry E. Oboukhov
2002-12-28 15:32 ` Yura Kalinichenko
2002-12-28 15:59 ` Dmitry E. Oboukhov
2002-12-29 8:21 ` Yura Kalinichenko
2002-12-30 7:49 ` Dmitry E. Oboukhov
2002-12-28 15:05 ` Бессонов Ян
2002-12-28 15:18 ` Dmitry E. Oboukhov
2002-12-28 15:21 ` Бессонов Ян
2002-12-28 15:34 ` [Comm] Ура! оно заработало! man stty !!! Dmitry E. Oboukhov
2002-12-28 15:42 ` Sergey Bolshakov
2002-12-28 16:08 ` Dmitry E. Oboukhov
2002-12-28 16:16 ` Sergey Bolshakov
2002-12-28 16:31 ` Dmitry E. Oboukhov
2002-12-28 16:44 ` Sergey Bolshakov
2002-12-29 14:16 ` Vitaly Lugovsky
2002-12-29 14:55 ` [Comm] Re[2]: " ASA
2002-12-29 15:09 ` Vitaly Lugovsky
2002-12-30 7:54 ` Dmitry E. Oboukhov
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='002101c2ae83$103d5940$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