Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2002 12:50:05 +0900
From:      FUJIMOTO Kou <fujimoto@j.dendai.ac.jp>
To:        freebsd-current@FreeBSD.org
Subject:   USB detach trouble
Message-ID:  <3CB6596D.8C6EEDA4@j.dendai.ac.jp>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CB6596D.8C6EEDA4>