From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 22 18:58:00 2014 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CCE1ADC for ; Mon, 22 Sep 2014 18:58:00 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3295C6EA for ; Mon, 22 Sep 2014 18:58:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8MIw0Z5052418 for ; Mon, 22 Sep 2014 18:58:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 174504] [acpi] [suspend/resume] Suspend/resume broken on Lenovo x220 Date: Mon, 22 Sep 2014 18:58:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 18:58:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=174504 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Issue Resolved CC| |jhb@FreeBSD.org Resolution|--- |Overcome By Events --- Comment #3 from John Baldwin --- I suspect no one is going to dig into the VESA breakage at this point. Suspend and resume works fine with KMS and vt(4) however on the x220. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 22 19:08:50 2014 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B394835F for ; Mon, 22 Sep 2014 19:08:50 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98033899 for ; Mon, 22 Sep 2014 19:08:50 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8MJ8o31009187 for ; Mon, 22 Sep 2014 19:08:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 169862] [acpi] Prevent system sleep once shutdown has been initiated Date: Mon, 22 Sep 2014 19:08:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 19:08:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=169862 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhb@FreeBSD.org --- Comment #3 from John Baldwin --- Just to clarify, ACPI does DTRT if you use the power button to shutdown since that calls acpi_EnterSleepState() which calls acpi_sleep_disable() before it calls shutdown_nice(). The case that doesn't work is manually running 'shutdown -p now' or 'poweroff'. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 22 19:22:07 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35D99DA9 for ; Mon, 22 Sep 2014 19:22:07 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09123AA4 for ; Mon, 22 Sep 2014 19:22:07 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0C4C7B9B1; Mon, 22 Sep 2014 15:22:06 -0400 (EDT) From: John Baldwin To: freebsd-acpi@freebsd.org Subject: Re: ThinkPad X61s suspend/resume status Date: Mon, 22 Sep 2014 10:06:39 -0400 Message-ID: <1923447.JzPV2fuODN@ralph.baldwin.cx> User-Agent: KMail/4.10.5 (FreeBSD/10.0-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: <1821092E-5667-4CEF-95A4-A2F7840E92FF@gmail.com> References: <28872432.brrQvJ3GDu@ralph.baldwin.cx> <1821092E-5667-4CEF-95A4-A2F7840E92FF@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 22 Sep 2014 15:22:06 -0400 (EDT) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 19:22:07 -0000 On Friday, September 19, 2014 10:39:26 PM Sevan / Venture37 wrote: > > On 19 Sep 2014, at 16:25, John Baldwin wrote: > >> On Thursday, September 18, 2014 05:30:17 PM Sevan / Venture37 wrote: > >> Hi, > >> Following the thread on getting resume working on the T61[1], I > >> factory reset my BIOS once more but this time confirmed the modem was > >> enabled. Resuming then worked fine on 11-CURRENT r270990 AMD64. > >> hw.acpi.reset_video=1 needs to be set otherwise system resumes without > >> switching the system back on. > > > > You only need reset_video with syscons, correct? > > > > > > I get the panel error on resume everytime on my x220, but it still works > > fine. > Ok > > > To be clear, is it resuming ok in all of your tests, just logging these > > messages? I think you can ignore the mesages about power states and the > > panel power off error. > > Yes, system is working fine, when I get a chance to install X, I'll post a > followup, hopefully before eurobsdcon. If things go as planned I should be > able to test on a X60s next. If you have a wiki account, can you create a page for your laptops at https://wiki.freebsd.org/Laptops If not, let me know what works/doesn't so I can add a page for your models (or lets get you setup with a wiki account) -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 23 10:17:24 2014 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A8741829 for ; Tue, 23 Sep 2014 10:17:24 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37408F8 for ; Tue, 23 Sep 2014 10:17:24 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) for freebsd-acpi@FreeBSD.org with esmtp (envelope-from ) id <1XWN9n-0021RD-W3>; Tue, 23 Sep 2014 12:17:16 +0200 Received: from e179169208.adsl.alicedsl.de ([85.179.169.208] helo=hermann.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) for freebsd-acpi@FreeBSD.org with esmtpsa (envelope-from ) id <1XWN9n-002eoc-S4>; Tue, 23 Sep 2014 12:17:15 +0200 Date: Tue, 23 Sep 2014 12:16:36 +0200 From: "O. Hartmann" To: "freebsd-acpi@FreeBSD.org" Subject: Support for Lenovo acpi_video and nVidia GT740M Optimus video adaptor Message-ID: <20140923121636.6e4021db.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/PqX=oLGYNrJN6sFmc1swdyl"; protocol="application/pgp-signature" X-Originating-IP: 85.179.169.208 X-ZEDAT-Hint: A X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 10:17:24 -0000 --Sig_/PqX=oLGYNrJN6sFmc1swdyl Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I have a Lenovo ThinkPad E540 which has the following CPU: FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: running with driver "efifb". info: [drm] Initialized drm 1.1.0 20060810 CPU: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz (2494.28-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x306c3 Family=3D0x6 Model=3D0x3c Steppi= ng=3D3 Features=3D0xbfebfbff Features2=3D0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAV= E,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x27ab XSAVE Features=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 9636413440 (9190 MB) avail memory =3D 8149209088 (7771 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: [...] This laptop has a integrated HD4600 iGPU (Haswell CPU) as well as a nVidia = GT 740M GPU, which is supposed to be with Optimus technology. I will refer to this issue= later in this post. ACPI_VIDEO/ACPI_IBM: loading both of these ACPI kernel modules seem not to provide any fiunction= ality as expected. The laptop runs with 100% brightness of the LCD and consumes the = battery very quickly. Trying=20 # # Display # hw.acpi.video.lcd0.fullpower=3D75 hw.acpi.video.lcd1.fullpower=3D75 hw.acpi.video.lcd0.econony=3D50 hw.acpi.video.lcd1.econony=3D50 hw.acpi.video.lcd0.brigthness=3D75 hw.acpi.video.lcd1.brigthness=3D75 in /etc/sysctl remains without effect. I presume this is due to the laptop = is neither supported by the acpi_ibm.ko nor acpi_video.ko modules either? Is there a way to manipulate the LCD brightnes? The Firmware Lenovo provide= s doesn't allow without operating system running the change of the brightness or muti= ng the speakers with FN + FXX key, as it is provided by many other EFI/UEFI firmwa= res. iGPU/GPU/Optimus: Another serious issue is the built-in video adaptor. In UEFI, I have the op= portunity of selecting either "integrated" or "nVidia Optimus". Selecting "integrated" i= s supposed to utilize the built in iGPU HD4600 - which is since Haswell's dawn unsupporte= d in FreeBSD. So, for some reasons along with my work, I'd like to have the dedicated GPU= anyway, the nVidia GT 740M. And here is the culprit. First, I do not know whether this device is a hybrid or real discrete GPU w= ith the ability of sharing, what nVidia calls Optimus. Starting X11 with any of the nVidia provided BLOBs (xf86-video-nv doesn't s= upport modern GPUs like that and FreeBSD doesn't have, in contrary to many Linux distribu= tions, modern xf86-video-nouveau: the driver is simply extinct from the ports) with 340.2= 4, 340.32 and 343.13 gives a blank vt() console screen with a carrett in the uppermost le= fthand corner. Checking the the Xorg.log I realize, that the driver recognizes the existen= ce of the GPU, but it doesn't reveal any(!) display sockets, not even the built-in LCD. Wh= enever the nvidia driver tries to access the video hardware, I see this messages poppi= ng up on the console, indicating that there is something wrong, I presume: [...] Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Ar= gument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97= ) Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument = #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97= ) Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument = #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97= ) Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument = #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97= ) Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument = #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97= ) Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument = #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97= ) Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument = #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97= ) Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument = #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97= ) Sep 21 09:38:30 hermann kernel: ACPI Error: Field [TBF3] at 270336 exceeds Buffer = [NULL] size 262144 (bits) (20130823/dsopcode-249) Sep 21 09:38:30 hermann kernel: ACPI = Error: Method parse/execution failed [\_SB_.PCI0.PEG_.VID_.GETB] (Node 0xfffff800044ef740= ), AE_AML_BUFFER_LIMIT (20130823/psparse-553) Sep 21 09:38:30 hermann kernel: = ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG_.VID_._ROM] (Node 0xfffff8000= 44ef780), AE_AML_BUFFER_LIMIT (20130823/psparse-553) Sep 21 09:38:30 hermann kernel: = ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI= requires [Package] (20130823/nsarguments-97) [...] Checking the existence of VGA devices via pciconf, I receive this: vgapci0@pci0:1:0:0: class=3D0x030200 card=3D0x502a17aa chip=3D0x129210d= e rev=3D0xa1 hdr=3D0x00 vendor =3D 'NVIDIA Corporation' class =3D display subclass =3D 3D bar [10] =3D type Memory, range 32, base 0xf0000000, size 16777216, e= nabled bar [14] =3D type Prefetchable Memory, range 64, base 0xc0000000, siz= e 268435456, enabled bar [1c] =3D type Prefetchable Memory, range 64, base 0xd0000000, siz= e 33554432, enabled bar [24] =3D type I/O Port, range 32, base 0x5000, size 128, enabled and looking for VGA devices in the ACPI OID range, I find those: dev.vgapci.%parent:=20 dev.vgapci.0.%desc: VGA-compatible display dev.vgapci.0.%driver: vgapci dev.vgapci.0.%location: slot=3D0 function=3D0 handle=3D\_SB_.PCI0.PEG_.VID_ dev.vgapci.0.%pnpinfo: vendor=3D0x10de device=3D0x1292 subvendor=3D0x17aa s= ubdevice=3D0x502a class=3D0x030200 dev.vgapci.0.%parent: pci1 dev.vgapci.1.%desc: VGA-compatible display dev.vgapci.1.%driver: vgapci dev.vgapci.1.%location: slot=3D2 function=3D0 handle=3D\_SB_.PCI0.VID_ dev.vgapci.1.%pnpinfo: vendor=3D0x8086 device=3D0x0416 subvendor=3D0x17aa s= ubdevice=3D0x502a class=3D0x030000 dev.vgapci.1.%parent: pci0 dev.acpi_video.0.%parent: vgapci0 dev.acpi_video.1.%parent: vgapci1 dev.nvidia.0.%parent: vgapci0 Two VGA devices which has as their parents the other one? I found several Howtos written for Linux specific cases to enable or disabl= e explicitely the nVidia GPU within the Optimus tandem, but none of the shown command seq= uences, which could be applied via the ACPI module acpi_call, seems to work, due to obvio= us different object identifiers. I'd like to aske in this list whether there is a chance to have a switch an= d how it might be used. I can provide the ACPI dump, if requested. If there is anything I can provide further, please ask. Thanks in advance, Oliver --Sig_/PqX=oLGYNrJN6sFmc1swdyl Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUIUiKAAoJEOgBcD7A/5N8bqIIAMI59a2dt+lx9gfUgzKNjPKG +bluDB/T0frN250xRTCtXDQGM6X3KF9YgjZH/3bmvS63FF4IHK+KD//lD493Y7jp kkv42Bisg4wpRkBWjfOnKR2yhDyrHMCLRkw2tEGicW3QUuBMGNClMFUAHUcOXEHX nw4nzugJj+EmymvCrECuKqzuXyW8TPsNEuOg1pXw9cLwTPzGeX6IHLKnEKdPt/o3 9JUACHZ3Z8NGPp4w3W8x5q3hMwTPPxPWrIPsd7g5vJyuiCATk1rT6phnUZ2XuDa9 2DOape13QO3EVJ7I+xne2K9oFty+YIi/DP5yKWcXduQ9sh1VJKPy9QeOc6whkno= =iBPC -----END PGP SIGNATURE----- --Sig_/PqX=oLGYNrJN6sFmc1swdyl-- From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 23 13:14:11 2014 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CD04CF3 for ; Tue, 23 Sep 2014 13:14:11 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 061A7BCB for ; Tue, 23 Sep 2014 13:14:10 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) for freebsd-acpi@FreeBSD.org with esmtp (envelope-from ) id <1XWPuz-0032rX-8S>; Tue, 23 Sep 2014 15:14:09 +0200 Received: from e179169208.adsl.alicedsl.de ([85.179.169.208] helo=hermann.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) for freebsd-acpi@FreeBSD.org with esmtpsa (envelope-from ) id <1XWPuz-0030s4-4I>; Tue, 23 Sep 2014 15:14:09 +0200 Date: Tue, 23 Sep 2014 15:13:28 +0200 From: "O. Hartmann" To: "freebsd-acpi@FreeBSD.org" Subject: IASL complains about he same error in two different UEFI firmwares Message-ID: <20140923151328.71e24dd0.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/OyoavfpHYASXTlLNO77=EmY"; protocol="application/pgp-signature" X-Originating-IP: 85.179.169.208 X-ZEDAT-Hint: A X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 13:14:11 -0000 --Sig_/OyoavfpHYASXTlLNO77=EmY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Trying to fix an GPU issue on a laptop, I followed the steps as described i= n handbook, chapter 12.17, debugging ASL/AML code. I dumped on two different systems the ASL via acpidump -dt as described and tried to recompile the result via iasl. The outcome is a bit disturbing. IASL complains about the very same errors = on two diffrent systems.I'll show only one here, since the code block is identical. System 1: 1 FreeBSD 11.0-CURRENT #2 r272016: Tue Sep 23 08:20:00 CEST 2014 amd64 VT: running with driver "vga". CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (3300.10-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x306a9 Family=3D0x6 Model=3D0x3a Steppi= ng=3D9 Features=3D0xbfebfbff Features2=3D0x3d9ae3bf AMD Features=3D0x28100800 AMD Features2=3D0x1 Structured Extended Features=3D0x281 XSAVE Features=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 17179869184 (16384 MB) avail memory =3D 16286003200 (15531 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: root@gate [~] iasl gate.asl Intel ACPI Component Architecture ASL Optimizing Compiler version 20130823-64 Copyright (c) 2000 - 2013 Intel Corporation Compiler aborting due to parser-detected syntax error(s) gate.asl 12314: Package (0x06) Error 6126 - syntax error ^=20 ASL Input: gate.asl - 12334 lines, 366705 bytes, 4399 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations Code portion at line 12314: [...] Package (0x06) { 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000 } System 2: 11.0-CURRENT #0 r272019: Tue Sep 23 09:38:59 CEST 2014 amd64 info: [drm] Initialized drm 1.1.0 20060810 CPU: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz (2494.28-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x306c3 Family=3D0x6 Model=3D0x3c Steppi= ng=3D3 Features=3D0xbfebfbff Features2=3D0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAV= E,OSXSAVE,AVX,F16C,RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended Features=3D0x27ab XSAVE Features=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 9636413440 (9190 MB) avail memory =3D 8149209088 (7771 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: root@hermann: [~] iasl lenovo.asl Intel ACPI Component Architecture ASL Optimizing Compiler version 20130823-64 Copyright (c) 2000 - 2013 Intel Corporation Compiler aborting due to parser-detected syntax error(s) lenovo.asl 18919: Package (0x06) Error 6126 - syntax error ^=20 ASL Input: lenovo.asl - 18939 lines, 634937 bytes, 7991 keywords Compilation complete.=20 [...] Package (0x06) { 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000 } 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations --Sig_/OyoavfpHYASXTlLNO77=EmY Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUIXH/AAoJEOgBcD7A/5N8J24H/Rhv328Gltb6lY+k6e5qVlr8 430b5WfExvyxTQYxTVMhtQMcVygequidnnXtS6AdYtVPC5XaH/2NBA0cd3Uzla8E VxvvY8pdErzeFk2UHimMnjZ7AEq+UaLr9Ty8z30eZ644pl4Hm/g9wOhIVLsQ4bKi YoFmLPuN8gGy9Wc8sXg9iCIwmGp/v0DGVplOR7uzHQXIHvZ2j2Lt8kRaeKr71pVE 3po1lb0AgYRLeynaLFIVhDe9TQcF0e0YL7JkqlQoWBUwXye1W9rKzRnkJkQurcXH AtK/tvJSqdYanBz9ckv8oaZKgetRYIv2Y21KP5eIKzAgv4Or1VHkUVam29EQjRo= =aJ9o -----END PGP SIGNATURE----- --Sig_/OyoavfpHYASXTlLNO77=EmY-- From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 23 13:42:45 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AB1031E for ; Tue, 23 Sep 2014 13:42:45 +0000 (UTC) Received: from nm24-vm1.access.bullet.mail.bf1.yahoo.com (nm24-vm1.access.bullet.mail.bf1.yahoo.com [216.109.115.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB39FEDC for ; Tue, 23 Sep 2014 13:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1411479393; bh=x5B8i38vLYlyV4xvrsdiljHPONpSFW350MvTKrhfmTE=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=PAoy0EImkg5Na6Id5I+oWPvXU4gHRFNxeE/oSMZCf1esrtgoSPruAU6ijEwNIp0XB2XB4KP0QMYjtAQQfAjiAfibw3kSac3jcGekfYmKY9uar8vEG2g1x5/MLhMX6dPnkF4JuT7xP9bWsfJ62UPsr/Lg6yps2RhuKlxWq6MBX3g= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=att.net; b=5Ct7LRi9A7DTxy7cyXT03XFsc66CTAtg6Doabz13KvyTrlHhM7yruN9WteBccakvwrPSy+2qOOmh8ipXAgADum321mQwQ+2WvScFVvdN21Sd5nMmjxUH/IuvCb501z0+L89oCjOlqJzWFzy++ARUD8QbzJFDM6khaR2GzfZEUDI=; Received: from [66.196.81.156] by nm24.access.bullet.mail.bf1.yahoo.com with NNFMP; 23 Sep 2014 13:36:33 -0000 Received: from [98.138.104.99] by tm2.access.bullet.mail.bf1.yahoo.com with NNFMP; 23 Sep 2014 13:36:33 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.ne1.yahoo.com with NNFMP; 23 Sep 2014 13:36:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1411479393; bh=x5B8i38vLYlyV4xvrsdiljHPONpSFW350MvTKrhfmTE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=QdR6GZqxVp41JeHr92rvp98yTRhRXl5n4toPLTureoVBzoYKi3qZkf8dxAjnSNSAhINNB1myyP5PeP0y0Q2fPTrz9C0xcsMYm72teCoba1yzqUHqILvAPQY+2lGBmTiT1sld6e9CZrcHYFKo1Ln91jX0Bw9G1f7860xoU4ftKTo= X-Yahoo-Newman-Id: 162472.19757.bm@smtp119.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: VwZbQvUVM1mCkmP3qgRsxSCkw6SKJu.xPKyV5yaOSDhu00r AyM8WcjzlGrPRFJx1BNff6gPeOLJdlxjoVopg9FCG8tQwf8QteLian5xR8PP 1o3pG5PA2IAmRD6zYb0VQj8P.g3TfAnLF2QXiTu0mvgWgjJ9ooXI28VJSuz6 gOrjO9BfGRjfkC0ugUabMar1P7oOKdsXcTCMGvIVLZbITeamxyOX8.jw904M WLGKywTj_KvirZtS5ofT79eSxQQ6N.vxHEQA4Hgix5si3lura_KTHZTrcU8s gVbrBdwSNMivumqiixkq6l.dw6t03b3WhjjjmRsguuQKPNl3PM3UYTt.67Zp Gggnj3jljYVMZSi1NfloH0NirA3LPE2oU0Hlx.uhEoSmqbDBkN9lt9sMP98I Q6gVaWNvULgiVL2C8HXM3kYeFdjk8G18lGHLzZvYNGecHRb2LFaGsstV_Vy. Ei5sFxhVhMiyuORM55ckHwimCxknxMAlawro5nOEwOR8QaopaE5rDX5NYXjo B2ZfGGEKlUFI5eMoi_gHLOgWOwmBLvWO3zYorF2pPQc4NSupRm6cVFI14vQD bLoQg9UU- X-Yahoo-SMTP: OKD1keCswBBTAmAF1s00hLyKW3wE3YfSK0Eazl6b4VZG4LTqJxg- Message-ID: <5421775F.4010103@att.net> Date: Tue, 23 Sep 2014 09:36:31 -0400 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: John Baldwin , freebsd-acpi@freebsd.org Subject: Re: ThinkPad X61s suspend/resume status References: <28872432.brrQvJ3GDu@ralph.baldwin.cx> <1821092E-5667-4CEF-95A4-A2F7840E92FF@gmail.com> <1923447.JzPV2fuODN@ralph.baldwin.cx> In-Reply-To: <1923447.JzPV2fuODN@ralph.baldwin.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 13:42:45 -0000 On 09/22/2014 10:06, John Baldwin wrote: > On Friday, September 19, 2014 10:39:26 PM Sevan / Venture37 wrote: >>> On 19 Sep 2014, at 16:25, John Baldwin wrote: >>>> On Thursday, September 18, 2014 05:30:17 PM Sevan / Venture37 wrote: >>>> Hi, >>>> Following the thread on getting resume working on the T61[1], I >>>> factory reset my BIOS once more but this time confirmed the modem was >>>> enabled. Resuming then worked fine on 11-CURRENT r270990 AMD64. >>>> hw.acpi.reset_video=1 needs to be set otherwise system resumes without >>>> switching the system back on. >>> You only need reset_video with syscons, correct? >>> >>> >>> I get the panel error on resume everytime on my x220, but it still works >>> fine. >> Ok >> >>> To be clear, is it resuming ok in all of your tests, just logging these >>> messages? I think you can ignore the mesages about power states and the >>> panel power off error. >> Yes, system is working fine, when I get a chance to install X, I'll post a >> followup, hopefully before eurobsdcon. If things go as planned I should be >> able to test on a X60s next. > If you have a wiki account, can you create a page for your laptops at > https://wiki.freebsd.org/Laptops > > If not, let me know what works/doesn't so I can add a page for your models (or > lets get you setup with a wiki account) > https://wiki.freebsd.org/action/newaccount/Laptops?action=newaccount is (still) broken... Anthony Jenkins From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 23 14:44:21 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9FEED8B for ; Tue, 23 Sep 2014 14:44:21 +0000 (UTC) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32EDF88D for ; Tue, 23 Sep 2014 14:44:21 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id y10so4755813wgg.26 for ; Tue, 23 Sep 2014 07:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Pp+sr2ANS2FiCn/1uORJDnvv2cJUQqlSiXFMKOu3pfw=; b=bWiT09AkDgpyvQFlQw7hqGd8e1RLm5FtCJqI8NwzVNZezl4xa0j4zqqDAa4Vo72Aft CijfT66uiOKvsPUJZkANJ+FZgD15A4t/vohUOr3vN6dkM6malE1js9Ah326ThcS152Gm wA0XDZuvS/Fs/NBndd/x8OgCopMF6htJfk7mtM/qBaYBY1rMTgy8eDxmDi4gW2GbJ7ph YVZl2vx5TX+/zYGTp5EAw/fcuRSK/dwxJSEgs/qpAZgAAwISoaa8NYGE69UHflC2p0BG b/hO+71X4ufSu7r6d1hv2bak/qpTHFD37cpBSaGj/NIcXFyr6iGvAF9wlm5UgagDfuOI UcVg== MIME-Version: 1.0 X-Received: by 10.180.9.144 with SMTP id z16mr22274862wia.26.1411483459380; Tue, 23 Sep 2014 07:44:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.106.199 with HTTP; Tue, 23 Sep 2014 07:44:19 -0700 (PDT) In-Reply-To: <20140923121636.6e4021db.ohartman@zedat.fu-berlin.de> References: <20140923121636.6e4021db.ohartman@zedat.fu-berlin.de> Date: Tue, 23 Sep 2014 07:44:19 -0700 X-Google-Sender-Auth: fUtauX8RZsW1KanFzm9N9_VnnZA Message-ID: Subject: Re: Support for Lenovo acpi_video and nVidia GT740M Optimus video adaptor From: Adrian Chadd To: "O. Hartmann" Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-acpi@FreeBSD.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 14:44:21 -0000 Hi, A lot of the management of this stuff got offloaded to the architecture specific stuff in DRI. So, brightness controls likely require some plumbing from i915kms. I think half of your problems will be solved with the haswell DRI module. The Optimus side of things will require a little more investigation. -a On 23 September 2014 03:16, O. Hartmann wrote: > > I have a Lenovo ThinkPad E540 which has the following CPU: > > > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > VT: running with driver "efifb". > info: [drm] Initialized drm 1.1.0 20060810 > CPU: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz (2494.28-MHz K8-class CPU) > Origin="GenuineIntel" Id=0x306c3 Family=0x6 Model=0x3c Stepping=3 > Features=0xbfebfbff > Features2=0x7fdafbbf,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800 > AMD Features2=0x21 > Structured Extended Features=0x27ab > XSAVE Features=0x1 > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics > real memory = 9636413440 (9190 MB) > avail memory = 8149209088 (7771 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > [...] > > This laptop has a integrated HD4600 iGPU (Haswell CPU) as well as a nVidia GT 740M GPU, > which is supposed to be with Optimus technology. I will refer to this issue later in this > post. > > ACPI_VIDEO/ACPI_IBM: > > loading both of these ACPI kernel modules seem not to provide any fiunctionality as > expected. The laptop runs with 100% brightness of the LCD and consumes the battery very > quickly. Trying > # > # Display > # > hw.acpi.video.lcd0.fullpower=75 > hw.acpi.video.lcd1.fullpower=75 > hw.acpi.video.lcd0.econony=50 > hw.acpi.video.lcd1.econony=50 > hw.acpi.video.lcd0.brigthness=75 > hw.acpi.video.lcd1.brigthness=75 > > in /etc/sysctl remains without effect. I presume this is due to the laptop is neither > supported by the acpi_ibm.ko nor acpi_video.ko modules either? > > Is there a way to manipulate the LCD brightnes? The Firmware Lenovo provides doesn't > allow without operating system running the change of the brightness or muting the > speakers with FN + FXX key, as it is provided by many other EFI/UEFI firmwares. > > > iGPU/GPU/Optimus: > > > Another serious issue is the built-in video adaptor. In UEFI, I have the opportunity of > selecting either "integrated" or "nVidia Optimus". Selecting "integrated" is supposed to > utilize the built in iGPU HD4600 - which is since Haswell's dawn unsupported in FreeBSD. > So, for some reasons along with my work, I'd like to have the dedicated GPU anyway, the > nVidia GT 740M. > And here is the culprit. > > First, I do not know whether this device is a hybrid or real discrete GPU with the > ability of sharing, what nVidia calls Optimus. > Starting X11 with any of the nVidia provided BLOBs (xf86-video-nv doesn't support modern > GPUs like that and FreeBSD doesn't have, in contrary to many Linux distributions, modern > xf86-video-nouveau: the driver is simply extinct from the ports) with 340.24, 340.32 and > 343.13 gives a blank vt() console screen with a carrett in the uppermost lefthand corner. > > Checking the the Xorg.log I realize, that the driver recognizes the existence of the GPU, > but it doesn't reveal any(!) display sockets, not even the built-in LCD. Whenever the > nvidia driver tries to access the video hardware, I see this messages popping up on the > console, indicating that there is something wrong, I presume: > > [...] > Sep 21 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type > mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) Sep 21 > 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type > mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) Sep 21 > 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type > mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) Sep 21 > 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type > mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) Sep 21 > 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type > mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) Sep 21 > 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type > mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) Sep 21 > 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type > mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) Sep 21 > 09:38:30 hermann kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type > mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) Sep 21 > 09:38:30 hermann kernel: ACPI Error: Field [TBF3] at 270336 exceeds Buffer [NULL] size > 262144 (bits) (20130823/dsopcode-249) Sep 21 09:38:30 hermann kernel: ACPI Error: Method > parse/execution failed [\_SB_.PCI0.PEG_.VID_.GETB] (Node 0xfffff800044ef740), > AE_AML_BUFFER_LIMIT (20130823/psparse-553) Sep 21 09:38:30 hermann kernel: ACPI Error: > Method parse/execution failed [\_SB_.PCI0.PEG_.VID_._ROM] (Node 0xfffff800044ef780), > AE_AML_BUFFER_LIMIT (20130823/psparse-553) Sep 21 09:38:30 hermann kernel: ACPI Warning: > \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires > [Package] (20130823/nsarguments-97) > [...] > > Checking the existence of VGA devices via pciconf, I receive this: > > vgapci0@pci0:1:0:0: class=0x030200 card=0x502a17aa chip=0x129210de rev=0xa1 hdr=0x00 > vendor = 'NVIDIA Corporation' > class = display > subclass = 3D > bar [10] = type Memory, range 32, base 0xf0000000, size 16777216, enabled > bar [14] = type Prefetchable Memory, range 64, base 0xc0000000, size 268435456, > enabled > bar [1c] = type Prefetchable Memory, range 64, base 0xd0000000, size 33554432, > enabled > bar [24] = type I/O Port, range 32, base 0x5000, size 128, enabled > > > and looking for VGA devices in the ACPI OID range, I find those: > > dev.vgapci.%parent: > dev.vgapci.0.%desc: VGA-compatible display > dev.vgapci.0.%driver: vgapci > dev.vgapci.0.%location: slot=0 function=0 handle=\_SB_.PCI0.PEG_.VID_ > dev.vgapci.0.%pnpinfo: vendor=0x10de device=0x1292 subvendor=0x17aa subdevice=0x502a > class=0x030200 dev.vgapci.0.%parent: pci1 > dev.vgapci.1.%desc: VGA-compatible display > dev.vgapci.1.%driver: vgapci > dev.vgapci.1.%location: slot=2 function=0 handle=\_SB_.PCI0.VID_ > dev.vgapci.1.%pnpinfo: vendor=0x8086 device=0x0416 subvendor=0x17aa subdevice=0x502a > class=0x030000 dev.vgapci.1.%parent: pci0 > dev.acpi_video.0.%parent: vgapci0 > dev.acpi_video.1.%parent: vgapci1 > dev.nvidia.0.%parent: vgapci0 > > Two VGA devices which has as their parents the other one? > > I found several Howtos written for Linux specific cases to enable or disable explicitely > the nVidia GPU within the Optimus tandem, but none of the shown command sequences, which > could be applied via the ACPI module acpi_call, seems to work, due to obvious different > object identifiers. > > I'd like to aske in this list whether there is a chance to have a switch and how it might > be used. I can provide the ACPI dump, if requested. > > If there is anything I can provide further, please ask. > > Thanks in advance, > > Oliver From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 23 14:46:06 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22628F6A for ; Tue, 23 Sep 2014 14:46:06 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEB018AA for ; Tue, 23 Sep 2014 14:46:05 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C05DAB9A5; Tue, 23 Sep 2014 10:46:04 -0400 (EDT) From: John Baldwin To: Anthony Jenkins Subject: Re: ThinkPad X61s suspend/resume status Date: Tue, 23 Sep 2014 10:45:38 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: <1923447.JzPV2fuODN@ralph.baldwin.cx> <5421775F.4010103@att.net> In-Reply-To: <5421775F.4010103@att.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201409231045.38530.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 23 Sep 2014 10:46:04 -0400 (EDT) Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 14:46:06 -0000 On Tuesday, September 23, 2014 9:36:31 am Anthony Jenkins wrote: > On 09/22/2014 10:06, John Baldwin wrote: > > On Friday, September 19, 2014 10:39:26 PM Sevan / Venture37 wrote: > >>> On 19 Sep 2014, at 16:25, John Baldwin wrote: > >>>> On Thursday, September 18, 2014 05:30:17 PM Sevan / Venture37 wrote: > >>>> Hi, > >>>> Following the thread on getting resume working on the T61[1], I > >>>> factory reset my BIOS once more but this time confirmed the modem was > >>>> enabled. Resuming then worked fine on 11-CURRENT r270990 AMD64. > >>>> hw.acpi.reset_video=1 needs to be set otherwise system resumes without > >>>> switching the system back on. > >>> You only need reset_video with syscons, correct? > >>> > >>> > >>> I get the panel error on resume everytime on my x220, but it still works > >>> fine. > >> Ok > >> > >>> To be clear, is it resuming ok in all of your tests, just logging these > >>> messages? I think you can ignore the mesages about power states and the > >>> panel power off error. > >> Yes, system is working fine, when I get a chance to install X, I'll post a > >> followup, hopefully before eurobsdcon. If things go as planned I should be > >> able to test on a X60s next. > > If you have a wiki account, can you create a page for your laptops at > > https://wiki.freebsd.org/Laptops > > > > If not, let me know what works/doesn't so I can add a page for your models (or > > lets get you setup with a wiki account) > > > https://wiki.freebsd.org/action/newaccount/Laptops?action=newaccount is (still) broken... > > Anthony Jenkins Yes, but new accounts can still be added via the admins, it just requires an e-mail rather than using the web interface. -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 23 17:47:05 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A528CE5 for ; Tue, 23 Sep 2014 17:47:05 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.freebsd.org (Postfix) with ESMTP id F0668EFD for ; Tue, 23 Sep 2014 17:47:04 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 23 Sep 2014 10:46:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,581,1406617200"; d="scan'208";a="607303391" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by orsmga002.jf.intel.com with ESMTP; 23 Sep 2014 10:46:47 -0700 Received: from orsmsx112.amr.corp.intel.com ([169.254.12.46]) by ORSMSX109.amr.corp.intel.com ([169.254.2.27]) with mapi id 14.03.0195.001; Tue, 23 Sep 2014 10:46:48 -0700 From: "Moore, Robert" To: "O. Hartmann" , "freebsd-acpi@FreeBSD.org" Subject: RE: IASL complains about he same error in two different UEFI firmwares Thread-Topic: IASL complains about he same error in two different UEFI firmwares Thread-Index: AQHP1zDDqL3d6sdDIUu4c8wUmeO2qZwO/gTQ Date: Tue, 23 Sep 2014 17:46:47 +0000 Message-ID: <94F2FBAB4432B54E8AACC7DFDE6C92E37D1FC52E@ORSMSX112.amr.corp.intel.com> References: <20140923151328.71e24dd0.ohartman@zedat.fu-berlin.de> In-Reply-To: <20140923151328.71e24dd0.ohartman@zedat.fu-berlin.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 17:47:05 -0000 We usually see this when: 1) The BIOS dynamically truncates a package at post time by adjusting the l= ength. 2) After disassembly, there is a bunch of code "dangling" around that canno= t be compiled. > -----Original Message----- > From: owner-freebsd-acpi@freebsd.org [mailto:owner-freebsd- > acpi@freebsd.org] On Behalf Of O. Hartmann > Sent: Tuesday, September 23, 2014 6:13 AM > To: freebsd-acpi@FreeBSD.org > Subject: IASL complains about he same error in two different UEFI > firmwares >=20 >=20 > Trying to fix an GPU issue on a laptop, I followed the steps as described > in handbook, chapter 12.17, debugging ASL/AML code. >=20 > I dumped on two different systems the ASL via >=20 > acpidump -dt as described and tried to recompile the result via iasl. >=20 >=20 > The outcome is a bit disturbing. IASL complains about the very same error= s > on two diffrent systems.I'll show only one here, since the code block is > identical. >=20 > System 1: 1 >=20 > FreeBSD 11.0-CURRENT #2 r272016: Tue Sep 23 08:20:00 CEST 2014 amd64 >=20 > VT: running with driver "vga". > CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (3300.10-MHz K8-class CPU) > Origin=3D"GenuineIntel" Id=3D0x306a9 Family=3D0x6 Model=3D0x3a Step= ping=3D9 >=20 > Features=3D0xbfebfbff CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> >=20 > Features2=3D0x3d9ae3bf 16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,TSCDLT,XSAVE,OSXSAVE,AVX,F16C> > AMD Features=3D0x28100800 > AMD Features2=3D0x1 > Structured Extended Features=3D0x281 > XSAVE Features=3D0x1 > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics real memory =3D > 17179869184 (16384 MB) avail memory =3D 16286003200 (15531 MB) Event time= r > "LAPIC" quality 600 ACPI APIC Table: >=20 >=20 >=20 > root@gate [~] iasl gate.asl >=20 > Intel ACPI Component Architecture > ASL Optimizing Compiler version 20130823-64 Copyright (c) 2000 - 2013 > Intel Corporation >=20 > Compiler aborting due to parser-detected syntax error(s) > gate.asl 12314: Package (0x06) > Error 6126 - syntax error ^ >=20 > ASL Input: gate.asl - 12334 lines, 366705 bytes, 4399 keywords >=20 > Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations >=20 > Code portion at line 12314: >=20 > [...] > Package (0x06) > { > 0x80000000, > 0x80000000, > 0x80000000, > 0x80000000, > 0x80000000, > 0x80000000 > } >=20 >=20 >=20 > System 2: >=20 > 11.0-CURRENT #0 r272019: Tue Sep 23 09:38:59 CEST 2014 amd64 >=20 >=20 > info: [drm] Initialized drm 1.1.0 20060810 > CPU: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz (2494.28-MHz K8-class CPU) > Origin=3D"GenuineIntel" Id=3D0x306c3 Family=3D0x6 Model=3D0x3c Step= ping=3D3 >=20 > Features=3D0xbfebfbff CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> >=20 > Features2=3D0x7fdafbbf 11>,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE= , > OSXSAVE,AVX,F16C,RDRAND> > AMD Features=3D0x2c100800 > AMD Features2=3D0x21 > Structured Extended > Features=3D0x27ab > XSAVE Features=3D0x1 > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics real memory =3D 9636413= 440 > (9190 MB) avail memory =3D 8149209088 (7771 MB) Event timer "LAPIC" quali= ty > 600 > ACPI APIC Table: >=20 >=20 > root@hermann: [~] iasl lenovo.asl >=20 > Intel ACPI Component Architecture > ASL Optimizing Compiler version 20130823-64 Copyright (c) 2000 - 2013 > Intel Corporation >=20 > Compiler aborting due to parser-detected syntax error(s) > lenovo.asl 18919: Package (0x06) > Error 6126 - syntax error ^ >=20 > ASL Input: lenovo.asl - 18939 lines, 634937 bytes, 7991 keywords >=20 > Compilation complete. >=20 > [...] > Package (0x06) > { > 0x80000000, > 0x80000000, > 0x80000000, > 0x80000000, > 0x80000000, > 0x80000000 > } > 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 24 19:42:42 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7781A30E for ; Wed, 24 Sep 2014 19:42:42 +0000 (UTC) Received: from nm10-vm8.access.bullet.mail.gq1.yahoo.com (nm10-vm8.access.bullet.mail.gq1.yahoo.com [216.39.63.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33B6C16B for ; Wed, 24 Sep 2014 19:42:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1411587332; bh=SF9sPp4nVpZ4N2Lc6DPzSk1RNwFSqc67bjJvqfO5Ozw=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:From:Subject; b=0NgJ6RAk6mBg/dQCCTFV59m74IEQrZu/4rqbT1zO5j5EeE7nQ8z7MKiYYjReAKk82EOqhuYl8IIWuxV9GMjCPr5RfnKABqasg0+Gpswv4Ei8Ko8wZO1TdZSwDKQYOByfXzT0bJZDDOnjt/GmKVPLsVTTqhtNZj04pADL7CaUhJI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=att.net; b=E8o19w8ieoy1CdOayyvc/1noFaMotQE0Q+Q8LkLe5OL+DZM7yrC1lAUQjzyewm0I+Pnqfq4HBRK3Yd2e1296/4MyI0IZqLv71sDekFdR40wVs+OIQ9OD9HyZxD6ChEZKtZBg5oumd1iePCO4JkYVkH72ijXCWPm/eIHgoOFmt8U=; Received: from [216.39.60.171] by nm10.access.bullet.mail.gq1.yahoo.com with NNFMP; 24 Sep 2014 19:35:32 -0000 Received: from [98.138.226.244] by tm7.access.bullet.mail.gq1.yahoo.com with NNFMP; 24 Sep 2014 19:35:32 -0000 Received: from [127.0.0.1] by smtp115.sbc.mail.ne1.yahoo.com with NNFMP; 24 Sep 2014 19:35:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1411587332; bh=SF9sPp4nVpZ4N2Lc6DPzSk1RNwFSqc67bjJvqfO5Ozw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=zmEOuUu7QHUdc3Mf2jgzl1Fhrom5T1zQC1xXmJrQFJOWKnK8SBX9NZdrKH0/pzP7Li1doOXtJhfjLeOwUi2MbP7ns6By92zPQhLq7By0YSXnRfhY1LBoWPectBIDF4VOoUi9NmF8uvUNsqS4LeHpoPbWPCnPXwLfDxIwDZoqcsA= X-Yahoo-Newman-Id: 39145.72257.bm@smtp115.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: DTvKg2cVM1nGT96MII5w3uxf3sEEbANdds33YGbqyeS7zgZ vX7LaGm.KudnnAA0.Fsg0bqDPX.OAXfF1JT7lQvp_8cNDKRRkYQ5IDd0AFyT Fm8b8SmcF_KNvMZQHIGMha9l9SzP5PDayCnJz83I1JTxuTpbIs9dXVUzu2kF FJS0oOS_Ge9mD1_Vf78Gq9Rnxi2ifvCKAQhUUG3d91n7FujCTAtqNY4CxS8s 3nH3MhQmggVx7mKzskh15UhtlsiA0U7bydwecdFW4706DAnNkrbqOf1hg03u iGXiAqaAaTYwjHuroUzpTF8QMJJDSe4P65LzqR6gl8y9MpzBKAnk1WoE7Oul 6xZDp.JyCFXCtPOnSO76ntZ99xr8X4kIGP_FjVx17S5wFfc6QYLU0pdD1tIT DQOVo4oBDIEURvrc9Zkl1DyfLDacMnlbmeWq5knvZHWJKQE.Lazhb5qv3SfC 1NNYH7ZpBM7jOnCLPpCtkO.fXfmhh3nFDRrPePe7wb0IBt.x2kaiw5RJe2zM 1XaaltL4oxo60us0s8waZ9gB_dY6qky3yauA2PcHmWsQgYSCqJMriJD.cgEK 6 X-Yahoo-SMTP: OKD1keCswBBTAmAF1s00hLyKW3wE3YfSK0Eazl6b4VZG4LTqJxg- Message-ID: <54231D02.2050805@att.net> Date: Wed, 24 Sep 2014 15:35:30 -0400 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: John Baldwin Subject: Re: ThinkPad X61s suspend/resume status References: <1923447.JzPV2fuODN@ralph.baldwin.cx> <5421775F.4010103@att.net> <201409231045.38530.jhb@freebsd.org> In-Reply-To: <201409231045.38530.jhb@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.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 19:42:42 -0000 On 09/23/2014 10:45, John Baldwin wrote: > On Tuesday, September 23, 2014 9:36:31 am Anthony Jenkins wrote: >> On 09/22/2014 10:06, John Baldwin wrote: >>> On Friday, September 19, 2014 10:39:26 PM Sevan / Venture37 wrote: >>>>> On 19 Sep 2014, at 16:25, John Baldwin wrote: >>>>>> On Thursday, September 18, 2014 05:30:17 PM Sevan / Venture37 wrote: >>>>>> Hi, >>>>>> Following the thread on getting resume working on the T61[1], I >>>>>> factory reset my BIOS once more but this time confirmed the modem was >>>>>> enabled. Resuming then worked fine on 11-CURRENT r270990 AMD64. >>>>>> hw.acpi.reset_video=1 needs to be set otherwise system resumes without >>>>>> switching the system back on. >>>>> You only need reset_video with syscons, correct? >>>>> >>>>> >>>>> I get the panel error on resume everytime on my x220, but it still works >>>>> fine. >>>> Ok >>>> >>>>> To be clear, is it resuming ok in all of your tests, just logging these >>>>> messages? I think you can ignore the mesages about power states and the >>>>> panel power off error. >>>> Yes, system is working fine, when I get a chance to install X, I'll post > a >>>> followup, hopefully before eurobsdcon. If things go as planned I should > be >>>> able to test on a X60s next. >>> If you have a wiki account, can you create a page for your laptops at >>> https://wiki.freebsd.org/Laptops >>> >>> If not, let me know what works/doesn't so I can add a page for your models > (or >>> lets get you setup with a wiki account) >>> >> https://wiki.freebsd.org/action/newaccount/Laptops?action=newaccount is > (still) broken... >> Anthony Jenkins > Yes, but new accounts can still be added via the admins, it just requires an > e-mail rather than using the web interface. > Ahhh... so how do I use the mail interface, or do I give you some credentials? I'd like to add stuff about my laptop. If the latter, can you add an account for user 'AnthonyJenkins' (if no collisions) and send me a temp password? Thanks, Anthony From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 24 23:46:08 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF7E49E1 for ; Wed, 24 Sep 2014 23:46:08 +0000 (UTC) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0304D8C for ; Wed, 24 Sep 2014 23:46:08 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id i13so3911304qae.6 for ; Wed, 24 Sep 2014 16:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=NOTNbGPX1pDU7W4jZmIExbI1ppNpMMnDinBwzAmAtaE=; b=krwkPxa8s4jUg6R8rtXOM43DmD8+0UzACffMMe2Zrodv+8OXXsoFhZoChKkFhf6KhB r9nY+AncJ5JCX0/l1HtF1DBccdVi+NxdXV645Oh3hjUBfrza5saNuVFGdSAZadBXi1NU zqSmQilI22HdUVBId880PPNIyc7S+ehV1iYKVA0HpQPuXxmomSYiVdXSxlrkfOhwvntV ZUjK7PU6Sdher4gp7Mbm+xfoFEt+KEKv7O99ksozejAg2F46PmMol+5GrTzOOk+BLFiJ I81OHxHf0S72pNNqQLXKVyR7qq+AgptvIgqzTOsYhtoTZbCes1MbJC6LBCVZJzbkyHii 3Z0Q== X-Received: by 10.229.230.3 with SMTP id jk3mr12983286qcb.24.1411602367755; Wed, 24 Sep 2014 16:46:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.83.197 with HTTP; Wed, 24 Sep 2014 16:45:47 -0700 (PDT) From: Evgeny Petrov Date: Thu, 25 Sep 2014 03:45:47 +0400 Message-ID: Subject: intel d945gclf(latest 0278 bios) fixed dsdt To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 23:46:09 -0000 It seems i finally got rid of annoying acpi bug in d945gclf. It showed itself as a 50% cpu usage by system process and repeating errors in system log: +ACPI Error: Method parse/execution failed [\\_SB_.PCI0.LPC_.SMBR] (Node > 0xfffffe0002463000), AE_AML_INFINITE_LOOP (20110527/psparse-560) > +ACPI Error: Method parse/execution failed [\\_SB_.PCI0.LPC_.INIT] (Node > 0xfffffe0002463040), AE_AML_INFINITE_LOOP (20110527/psparse-560) > +ACPI Error: Method parse/execution failed [\\_GPE._L00] (Node > 0xfffffe000240fb40), AE_AML_INFINITE_LOOP (20110527/psparse-560) > +ACPI Exception: AE_AML_INFINITE_LOOP, while evaluating GPE method [_L00] > (20110527/evgpe-606) > +ACPI Error: Method parse/execution failed [\\_SB_.PCI0.LPC_.SMBR] (Node > 0xfffffe0002463000), AE_AML_INFINITE_LOOP (20110527/psparse-560) > +ACPI Error: Method parse/execution failed [\\_SB_.PCI0.LPC_.INIT] (Node > 0xfffffe0002463040), AE_AML_INFINITE_LOOP (20110527/psparse-560) > +ACPI Error: Method parse/execution failed [\\_GPE._L00] (Node > 0xfffffe000240fb40), AE_AML_INFINITE_LOOP (20110527/psparse-560) > +ACPI Exception: AE_AML_INFINITE_LOOP, while evaluating GPE method [_L00] > (20110527/evgpe-606)=E2=80=8B =E2=80=8BI use FreeBSD 9.1-RELEASE-p19, but before that there was Windows X= P installed on this machine and the same behaviour was there too. =E2=80=8Bdiff for the dsl: > =E2=80=8Bdiff original. > =E2=80=8Bd > sl changed. > =E2=80=8Bd > sl > 360c360 > < 0x06BFFFFF, // Length > --- > > 0x06C00000, // Length > 3277c3277 > < OperationRegion (SMB1, SystemIO, 0x2000, 0x17) > --- > > OperationRegion (SMB1, SystemIO, 0x3000, 0x17) I can not be 100% sure, but two days uptime and it's working fine so far.= =E2=80=8B =E2=80=8BUsed the info from here =E2=80=8B, it worked for them too. I'll drop a note here if the bug would return. --=20 *Sincerely yours,* *Evgeny Petrov*