From: Sergey <a_s_y@sama.ru> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: [sisyphus] как зафиксировать /dev/ttyUSBx ? Date: Fri, 18 Apr 2008 12:37:12 +0500 Message-ID: <200804181237.13370.a_s_y@sama.ru> (raw) Приветствую. Есть 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 этого не касается ли случайно ?...
next reply other threads:[~2008-04-18 7:37 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-18 7:37 Sergey [this message] 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
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=200804181237.13370.a_s_y@sama.ru \ --to=a_s_y@sama.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