ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Derjavin <dd@altlinux.org>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Обмен данными с Arduino: настройка последовательного порта
Date: Fri, 21 Feb 2014 23:30:20 +0400
Message-ID: <87sircqn5f.fsf@asia.home.dd> (raw)
In-Reply-To: <20140219132957.GA1433@newmaster.mivlgu.local> (Sergey Vlasov's message of "Wed, 19 Feb 2014 17:29:57 +0400")

Ср, 19 фев 2014, 17:29, Sergey Vlasov:

>> # lsusb | grep Arduino
>> Bus 010 Device 016: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)

[…]

>> Попытка установить скорость вручную к ожидаемому результату не приводит:

[…]

> К сожалению, для назначения нестандартных скоростей (не входящих в
> набор констант B* из /usr/include/bits/termios.h) в glibc до сих пор
> ничего не сделано, несмотря на висящий с 2009 года багрепорт

Спасибо за исчерпывающий ответ! Действительно, установка скорости 115200
со стороны Arduino полностью решила проблему. Сложно было только найти
машину с Windows, так как утилиты Arduino SDK для Linux, как оказалось,
тоже не умеют устанавливать нестандартные скорости для портов этого типа
(или я не разобрался, как это сделать с их помощью).

Ещё раз спасибо!

-- 
~dd

      reply	other threads:[~2014-02-21 19:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19  6:53 Dmitry Derjavin
2014-02-19 13:29 ` Sergey Vlasov
2014-02-21 19:30   ` Dmitry Derjavin [this message]

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=87sircqn5f.fsf@asia.home.dd \
    --to=dd@altlinux.org \
    --cc=community@lists.altlinux.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