7.0 RC2 usb problems

Paul Schmehl pauls at utdallas.edu
Thu Feb 21 15:33:12 UTC 2008


I just installed 7.0 RC2 on a brand new Dell - dual processor dual core Intel 
(so four processors), and I'm losing the keyboard and mouse after taking 
certain actions.  For example, I started setting up X (Xorg --configure) and 
then launched it (X -config /root/xorg.conf-new), and when I get to the GUI the 
mouse and keyboard are gone.  Sometimes I can restore functionality by 
unplugging the devices and then plugging them back in.  This is happening in 
the console as well, not just in the GUI.

I've fetched the latest sources using cvsup.  Will rebuilding the kernel solve 
this problem?  Is this a known issue?

usbhidctl shows ums0, ums1, ukbd0 and ukbd1 to be busy.

[root at utd65257 ~]# usbhidctl -a -f /dev/ums0
usbhidctl: /dev/ums0: Device busy
[root at utd65257 ~]# usbhidctl -a -f /dev/ums1
usbhidctl: /dev/ums1: Device busy
[root at utd65257 ~]# usbhidctl -a -f /dev/ukbd
ukbd0  ukbd1
[root at utd65257 ~]# usbhidctl -a -f /dev/ukbd0
usbhidctl: /dev/ukbd0: Device busy
[root at utd65257 ~]# usbhidctl -a -f /dev/ukbd1
usbhidctl: /dev/ukbd1: Device busy

This is what I see after unplugging both devices and plugging them in to 
different usb receptacles.

 usbdevs
addr 1: UHCI root hub, Intel
 addr 2: product 0x2105, vendor 0x413c
 addr 3: product 0x4d15, vendor 0x0461
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
 addr 3: product 0x2105, vendor 0x413c
 addr 2: product 0x4d15, vendor 0x0461
addr 1: EHCI root hub, Intel

FreeBSD utd65257.utdallas.edu 7.0-RC2-p1 FreeBSD 7.0-RC2-p1 #0: Tue Feb 12 
22:23:33 UTC 2008 
root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

grep usb /var/run/dmesg.boot
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
usb2: waiting for BIOS to give up control
usb2: EHCI version 1.0
usb2: wrong number of companions (3 != 2)
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
usb3: <UHCI (generic) USB controller> on uhci2
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
usb4: <UHCI (generic) USB controller> on uhci3
usb4: USB revision 1.0
uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
usb5: <UHCI (generic) USB controller> on uhci4
usb5: USB revision 1.0
uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
usb6: waiting for BIOS to give up control
usb6: timed out waiting for BIOS
usb6: EHCI version 1.0
usb6: companion controllers, 2 ports each: usb3 usb4 usb5
usb6: <EHCI (generic) USB 2.0 controller> on ehci1
usb6: USB revision 2.0
uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6

Any clues or help would be appreciated.

-- 
Paul Schmehl (pauls at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/



More information about the freebsd-questions mailing list