From owner-freebsd-acpi@FreeBSD.ORG Thu Feb 2 10:46:18 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C0DD106566B for ; Thu, 2 Feb 2012 10:46:18 +0000 (UTC) (envelope-from jakobp78@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D89948FC0C for ; Thu, 2 Feb 2012 10:46:17 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so3820430obc.13 for ; Thu, 02 Feb 2012 02:46:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=wcLCIKRxJ3fbCxlBez3voDgC4/EiDiDQtg8PMU3Z5MM=; b=pY7+kdY0vbFdjdCMaOLvc708/IZxoDDdpYFItsrPQkKEoyDAS6D86tXxGXSSl3lMMV Ai6PnGQdgCO6NeAapGNytcQw15QoOpNVImrR4qsO20vedyxj4uhJTUZgVovQ1TjSNzdU 2Xz9P5GgVs8yMHI2tqjpT9KWaQgelZDzOmWUY= MIME-Version: 1.0 Received: by 10.182.15.105 with SMTP id w9mr2080542obc.18.1328178205168; Thu, 02 Feb 2012 02:23:25 -0800 (PST) Received: by 10.182.226.69 with HTTP; Thu, 2 Feb 2012 02:23:25 -0800 (PST) Date: Thu, 2 Feb 2012 11:23:25 +0100 Message-ID: From: Jakob Pedersen To: freebsd-acpi@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: ACPI error caused by broken asl, how to fix? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 10:46:18 -0000 Hello there, I am running PCBSD 9.0 on a Packard Bell R1926 and having the following problems: - Suspend resume does put the machine asleep, but it doesn't resume. - I am having strange issues with my wifi card, which disconnects if more than 2 metres away from the router. Several linux distros seem to suggest a general problem with wifi is caused by acpi problems (under linux either WiFi works OR USB). My wifi card is RALINK rc61/R2561s using the ral0 driver. Full specs of the laptop can be found here: http://dl.dropbox.com/u/7820484/PackardBell-R1926-bios-info.txt For trouble shooting I extracted the ASL of the bios and recompiled it using iasl. This gave the following error: -------- Intel ACPI Component Architecture ASL Optimizing Compiler version 20110527-32 Copyright (c) 2000 - 2011 Intel Corporation packardbell-r1926.asl 3565: Return (0x00) Error 4080 - Invalid object type for reserved name ^ (found INTEGER, requires Buffer) ASL Input: packardbell-r1936.asl - 3577 lines, 109288 bytes, 1236 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 572 Optimizations -------- The ASL can be found here: http://dl.dropbox.com/u/7820484/packardbell-r1926.asl I had a look at the ASL code and it appears to cause problems in ALKD as mentioned in the dmesg: ----------------- I am only pasting the ACPI specific errors; the full dmesg can be found here: http://dl.dropbox.com/u/7820484/dmesg_packardBell-R1926.txt real memory = 536870912 (512 MB) avail memory = 435400704 (415 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) can't fetch resources for \\_SB_.PCI0.ALKD - AE_AML_INVALID_RESOURCE_TYPE ACPI Error: No handler for Region [RAM_] (0xc4aab980) [EmbeddedControl] (20110527/evregion-421) ACPI Error: Region EmbeddedControl (ID=3) has no handler (20110527/exfldio-310) ACPI Error: Method parse/execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0), AE_NOT_EXIST (20110527/psparse-560) ACPI Error: Method execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0), AE_NOT_EXIST (20110527/uteval-113) ACPI Error: No handler for Region [RAM_] (0xc4aab980) [EmbeddedControl] (20110527/evregion-421) ACPI Error: Region EmbeddedControl (ID=3) has no handler (20110527/exfldio-310) ACPI Error: Method parse/execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0), AE_NOT_EXIST (20110527/psparse-560) ACPI Error: Method execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0), AE_NOT_EXIST (20110527/uteval-113) ACPI Error: No handler for Region [RAM_] (0xc4aab980) [EmbeddedControl] (20110527/evregion-421) ACPI Error: Region EmbeddedControl (ID=3) has no handler (20110527/exfldio-310) ACPI Error: Method parse/execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0), AE_NOT_EXIST (20110527/psparse-560) ACPI Error: Method execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0), AE_NOT_EXIST (20110527/uteval-113) ACPI Error: No handler for Region [RAM_] (0xc4aab980) [EmbeddedControl] (20110527/evregion-421) ACPI Error: Region EmbeddedControl (ID=3) has no handler (20110527/exfldio-310) ACPI Error: Method parse/execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0), AE_NOT_EXIST (20110527/psparse-560) ACPI Error: Method execution failed [\\_SB_.BAT0._STA] (Node 0xc4aa8cc0), AE_NOT_EXIST (20110527/uteval-113) Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pci_link11: Warning: possible resource 1 will be lost during _SRS acpi_lid0: on acpi0 battery0: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff iomem 0xfff80000-0xffffffff on acpi0 pci0: on pcib0 agp0: on hostb0 agp0: aperture size is 32M pcib1: at device 1.0 on pci0 pci1: on pcib1 ----------- I am quite new to all of this and I hope for assistance in fixing the error in the asl, mentioned by iasl, as it seems to be that causing the problem. This though goes way beyond my abilities. I hope I have provided sufficient information.