From owner-freebsd-stable@FreeBSD.ORG Sat Feb 23 18:40:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 131C816A401 for ; Sat, 23 Feb 2008 18:40:09 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 0245713C469 for ; Sat, 23 Feb 2008 18:40:08 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.102] (unknown [24.175.90.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 99951654FB for ; Sat, 23 Feb 2008 12:07:24 -0600 (CST) Date: Sat, 23 Feb 2008 12:07:24 -0600 From: Paul Schmehl To: FreeBSD Stable Message-ID: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Flaky USB behavior on 7.0 RC3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2008 18:40:09 -0000 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@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 Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 4 real memory = 3487559680 (3325 MB) avail memory = 3408392192 (3250 MB) ACPI APIC Table: 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: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: 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: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 usb3: on uhci2 usb3: USB revision 1.0 uhub4: on usb3 usb4: on uhci3 usb4: USB revision 1.0 uhub5: on usb4 usb5: on uhci4 usb5: USB revision 1.0 uhub6: 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: on ehci1 usb6: USB revision 2.0 uhub7: 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@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/