From owner-freebsd-acpi@FreeBSD.ORG Sat May 29 23:54:24 2010 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 117481065688 for ; Sat, 29 May 2010 23:54:24 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id BA0748FC26 for ; Sat, 29 May 2010 23:54:23 +0000 (UTC) Received: by vws12 with SMTP id 12so3356629vws.13 for ; Sat, 29 May 2010 16:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3thkAug3aOkp0wufU10wQX6VYAFrx+7A4d70St9UxEk=; b=Avx/yJuhdCyOsJYccsXcD2Q9/vDbz+a/fxxxePcyI+wC1J4AMrfSSr1JD8qmeGOsKv tEqkuZQVM1BbQHIXKFIkiNc43rXl583pdkzT0JglEAOuNqp5NC6uiY3RXkhEYMfp016Q 2VThVP4a6UniY4OEdZXYh2CQZQLIKlvYhhCVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=s4jz16C6ejBJEITUWJO5YqSa6i7w9vZjnlXl6XSVf8GW8nzU1rihtln3RhAPm+FkQS EyKYYxlpl4P6nxrVqKQpnl0M+MKSRbrg8fXMlAjSYIeOOVfnrZMAh7j7LlmO1ueUHUdj JgvW9ScBBFa/RdAIpdU663K3lBgXZNLY4A5S0= MIME-Version: 1.0 Received: by 10.229.74.20 with SMTP id s20mr397123qcj.21.1275175635299; Sat, 29 May 2010 16:27:15 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Sat, 29 May 2010 16:27:15 -0700 (PDT) In-Reply-To: <20100529192548.GB55552@plebeian.afflictions.org> References: <20100529192548.GB55552@plebeian.afflictions.org> Date: Sat, 29 May 2010 16:27:15 -0700 Message-ID: From: Garrett Cooper To: Damian Gerow Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: acpi@freebsd.org Subject: Re: ACPI disables USB ports on Lenovo X200 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2010 23:54:24 -0000 On Sat, May 29, 2010 at 12:25 PM, Damian Gerow wro= te: > Some time ago, the external USB ports on my Lenovo X200 stopped working. > Specifically, if I plug in an optical mouse, I see it light up for a brie= f > moment, then turn off. =A0Nothing ever shows up in the system logs, even = with > USB debugging enabled. =A0The laptop also has an internal SD card reader, > connected via USB, that works just fine > > After playing around, I've discovered that the USB ports work while the > boot loader is active, but seem to be disabled around the time > \\_SB_.PCI0.EHC0.U7CS and \\_SB_.PCI0.EHC1.U8CS are registered (discovere= d?) > during the boot process. =A0In the snippet below, the system pauses brief= ly > after the "PCIe: Memory Mapped configuration" line is displayed, and the = USB > mouse is still active at that time. =A0As soon as things pick up again, > though, the mouse turns off. > > ----- > acpi0: on motherboard > PCIe: Memory Mapped configuration base @ 0xe0000000 > CPU0: local APIC error 0x40 > ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48 > acpi0: [MPSAFE] > acpi0: [ITHREAD] > acpi_ec0: port 0x62,0x66 on acpi0 > AcpiOsDerivePciId: \\_SB_.PCI0.MHCS -> bus 0 dev 0 func 0 > AcpiOsDerivePciId: \\_SB_.PCI0.EHC0.U7CS -> bus 0 dev 29 func 7 > AcpiOsDerivePciId: \\_SB_.PCI0.EHC1.U8CS -> bus 0 dev 26 func 7 > acpi0: Power Button (fixed) > acpi0: wakeup code va 0xffffff800000f000 pa 0x4000 > AcpiOsDerivePciId: \\_SB_.PCI0.LPC_.LPCS -> bus 0 dev 31 func 0 > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, bff00000 (3) failed > ACPI timer: 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 -> 10 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > ----- > > Full copies of a verbose dmesg (including USB debugging enabled) as well = as > a copy of my ASL can be found at an= d > , respectively. > > Though this used to work, I don't know exactly when it broke. =A0I've tri= ed > poking around at a few BIOS settings to no avail, and booting without ACP= I > isn't an option (the system doesn't boot). > > The laptop is a Lenovo X200, 7454-CTO, running BIOS 3.16. =A0Which, um, i= s > more recent than the latest release from Lenovo, but was current as of ab= out > six months ago. Hi Damian, Have you also tried setting hw.usb.debug=3D1 and see what's reported by the new USB stack? HTH, -Garrett