From: "A.Kitouwaykin" <cetus@newmail.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] как зафиксировать /dev/ttyUSBx ?
Date: Fri, 18 Apr 2008 12:24:38 +0400
Message-ID: <20080418122438.8ba33d39.cetus@newmail.ru> (raw)
In-Reply-To: <200804181237.13370.a_s_y@sama.ru>
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
On Fri, 18 Apr 2008 12:37:12 +0500
Sergey wrote:
>
> Вопростов тут, на самом деле, два. Первый - почему происходит, второй -
> как фиксировать номер tty. По первому ещё надо пособирать статистику
> (на другой USB вот пересадил, буду дальше смотреть).
>
Это не совсем ответ на вопрос. Просто что то похожее я уже спрашивал,
и по тогдашним ответам родилось два скриптика, сопоставляющих идентификатор
"шнурка" c номером ttyUSB на ядрах 2.6. Так сказать, обратная связь - может
кому пригодятся, да и идея проста и прозрачна. Если устройство по портам
не скачет, можно привязаться к "месту подключения". Для скриптиков вполне
достаточно.
У нас usb-com-портов на стенде много, иной раз подключается больше 8 устройств,
частично через хабы. Имена устройств действительно, бывает скачут.
При пере-в-тыкании устройств, которым пользовались, чтобы из сообщений на 12
консоли понять, что это за девайс, может полностью переинициализироваться все
дерево, хотя обычно устройство получает тот же адрес, что и освобождает.
При манипуляциях с питанием аппаратуры, подключенной к одному из ком-портов,
тоже может случиться такая бяка. Странные причины.
--
Китайкин Анатолий Константинович
ОАО "Радиоавионика", СПб
[-- Attachment #2: usbcomport --]
[-- Type: application/octet-stream, Size: 512 bytes --]
[-- Attachment #3: usbcomscan --]
[-- Type: application/octet-stream, Size: 403 bytes --]
next prev parent reply other threads:[~2008-04-18 8:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 7:37 Sergey
2008-04-18 8:11 ` Michael Shigorin
2008-04-18 9:30 ` Sergey
2008-04-18 8:24 ` A.Kitouwaykin [this message]
2008-04-19 5:29 ` Sergey
2008-04-19 5:31 ` Sergey
2008-04-19 22:36 ` Vasyl Tereshko
2008-04-21 5:10 ` Sergey
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=20080418122438.8ba33d39.cetus@newmail.ru \
--to=cetus@newmail.ru \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git