Flaky USB behavior on 7.0 RC3

Paul Schmehl pauls at utdallas.edu
Sat Feb 23 18:40:09 UTC 2008


I just installed STABLE on a brand new Dell, and I'm encountering some 
strange problems with USB.  At first I couldn't get the keyboard or the 
mouse to work.  After some reviewing some of the posts to this list, I 
tried a trick that had worked for one individual.  I plugged a usb 
extension into a port on the back of the box and into the port on one of 
my monitors.  I then plugged the keyboard and mouse into the monitor.

They both worked.  After getting xorg up and running, I discovered that 
the mouse wasn't working.  I installed kde, got the virtual display 
working and then returned to trying to resolve the mouse problem.  The 
only way I could get the mouse to work in the GUI was to add 
moused_enable="YES" and moused_port="/dev/ums0" to /etc/rc.conf.  The 
non-default mouse setup that works flawlessly on my 6.3 RELENG box doesn't 
work at all on this box.

Unplugging and plugging the mouse cable into various ports, both on the 
box and on the monitor, has no effect.  I don't even get the normal 
console messages you would expect to see when usb devices are unplugged 
and plugged into ports.

At this point I don't know what to do next.  Is there some specific data I 
could provide that would help track this problem down?  Would the output 
of any particular utilities be useful?

I doubt that it matters, but this is a dual dual core processor box with 
4GB of memory and cutting edge peripherals such as a Radeon RV610 video 
card.  Yet all those things are working fine.  It's just usb that's acting 
oddly.

uname -a
FreeBSD utd65257.utdallas.edu 7.0-RC3 FreeBSD 7.0-RC3 #1: Thu Feb 21 
11:45:24 CST 2008 
root at utd65257.utdallas.edu:/usr/obj/usr/src/sys/GENERIC  i386

CPU: Intel(R) Core(TM)2 Quad CPU    Q6700  @ 2.66GHz (2660.01-MHz 
686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
,PBE>
  Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 4
real memory  = 3487559680 (3325 MB)
avail memory = 3408392192 (3250 MB)
ACPI APIC Table: <DELL   B9K    >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3

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
uhub4: <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
uhub5: <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
uhub6: <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
uhub7: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6

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

usbhidctl -a -f /dev/usb
usb   usb0  usb1  usb2  usb3  usb4  usb5  usb6
usbhidctl -a -f /dev/usb0
usbhidctl: USB_GET_REPORT_DESC
usbhidctl -a -f /dev/usb1
usbhidctl: USB_GET_REPORT_DESC
usbhidctl -a -f /dev/usb
usbhidctl: USB_GET_REPORT_DESC
usbhidctl -r -f /dev/usb
usbhidctl: USB_GET_REPORT_DESC

scanpci

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x29b0
 Intel Corporation DRAM Controller

pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x8086 device 0x29b1
 Intel Corporation PCI Express Root Port

pci bus 0x0000 cardnum 0x03 function 0x00: vendor 0x8086 device 0x29b4
 Intel Corporation MEI Controller

pci bus 0x0000 cardnum 0x03 function 0x02: vendor 0x8086 device 0x29b6
 Intel Corporation PT IDER Controller

pci bus 0x0000 cardnum 0x03 function 0x03: vendor 0x8086 device 0x29b7
 Intel Corporation Serial KT Controller

pci bus 0x0000 cardnum 0x19 function 0x00: vendor 0x8086 device 0x10bd
 Intel Corporation 82566DM-2 Gigabit Network Connection

pci bus 0x0000 cardnum 0x1a function 0x00: vendor 0x8086 device 0x2937
 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4

pci bus 0x0000 cardnum 0x1a function 0x01: vendor 0x8086 device 0x2938
 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5

pci bus 0x0000 cardnum 0x1a function 0x07: vendor 0x8086 device 0x293c
 Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2

pci bus 0x0000 cardnum 0x1b function 0x00: vendor 0x8086 device 0x293e
 Intel Corporation 82801I (ICH9 Family) HD Audio Controller

pci bus 0x0000 cardnum 0x1c function 0x00: vendor 0x8086 device 0x2940
 Intel Corporation 82801I (ICH9 Family) PCI Express Port 1

pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x2934
 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1

pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x2935
 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2

pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x2936
 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3

pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x293a
 Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1

pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x244e
 Intel Corporation 82801 PCI Bridge

pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x2914
 Intel Corporation LPC Interface Controller

pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x2922
 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller

pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x2930
 Intel Corporation 82801I (ICH9 Family) SMBus Controller

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x94c1
 ATI Technologies Inc  Device unknown

pci bus 0x0003 cardnum 0x02 function 0x00: vendor 0x11c1 device 0x5811
 Agere Systems FW323

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-stable mailing list