From owner-freebsd-acpi@FreeBSD.ORG Sun Mar 3 18:26:29 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4E12F755; Sun, 3 Mar 2013 18:26:29 +0000 (UTC) (envelope-from kron24@gmail.com) Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by mx1.freebsd.org (Postfix) with ESMTP id 978EC22D; Sun, 3 Mar 2013 18:26:28 +0000 (UTC) Received: by mail-ee0-f48.google.com with SMTP id t10so3501135eei.21 for ; Sun, 03 Mar 2013 10:26:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=9thiXs7UTZVhfFoEKDFayirs2wkHy6nnSAjFinLPuvU=; b=d0jdmlT6k4inKg6VHvKXCF+P1uEsyBn1sk4zwStkakUKbbt+K59E1PVKpXikdSKVS9 j+11tn5ikmpRUFC1nNtP5pno7r4iooA7DIjSbj0AKOa4LJrzhHep4Q5mgp4A0v4CGTLW qZonx5+MSh63jqwF2FH/gpMe2mgPODFF0b5CCEChvzX+jyCPUSdYiSMK9RC+hSPhv2KK 00If+U9tFzP2SklVF2aii4wWBgg5fEs2WmCEhYeuvEcEZfNpWeqhyTGV7rce1dScnrQW SIQdUHYDjMneyN90/ud8CWM7px6eRQVNU2Kg70c3UPdo4be8KK1MvzL/HmsTDcdCbJBI dlIA== X-Received: by 10.14.5.6 with SMTP id 6mr50454316eek.42.1362335187261; Sun, 03 Mar 2013 10:26:27 -0800 (PST) Received: from nbvk.local (uidzr185150.sattnet.cz. [212.96.185.150]) by mx.google.com with ESMTPS id z45sm7594668eeu.10.2013.03.03.10.26.26 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 Mar 2013 10:26:26 -0800 (PST) Message-ID: <513395D1.8090500@gmail.com> Date: Sun, 03 Mar 2013 19:26:25 +0100 From: kron User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130225 Thunderbird/17.0.3 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: panics due to buggy ACPI in Dell Latitude E6530? References: <512E24CD.9090404@gmail.com> <512E397D.1070406@FreeBSD.org> In-Reply-To: <512E397D.1070406@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Mar 2013 18:26:29 -0000 On 2013/02/27 17:51, Andriy Gapon wrote: > on 27/02/2013 17:22 kron said the following: >> Hi, >> >> I have a Dell notebook (Latitude E6530) on which I track >> 9-STABLE. It served excellently until mid-Jan when it started >> to panic a few times a week or so: >> >> Fatal trap 12: page fault while in kernel mode >> cpuid = 3; apic id = 03 >> fault virtual address = 0x10116 >> fault code = supervisor read data, page not present >> instruction pointer = 0x20:0xffffffff802bc360 >> stack pointer = 0x28:0xffffff848f6db390 >> frame pointer = 0x28:0xffffff848f6db3c0 >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, long 1, def32 0, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 0 >> current process = 2199 (conky) >> trap number = 12 >> panic: page fault >> cpuid = 3 >> >> Before the panics kernel used to emit messages like: >> ACPI Error: No object attached to node 0xfffffe00094a51c0 >> (20110527/exresnte-138) >> ACPI Error: Method execution failed [\_SB_.BAT0._UID] (Node >> 0xfffffe00094a51c0), AE_AML_NO_OPERAND (20110527/uteval-113) > > This looks very much like a heisenbug reported several times here. > E.g.: > http://lists.freebsd.org/pipermail/freebsd-acpi/2012-December/007962.html > ... > Please at least enable printing of a stack trace. > Better do get the crash dump. ... from core.txt.1: (kgdb) #0 doadump (textdump=) at pcpu.h:229 #1 0xffffffff80473524 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448 #2 0xffffffff80473964 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:636 #3 0xffffffff806c1ce5 in trap_fatal (frame=,. eva=) at /usr/src/sys/amd64/amd64/trap.c:878 #4 0xffffffff806c1984 in trap (frame=) at /usr/src/sys/amd64/amd64/trap.c:224 #5 0xffffffff806abc53 in calltrap () at exception.S:228 #6 0xffffffff802bc850 in AcpiOsAcquireObject (Cache=0xfffffe00093a14a0) at /usr/src/sys/contrib/dev/acpica/utilities/utcache.c:310 #7 0xffffffff802bf481 in AcpiUtCreateInternalObjectDbg ( ModuleName=0xffffffff8071c1a6 "dsutils", LineNumber=703, ComponentId=64,. Type=1) at /usr/src/sys/contrib/dev/acpica/utilities/utobject.c:437 #8 0xffffffff802a3e05 in AcpiDsCreateOperand (WalkState=0xfffffe000b5c8c00,. Arg=0xfffffe000b665480, ArgIndex=) at /usr/src/sys/contrib/dev/acpica/dispatcher/dsutils.c:703 #9 0xffffffff802a3f0e in AcpiDsCreateOperands (WalkState=0xfffffe000b5c8c00,. FirstArg=) at /usr/src/sys/contrib/dev/acpica/dispatcher/dsutils.c:798 #10 0xffffffff802a4699 in AcpiDsExecEndOp (WalkState=0xfffffe000b5c8c00) at /usr/src/sys/contrib/dev/acpica/dispatcher/dswexec.c:567 #11 0xffffffff802b766e in AcpiPsParseLoop (WalkState=0xfffffe000b5c8c00) at /usr/src/sys/contrib/dev/acpica/parser/psloop.c:1249 #12 0xffffffff802b7efd in AcpiPsParseAml (WalkState=) at /usr/src/sys/contrib/dev/acpica/parser/psparse.c:525 #13 0xffffffff802b8a47 in AcpiPsExecuteMethod (Info=0xfffffe0185417280) at /usr/src/sys/contrib/dev/acpica/parser/psxface.c:368 #14 0xffffffff802b2716 in AcpiNsEvaluate (Info=0xfffffe0185417280) at /usr/src/sys/contrib/dev/acpica/namespace/nseval.c:193 #15 0xffffffff802bda6d in AcpiUtEvaluateObject ( PrefixNode=0xfffffe00094a4180, Path=0xffffffff80721a6b "_STA",. ExpectedReturnBtypes=1, ReturnDesc=0xffffff848f9ce6b0) at /usr/src/sys/contrib/dev/acpica/utilities/uteval.c:102 #16 0xffffffff802bdc1e in AcpiUtExecute_STA (DeviceNode=0xfffffe0009473780,. Flags=0xfffffe019451f098) at /usr/src/sys/contrib/dev/acpica/utilities/uteval.c:276 #17 0xffffffff802b6002 in AcpiGetObjectInfo (Handle=,. ReturnBuffer=0xffffff848f9ce758) at /usr/src/sys/contrib/dev/acpica/namespace/nsxfname.c:423 #18 0xffffffff802c66ce in acpi_BatteryIsPresent (dev=) at /usr/src/sys/dev/acpica/acpi.c:2065 #19 0xffffffff802cc7c4 in acpi_battery_get_battinfo (dev=0x0,. battinfo=0xffffffff80a10610) at /usr/src/sys/dev/acpica/acpi_battery.c:176 #20 0xffffffff802cce5f in acpi_battery_sysctl (oidp=0xfffffe000b589b00,. arg1=, arg2=64, req=0xffffff848f9ce8a8) at /usr/src/sys/dev/acpica/acpi_battery.c:428 #21 0xffffffff8047de1d in sysctl_root (arg1=,. arg2=) at /usr/src/sys/kern/kern_sysctl.c:1527 #22 0xffffffff8047e3b8 in userland_sysctl (td=,. name=0xffffff848f9ce970, namelen=,. old=, oldlenp=,. inkernel=, new=,. newlen=, retval=,. flags=-1885542256) at /usr/src/sys/kern/kern_sysctl.c:1637 #23 0xffffffff8047e1a4 in sys___sysctl (td=0xfffffe008382f000,. uap=0xffffff848f9cea80) at /usr/src/sys/kern/kern_sysctl.c:1563 #24 0xffffffff806c24a4 in amd64_syscall (td=0xfffffe008382f000, traced=0) at subr_syscall.c:135 #25 0xffffffff806abf3b in Xfast_syscall () at exception.S:387 #26 0x000000080281e78c in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb). I still have the vmcore. Is anything interesting we can get from this? It was on a pretty fresh clang-built 9-STABLE with a custom kernel (minimized, more or less). /etc/make.conf: CC=clang CXX=clang++ CPP=clang-cpp CPUTYPE?=native CFLAGS+= -fno-stack-protector Oli From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 4 11:06:38 2013 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ABCA8E8A for ; Mon, 4 Mar 2013 11:06:38 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 85798E37 for ; Mon, 4 Mar 2013 11:06:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r24B6cI6038660 for ; Mon, 4 Mar 2013 11:06:38 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r24B6c8P038658 for freebsd-acpi@FreeBSD.org; Mon, 4 Mar 2013 11:06:38 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Mar 2013 11:06:38 GMT Message-Id: <201303041106.r24B6c8P038658@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 Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 11:06:38 -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/174766 acpi [acpi] Random acpi panic o kern/174504 acpi [ACPI] Suspend/resume broken on Lenovo x220 o kern/171305 acpi [acpi] acpi_tz0: _CRT value is absurd, ignored (256.0C o kern/164329 acpi [acpi] hw.acpi.thermal.tz0.temperature shows strange v o kern/163268 acpi [acpi_hp] [patch] fix driver detach in absence of CMI o kern/162859 acpi [acpi] ACPI battery/acline monitoring partialy working o kern/161715 acpi [acpi] Dell E6520 doesn't resume after ACPI suspend o kern/161713 acpi [acpi] Suspend on Dell E6520 o kern/160838 acpi [acpi] ACPI Battery Monitor Non-Functional o kern/160419 acpi [acpi_thermal] acpi_thermal kernel thread high CPU usa o kern/158689 acpi [acpi] value of sysctl hw.acpi.thermal.polling_rate ne 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/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject 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 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 kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o bin/126162 acpi [acpi] ACPI autoload failed : loading required module o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot a i386/122887 acpi [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/91594 acpi [acpi] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/ o kern/73823 acpi [request] acpi / power-on by timer support o kern/56024 acpi ACPI suspend drains battery while in S3 33 problems total. From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 5 06:43:34 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ADEBA85E for ; Tue, 5 Mar 2013 06:43:34 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 5025C34B for ; Tue, 5 Mar 2013 06:43:34 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id r5so5385887wey.4 for ; Mon, 04 Mar 2013 22:43:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=zR13sz0KQL/6J1TrnKZzMKvPH5sAH6Ucy7kvNxrHFPc=; b=tpza+OUAGgRK0st3rDFlD54gqzKccZd12Oub+3or9cOjT+ikyQzWGvBPwrjb5hK0jh Vs6d83JRGZMt6scCJTOKXwMPyA3EzWRdkWPbaYIH9H4M5iQENN1vL43M2n9245PgtqUT GolUWolzF4Lc1r7fSuxOsboIOAWXxaKvh1C2JdUAg1ps70z1NPSSMoqkwGa2jlZ3mlpG keGYbAG9ms5X1jQhAZ5BKUhOpctUfFNowaEb1soe7HK//1O+hL65knAEKtAeIL7JH+7M 8FQPi1hNT025CivNnoBXsnMUsgfu9jCZ/wgeSPBnr1eNz+AYkuEZzlwrqRCT6Ayma6VC 8YTg== MIME-Version: 1.0 X-Received: by 10.181.11.164 with SMTP id ej4mr16451725wid.29.1362465813494; Mon, 04 Mar 2013 22:43:33 -0800 (PST) Received: by 10.194.57.241 with HTTP; Mon, 4 Mar 2013 22:43:33 -0800 (PST) In-Reply-To: References: <20121021073206.2e34c2f7@X220.ovitrap.com> Date: Mon, 4 Mar 2013 22:43:33 -0800 Message-ID: Subject: Re: Thinkpad x230 display brightness From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 06:43:34 -0000 2012/10/20 Erich Dollansky > Hi, > > On Sun, 21 Oct 2012 02:20:22 +0200 > Jan Hannibal Smith wrote: > > > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far > > everythings works fine except the keys for the brightness adjustment. > > > > I tried the tricks I found for the x220 series but nothing helped. > > Does anybody got a clue how I can get these buttons to work? > > Maybe there is a patch for the kms driver? > > > can you check if the keys do even generate events? > > They do not generate them on my X220. > > If they do not generate events, you can use only the command line to > change brightness. > any info on this? I got a T430 from my work. I am afraid I will have to do the manual calls like on my personal X220. -- Lyubomir Grigorov (bgalakazam) From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 5 06:48:52 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BF5A5BBB for ; Tue, 5 Mar 2013 06:48:52 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 8F947381 for ; Tue, 5 Mar 2013 06:48:52 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id k13so7322843iea.35 for ; Mon, 04 Mar 2013 22:48:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=8xmRyi99CuU7zoBA6vc1I2UOk2UHFiE7dc2dus4htHo=; b=zt5kwnO25l37r6R97wDplBNJugYjYL8PM6L6D65irDM1VUuEUZ2ZTuru+dT/I45a9/ rS/92gmiu18kJcZ0F/N2yrXhcXkJiLzeSTJDbUqivRPbNTvJaDqknOor8S25myZHMpfg vlY3VcUUEif1JNQhzm6GR2VfqnEzI31omHmd3T6qZ9C0cGJCDmO6yAtTjzzkHbNW7SkQ vZjInOyW5jjrx+pm8JG1b6qQ3nRobLAAOoTsQLVlgixUDnOjBU6YPfjAh5Sph0TBSuE+ k52VwYXI158yb8Wblx71LzAlVWuGy/Q37QG+XCurW/rOmgrmCYGpacPJGotmvPDprRmz FaSw== X-Received: by 10.50.181.201 with SMTP id dy9mr5027448igc.18.1362466132271; Mon, 04 Mar 2013 22:48:52 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id s8sm15785962igs.0.2013.03.04.22.48.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Mar 2013 22:48:51 -0800 (PST) Message-ID: <51359551.1020702@gmail.com> Date: Mon, 04 Mar 2013 22:48:49 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130224 Thunderbird/17.0.3 MIME-Version: 1.0 To: =?UTF-8?B?0JvRjtCx0L7QvNC40YAg0JPRgNC40LPQvtGA0L7Qsg==?= Subject: Re: Thinkpad x230 display brightness References: <20121021073206.2e34c2f7@X220.ovitrap.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 06:48:52 -0000 On 03/04/13 22:43, Любомир Григоров wrote: > 2012/10/20 Erich Dollansky > >> Hi, >> >> On Sun, 21 Oct 2012 02:20:22 +0200 >> Jan Hannibal Smith wrote: >> >>> Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far >>> everythings works fine except the keys for the brightness adjustment. >>> >>> I tried the tricks I found for the x220 series but nothing helped. >>> Does anybody got a clue how I can get these buttons to work? >>> Maybe there is a patch for the kms driver? >>> >> can you check if the keys do even generate events? >> >> They do not generate them on my X220. >> >> If they do not generate events, you can use only the command line to >> change brightness. >> > any info on this? I got a T430 from my work. I am afraid I will have to do > the manual calls like on my personal X220. > > > Any decoded DSDTs around? It's probably similar to the problem on X220 where there are multiple fake video devices in weird places. Matt From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 5 13:13:06 2013 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A156698C for ; Tue, 5 Mar 2013 13:13:06 +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 056ACD92 for ; Tue, 5 Mar 2013 13:13:05 +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 PAA22443; Tue, 05 Mar 2013 15:13:03 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <5135EF5D.2050909@FreeBSD.org> Date: Tue, 05 Mar 2013 15:13:01 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: kron Subject: Re: panics due to buggy ACPI in Dell Latitude E6530? References: <512E24CD.9090404@gmail.com> <512E397D.1070406@FreeBSD.org> <513395D1.8090500@gmail.com> In-Reply-To: <513395D1.8090500@gmail.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 13:13:06 -0000 on 03/03/2013 20:26 kron said the following: > #5 0xffffffff806abc53 in calltrap () at exception.S:228 > #6 0xffffffff802bc850 in AcpiOsAcquireObject (Cache=0xfffffe00093a14a0) > at /usr/src/sys/contrib/dev/acpica/utilities/utcache.c:310 > #7 0xffffffff802bf481 in AcpiUtCreateInternalObjectDbg ( > ModuleName=0xffffffff8071c1a6 "dsutils", LineNumber=703, > ComponentId=64,. > Type=1) at /usr/src/sys/contrib/dev/acpica/utilities/utobject.c:437 Did this panic happen even with hw.acpi.osname="Linux" or did you revert that to reproduce the panic? In either case, could you please try the following patch (it is against recent stable/9) ? http://people.freebsd.org/~avg/OsdSynch-9.diff P.S. this is not a final version of the patch, but rather a work in progress. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 5 15:03:14 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 57311A41; Tue, 5 Mar 2013 15:03:14 +0000 (UTC) (envelope-from kron24@gmail.com) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by mx1.freebsd.org (Postfix) with ESMTP id BF92C738; Tue, 5 Mar 2013 15:03:13 +0000 (UTC) Received: by mail-ee0-f53.google.com with SMTP id e53so4661281eek.12 for ; Tue, 05 Mar 2013 07:03:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=cY1jRaL2zPxuvE95Aq4+Vn//0Sa+nETiPEqNtO/+I6Q=; b=X9gnqG8J3M+aYqu4c/GGsalJP/9MgIWC1HgBTdG6tTKPDioZB+LOnb/7+k/E96QWCD Z2WFV30czJaH2hPFDme3fFHS8agw5UEVegFYJF/lpOch59TGtXQORa2X/fM8tMWWkLKa jhXrv/JFwD7cohkdktrPF6Rd9Z/CjRQDfYpKHNtRHiaWtkwpeLFcavfXscmtR1iiE5k/ x5gDrORt/tMe38RFLZdZVVc7qqrPwzF3Cb1qHrDu9uvbtWefQbswhM4ERiO5V3Valdr6 M0Q0PBt06iam2v8d8Y9LbwEc5UpuT1tcm8wNoLDyHTN83deNfEF5Cybe/KaY9eMTIpxm s6IA== X-Received: by 10.14.223.199 with SMTP id v47mr71049312eep.18.1362495790618; Tue, 05 Mar 2013 07:03:10 -0800 (PST) Received: from nbvk.local (uidzr185150.sattnet.cz. [212.96.185.150]) by mx.google.com with ESMTPS id k7sm37837212een.8.2013.03.05.07.03.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Mar 2013 07:03:09 -0800 (PST) Message-ID: <5136092C.8070206@gmail.com> Date: Tue, 05 Mar 2013 16:03:08 +0100 From: kron User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130304 Thunderbird/17.0.3 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: panics due to buggy ACPI in Dell Latitude E6530? References: <512E24CD.9090404@gmail.com> <512E397D.1070406@FreeBSD.org> <513395D1.8090500@gmail.com> <5135EF5D.2050909@FreeBSD.org> In-Reply-To: <5135EF5D.2050909@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 15:03:14 -0000 On 2013/03/05 14:13, Andriy Gapon wrote: > on 03/03/2013 20:26 kron said the following: >> #5 0xffffffff806abc53 in calltrap () at exception.S:228 >> #6 0xffffffff802bc850 in AcpiOsAcquireObject (Cache=0xfffffe00093a14a0) >> at /usr/src/sys/contrib/dev/acpica/utilities/utcache.c:310 >> #7 0xffffffff802bf481 in AcpiUtCreateInternalObjectDbg ( >> ModuleName=0xffffffff8071c1a6 "dsutils", LineNumber=703, >> ComponentId=64,. >> Type=1) at /usr/src/sys/contrib/dev/acpica/utilities/utobject.c:437 > > Did this panic happen even with hw.acpi.osname="Linux" or did you revert that to > reproduce the panic? Yes, it was with hw.acpi.osname="Linux". It seems to be useless so I've just removed it. > > In either case, could you please try the following patch (it is against recent > stable/9) ? > http://people.freebsd.org/~avg/OsdSynch-9.diff Applied. BTW, the crashes use to be signalized beforehand - there can be more than 1 hour between the first kernel error messages ("ACPI Error: No object attached") and a crash. Is there anything useful I can milk from the soon-to-be-dead system if I get a chance? BR Oli From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 6 09:01:43 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6A46D4F5 for ; Wed, 6 Mar 2013 09:01:43 +0000 (UTC) (envelope-from SNasonov@BCC.RU) Received: from extmx.bcc.ru (extmx.bcc.ru [217.170.85.214]) by mx1.freebsd.org (Postfix) with ESMTP id AA546B3C for ; Wed, 6 Mar 2013 09:01:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by extmx.bcc.ru (Postfix) with ESMTP id 571D515D79; Wed, 6 Mar 2013 12:31:37 +0400 (GMT-4) Received: from extmx.bcc.ru ([127.0.0.1]) by localhost (extmx.bcc.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21061-07; Wed, 6 Mar 2013 12:31:36 +0400 (GMT-4) Received: from mail.bcc (unknown [172.16.250.23]) by extmx.bcc.ru (Postfix) with ESMTP id 1777E11D9C; Wed, 6 Mar 2013 12:31:36 +0400 (GMT-4) Received: from snasonovnbwxp.bcc ([192.168.201.205]) by mail.bcc over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 6 Mar 2013 12:31:42 +0400 From: Sergey Nasonov To: freebsd-acpi@freebsd.org, nm.knife@gmail.com Subject: Thinkpad x230 display brightness Date: Wed, 06 Mar 2013 12:31:39 +0400 Message-ID: <4992739.5Qo1xB3jpc@snasonovnbwxp.bcc> Organization: BCC User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.9.5; amd64; ; ) MIME-Version: 1.0 X-OriginalArrivalTime: 06 Mar 2013 08:31:42.0856 (UTC) FILETIME=[07F00880:01CE1A45] X-Virus-Scanned: amavisd-new at bcc.ru Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 09:01:43 -0000 2012/10/20 Erich Dollansky > Hi, > > On Sun, 21 Oct 2012 02:20:22 +0200 > Jan Hannibal Smith wrote: > > > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far > > everythings works fine except the keys for the brightness adjustment. > > > > I tried the tricks I found for the x220 series but nothing helped. > > Does anybody got a clue how I can get these buttons to work? > > Maybe there is a patch for the kms driver? > > > can you check if the keys do even generate events? > > They do not generate them on my X220. > > If they do not generate events, you can use only the command line to > change brightness. > any info on this? I got a T430 from my work. I am afraid I will have to do the manual calls like on my personal X220. -- Lyubomir Grigorov (bgalakazam) I am using T430 with FreeBSD 9.1 amd64. And I want to say that this laptop is a best choice to install FreeeBSD on it. Brightess control work just fine. But it work with nvidia card. I didnt tested integrated Intel adapter. BIOS settings allows me to select primary adapter for video output. Message appears each time when brightness control key pressed: CPU0: local APIC error 0x80 These errors just informational. And I dont give it any attention. Suspend/resume also work without any problems. I will test intel adapter and let you know if needed. -- Best Regards, Nasonov Sergey From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 7 00:01:09 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BF4F4BB1 for ; Thu, 7 Mar 2013 00:01:09 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmfepo202.cox.net (fed1rmfepo202.cox.net [68.230.241.147]) by mx1.freebsd.org (Postfix) with ESMTP id 81AEA2B3 for ; Thu, 7 Mar 2013 00:01:09 +0000 (UTC) Received: from fed1rmimpo306 ([68.230.241.174]) by fed1rmfepo202.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20130307000103.YCZR1243.fed1rmfepo202.cox.net@fed1rmimpo306> for ; Wed, 6 Mar 2013 19:01:03 -0500 Received: from 9dell64 ([72.220.112.133]) by fed1rmimpo306 with cox id 8Q131l00W2skfVC01Q13qU; Wed, 06 Mar 2013 19:01:03 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020207.5137D8BF.00BE,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=FdLpMuC6 c=1 sm=1 a=blkYnWlwlWmjWY/ySXj5BQ==:17 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=kviXuzpPAAAA:8 a=T6PAVduEEq4A:10 a=tR7HITm_IQGGsq4CRwEA:9 a=CjuIK1q_8ugA:10 a=blkYnWlwlWmjWY/ySXj5BQ==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Date: Wed, 6 Mar 2013 16:01:03 -0800 From: Robert To: freebsd-acpi@freebsd.org Subject: acpi error: ae_not_found Message-ID: <20130306160103.586914be@9dell64> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 00:01:09 -0000 Greetings Please CC me as I am not on this list. I was given a Toshiba L505D-LS5010 laptop I tried to load FreeBSD 9.1 from Cd but got the following message (hand copied from picture): ACPI ERROR: [RSF] Namespace lookup failure, AE_NOT_FOUND (20110527/psargs-392) ACPI ERROR: Method parse/execution failure, [\_GPE._L07] (Node 0xfffff002dc48), AE_NOT_FOUND (20110527/psparse-560) ACPI EXCEPTION: AE_NOT_FOUND, while evaluating GPE method [_L07] (2910527/evgpe-606) There were some earlier messages that were similar but with some different data. The above keeps repeating until it dumps and reboots and then starts all over. The bios is updated to the latest offered by Toshiba. I tried booting with a 10.0 Current thumb drive snapshot but it failed sooner with a different acpi message. I am able to install Xubuntu 12.10 but I do not care to have Linux on this laptop. Any help would be greatly appreciated. Robert From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 7 05:21:07 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 19CCB7B4 for ; Thu, 7 Mar 2013 05:21:07 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9F27AF6C for ; Thu, 7 Mar 2013 05:21:06 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id es5so43722wgb.29 for ; Wed, 06 Mar 2013 21:21:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=QdwQ/RdXqzEvd8DjjmeT3432RrvoZfsKtXlj1WRdw8s=; b=1F+F4iagBhM80IBCJYHMpXWHYciLDAqKgogAiG7aDuHGH2oz9cwFx2bTJ5J3Ica0/8 /MmU76JRDEXDmTjgpNvHnkjMAia1w6S+1L5HI1WAcRfd85EV0mid5Di6nCb2E9dnw/Ku Smq5VkhAjwYxl0sSPy0BnkFYajOBEql794BGIzQy7FT2A7D0kRkuqN6ehqM0zCt4Qglt C8eivlukQOw1Xwt8W3Plj848cI3+1n5w0lOdt9iThi996ZqIOy9za7E8SxSSSB4qfB5y BBcN1UI1R9y4lL8juAvtaODiHuiLvzmfdqua13Y4+dplN9AOubtDVk1dkZWnz4msHHBU GR7A== MIME-Version: 1.0 X-Received: by 10.180.85.97 with SMTP id g1mr30825825wiz.29.1362633665502; Wed, 06 Mar 2013 21:21:05 -0800 (PST) Received: by 10.194.57.241 with HTTP; Wed, 6 Mar 2013 21:21:05 -0800 (PST) In-Reply-To: <4992739.5Qo1xB3jpc@snasonovnbwxp.bcc> References: <4992739.5Qo1xB3jpc@snasonovnbwxp.bcc> Date: Wed, 6 Mar 2013 21:21:05 -0800 Message-ID: Subject: Re: Thinkpad x230 display brightness From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: Sergey Nasonov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 05:21:07 -0000 Unfortunately, I knew that NVIDIA works. Different way the calls are made. I had to go back to doing acpi_call and the VBRC to set brightness between 0-16. While not a button, it still works. I have yet to test suspend/resume. Do you have USB powered after resume? 2013/3/6 Sergey Nasonov > > ------------------------------ > > 2012/10/20 Erich Dollansky > > > > > Hi, > > > > > > On Sun, 21 Oct 2012 02:20:22 +0200 > > > Jan Hannibal Smith > wrote: > > > > > > > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230, so far > > > > everythings works fine except the keys for the brightness adjustment. > > > > > > > > I tried the tricks I found for the x220 series but nothing helped. > > > > Does anybody got a clue how I can get these buttons to work? > > > > Maybe there is a patch for the kms driver? > > > > > > > can you check if the keys do even generate events? > > > > > > They do not generate them on my X220. > > > > > > If they do not generate events, you can use only the command line to > > > change brightness. > > > > > any info on this? I got a T430 from my work. I am afraid I will have to do > > the manual calls like on my personal X220. > > > > > -- > > Lyubomir Grigorov (bgalakazam) > > > > > > I am using T430 with FreeBSD 9.1 amd64. And I want to say that this laptop > is a best choice to install FreeeBSD on it. Brightess control work just > fine. But it work with nvidia card. I didnt tested integrated Intel > adapter. BIOS settings allows me to select primary adapter for video > output. > > > > Message appears each time when brightness control key pressed: > > CPU0: local APIC error 0x80 > > > > These errors just informational. And I dont give it any attention. > > > > Suspend/resume also work without any problems. > > > > I will test intel adapter and let you know if needed. > > > > -- > > Best Regards, > > Nasonov Sergey > > > -- Lyubomir Grigorov (bgalakazam) From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 7 07:40:49 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B668B190 for ; Thu, 7 Mar 2013 07:40:49 +0000 (UTC) (envelope-from SNasonov@BCC.RU) Received: from extmx.bcc.ru (extmx.bcc.ru [217.170.85.214]) by mx1.freebsd.org (Postfix) with ESMTP id CB71463E for ; Thu, 7 Mar 2013 07:40:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by extmx.bcc.ru (Postfix) with ESMTP id 9B19115FC3; Thu, 7 Mar 2013 11:40:46 +0400 (GMT-4) Received: from extmx.bcc.ru ([127.0.0.1]) by localhost (extmx.bcc.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12808-03; Thu, 7 Mar 2013 11:40:46 +0400 (GMT-4) Received: from mail.bcc (unknown [172.16.250.23]) by extmx.bcc.ru (Postfix) with ESMTP id 1C1C7155E8; Thu, 7 Mar 2013 11:40:46 +0400 (GMT-4) Received: from snasonovnbwxp.bcc ([192.168.201.205]) by mail.bcc over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Mar 2013 11:40:45 +0400 From: Sergey Nasonov To: =?utf-8?B?0JvRjtCx0L7QvNC40YAg0JPRgNC40LPQvtGA0L7Qsg==?= Subject: Re: Thinkpad x230 display brightness Date: Thu, 07 Mar 2013 11:40:45 +0400 Message-ID: <2637356.OstbGPXVBC@snasonovnbwxp.bcc> Organization: BCC User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.9.5; amd64; ; ) In-Reply-To: References: <4992739.5Qo1xB3jpc@snasonovnbwxp.bcc> MIME-Version: 1.0 X-OriginalArrivalTime: 07 Mar 2013 07:40:45.0811 (UTC) FILETIME=[1435BC30:01CE1B07] X-Virus-Scanned: amavisd-new at bcc.ru Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 07:40:49 -0000 I have tested Intel adapter. And test results shows problem with bright= ness=20 control. Brightness level stop changing after loading kernel. Another p= roblem=20 I found is that laptop just hang during shutdown. I suppose that hang m= ay be=20 related to VT switch, because it still dont realized in case of Intel K= MS=20 driver. USB works fine. For example suspend/resume passed fine when USB flash d= ive=20 inserted. And after resume I can access files on that volume. I found only one problem: If at suspend time I have running VM Windows = XP then=20 resume process will fail.=20 On Wednesday 06 March 2013 21:21:05 =D0=9B=D1=8E=D0=B1=D0=BE=D0=BC=D0=B8= =D1=80 =D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=BE=D0=B2 wrote: > Unfortunately, I knew that NVIDIA works. Different way the calls are = made. > I had to go back to doing acpi_call and the VBRC to set brightness be= tween > 0-16. While not a button, it still works. I have yet to test > suspend/resume. Do you have USB powered after resume? >=20 > 2013/3/6 Sergey Nasonov >=20 > > ------------------------------ > >=20 > > 2012/10/20 Erich Dollansky > >>=20 > > > Hi, > > >=20 > > >=20 > > >=20 > > > On Sun, 21 Oct 2012 02:20:22 +0200 > > >=20 > > > Jan Hannibal Smith > wrote: > > > > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230,= so far > > > >=20 > > > > everythings works fine except the keys for the brightness adjus= tment. > > > >=20 > > > >=20 > > > >=20 > > > > I tried the tricks I found for the x220 series but nothing help= ed. > > > >=20 > > > > Does anybody got a clue how I can get these buttons to work? > > > >=20 > > > > Maybe there is a patch for the kms driver? > > >=20 > > > can you check if the keys do even generate events? > > >=20 > > >=20 > > >=20 > > > They do not generate them on my X220. > > >=20 > > >=20 > > >=20 > > > If they do not generate events, you can use only the command line= to > > >=20 > > > change brightness. > >=20 > > any info on this? I got a T430 from my work. I am afraid I will hav= e to do > >=20 > > the manual calls like on my personal X220. > >=20 > >=20 > >=20 > >=20 > > -- > >=20 > > Lyubomir Grigorov (bgalakazam) > >=20 > >=20 > >=20 > >=20 > >=20 > > I am using T430 with FreeBSD 9.1 amd64. And I want to say that this= laptop > > is a best choice to install FreeeBSD on it. Brightess control work = just > > fine. But it work with nvidia card. I didnt tested integrated Intel= > > adapter. BIOS settings allows me to select primary adapter for vide= o > > output. > >=20 > >=20 > >=20 > > Message appears each time when brightness control key pressed: > >=20 > > CPU0: local APIC error 0x80 > >=20 > >=20 > >=20 > > These errors just informational. And I dont give it any attention. > >=20 > >=20 > >=20 > > Suspend/resume also work without any problems. > >=20 > >=20 > >=20 > > I will test intel adapter and let you know if needed. > >=20 > >=20 > >=20 > > -- > >=20 > > Best Regards, > >=20 > > Nasonov Sergey --=20 Best Regards, Nasonov Sergey From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 7 17:47:54 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3BD26FC5 for ; Thu, 7 Mar 2013 17:47:54 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) by mx1.freebsd.org (Postfix) with ESMTP id B268E93C for ; Thu, 7 Mar 2013 17:47:53 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm6so466672wib.14 for ; Thu, 07 Mar 2013 09:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=HXHmH2D5u5VHNZXMM0EJR6wcQRqFdJWvVoOx7KygTvk=; b=nKkoeCJaKGMvvdQUakBUyMQ34OHbyUC+c3zSkgQ6ACpbZ2JagZr3W4yalvUmXBCdUI pTfe5sNl9FRb+YwlLImiLvwcwDvrEQ/C9/SRKdQlKda+eAkUQPndQgeUDQqm+EhJ66/3 O4NHglWHSVfOjhOPJljxTHn86JxkTUUX9KL+qflHwPGhzRoxoM0TXpa2Zyp/bhka5zhE C4fOtOtQCdk43ikdMA52jOLgv1U9JX2J4vA6amKNjaPOM9vEoYm6Yruc4ehccoQKimO6 q8/SPIAOFWxWL5e2YDr1yh8pzDfOqE0t2aIqQD18J0enoesGEBqn1UvoEMrUNPNCTxSn u2sA== MIME-Version: 1.0 X-Received: by 10.181.11.164 with SMTP id ej4mr35543221wid.29.1362678461861; Thu, 07 Mar 2013 09:47:41 -0800 (PST) Received: by 10.194.57.241 with HTTP; Thu, 7 Mar 2013 09:47:41 -0800 (PST) In-Reply-To: <2637356.OstbGPXVBC@snasonovnbwxp.bcc> References: <4992739.5Qo1xB3jpc@snasonovnbwxp.bcc> <2637356.OstbGPXVBC@snasonovnbwxp.bcc> Date: Thu, 7 Mar 2013 09:47:41 -0800 Message-ID: Subject: Re: Thinkpad x230 display brightness From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: Sergey Nasonov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 17:47:54 -0000 2013/3/6 Sergey Nasonov > ** > > I have tested Intel adapter. And test results shows problem with > brightness control. Brightness level stop changing after loading kernel. > Brightness controll is possible by doing the following # cd /usr/ports/sysutils/acpi_call && make install clean # rehash # kldload acpi_ibm # kldload acpi_call # acpi_call -p '\VBRC' -i N where N is 0-16. (strangely, 15 is brighter than 16). Another problem I found is that laptop just hang during shutdown. I suppose > that hang may be related to VT switch, because it still dont realized in > case of Intel KMS driver. > > I don't have a problem with shutdown. However, issuing halt or shutdown -h now, just results in a reboot after key is pressed. Not a problem, I just hold power button at that point. -- Lyubomir Grigorov (bgalakazam) From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 8 00:15:01 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B97E6590 for ; Fri, 8 Mar 2013 00:15:01 +0000 (UTC) (envelope-from seanwbruno@gmail.com) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by mx1.freebsd.org (Postfix) with ESMTP id 9606ACE5 for ; Fri, 8 Mar 2013 00:15:01 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id kl14so848662pab.18 for ; Thu, 07 Mar 2013 16:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:from:reply-to:to:cc:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=EwD0BEKlqssLZXYSGEMA7MasDkZ7/DCnw4TxrGAg8n8=; b=uCqv3u8OIvI/PTU8aUVGJICVfpWgvsKu8LbbQQGoVUGQ0D2OiPVEk4foewgUzFTNbC jIijD7FLkivglttpfGP4xmUY3d9Om8MSwm6Xmd6YSS47OQgaep3PNVVfEm4e7g2lvpGr UgxqeVh7s+LPGLC5+/Hn9r0YUDgjEtxRnPYevNvKQC7hUwVf/q6tOC39Rfffa4iJEbnW 1hB9k+xt2GLwAuqwh8aicGrDvZmjeH7HJdvDsP1H2LXhQ7HSK8ap3/g88XQw03TGQ/wd RC2OfzMIrxKQ6STam//KWD/z5GDoO1vyLgktMqHOEWyLbfWO6pTEJqWiZkDHvA/DQbZJ MhgQ== X-Received: by 10.68.239.194 with SMTP id vu2mr269079pbc.147.1362701701209; Thu, 07 Mar 2013 16:15:01 -0800 (PST) Received: from [10.73.160.242] (nat-dip7.cfw-a-gci.corp.yahoo.com. [209.131.62.116]) by mx.google.com with ESMTPS id e7sm840180pbm.10.2013.03.07.16.14.54 (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 07 Mar 2013 16:14:59 -0800 (PST) Subject: Re: acpi error: ae_not_found From: Sean Bruno To: Robert In-Reply-To: <20130306160103.586914be@9dell64> References: <20130306160103.586914be@9dell64> Content-Type: text/plain; charset="us-ascii" Date: Thu, 07 Mar 2013 16:14:51 +0000 Message-ID: <1362672891.84238.15.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 00:15:01 -0000 On Wed, 2013-03-06 at 16:01 -0800, Robert wrote: > Greetings > > Please CC me as I am not on this list. > > I was given a Toshiba L505D-LS5010 laptop I tried to load FreeBSD 9.1 > from Cd but got the following message (hand copied from picture): > > ACPI ERROR: [RSF] Namespace lookup failure, AE_NOT_FOUND > (20110527/psargs-392) > ACPI ERROR: Method parse/execution failure, > [\_GPE._L07] (Node 0xfffff002dc48), AE_NOT_FOUND (20110527/psparse-560) > ACPI EXCEPTION: AE_NOT_FOUND, while evaluating GPE method [_L07] > (2910527/evgpe-606) > > There were some earlier messages that were similar but with some > different data. The above keeps repeating until it dumps and reboots > and then starts all over. > > The bios is updated to the latest offered by Toshiba. I tried booting > with a 10.0 Current thumb drive snapshot but it failed sooner with a > different acpi message. > > I am able to install Xubuntu 12.10 but I do not care to have Linux on > this laptop. > > Any help would be greatly appreciated. > > Robert > _______________________________________________ I think you may be in the position of taking photos of the screen while doing a boot verbose on it. Then post them somewhere we can see them. Sean From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 8 02:13:46 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2B384945; Fri, 8 Mar 2013 02:13:46 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx1.freebsd.org (Postfix) with ESMTP id D402E137; Fri, 8 Mar 2013 02:13:45 +0000 (UTC) Received: by mail-pa0-f44.google.com with SMTP id kp1so922060pab.17 for ; Thu, 07 Mar 2013 18:13:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=mQtgGiAoJBXKc1U4VJchsJtitzzOiFLUn30Rm6P+qYI=; b=UNo97NVUIrrckbC7EZ+0F1myjjkh4gzb56tJRZ/LkrLigoMTL80W/XhzcHS/biORWR xEdXLjlhpoE6YqPjdQYjwddly+3XixxlaYCFhGi8vRIuTpd+LcjUMaTNaW2OSKzUbj2k k8vv0LoNri2l1aZsxkWuV9SjB/LY4P7CAxSwbxwGGpCKh4/hLojnP+0w+1jMrAEBuVx8 CyktmLKA122brbZ5nZZqx5hoAP/qtcLeiiBu0CVpGxG86Or/L8YNVlSmXz+NSno7750q WSj2V7fx30jidCUghRbB/Ik7r8jvM5AwuAlo4A2zoyZKs/WFeOmPeOEg7lDynFgI00Ho Rrdg== X-Received: by 10.66.231.176 with SMTP id th16mr1484414pac.131.1362708825270; Thu, 07 Mar 2013 18:13:45 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id 1sm3643210pba.32.2013.03.07.18.13.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Mar 2013 18:13:43 -0800 (PST) Message-ID: <51394952.9030700@gmail.com> Date: Thu, 07 Mar 2013 18:13:38 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130224 Thunderbird/17.0.3 MIME-Version: 1.0 To: John Baldwin Subject: Re: Fixing X220 Video The Right Way References: <512A6FFF.2060603@gmail.com> <201302271527.37079.jhb@freebsd.org> <512F5882.7080004@gmail.com> <201302281209.45170.jhb@freebsd.org> In-Reply-To: <201302281209.45170.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , freebsd-current@freebsd.org, freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 02:13:46 -0000 On 02/28/13 09:09, John Baldwin wrote: > On Thursday, February 28, 2013 8:15:46 am matt wrote: >> On 02/27/13 12:27, John Baldwin wrote: >>> On Wednesday, February 27, 2013 1:35:43 pm matt wrote: >>>> On 02/27/13 09:00, John Baldwin wrote: >>>>> If that is true, it's because your BIOS is lying. Do you have a URL to >>>>> your ASL lying around already? >>>> Too big for pastebin :( +500k >>>> >>>> https://docs.google.com/file/d/0B6YlMzJxarGbVnotLUdNWWNTVG8/edit?usp=sharing >>> Here is where I find _DOD and _DOS methods: >>> >>> Device (PCI0) >>> Device (VID) >>> Name (_ADR, 0x00020000) // _ADR: Address >>> Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching >>> Method (_DOD, 0, NotSerialized) // _DOD: Display Output Devices >>> Device (PEG) >>> Name (_ADR, 0x00010000) // _ADR: Address >>> Device (VID) >>> Name (_ADR, 0x00) // _ADR: Address >>> Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching >>> Method (_DOD, 0, NotSerialized) // _DOD: Display Output Devices >>> >>> PCI0.VID is a PCI device at pci0:0:2:0. >>> PCI0.PEG would be a PCI-PCI bridge at pci0:0:1:0. >>> It would have a child device at 0:0 that would be PCI0.PEG.VID. Does the X220 >>> have a switchable GPU (e.g. it has built-in Intel graphics, but also has an >>> Nvidia GPU or some such?). If so, I imagine that PCI0.VID is the Intel graphics >>> and PEG is the non-Intel. The output of 'pciconf -lcv' would be useful to determine >>> that. If both PCI devices exist you shoudl have both acpi_video0 and acpi_video1. >>> However, it may be that the acpi_video driver doesn't cope well with having multiple >>> devices. >> Only Intel graphics, there is no option for switchable graphics. >> I initially thought that PEG was for Optimus usage, and left in the bios >> by accident (i.e. Lenovo using a generic DSDT for many machines) >> >> Here is pciconf -lcf, truncated >> hostb0@pci0:0:0:0: class=0x060000 card=0x21da17aa chip=0x01048086 >> rev=0x09 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '2nd Generation Core Processor Family DRAM Controller' >> class = bridge >> subclass = HOST-PCI >> cap 09[e0] = vendor (length 12) Intel cap 0 version 1 >> vgapci0@pci0:0:2:0: class=0x030000 card=0x21da17aa chip=0x01268086 >> rev=0x09 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '2nd Generation Core Processor Family Integrated >> Graphics Controller' >> class = display >> subclass = VGA >> cap 05[90] = MSI supports 1 message enabled with 1 message >> cap 01[d0] = powerspec 2 supports D0 D3 current D0 >> cap 13[a4] = PCI Advanced Features: FLR TP >> none0@pci0:0:22:0: class=0x078000 card=0x21da17aa chip=0x1c3a8086 >> rev=0x04 hdr=0x00 >> vendor = 'Intel Corporation' >> >> As you can see there is no device at pci0:0:1:0. So no dev_t with for >> acpi_video to probe or attach to. >> >> Nonetheless, only PEGs ACPI methods work, which is quite broken. This is >> true for a large number of Lenovo devices, back to x61 (non-attaching >> AGP adr) and probably including some other x series and t series. >> >> Unfortunately the ASL will not compile which makes fixing the DSDT an >> exercise in fixing broken ACPI. >> >> What I find interesting is that as far as I can tell, there's no special >> case handling for this device in Linux, yet backlight controls work out >> of the box since about 3.0. Installing Linux as the OSI via loader.conf >> is not the issue, unfortunately, nor Windows 2006 (/WVIS) or Windows >> 2009 (/WIN7). I get correct (for platform) behavior when I call PEGs >> _BCM... :( >> >> Is Linux getting this to work by doing it wrong, essentially? > Yes. I think the best way to fix this is to add a way to specify a > hint to override the ACPI path associated with a PCI device. Something > like: > > hw.pci0.0.2.0.handle="\_SB_.PCI0.PEG.VID" > > I think this patch should do the trick: > > Index: sys/dev/acpica/acpi_pci.c > =================================================================== > --- acpi_pci.c (revision 247320) > +++ acpi_pci.c (working copy) > @@ -264,6 +264,40 @@ acpi_pci_save_handle(ACPI_HANDLE handle, UINT32 le > return_ACPI_STATUS (AE_OK); > } > > +static void > +acpi_pci_override_handles(device_t dev) > +{ > + struct acpi_pci_devinfo *dinfo; > + device_t *devlist; > + int error, i, numdevs; > + char tunable_name[64], *path; > + ACPI_HANDLE handle; > + > + error = device_get_children(dev, &devlist, &numdevs); > + if (error) > + return; > + for (i = 0; i < numdevs; i++) { > + dinfo = device_get_ivars(devlist[i]); > + snprintf(tunable_name, sizeof(tunable_name), > + "hw.pci%d.%d.%d.%d.handle", dinfo->ap_dinfo.cfg.domain, > + dinfo->ap_dinfo.cfg.bus, dinfo->ap_dinfo.cfg.slot, > + dinfo->ap_dinfo.cfg.func); > + path = getenv(tunable_name); > + if (path == NULL) > + continue; > + if (ACPI_SUCCESS(AcpiGetHandle(NULL, path, &handle))) { > + device_printf(dev, > + "Forcing device at %d.%d to use path %s\n", > + dinfo->ap_dinfo.cfg.slot, > + dinfo->ap_dinfo.cfg.func, path); > + dinfo->ap_handle = handle; > + acpi_pci_update_device(handle, devlist[i]); > + } > + freeenv(path); > + } > + free(devlist, M_TEMP); > +} > + > static int > acpi_pci_probe(device_t dev) > { > @@ -306,5 +340,10 @@ acpi_pci_attach(device_t dev) > AcpiWalkNamespace(ACPI_TYPE_DEVICE, acpi_get_handle(dev), 1, > acpi_pci_save_handle, NULL, dev, NULL); > > + /* > + * Perform another pass over child devices to allow their > + * handles to be overridden via a hint from the user. > + */ > + acpi_pci_override_handles(dev); > return (bus_generic_attach(dev)); > } > > I have been trying to get this patch to work. Basically I can't get a backslash into the appropriate variable, loader.conf seems to get them purged? I've tried singlequotes, double backslash, etc...every time the path variable is _SB.PCI0.PEG.VID instead of \_SB.PCI0.PEG.VID Is there a proper way to escape a backslash in loader.conf I'm missing? Matt