ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] как зафиксировать /dev/ttyUSBx ?
@ 2008-04-18  7:37 Sergey
  2008-04-18  8:11 ` Michael Shigorin
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Sergey @ 2008-04-18  7:37 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Приветствую.

Есть 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 вот пересадил, буду дальше смотреть). 

А вот второй вопрос интересен сам по себе. Изначально получается ttyUSB0,
после первого re-enabling - ttyUSB1, а вот дальше, сколько бы re-enabling 
или выниманий/установок не было, остаётся ttyUSB1. А ttyUSB0, почему-то,
блокируется безвозвратно. Сейчас попробую с ttyUSB1 оставить на долго, может
быть тоже сползёт...

00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 02)
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02)

ядро 2.6.18-ovz-smp-alt23

pl2303 используется не то, чтобы широко, но не только в этом месте, похожее
поведение было один раз, но, сейчас, уже данных не найду. :-(

-- 
С уважением, Сергей
a_s_y@sama.ru

PS: интересно, куча исправлений в usb-serial в 2.6.25 этого не касается ли
случайно ?...


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-21  5:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-18  7:37 [sisyphus] как зафиксировать /dev/ttyUSBx ? 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
2008-04-21  5:10   ` Sergey

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