From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 20 11:06:57 2011 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 002A6106567E for ; Mon, 20 Jun 2011 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E34B08FC25 for ; Mon, 20 Jun 2011 11:06:56 +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 p5KB6uJf098040 for ; Mon, 20 Jun 2011 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5KB6u8i098038 for freebsd-acpi@FreeBSD.org; Mon, 20 Jun 2011 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Jun 2011 11:06:56 GMT Message-Id: <201106201106.p5KB6u8i098038@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, 20 Jun 2011 11:06:57 -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 kern/154955 acpi [acpi] Keyboard or ACPI doesn't work on Lenovo S10-3 o kern/152438 acpi [acpi]: patch to acpi_asus(4) to add extra sysctls for o kern/152098 acpi [acpi] Lenovo T61p does not resume 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 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/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 p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop 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/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/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/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed 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/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/91594 acpi [acpi] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/ o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/73823 acpi [request] acpi / power-on by timer support 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 41 problems total. From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 24 19:42:07 2011 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6BD3106566C for ; Fri, 24 Jun 2011 19:42:07 +0000 (UTC) (envelope-from vmagerya@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 7AB098FC0A for ; Fri, 24 Jun 2011 19:42:07 +0000 (UTC) Received: by vws18 with SMTP id 18so3146974vws.13 for ; Fri, 24 Jun 2011 12:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Zw+F+nLxMAaN6vVXd4QWBF/FPlQvXzKU9ZkZOSJ1yyU=; b=uDNYYL9jlmUZC0QtJt/12wyrFiTLviO+vMbnkqDFSmXV5ju43U3qaMmIC/GruiQnT2 vOUhm36F5jj7c+Ycb9iNw8hgu7y7GF6KqzCCshcWwSEb3wy1O4uMSKl2W0pPm1chTMN5 4gzQ0O5OxcxiJGu6gHwIqWuyifLauevuwvENk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M5+/3JxSQFQi0Of1zlCoQwBrvFYQ1pDV2bjpoNAP//37BaQVo0d8Za46tlCIp7bMXZ AaP+KSjFRBMi0dvtZCisE8kUy77iz8+okz0srwUf1c6w6KxZ94OARZWltlYF3WP+4inI wZ29M62/RniMFQWO94dC+P7gv1o1xlfubO1Co= MIME-Version: 1.0 Received: by 10.52.178.195 with SMTP id da3mr4782810vdc.179.1308942792018; Fri, 24 Jun 2011 12:13:12 -0700 (PDT) Received: by 10.52.184.226 with HTTP; Fri, 24 Jun 2011 12:13:12 -0700 (PDT) Date: Fri, 24 Jun 2011 22:13:12 +0300 Message-ID: From: Vitaly Magerya To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: (Missing) power states of an Atom N455-based netbook 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, 24 Jun 2011 19:42:07 -0000 Hi, folks. I'm having a problem with ACPI on an Atom N455-based netbook (Samsung N143-DP05UA to be precise). Right after I start the laptop I only see one supported power state: # sysctl dev.cpu.0.cx_supported dev.cpu.0.cx_supported: C1/1 But after 4+ minutes of uptime more power states kick in: # sysctl dev.cpu.0.cx_supported dev.cpu.0.cx_supported: C1/1 C2/20 C3/100 I'd like to have all Cx right after the boot. Is this possible? (The temporary solution I employ is to update hw.acpi.cpu.cx_lowest every time devd gets ACPI CMBAT message; this appears to happen right after cx_supported is updated). Also, when I boot the same machine under Linux (latest Ubuntu), powertop reports C1, C2 and C4 right away. Is it possible to get C4 under FreeBSD as well? Other ACPI problems, which I have are: 1. When the power cord is plugged in, C3 state disappears. 2. When I plug (or unplug) the power cord I get these two messages: ACPI Error: [\\_SB_.VDRV] Namespace lookup failure, AE_NOT_FOUND (20101013/psargs-464) ACPI Error: Method parse/execution failed [\\_SB_.PCI0.LPC0.H_EC._Q51] (Node 0xc42ac1e0), AE_NOT_FOUND (20101013/psparse-633) (This appears to be harmless). My verbose dmesg is at [1], ASL dump is at [2], loader.conf is: kern.hz=100 hint.p4tcc.0.disabled=1 hint.acpi_throttle.0.disabled=1 hw.pci.do_power_nodriver=3 hint.apic.0.clock=0 hint.atrtc.0.clock=0 And sysctl hw.acpi output is: hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: NONE hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 1 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C3 hw.acpi.acline: 0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 54.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 90.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 98.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: 0 hw.acpi.thermal.tz0._TC2: 10 hw.acpi.thermal.tz0._TSP: 2 hw.acpi.battery.life: 46 hw.acpi.battery.time: 194 hw.acpi.battery.state: 1 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 PS. Please CC me, I'm not subscribed. [1] http://tx97.net/~magv/dmesg-n143-verbose.82.txt [2] http://tx97.net/~magv/n143.asl From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 25 14:07:18 2011 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 7B4781065670 for ; Sat, 25 Jun 2011 14:07:18 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C1AC08FC14 for ; Sat, 25 Jun 2011 14:07:17 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA29992; Sat, 25 Jun 2011 17:07:14 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E05EB91.9090509@FreeBSD.org> Date: Sat, 25 Jun 2011 17:07:13 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110622 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: Vitaly Magerya References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org Subject: Re: (Missing) power states of an Atom N455-based netbook 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, 25 Jun 2011 14:07:18 -0000 on 24/06/2011 22:13 Vitaly Magerya said the following: > Hi, folks. I'm having a problem with ACPI on an Atom N455-based > netbook (Samsung N143-DP05UA to be precise). > > Right after I start the laptop I only see one supported power state: > > # sysctl dev.cpu.0.cx_supported > dev.cpu.0.cx_supported: C1/1 > > But after 4+ minutes of uptime more power states kick in: > > # sysctl dev.cpu.0.cx_supported > dev.cpu.0.cx_supported: C1/1 C2/20 C3/100 > > I'd like to have all Cx right after the boot. Is this possible? > > (The temporary solution I employ is to update hw.acpi.cpu.cx_lowest > every time devd gets ACPI CMBAT message; this appears to happen > right after cx_supported is updated). Hmm, strange... Can you check if FreeBSD thinks that the system is on AC power until that CMBAT message? (I see in dmesg that during that boot it detected AC as disconnected). > Also, when I boot the same machine under Linux (latest Ubuntu), > powertop reports C1, C2 and C4 right away. Is it possible to get > C4 under FreeBSD as well? I believe that what FreeBSD reports as C3 is the same as what Linux reports as C4. > Other ACPI problems, which I have are: > 1. When the power cord is plugged in, C3 state disappears. Does the same happen with Linux? Many notebooks disable deep Cx states when on AC power for some reason. > 2. When I plug (or unplug) the power cord I get these two messages: > > ACPI Error: [\\_SB_.VDRV] Namespace lookup failure, AE_NOT_FOUND > (20101013/psargs-464) ACPI Error: Method parse/execution failed > > [\\_SB_.PCI0.LPC0.H_EC._Q51] (Node 0xc42ac1e0), AE_NOT_FOUND > (20101013/psparse-633) > > (This appears to be harmless). Not sure about these, looks like some additional/external table is not loaded. You may check if the same happens with the latest ACPICA in FreeBSD CURRENT. > My verbose dmesg is at [1], ASL dump is at [2], loader.conf is: > > kern.hz=100 > hint.p4tcc.0.disabled=1 > hint.acpi_throttle.0.disabled=1 > hw.pci.do_power_nodriver=3 > hint.apic.0.clock=0 > hint.atrtc.0.clock=0 > > And sysctl hw.acpi output is: > > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S3 > hw.acpi.lid_switch_state: NONE > hw.acpi.standby_state: NONE > hw.acpi.suspend_state: S3 > hw.acpi.sleep_delay: 1 > hw.acpi.s4bios: 0 > hw.acpi.verbose: 0 > hw.acpi.disable_on_reboot: 0 > hw.acpi.handle_reboot: 1 > hw.acpi.reset_video: 0 > hw.acpi.cpu.cx_lowest: C3 > hw.acpi.acline: 0 > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.temperature: 54.0C > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 1 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: 90.0C > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 98.0C > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > hw.acpi.thermal.tz0._TC1: 0 > hw.acpi.thermal.tz0._TC2: 10 > hw.acpi.thermal.tz0._TSP: 2 > hw.acpi.battery.life: 46 > hw.acpi.battery.time: 194 > hw.acpi.battery.state: 1 > hw.acpi.battery.units: 1 > hw.acpi.battery.info_expire: 5 > > PS. Please CC me, I'm not subscribed. > > [1] http://tx97.net/~magv/dmesg-n143-verbose.82.txt > [2] http://tx97.net/~magv/n143.asl -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 25 15:47:17 2011 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 548B51065675 for ; Sat, 25 Jun 2011 15:47:17 +0000 (UTC) (envelope-from vmagerya@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 E3E0C8FC1E for ; Sat, 25 Jun 2011 15:47:16 +0000 (UTC) Received: by vws18 with SMTP id 18so3644577vws.13 for ; Sat, 25 Jun 2011 08:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7Z7H+rXt37X3q1WQjNUVncamevED7qGjLDGiKkH//HI=; b=pnxTUH99olL0kjDVJoa+SI+zgCuAdvLVP+d8umt1l/WMIX1VC5z1xsMdreX2Whhv/o d37Wlb54o9zhaYbcfiPzti94jK2kKflt1yv3PiSgKoVlt3rLF0NtGZSpZkmiWuAlQRrF 1wUhrv6SJ+d2xg6EpiBPW2C2vp3u/BJ8wAne8= 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; b=M2ef5FfflnEWSehUpJ9EbOGJVUQfKNggutFvbw8iJxadWK09PEsOQ/7kCI/6rwhgjX vVMRQo7ynLEfBp7WUqp4EzCUGhmva8KxVDwcdP9/yAECaU0TbgcrlcTplzkVaiROTimP cXK7qlsn7BZVRQxRszkUjg0F5CNHPECbjJN9M= MIME-Version: 1.0 Received: by 10.52.178.195 with SMTP id da3mr5844612vdc.179.1309016836078; Sat, 25 Jun 2011 08:47:16 -0700 (PDT) Received: by 10.52.184.226 with HTTP; Sat, 25 Jun 2011 08:47:15 -0700 (PDT) In-Reply-To: <4E05EB91.9090509@FreeBSD.org> References: <4E05EB91.9090509@FreeBSD.org> Date: Sat, 25 Jun 2011 18:47:15 +0300 Message-ID: From: Vitaly Magerya To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 Cc: freebsd-acpi@freebsd.org Subject: Re: (Missing) power states of an Atom N455-based netbook 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, 25 Jun 2011 15:47:17 -0000 Andriy Gapon wrote: > on 24/06/2011 22:13 Vitaly Magerya said the following: >> Right after I start the laptop I only see one supported power state: >> >> # sysctl dev.cpu.0.cx_supported >> dev.cpu.0.cx_supported: C1/1 >> >> But after 4+ minutes of uptime more power states kick in: >> >> # sysctl dev.cpu.0.cx_supported >> dev.cpu.0.cx_supported: C1/1 C2/20 C3/100 >> >> I'd like to have all Cx right after the boot. Is this possible? >> >> (The temporary solution I employ is to update hw.acpi.cpu.cx_lowest >> every time devd gets ACPI CMBAT message; this appears to happen >> right after cx_supported is updated). > > Hmm, strange... > Can you check if FreeBSD thinks that the system is on AC power until that > CMBAT message? (I see in dmesg that during that boot it detected AC as > disconnected). AC was indeed disconnected during that boot (and hw.acpi.acline was 0 as expected). If I boot with power on the problem is the same: about 4 minutes there's only C1, after that there are C1 and C2 (C3 kicks in too once I disable the power). (I boot with power cord disconnected, since LCD brightness controls on the laptop don't work with FreeBSD, so that's the only way to turn the brightness down). >> Also, when I boot the same machine under Linux (latest Ubuntu), >> powertop reports C1, C2 and C4 right away. Is it possible to get >> C4 under FreeBSD as well? > > I believe that what FreeBSD reports as C3 is the same as what Linux reports > as C4. The problem is that on Linux power consumption is 5.2W (without USB suspension or any other things powertop suggests), while on FreeBSD I'm seeing 6.8W with C3. I assumed this was due to C4/C3 difference, but maybe Linux is doing something differently. >> Other ACPI problems, which I have are: >> 1. When the power cord is plugged in, C3 state disappears. > > Does the same happen with Linux? > Many notebooks disable deep Cx states when on AC power for some reason. No. On Linux C4 is reported both with and without AC plugged in. >> 2. When I plug (or unplug) the power cord I get these two messages: >> >> ACPI Error: [\\_SB_.VDRV] Namespace lookup failure, AE_NOT_FOUND >> (20101013/psargs-464) ACPI Error: Method parse/execution failed >> >> [\\_SB_.PCI0.LPC0.H_EC._Q51] (Node 0xc42ac1e0), AE_NOT_FOUND >> (20101013/psparse-633) >> >> (This appears to be harmless). > > Not sure about these, looks like some additional/external table is not > loaded. You may check if the same happens with the latest ACPICA in FreeBSD > CURRENT. I just tried it with CURRENT snapshot from 2011-05-12; it behaves the same. (For the record, Linux reports similar messages).