From owner-freebsd-acpi@FreeBSD.ORG Mon May 24 11:06:48 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC8EE106567A for ; Mon, 24 May 2010 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A2F9C8FC13 for ; Mon, 24 May 2010 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4OB6mY6004290 for ; Mon, 24 May 2010 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4OB6m4P004288 for freebsd-acpi@FreeBSD.org; Mon, 24 May 2010 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 May 2010 11:06:48 GMT Message-Id: <201005241106.o4OB6m4P004288@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org 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: Mon, 24 May 2010 11:06:48 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/146715 acpi [acpi] Suspend works, resume not on a HP Probook 4510s o kern/145306 acpi [acpi]: Can't change brightness on HP ProBook 4510s o bin/145063 acpi [patch] powerd(8): Add -m and -M (minimum and maximum o amd64/144551 acpi [acpi] ACPI issues on SuperMicro X7SPA-H o i386/144045 acpi [acpi] [panic] kernel trap with acpi enabled o i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142263 acpi [acpi] ACPI regression on Asus K8N7-E deluxe motherboa o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject o amd64/140751 acpi [acpi] BIOS resource allocation and FreeBSD ACPI in TO o kern/139088 acpi [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o bin/137053 acpi [hang] FreeBSD 8.0 BETA2Compaq Mini 700 locks on boot o kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o bin/135349 acpi [patch] teach acpidump(8) to disassemble arbitrary mem o kern/135070 acpi [acpi] [patch] BIOS resource allocation and FreeBSD AC o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not o kern/130683 acpi [ACPI] shutdown hangs after syncing disks - ACPI race? o i386/129953 acpi [acpi] ACPI timeout (CDROM) with Shuttle X27D o kern/129618 acpi [acpi] Problem with ACPI on HP Pavilion DV2899 laptop o kern/129563 acpi [acpi] sleep broken on IBM/Lenovo T61 in amd64 mode f kern/128639 acpi [patch] [acpi_asus] acpi for ASUS A6F,A3E,A3F,A3N not f kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo o amd64/121439 acpi [boot] Installation of FreeBSD 7.0 fails: ACPI problem o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/114165 acpi [acpi] Dell C810 - ACPI problem s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 f kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys s kern/73823 acpi [request] acpi / power-on by timer support o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/69750 acpi Boot without ACPI failed on ASUS L5 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop 61 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon May 24 16:06:19 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 F201D106564A; Mon, 24 May 2010 16:06:19 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from mail2.timeinc.net (mail2.timeinc.net [64.236.74.30]) by mx1.freebsd.org (Postfix) with ESMTP id 91B838FC1C; Mon, 24 May 2010 16:06:19 +0000 (UTC) Received: from mail.timeinc.net (mail.timeinc.net [64.12.55.166]) by mail2.timeinc.net (8.13.8/8.13.8) with ESMTP id o4OG6IDG011353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 May 2010 12:06:18 -0400 Received: from ws-mteterin.dev.pathfinder.com (ws-mteterin.dev.pathfinder.com [209.251.223.173]) by mail.timeinc.net (8.13.8/8.13.8) with SMTP id o4OG6IUV010153; Mon, 24 May 2010 12:06:18 -0400 Message-ID: <4BFAA3FA.6080906@aldan.algebra.com> Date: Mon, 24 May 2010 12:06:18 -0400 From: "Mikhail T." Organization: Virtual Estates, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; uk; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Kostik Belousov References: <4BF55F80.2060409@aldan.algebra.com> <20100522165938.GV83316@deviant.kiev.zoral.com.ua> In-Reply-To: <20100522165938.GV83316@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: acpi@freebsd.org, danfe@freebsd.org, linux@freebsd.org Subject: Re: Extracting screen's EDID-information from ACPI 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: Mon, 24 May 2010 16:06:20 -0000 22.05.2010 12:59, Kostik Belousov ΞΑΠΙΣΑΧ(ΜΑ): > My hybrid (Z820) only provides EDID information when switched to > use intel graphics. Nvidia driver reports that no screens are attached. > Exactly... For some reason NVidia driver fails to detect the screen and is not smart enough obtain the information via ACPI itself. The work-around is to extract the EDID from ACPI manually and make it available to the driver as file (128-bytes long). I managed to extract that information from the result of `acpidump -o dump' -- by writing a little program to look for the proper byte-sequence (gleaned from the sources of http://www.polypux.org/projects/read-edid/)... I may polish my utility and publish it, but things should be easier than that -- as, dare I say it, they already is under Linux, for example (with their /proc/acpi/... ) -mi From owner-freebsd-acpi@FreeBSD.ORG Fri May 28 17:32:14 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 60AA31065670 for ; Fri, 28 May 2010 17:32:14 +0000 (UTC) (envelope-from robert.moore@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx1.freebsd.org (Postfix) with ESMTP id 473568FC17 for ; Fri, 28 May 2010 17:32:13 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 28 May 2010 10:28:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.53,319,1272870000"; d="scan'208";a="571435285" Received: from orsmsx603.amr.corp.intel.com ([10.22.226.49]) by fmsmga002.fm.intel.com with ESMTP; 28 May 2010 10:31:09 -0700 Received: from orsmsx503.amr.corp.intel.com ([10.22.226.47]) by orsmsx603.amr.corp.intel.com ([10.22.226.49]) with mapi; Fri, 28 May 2010 10:32:12 -0700 From: "Moore, Robert" To: "Moore, Robert" Date: Fri, 28 May 2010 10:32:11 -0700 Thread-Topic: ACPICA version 20100528 released Thread-Index: Acr+i7R0d08ko9PcSoCAQjxswcMzkQ== Message-ID: <4911F71203A09E4D9981D27F9D83085870AD0FD8@orsmsx503.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 28 May 2010 22:12:22 +0000 Cc: Subject: ACPICA version 20100528 released 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: Fri, 28 May 2010 17:32:14 -0000 28 May 2010. Summary of changes for version 20100528: This release is available at www.acpica.org/downloads Note: The ACPI 4.0a specification was released on April 5, 2010 and is avai= lable at www.acpi.info. This is primarily an errata release. 1) ACPI CA Core Subsystem: Undefined ACPI tables: We are looking for the definitions for the following= ACPI tables that have been seen in the field: ATKG, IEIT, GSCI. Implemented support to enable multi-byte transfers for Embedded Controller = (EC) operation regions. Previously, the maximum data size passed to the EC = operation region handler was a single byte. There are often EC Fields large= r than one byte that need to be transferred, and it is useful for the EC dr= iver to lock these as a single transaction. This change enables single tran= sfers larger than 8 bits. This effectively changes the access to the EC spa= ce from ByteAcc to AnyAcc, and will probably require changes to the host OS= Embedded Controller driver to enable 16/32/64/256-bit transfers in additio= n to 8-bit transfers. Alexey Starikovskiy, Lin Ming Implemented a performance enhancement for namespace search and access. This= change enhances the performance of namespace searches and walks by adding = a backpointer to the parent in each namespace node. On large namespaces, th= is change can improve overall ACPI performance by up to 9X. Adding a pointe= r to each namespace node increases the overall size of the internal namespa= ce by about 5%, since each namespace entry usually consists of both a names= pace node and an ACPI operand object. However, this is the first growth of = the namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy. Implemented a performance optimization that reduces the number of namespace= walks. On control method exit, only walk the namespace if the method is kn= own to have created namespace objects outside of its local scope. Previousl= y, the entire namespace was traversed on each control method exit. This cha= nge can improve overall ACPI performance by up to 3X. Alexey Starikovskiy, = Bob Moore. Added support to truncate I/O addresses to 16 bits for Windows compatibilit= y. Some ASL code has been seen in the field that inadvertently has bits set= above bit 15. This feature is optional and is enabled if the BIOS requests= any Windows OSI strings. It can also be enabled by the host OS. Matthew Ga= rrett, Bob Moore. Added support to limit the maximum time for the ASL Sleep() operator. To pr= event accidental deep sleeps, limit the maximum time that Sleep() will actu= ally sleep. Configurable, the default maximum is two seconds. ACPICA bugzil= la 854. Added run-time validation support for the _WDG and_WED Microsoft predefined= methods. These objects are defined by "Windows Instrumentation", and are n= ot part of the ACPI spec. ACPICA BZ 860. Expanded all statistic counters used during namespace and device initializa= tion from 16 to 32 bits in order to support very large namespaces. Replaced all instances of %d in printf format specifiers with %u since near= ly all integers in ACPICA are unsigned. Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly return= ed as AE_NO_HANDLER. Example Code and Data Size: These are the sizes for the OS-independent acpi= ca.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The debug = version of the code includes the debug output trace mechanism and has a muc= h larger code and data size. Previous Release: Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total Debug Version: 164.2K Code, 51.5K Data, 215.7K Total Current Release: Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total Debug Version: 164.1K Code, 51.5K Data, 215.6K Total 2) iASL Compiler/Disassembler and Tools: iASL: Added compiler support for the _WDG and_WED Microsoft predefined meth= ods. These objects are defined by "Windows Instrumentation", and are not pa= rt of the ACPI spec. ACPICA BZ 860. AcpiExec: added option to disable the memory tracking mechanism. The -dt op= tion will disable the tracking mechanism, which improves performance consid= erably. AcpiExec: Restructured the command line options into -d (disable) and -e (e= nable) options. From owner-freebsd-acpi@FreeBSD.ORG Sat May 29 19:54:40 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 2AF89106566B for ; Sat, 29 May 2010 19:54:40 +0000 (UTC) (envelope-from dgerow@afflictions.org) Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by mx1.freebsd.org (Postfix) with ESMTP id DD72A8FC14 for ; Sat, 29 May 2010 19:54:39 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkFACcHAUzO+L5V/2dsb2JhbACSNowEcr0LhRYEjEw X-IronPort-AV: E=Sophos;i="4.53,323,1272859200"; d="scan'208";a="65986963" Received: from 206-248-190-85.dsl.teksavvy.com (HELO shell.afflictions.org) ([206.248.190.85]) by ironport2-out.pppoe.ca with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 May 2010 15:25:50 -0400 Received: from shell.afflictions.org (shell.afflictions.org [172.20.143.66]) by shell.afflictions.org (8.14.4/8.14.4) with ESMTP id o4TJPn02059735 for ; Sat, 29 May 2010 15:25:49 -0400 (EDT) (envelope-from dgerow@afflictions.org) Received: (from dwg@localhost) by shell.afflictions.org (8.14.4/8.14.4/Submit) id o4TJPmBg059734 for acpi@freebsd.org; Sat, 29 May 2010 15:25:49 -0400 (EDT) (envelope-from dgerow@afflictions.org) X-Authentication-Warning: shell.afflictions.org: dwg set sender to dgerow@afflictions.org using -f Date: Sat, 29 May 2010 15:25:48 -0400 From: Damian Gerow To: acpi@freebsd.org Message-ID: <20100529192548.GB55552@plebeian.afflictions.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: 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 19:54:40 -0000 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 brief moment, then turn off. Nothing ever shows up in the system logs, even with USB debugging enabled. The 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 (discovered?) during the boot process. In the snippet below, the system pauses briefly after the "PCIe: Memory Mapped configuration" line is displayed, and the USB mouse is still active at that time. As 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 and , respectively. Though this used to work, I don't know exactly when it broke. I've tried poking around at a few BIOS settings to no avail, and booting without ACPI isn't an option (the system doesn't boot). The laptop is a Lenovo X200, 7454-CTO, running BIOS 3.16. Which, um, is more recent than the latest release from Lenovo, but was current as of about six months ago. 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