ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vasyl Tereshko <tvv@end.kiev.ua>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] как зафиксировать /dev/ttyUSBx ?
Date: Sun, 20 Apr 2008 01:36:17 +0300
Message-ID: <480A73E1.2090009@end.kiev.ua> (raw)
In-Reply-To: <200804181237.13370.a_s_y@sama.ru>

Sergey пишет:
> Приветствую.
>
> Есть usb serial конвертор pl2303. Иногда происходит такая штука:
>
> Apr 18 00:09:32 kernel: hub 3-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
> Apr 18 00:09:32 kernel: usb 3-2: USB disconnect, address 2
> Apr 18 00:09:32 kernel: pl2303 3-2:1.0: device disconnected
> Apr 18 00:09:32 kernel: usb 3-2: new full speed USB device using uhci_hcd and address 3
> Apr 18 00:09:32 kernel: usb 3-2: device descriptor read/64, error -71
> Apr 18 00:09:33 kernel: usb 3-2: new full speed USB device using uhci_hcd and address 6
> Apr 18 00:09:33 kernel: usb 3-2: configuration #1 chosen from 1 choice
> Apr 18 00:09:33 kernel: pl2303 3-2:1.0: pl2303 converter detected
> Apr 18 00:09:33 kernel: usb 3-2: pl2303 converter now attached to ttyUSB1
>
> Вопростов тут, на самом деле, два. Первый - почему происходит, второй -
> как фиксировать номер tty. По первому ещё надо пособирать статистику
> (на другой USB вот пересадил, буду дальше смотреть). 
>   
У меня на том же чипе  тоже конвертор, в виде шнурка COM-USB, на нем 
висит GPS. Иногда во время работы происходит та же фигня - и софт теряет 
связь с gpsом. Под виндами такой же конвертор тоже при длительной работе 
периодически просто "теряется", но там диагностику добыть внятную 
неоткуда :) Есть подозрения на саму железку - при повышении температуры 
частота глюков вполне предсказуемо повышается, а если в кабине солнышко 
напекло, то может и не завестись вовсе. У меня есть желание сделать 
прослойку в виде скрипта, который ищет ttyUSB* и из него делает некий 
/dev/usbconverter, всё равно он у меня только один может быть, осталось 
придумать, что его триггерить будет.

  parent reply	other threads:[~2008-04-19 22:36 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
2008-04-19  5:29   ` Sergey
2008-04-19  5:31 ` Sergey
2008-04-19 22:36 ` Vasyl Tereshko [this message]
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=480A73E1.2090009@end.kiev.ua \
    --to=tvv@end.kiev.ua \
    --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