From owner-freebsd-acpi@FreeBSD.ORG Sun Jan 29 08:21:01 2012 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 893161065670; Sun, 29 Jan 2012 08:21:01 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5D9418FC0C; Sun, 29 Jan 2012 08:21:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0T8L1GE058945; Sun, 29 Jan 2012 08:21:01 GMT (envelope-from miwi@freefall.freebsd.org) Received: (from miwi@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0T8L1qm058935; Sun, 29 Jan 2012 08:21:01 GMT (envelope-from miwi) Date: Sun, 29 Jan 2012 08:21:01 GMT Message-Id: <201201290821.q0T8L1qm058935@freefall.freebsd.org> To: miwi@FreeBSD.org, freebsd-acpi@FreeBSD.org, miwi@FreeBSD.org From: miwi@FreeBSD.org Cc: Subject: Re: kern/164538: [acpi_ibm] [patch] add support for newer Lenovo ThinkPads to acpi_ibm 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: Sun, 29 Jan 2012 08:21:01 -0000 Synopsis: [acpi_ibm] [patch] add support for newer Lenovo ThinkPads to acpi_ibm Responsible-Changed-From-To: freebsd-acpi->miwi Responsible-Changed-By: miwi Responsible-Changed-When: Sun Jan 29 08:21:00 UTC 2012 Responsible-Changed-Why: take for testing. http://www.freebsd.org/cgi/query-pr.cgi?pr=164538 From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 30 11:07:25 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 6DE541065672 for ; Mon, 30 Jan 2012 11:07:25 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5AAB38FC15 for ; Mon, 30 Jan 2012 11:07:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0UB7Pu6005316 for ; Mon, 30 Jan 2012 11:07:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0UB7Ol4005314 for freebsd-acpi@FreeBSD.org; Mon, 30 Jan 2012 11:07:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Jan 2012 11:07:24 GMT Message-Id: <201201301107.q0UB7Ol4005314@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 11:07:25 -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/164329 acpi [acpi] hw.acpi.thermal.tz0.temperature shows strange v o kern/163268 acpi [acpi_hp] 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 f i386/144045 acpi [acpi] [panic] kernel trap with acpi enabled o i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/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, f kern/137053 acpi [hang] FreeBSD 8.0 BETA2Compaq Mini 700 locks on boot o kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o bin/135349 acpi [patch] teach acpidump(8) to disassemble arbitrary mem o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not f kern/130683 acpi [ACPI] shutdown hangs after syncing disks - ACPI race? f i386/129953 acpi [acpi] ACPI timeout (CDROM) with Shuttle X27D p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot a i386/122887 acpi [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H f kern/115947 acpi [hang] Dell poweredge 860 hangs when stressed and ACPI f i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f f kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 f kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/91594 acpi [acpi] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/ f i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/73823 acpi [request] acpi / power-on by timer support o kern/56024 acpi ACPI suspend drains battery while in S3 f i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 42 problems total. 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. From owner-freebsd-acpi@FreeBSD.ORG Thu Feb 2 14:41:52 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 59DF01065672; Thu, 2 Feb 2012 14:41:52 +0000 (UTC) (envelope-from MFischer@reitzner.de) Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:32:0:1:25:1]) by mx1.freebsd.org (Postfix) with ESMTP id AD2088FC0C; Thu, 2 Feb 2012 14:41:51 +0000 (UTC) Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id EC80C18000C3; Thu, 2 Feb 2012 15:41:49 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 0D8F91C00145; Thu, 2 Feb 2012 15:41:50 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id pbt20MqmkTZP; Thu, 2 Feb 2012 15:41:49 +0100 (CET) Received: from EX02.reitzner.local (ppp-93-104-163-75.dynamic.mnet-online.de [93.104.163.75]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 2 Feb 2012 15:41:49 +0100 (CET) Received: from EX02.reitzner.local ([fe80::3c40:2523:615c:77be]) by EX02.reitzner.local ([fe80::3c40:2523:615c:77be%14]) with mapi id 14.02.0247.003; Thu, 2 Feb 2012 15:41:48 +0100 From: Fischer Markus To: "freebsd-acpi@FreeBSD.org" Thread-Topic: Problem with ACPI / reboot: Black Screen? Thread-Index: AczhuMqZZ/If458/Rr+I5PkkFVMNvQ== Date: Thu, 2 Feb 2012 14:41:47 +0000 Message-ID: <35CFCFC220BF044DA8BFCE7FC11853D7033B49@EX02.reitzner.local> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [88.128.222.123] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-current@freebsd.org" Subject: Problem with ACPI / reboot: Black Screen? 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 14:41:52 -0000 Hello Guys, Tank you for fast andere. I habe Check The command: 'shutdown -r now' and 'init 6' The Same Problem! Can anyone help me? Thanks? by Markus Fischer Germany From owner-freebsd-acpi@FreeBSD.ORG Fri Feb 3 12:47:10 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 6CF72106566B for ; Fri, 3 Feb 2012 12:47:10 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 40E7E8FC15 for ; Fri, 3 Feb 2012 12:47:10 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id EDF8146B3B; Fri, 3 Feb 2012 07:47:09 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 77CC0B968; Fri, 3 Feb 2012 07:47:09 -0500 (EST) From: John Baldwin To: freebsd-acpi@freebsd.org Date: Fri, 3 Feb 2012 07:42:58 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202030742.58303.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 03 Feb 2012 07:47:09 -0500 (EST) Cc: Subject: Re: 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: Fri, 03 Feb 2012 12:47:10 -0000 On Thursday, February 02, 2012 5:23:25 am Jakob Pedersen wrote: > 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: It's not trivial to fix this warning, but I also strongly doubt it will do anything to help your wifi card. If your wifi card works at all (gets interrupts, etc.), then worrying about ALKD is just a red herring. You might ask on mobile@FreeBSD.org about debugging your wifi issues. As far as suspend and resume, resume is not very easy to debug when it doesn't work. Does your screen come back at all if you resume or does it just stay black? -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Fri Feb 3 16:18:59 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 28F36106564A for ; Fri, 3 Feb 2012 16:18:59 +0000 (UTC) (envelope-from jakobp78@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 873388FC0A for ; Fri, 3 Feb 2012 16:18:58 +0000 (UTC) Received: by werm13 with SMTP id m13so4471607wer.13 for ; Fri, 03 Feb 2012 08:18:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:subject:to:reply-to:mime-version:x-priority :content-type:content-transfer-encoding; bh=fWo5vpC08L0Of/q0PLq1keD3dYe/9OxukSJhIIRPKPM=; b=Zqbw0ctJQzA/S/s9oxwxpR+J5eFtk0qcpCeej7qPnWSHBBRAt29P1nmLA0+nt/MlV2 yTxm4Jg5FwpfuKgMgDtcjzoKa+4Hbo1to5Rq/y+RyUy1JJAwBoNO74fcg7NUJXsRyp6k nf5fUelztRRXFRpXVGALAWZU6ge3zQYmaTuPQ= Received: by 10.180.81.66 with SMTP id y2mr12449706wix.20.1328285937472; Fri, 03 Feb 2012 08:18:57 -0800 (PST) Received: from lhrnms-0125-fe.pr.nmsg.s.nokia.com (em1x-90.lhr.messaging.nokia.com. [131.228.18.90]) by mx.google.com with ESMTPS id n5sm18793403wiw.7.2012.02.03.08.18.55 (version=SSLv3 cipher=OTHER); Fri, 03 Feb 2012 08:18:56 -0800 (PST) Message-ID: <4f2c08f0.e54cb40a.5700.ffff860c@mx.google.com> Date: Fri, 03 Feb 2012 16:18:22 +0000 From: "jakobp78@gmail.com" To: "freebsd-acpi@freebsd.org" , "John Baldwin" MIME-Version: 1.0 X-Priority: 3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: Subject: RE: ACPI error caused by broken asl, how to fix? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jakobp78@gmail.com List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2012 16:18:59 -0000 Hi John, Thank you for your reply. The more I look the less confident I am that = this will in fact fix my wifi, but if it does it is just an added bonus= . I will submit a separate report to mobile@freebsd and focus on suspen= d/resume issues in this thread or at least a cleaner dmesg. The laptop suspends, but screen remains black and I need to hold down t= he power button to cut power. When restarting it just does a normal boo= t, suggesting unclean shutdown.=20 -----Original Message----- From: John Baldwin Sent: 03/02/2012 2:42:58 pm To: freebsd-acpi@freebsd.org Cc: Jakob Pedersen Subject: Re: ACPI error caused by broken asl, how to fix? On Thursday, February 02, 2012 5:23:25 am Jakob Pedersen wrote: > Hello there, >=20 > I am running PCBSD 9.0 on a Packard Bell R1926 and having the followi= ng > problems: >=20 > - 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 sug= gest a > general problem with wifi is caused by acpi problems (under linux eit= her > 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 >=20 > For trouble shooting I extracted the ASL of the bios and recompiled i= t > using iasl. This gave the following error: >=20 > -------- > Intel ACPI Component Architecture > ASL Optimizing Compiler version 20110527-32 > Copyright (c) 2000 - 2011 Intel Corporation >=20 > packardbell-r1926.asl 3565: Return (0x00) > Error 4080 - Invalid object type for reserved name ^ (foun= d > INTEGER, requires Buffer) >=20 > ASL Input: packardbell-r1936.asl - 3577 lines, 109288 bytes, 1236 ke= ywords > Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 572 Optimizati= ons > -------- > The ASL can be found here: > http://dl.dropbox.com/u/7820484/packardbell-r1926.asl >=20 > I had a look at the ASL code and it appears to cause problems in ALKD= as > mentioned in the dmesg: It's not trivial to fix this warning, but I also strongly doubt it will do anything to help your wifi card. If your wifi card works at all (ge= ts interrupts, etc.), then worrying about ALKD is just a red herring. You might ask on mobile@FreeBSD.org about debugging your wifi issues. As far as suspend and resume, resume is not very easy to debug when it doesn't work. Does your screen come back at all if you resume or does = it just stay black? --=20 John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Fri Feb 3 17:08:53 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 0BB6A1065670 for ; Fri, 3 Feb 2012 17:08:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id B93F78FC14 for ; Fri, 3 Feb 2012 17:08:52 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 408E746B3C; Fri, 3 Feb 2012 12:08:52 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C4193B95D; Fri, 3 Feb 2012 12:08:51 -0500 (EST) From: John Baldwin To: jakobp78@gmail.com Date: Fri, 3 Feb 2012 12:08:50 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <4f2c08f0.e54cb40a.5700.ffff860c@mx.google.com> In-Reply-To: <4f2c08f0.e54cb40a.5700.ffff860c@mx.google.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201202031208.50621.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 03 Feb 2012 12:08:51 -0500 (EST) Cc: "freebsd-acpi@freebsd.org" Subject: Re: 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: Fri, 03 Feb 2012 17:08:53 -0000 On Friday, February 03, 2012 11:18:22 am jakobp78@gmail.com wrote: > Hi John, > > Thank you for your reply. The more I look the less confident I am that this will in fact fix my wifi, but if it does it is just an added bonus. I will submit a separate report to mobile@freebsd and focus on suspend/resume issues in this thread or at least a cleaner dmesg. > > The laptop suspends, but screen remains black and I need to hold down the power button to cut power. When restarting it just does a normal boot, suggesting unclean shutdown. Ugh, that makes it a good bit harder to debug. You can try removing as many drivers from your kernel as you can while still having a functional system (so no networking, etc.). Then see if that can resume in single user. If it does, then you can start adding back in drivers to narrow down one that causes the hang. You can also try setting the 'hw.acpi.reset_video' sysctl to see if that helps your screen come back on during resume. > -----Original Message----- > From: John Baldwin > Sent: 03/02/2012 2:42:58 pm > To: freebsd-acpi@freebsd.org > Cc: Jakob Pedersen > Subject: Re: ACPI error caused by broken asl, how to fix? > > On Thursday, February 02, 2012 5:23:25 am Jakob Pedersen wrote: > > 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: > > It's not trivial to fix this warning, but I also strongly doubt it will > do anything to help your wifi card. If your wifi card works at all (gets > interrupts, etc.), then worrying about ALKD is just a red herring. You > might ask on mobile@FreeBSD.org about debugging your wifi issues. > > As far as suspend and resume, resume is not very easy to debug when it > doesn't work. Does your screen come back at all if you resume or does it > just stay black? > > -- > John Baldwin > > -- John Baldwin