From owner-freebsd-current@FreeBSD.ORG Fri Dec 26 00:10:21 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CDEC16A4CE for ; Fri, 26 Dec 2003 00:10:21 -0800 (PST) Received: from mail.j.dendai.ac.jp (mail.j.dendai.ac.jp [133.14.49.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0011F43D3F for ; Fri, 26 Dec 2003 00:10:18 -0800 (PST) (envelope-from fujimoto@j.dendai.ac.jp) Received: from j.dendai.ac.jp (yebisu.j.dendai.ac.jp [133.14.49.224]) by mail.j.dendai.ac.jp (Postfix) with ESMTP id A4C63804B for ; Fri, 26 Dec 2003 17:10:17 +0900 (JST) Message-ID: <3FEBECE9.90607@j.dendai.ac.jp> Date: Fri, 26 Dec 2003 17:10:17 +0900 From: FUJIMOTO Kou Organization: Tokyo Denki University User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.5) Gecko/20031020 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ehci driver disables USB support on boot time X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 08:10:21 -0000 Hello, I have C2M266-FL M/B, which have VIA CLE266 chipset that supports USB 2.0. I usually attach USB keyboard/mouse/two HUBs to USB ports (none of them is USB 2.0 compliant, of course). I have USB2.0-compliant DVD recorder and sometimes would like to use it with FreeBSD. Enabling "device ehci" on 5.2-RC kernel config and rebooting, both uhci and ehci devices are recognized as below. On the next boot time, however, LEDs on HUBs don't light and keyboard don't work until kernel loads USB drivers. After USB controllers are recognized by kernel, LEDs are on and keyboard/mouse work properly. It looks like that BIOS USB support is disabled, but it is actually enabled on BIOS setup menu. This is a problem because I can neither modify BIOS setup nor select boot options (single or multiuser mode, etc). This problem occurs both on hot and cold boot, and is resolved only when I short out CMOS clear jumper. Disabling ehci driver, this problem never occur, i.e. all LEDs on HUBs light and keyboard works well on BIOS setup. Does anyone have the same problem? Any solution or workaround? [dmesg with ehci enabled] ============================================================= uhci0: port 0xc800-0xc81f irq 15 at device 16.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xcc00-0xcc1f irq 12 at device 16.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd000-0xd01f irq 11 at device 16.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdf002000-0xdf0020ff irq 5 at device 16.3 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: (0x1106) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered uhub0: port error, restarting port 1 uhub4: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2 uhub4: 3 ports with 3 removable, self powered uhid0: EIZO EIZO USB HID Monitor, rev 1.10/27.12, addr 3, iclass 3/0 uhub5: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 4 uhub5: 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. uhub6: Chicony Generic USB Hub, class 9/0, rev 1.10/1.00, addr 6 uhub6: 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 ============================================================= [dmesg with ehci disabled] ============================================================= uhci0: port 0xd800-0xd81f irq 15 at device 16.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2 uhub1: 3 ports with 3 removable, self powered ugen0: EIZO EIZO USB HID Monitor, rev 1.10/27.12, addr 3 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 uhci1: port 0xdc00-0xdc1f irq 12 at device 16.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub4: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered uhci2: port 0xe000-0xe01f irq 11 at device 16.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub5: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered uhub5: port error, restarting port 2 uhub5: port error, giving up port 2 pci0: at device 16.3 (no driver attached) ============================================================= -- FUJIMOTO Kou, Tokyo Denki University http://www.j.dendai.ac.jp/~fujimoto/