From owner-freebsd-current Thu Apr 11 20:50:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from ises00.j.dendai.ac.jp (ises00.j.dendai.ac.jp [133.14.49.10]) by hub.freebsd.org (Postfix) with ESMTP id A289237B405 for ; Thu, 11 Apr 2002 20:50:18 -0700 (PDT) Received: from j.dendai.ac.jp (yebisu.j.dendai.ac.jp [133.14.49.224]) by ises00.j.dendai.ac.jp (8.9.3+Sun/8.9.3) with ESMTP id MAA15225 for ; Fri, 12 Apr 2002 12:50:12 +0900 (JST) Message-ID: <3CB6596D.8C6EEDA4@j.dendai.ac.jp> Date: Fri, 12 Apr 2002 12:50:05 +0900 From: FUJIMOTO Kou Organization: Tokyo Denki University X-Mailer: Mozilla 4.78 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Subject: USB detach trouble Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I CVSuped kernel src at Apr. 9 and met a trouble that I cannot detach USB devices except an UHID device... The kernel at Apr.6 attaches and detaches all USB devices fine: ===========(unplug USB cable from PC)================================== uhub1: at uhub0 port 2 (addr 2) disconnected uhid0: detached ums0: detached moused: unable to open /dev/ums0: No such file or directory uhub2: detached ukbd0: detached uhub3: detached uhub1: detached ===========(plug them again)=========================================== uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2 uhub1: 3 ports with 3 removable, self powered uhid0: EIZO EIZO USB HID Monitor, rev 1.10/27.12, addr 3, iclass 3/0 uhub2: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 4 uhub2: 4 ports with 4 removable, bus powered ums0: Logitech USB-PS/2 Trackball, rev 1.00/2.10, addr 5, iclass 3/1 ums0: 3 buttons and Z dir. uhub3: Chicony Generic USB Hub, class 9/0, rev 1.10/1.00, addr 6 uhub3: 1 port with 0 removable, bus powered ukbd0: Chicony PFU-65 USB Keyboard, rev 1.10/1.00, addr 7, iclass 3/1 kbd0 at ukbd0 However, with kernel at Apr.9 and after: ===========(unplug USB cable from PC)================================== uhub1: at uhub0 port 2 (addr 2) disconnected uhid0: detached ===========(plug them again)=========================================== (Nothing happens!) Checking with "usbdevs" command, only HID monitor has been detached even though all other devices are physically unplugged. # usbdevs addr 1: OHCI root hub, SiS addr 2: hub, Philips Semiconductors addr 4: TUSB2046 hub, Texas Instruments addr 5: USB-PS/2 Trackball, Logitech addr 6: Generic USB Hub, Chicony addr 7: PFU-65 USB Keyboard, Chicony addr 1: OHCI root hub, SiS Some changes on sys/dev/usb at Apr.7 or 8 might cause the trouble. Any fixes/workarounds/suggestions are appreciated. -- FUJIMOTO Kou, Tokyo Denki University To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message