From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 04:22:16 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3262D16A4CE; Mon, 27 Dec 2004 04:22:16 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93ED143D54; Mon, 27 Dec 2004 04:22:15 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-95.dsl.snfc21.pacbell.net [64.171.186.95])iBR4MCEC016631; Sun, 26 Dec 2004 23:22:12 -0500 Message-ID: <41CF8D30.7020004@root.org> Date: Sun, 26 Dec 2004 20:18:56 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nikolas Britton References: <41C81621.50906@nbritton.org> <20041221144829.GA5859@laverenz.de> <41C9D389.9030602@nbritton.org> In-Reply-To: <41C9D389.9030602@nbritton.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: freebsd-questions@freebsd.org cc: Uwe Laverenz Subject: Re: Armada 17xx, ACPI thermal management broken. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 04:22:16 -0000 Nikolas Britton wrote: > Uwe Laverenz wrote: >> On Tue, Dec 21, 2004 at 06:25:05AM -0600, Nikolas Britton wrote: >>> Any help would be appreciated on ether fixing this problem or a way >>> to use ACPI but disable the thermal monitoring so the system can >>> control the fan? >>> Try this in /boot/loader.conf: hint.acpi.disabled="thermal" >> I might be wrong, but I think on the 1750 you should use APM instead of >> ACPI. I had a 1750 running with FreeBSD 4.x and APM and it worked very >> well. > > How?, I added it to my kernel "device apm", "device pmtimer", and > "device amp_saver" and rebuilt it and in rc.conf I added > apm_enable="YES", apmd_enable="YES" and I greped though > default/loader.conf for anything but found nothing, after rebooting the > only thing I get from dmesg is "WARNING: apm_saver module requires apm > enabled" and when I type in apm I get "apm: can't open /dev/apm: No such > file or directory", type in zzz and I get "apm: can't open /dev/apm: No > such file or directory" You need to also disable ACPI. After doing that, does it work? > I want ACPI!, APM is a last ditch hack to me, the name says it all > "Advanced Configuration and Power Interface" there is a reason they > switched to it. The 440BX chipset has full support for ACPI and > therefore should work with FreeBSD and is a critical problem, what do > you think might happen if you disable all your fans on your computer???. > Please note that I'm not trying to diss FreeBSD in anyway for it being > broken as I understand the issues with the DSDT, AML, and ASL stuff, I > just want it to work. APM is not a "last ditch hack." Many PCs, especially from the same era as yours (98-01) have perfect APM support and lousy ACPI support due to the tools and testing just getting up to speed back then. Until recently, Linux declined to support ACPI on systems older than 2001. The chipset may support ACPI but the AML supplied by the OEM is what is the issue here. Post a URL where I can download the AML: acpidump -t -d > hp_armada_1750.asl -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 04:36:31 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1C0816A4CE; Mon, 27 Dec 2004 04:36:31 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CDDF43D3F; Mon, 27 Dec 2004 04:36:31 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-95.dsl.snfc21.pacbell.net [64.171.186.95])iBR4aSEC027028; Sun, 26 Dec 2004 23:36:28 -0500 Message-ID: <41CF9088.70900@root.org> Date: Sun, 26 Dec 2004 20:33:12 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nikolas Britton References: <41C81621.50906@nbritton.org> <20041221144829.GA5859@laverenz.de> <41C9D389.9030602@nbritton.org> <20041223055516.GF795@brianna.laverenz.de> <41CA8B3A.2060803@nbritton.org> In-Reply-To: <41CA8B3A.2060803@nbritton.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: freebsd-questions@freebsd.org cc: Uwe Laverenz Subject: Re: Armada 17xx, ACPI thermal management broken. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 04:36:32 -0000 Nikolas Britton wrote: > When I try it with Linux it worked, in fact, here is a patch for kernel > 2.6.7: > https://kilobyte.dyndns.info/linux/armada_1700_dsdt_linux-2.6.7.diff.bz2 > > "Compaq Armada 1700/1750 ACPI/Sound/PM/i2c kernel patch: > This patch(2.6.7) fixes the DSDT (broken aml) at bootup (Fan Control > works now, changed TZ trip points) and fixes the temperature problem. It > also forces the i2c-bus to be enabled at startup and modifies the > initial values mpu_io, io, irq, dma and dma16 of the soundcard, > therefore there is no need to append them to kernel cmdline anymore (if > you want to use oss). > > Note: > The fix is nonpersistent. " > > So as you see there is already a DSDT/AML/ASL/Whatever fix for it, It > just needs to be ported to BSD. AML is OS-independent. It's supplied by the BIOS. Unfortunately, the 'fixed' AML you've found is in binary form. > Is there a way I can just disable the ACPI thermal management, then I > could use ACPI until someone with more clout and programming know how > decides to fix it? Yes, see previously-mentioned hint in loader.conf. It may not help though since once ACPI is active, the BIOS often expects the OS to manage everything so this may just disable your fans. Be careful. > + * Intel ACPI Component Architecture > + * ASL Optimizing Compiler / AML Disassembler version 20030522 [May 23 2003] > + * Copyright (C) 2000 - 2003 Intel Corporation > + * Supports ACPI Specification Revision 2.0b > + * > + * Compilation of "dsdt.asl" - Thu Mar 11 13:09:58 2004 > + * > + * C source code output > + * > + */ Can you get the author of this patch to send you the raw "dsdt.asl", instead of the compiled version? If so, send it to me so I can diff against the one I asked you to dump and post. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 04:54:49 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D210C16A4CE; Mon, 27 Dec 2004 04:54:49 +0000 (GMT) Received: from sccimhc91.asp.att.net (sccimhc91.asp.att.net [63.240.76.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D23A43D39; Mon, 27 Dec 2004 04:54:49 +0000 (GMT) (envelope-from freebsd@nbritton.org) Received: from [192.168.1.10] (12-223-129-46.client.insightbb.com[12.223.129.46]) by sccimhc91.asp.att.net (sccimhc91) with ESMTP id <20041227045448i9100rft9oe>; Mon, 27 Dec 2004 04:54:48 +0000 Message-ID: <41CF9595.9050604@nbritton.org> Date: Sun, 26 Dec 2004 22:54:45 -0600 From: Nikolas Britton User-Agent: Mozilla Thunderbird 1.0 (X11/20041219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <41C81621.50906@nbritton.org> <20041221144829.GA5859@laverenz.de> <41C9D389.9030602@nbritton.org> <20041223055516.GF795@brianna.laverenz.de> <41CA8B3A.2060803@nbritton.org> <41CF9088.70900@root.org> In-Reply-To: <41CF9088.70900@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: freebsd-questions@freebsd.org cc: Uwe Laverenz Subject: Re: Armada 17xx, ACPI thermal management broken. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 04:54:50 -0000 Nate Lawson wrote: > Nikolas Britton wrote: > >> When I try it with Linux it worked, in fact, here is a patch for >> kernel 2.6.7: >> https://kilobyte.dyndns.info/linux/armada_1700_dsdt_linux-2.6.7.diff.bz2 >> >> "Compaq Armada 1700/1750 ACPI/Sound/PM/i2c kernel patch: >> This patch(2.6.7) fixes the DSDT (broken aml) at bootup (Fan Control >> works now, changed TZ trip points) and fixes the temperature problem. >> It also forces the i2c-bus to be enabled at startup and modifies the >> initial values mpu_io, io, irq, dma and dma16 of the soundcard, >> therefore there is no need to append them to kernel cmdline anymore >> (if you want to use oss). >> >> Note: >> The fix is nonpersistent. " >> >> So as you see there is already a DSDT/AML/ASL/Whatever fix for it, It >> just needs to be ported to BSD. > > > AML is OS-independent. It's supplied by the BIOS. Unfortunately, the > 'fixed' AML you've found is in binary form. > >> Is there a way I can just disable the ACPI thermal management, then I >> could use ACPI until someone with more clout and programming know how >> decides to fix it? > > > Yes, see previously-mentioned hint in loader.conf. It may not help > though since once ACPI is active, the BIOS often expects the OS to > manage everything so this may just disable your fans. Be careful. > >> + * Intel ACPI Component Architecture >> + * ASL Optimizing Compiler / AML Disassembler version 20030522 [May >> 23 2003] >> + * Copyright (C) 2000 - 2003 Intel Corporation >> + * Supports ACPI Specification Revision 2.0b >> + * + * Compilation of "dsdt.asl" - Thu Mar 11 13:09:58 2004 >> + * + * C source code output >> + * >> + */ > > > Can you get the author of this patch to send you the raw "dsdt.asl", > instead of the compiled version? If so, send it to me so I can diff > against the one I asked you to dump and post. > Thank you for responding, here is a copy of my asl (Compaq Armada 1750, 6366/T14/6400/D/M/1): http://www.nbritton.org/uploads/compaq/armada_17xx.asl I will email him and see what I/he can do, Thanks From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 05:20:08 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE6BF16A4CE for ; Mon, 27 Dec 2004 05:20:08 +0000 (GMT) Received: from mail.revolutionsp.com (ganymede.revolutionsp.com [64.246.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3563143D2F for ; Mon, 27 Dec 2004 05:20:08 +0000 (GMT) (envelope-from security@revolutionsp.com) Received: from mail.revolutionsp.com (localhost [127.0.0.1]) by mail.revolutionsp.com (Postfix) with ESMTP id F385915CA7 for ; Sun, 26 Dec 2004 20:15:26 -0600 (CST) Received: from 81.84.175.77 (SquirrelMail authenticated user security@revolutionsp.com); by mail.revolutionsp.com with HTTP; Sun, 26 Dec 2004 20:15:27 -0600 (CST) Message-ID: <51608.81.84.175.77.1104113727.squirrel@81.84.175.77> Date: Sun, 26 Dec 2004 20:15:27 -0600 (CST) From: security@revolutionsp.com To: freebsd-acpi@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: ACPI broken on Acer TravelMate 4200WLMi - call for help X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 05:20:08 -0000 Hey list, I'm writing to report a but with FreeBSD's ACPI implementation. Recently, I've acquired an Acer TravelMate 4200WLMi laptop, on which I've installed FreeBSD 5.3-RELEASE. I've been struggling with a problem for two days, and can't seem to get past it. I've been a FreeBSD user for many years now, so I've done everything I could remember of. But, as I'm new to FreeBSD on laptops, I thought I could have missed something. I no longer think I've missed a step, as I've tried pretty much everything I know of. The problem is the following: I can't get FreeBSD's ACPI implementation to show my battery status! This implies I don't have any power management functions available. I know ACPI works because the laptop shipped with windows. While I promptly sent it away, before doing so, I installed a game (Wolfenstein: Enemy Territory) to see 3D performance. The battery icon on windows XP was showing correct battery info. Here is what I get with FreeBSD: # apm APM version: 1.2 APM Management: Enabled AC Line status: unknown Battery Status: charging Remaining battery life: invalid value (0xffffffff) Remaining battery time: unknown Number of batteries: 0 Resume timer: unknown Resume on ring indicator: disabled Weird. It says it's charging, at this very moment it isn't. # acpiconf -i0 acpiconf: get battery info (0) failed: Device not configured No battery detected! (this is my problem) I know ACPI is enabled: # kldstat Id Refs Address Size Name 1 12 0xc0400000 57c80c kernel 2 14 0xc097d000 537f0 acpi.ko 3 1 0xc1f04000 17000 linux.ko 4 1 0xc1f58000 9000 if_iwi.ko 5 1 0xc1fb7000 5000 snd_ich.ko 6 1 0xc1fbc000 18000 sound.ko And I have correct /boot/device.hints entries: # head /boot/device.hints # $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.13 2004/04/01 21:48:31 alfred Exp $ hint.apm.0.disabled="1" hint.acpi.0.disabled="0" hint.apm.0.flags="0x20" The system is a 5.3-RELEASE with a custom kernel: # uname -a FreeBSD porntatil.bsdlan.org 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Sun Dec 26 07:50:44 WET 2004 hugo@porntatil.bsdlan.org:/usr/src/sys/i386/compile/laptop-kernel i386 At this moment, kernel had neither acpi nor apm compiled in. I've tried acpi+apm, apm only, acpi only, but then I read somewhere it would be easier to have acpi as a module for testing purposes. The kernel does not have apm or acpi compiled in, at this moment. Suspending also screws up, but this might be related to the batteries not showing up. Sending it to sleep with acpiconf -s will blank the screen, but when I wake it up, the screen remains black. Here is sysctl -a hw.acpi. hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 1 hw.acpi.reset_video: 1 hw.acpi.cpu.throttle_max: 8 hw.acpi.cpu.throttle_state: 1 hw.acpi.cpu.cx_supported: C1/0 C2/1 C3/85 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% 0.00% 0.00% hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 3252 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3652 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3732 hw.acpi.thermal.tz0._ACx: 3462 3392 -1 -1 -1 -1 -1 -1 -1 -1 My ASL is here: http://www.revolutionsp.com/hugo-AcerTravelMate4200WLMi.asl And a dmesg -v at: http://www.revolutionsp.com/dmesg-verbose (I'll be uploading within the next 10 minutes) As a last note, there is a new BIOS version available for my system, but I'd prefer not to flash as I've had bad experiences doing this. Also, their utility is for windows only, and FreeBSD is the only soul alive here :-) Anything I can test to make this work I will.. please, do report back Thanks for reading so far! Regards, Hugo From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 05:26:48 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E56A16A4CE for ; Mon, 27 Dec 2004 05:26:48 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF73C43D2F for ; Mon, 27 Dec 2004 05:26:47 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-95.dsl.snfc21.pacbell.net [64.171.186.95])iBR5QiEC030338; Mon, 27 Dec 2004 00:26:45 -0500 Message-ID: <41CF9C50.2020504@root.org> Date: Sun, 26 Dec 2004 21:23:28 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: security@revolutionsp.com References: <51608.81.84.175.77.1104113727.squirrel@81.84.175.77> In-Reply-To: <51608.81.84.175.77.1104113727.squirrel@81.84.175.77> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: ACPI broken on Acer TravelMate 4200WLMi - call for help X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 05:26:48 -0000 security@revolutionsp.com wrote: > Hey list, > > I'm writing to report a but with FreeBSD's ACPI implementation. Recently, > I've acquired an Acer TravelMate 4200WLMi laptop, on which I've installed > FreeBSD 5.3-RELEASE. > > I've been struggling with a problem for two days, and can't seem to get > past it. > > I've been a FreeBSD user for many years now, so I've done everything I > could remember of. But, as I'm new to FreeBSD on laptops, I thought I > could have missed something. I no longer think I've missed a step, as I've > tried pretty much everything I know of. > > The problem is the following: I can't get FreeBSD's ACPI implementation to > show my battery status! This implies I don't have any power management > functions available. > > I know ACPI works because the laptop shipped with windows. While I > promptly sent it away, before doing so, I installed a game (Wolfenstein: > Enemy Territory) to see 3D performance. The battery icon on windows XP was > showing correct battery info. Sorry, this is a lack of support problem. Modern ACER laptops have a different kind of battery system (called "smart battery" in the ACPI spec) that is accessed via SMbus. Both FreeBSD and Linux do not support this yet. I'd be happy if someone picked up the task of implementing it. It's pretty big but is already recorded on the ACPI web page: http://www.freebsd.org/projects/acpi/ You can use apm for now. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 06:08:45 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1997216A4CE; Mon, 27 Dec 2004 06:08:45 +0000 (GMT) Received: from sccimhc91.asp.att.net (sccimhc91.asp.att.net [63.240.76.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8DFB43D31; Mon, 27 Dec 2004 06:08:44 +0000 (GMT) (envelope-from freebsd@nbritton.org) Received: from [192.168.1.10] (12-223-129-46.client.insightbb.com[12.223.129.46]) by sccimhc91.asp.att.net (sccimhc91) with ESMTP id <20041227060843i9100rfn71e>; Mon, 27 Dec 2004 06:08:44 +0000 Message-ID: <41CFA6E8.3050502@nbritton.org> Date: Mon, 27 Dec 2004 00:08:40 -0600 From: Nikolas Britton User-Agent: Mozilla Thunderbird 1.0 (X11/20041219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nikolas Britton References: <41C81621.50906@nbritton.org> <20041221144829.GA5859@laverenz.de> <41C9D389.9030602@nbritton.org> <20041223055516.GF795@brianna.laverenz.de> <41CA8B3A.2060803@nbritton.org> <41CF9088.70900@root.org> <41CF9595.9050604@nbritton.org> In-Reply-To: <41CF9595.9050604@nbritton.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: freebsd-questions@freebsd.org cc: Uwe Laverenz Subject: Re: Armada 17xx, ACPI thermal management broken. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 06:08:45 -0000 Nikolas Britton wrote: > Nate Lawson wrote: > >> >> >> Can you get the author of this patch to send you the raw "dsdt.asl", >> instead of the compiled version? If so, send it to me so I can diff >> against the one I asked you to dump and post. >> > Thank you for responding, here is a copy of my asl (Compaq Armada > 1750, 6366/T14/6400/D/M/1): > http://www.nbritton.org/uploads/compaq/armada_17xx.asl > > I will email him and see what I/he can do, > Thanks > I can't find his name or email address anywhere BUT I think I can do one better then that. Here are two ASL's that where uploaded to the ACPI4Linux project: http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1750/Compaq-Armada_1750-686EM_99.1130_A-custom.asl.gz http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1700_1750_3500/Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl.gz http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1700_1750_3500/Compaq-Armada_1700_1750_3500-686EM_99.1130_A-original.asl.gz Again, here is a copy of my asl dump: http://www.nbritton.org/uploads/compaq/armada_17xx.asl From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 06:24:04 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CB9216A4CE; Mon, 27 Dec 2004 06:24:04 +0000 (GMT) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0425A43D1D; Mon, 27 Dec 2004 06:24:04 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-95.dsl.snfc21.pacbell.net [64.171.186.95])iBR6OAK4019227; Mon, 27 Dec 2004 01:24:10 -0500 Message-ID: <41CFA9BB.2020603@root.org> Date: Sun, 26 Dec 2004 22:20:43 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nikolas Britton References: <41C81621.50906@nbritton.org> <20041221144829.GA5859@laverenz.de> <41C9D389.9030602@nbritton.org> <20041223055516.GF795@brianna.laverenz.de> <41CA8B3A.2060803@nbritton.org> <41CF9088.70900@root.org> <41CF9595.9050604@nbritton.org> <41CFA6E8.3050502@nbritton.org> In-Reply-To: <41CFA6E8.3050502@nbritton.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: freebsd-questions@freebsd.org cc: Uwe Laverenz Subject: Re: Armada 17xx, ACPI thermal management broken. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 06:24:04 -0000 Nikolas Britton wrote: > I can't find his name or email address anywhere BUT I think I can do one > better then that. Here are two ASL's that where uploaded to the > ACPI4Linux project: > > http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1750/Compaq-Armada_1750-686EM_99.1130_A-custom.asl.gz > > http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1700_1750_3500/Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl.gz > > http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1700_1750_3500/Compaq-Armada_1700_1750_3500-686EM_99.1130_A-original.asl.gz > > Again, here is a copy of my asl dump: > http://www.nbritton.org/uploads/compaq/armada_17xx.asl I've attached the diff between the two versions for history. But all you have to do is download the patched ASL ("Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl") and compile/override it. See the handbook or "man acpi" for steps, but the short of it is: iasl Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl cp DSDT.aml /boot And add to /boot/loader.conf: acpi_dsdt_load="YES" acpi_dsdt_name="/boot/DSDT.aml" This will load your custom AML at boot time. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 06:25:19 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEF2016A4CE; Mon, 27 Dec 2004 06:25:19 +0000 (GMT) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69F2C43D55; Mon, 27 Dec 2004 06:25:19 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-95.dsl.snfc21.pacbell.net [64.171.186.95])iBR6PQK4019989; Mon, 27 Dec 2004 01:25:26 -0500 Message-ID: <41CFAA08.8020208@root.org> Date: Sun, 26 Dec 2004 22:22:00 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nikolas Britton References: <41C81621.50906@nbritton.org> <20041221144829.GA5859@laverenz.de> <41C9D389.9030602@nbritton.org> <20041223055516.GF795@brianna.laverenz.de> <41CA8B3A.2060803@nbritton.org> <41CF9088.70900@root.org> <41CF9595.9050604@nbritton.org> <41CFA6E8.3050502@nbritton.org> <41CFA9BB.2020603@root.org> In-Reply-To: <41CFA9BB.2020603@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Armada 17xx, ACPI thermal management broken. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 06:25:19 -0000 Nate Lawson wrote: > Nikolas Britton wrote: > >> I can't find his name or email address anywhere BUT I think I can do >> one better then that. Here are two ASL's that where uploaded to the >> ACPI4Linux project: >> >> http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1750/Compaq-Armada_1750-686EM_99.1130_A-custom.asl.gz >> >> http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1700_1750_3500/Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl.gz >> >> http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1700_1750_3500/Compaq-Armada_1700_1750_3500-686EM_99.1130_A-original.asl.gz >> >> Again, here is a copy of my asl dump: >> http://www.nbritton.org/uploads/compaq/armada_17xx.asl > > > I've attached the diff between the two versions for history. But all > you have to do is download the patched ASL > ("Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl") and > compile/override it. See the handbook or "man acpi" for steps, but the > short of it is: Oops, diff too big to attach. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 06:31:18 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5647A16A4CE for ; Mon, 27 Dec 2004 06:31:18 +0000 (GMT) Received: from mail.revolutionsp.com (ganymede.revolutionsp.com [64.246.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2837D43D2F for ; Mon, 27 Dec 2004 06:31:18 +0000 (GMT) (envelope-from security@revolutionsp.com) Received: from mail.revolutionsp.com (localhost [127.0.0.1]) by mail.revolutionsp.com (Postfix) with ESMTP id 12C5A15CA7 for ; Sun, 26 Dec 2004 21:26:37 -0600 (CST) Received: from 81.84.175.77 (SquirrelMail authenticated user security@revolutionsp.com); by mail.revolutionsp.com with HTTP; Sun, 26 Dec 2004 21:26:37 -0600 (CST) Message-ID: <51452.81.84.175.77.1104117997.squirrel@81.84.175.77> Date: Sun, 26 Dec 2004 21:26:37 -0600 (CST) From: security@revolutionsp.com To: freebsd-acpi@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: ACPI broken on Acer TravelMate 4200WLMi - call for help X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 06:31:18 -0000 APM doesn't work either :( I tried first with APM, there is no /dev/apmctl device and 'apm' shows the same output. The only thing I could achieve with APM instead of ACPI was having estctrl properly lowering/increasing my pentium-m clock speed according to the system load. I tried apm_enable and apmd_enable (which complains of no /dev/apmctl), same hints as I described in the last mail, except enabling apm and disabling ACPI, and I did compile APM in the kernel when I tried APM. Did I miss something in order to make APM work? It kinda sucks to run the laptop without the battery info, I've already let it run out of battery 2 times because I couldn't tell.. I can't be looking to the battery light (on the front) all the time :/ APM instead of ACPI for now would do just fine, but I can't seem to make it work either.. Do you have any suggestions I could use here ? btw, I don't know if this is a known bug, but with ACPI on, 'top' displays completely wrong values for CPU usage. I was compiling firefox, thunderbird and something else and it showed no more than 0.20% CPU as the most cpu-eater process. With ACPI turned off the values are correctly reported. If there is something I can do to help improving APM/ACPI on this laptop model, please contact me. Regards, Hugo > security@revolutionsp.com wrote: >> Hey list, >> >> I'm writing to report a but with FreeBSD's ACPI implementation. Recently, >> I've acquired an Acer TravelMate 4200WLMi laptop, on which I've installed >> FreeBSD 5.3-RELEASE. >> >> I've been struggling with a problem for two days, and can't seem to get past it. >> >> I've been a FreeBSD user for many years now, so I've done everything I could remember of. But, as I'm new to FreeBSD on laptops, I thought I could have missed something. I no longer think I've missed a step, as I've >> tried pretty much everything I know of. >> >> The problem is the following: I can't get FreeBSD's ACPI implementation to >> show my battery status! This implies I don't have any power management functions available. >> >> I know ACPI works because the laptop shipped with windows. While I promptly sent it away, before doing so, I installed a game (Wolfenstein: Enemy Territory) to see 3D performance. The battery icon on windows XP was >> showing correct battery info. > > Sorry, this is a lack of support problem. Modern ACER laptops have a different kind of battery system (called "smart battery" in the ACPI spec) that is accessed via SMbus. Both FreeBSD and Linux do not support this yet. > > I'd be happy if someone picked up the task of implementing it. It's pretty big but is already recorded on the ACPI web page: > > http://www.freebsd.org/projects/acpi/ > > You can use apm for now. > > -- > Nate > From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 06:31:20 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6864316A4CF for ; Mon, 27 Dec 2004 06:31:20 +0000 (GMT) Received: from mail.revolutionsp.com (ganymede.revolutionsp.com [64.246.0.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B1CB43D31 for ; Mon, 27 Dec 2004 06:31:20 +0000 (GMT) (envelope-from security@revolutionsp.com) Received: from mail.revolutionsp.com (localhost [127.0.0.1]) by mail.revolutionsp.com (Postfix) with ESMTP id 1FE8215CA7 for ; Sun, 26 Dec 2004 21:26:39 -0600 (CST) Received: from 81.84.175.77 (SquirrelMail authenticated user security@revolutionsp.com); by mail.revolutionsp.com with HTTP; Sun, 26 Dec 2004 21:26:39 -0600 (CST) Message-ID: <58962.81.84.175.77.1104117999.squirrel@81.84.175.77> Date: Sun, 26 Dec 2004 21:26:39 -0600 (CST) From: security@revolutionsp.com To: freebsd-acpi@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: ACPI broken on Acer TravelMate 4200WLMi - call for help X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 06:31:20 -0000 APM doesn't work either :( I tried first with APM, there is no /dev/apmctl device and 'apm' shows the same output. The only thing I could achieve with APM instead of ACPI was having estctrl properly lowering/increasing my pentium-m clock speed according to the system load. I tried apm_enable and apmd_enable (which complains of no /dev/apmctl), same hints as I described in the last mail, except enabling apm and disabling ACPI, and I did compile APM in the kernel when I tried APM. Did I miss something in order to make APM work? It kinda sucks to run the laptop without the battery info, I've already let it run out of battery 2 times because I couldn't tell.. I can't be looking to the battery light (on the front) all the time :/ APM instead of ACPI for now would do just fine, but I can't seem to make it work either.. Do you have any suggestions I could use here ? btw, I don't know if this is a known bug, but with ACPI on, 'top' displays completely wrong values for CPU usage. I was compiling firefox, thunderbird and something else and it showed no more than 0.20% CPU as the most cpu-eater process. With ACPI turned off the values are correctly reported. If there is something I can do to help improving APM/ACPI on this laptop model, please contact me. Regards, Hugo > security@revolutionsp.com wrote: >> Hey list, >> >> I'm writing to report a but with FreeBSD's ACPI implementation. Recently, >> I've acquired an Acer TravelMate 4200WLMi laptop, on which I've installed >> FreeBSD 5.3-RELEASE. >> >> I've been struggling with a problem for two days, and can't seem to get past it. >> >> I've been a FreeBSD user for many years now, so I've done everything I could remember of. But, as I'm new to FreeBSD on laptops, I thought I could have missed something. I no longer think I've missed a step, as I've >> tried pretty much everything I know of. >> >> The problem is the following: I can't get FreeBSD's ACPI implementation to >> show my battery status! This implies I don't have any power management functions available. >> >> I know ACPI works because the laptop shipped with windows. While I promptly sent it away, before doing so, I installed a game (Wolfenstein: Enemy Territory) to see 3D performance. The battery icon on windows XP was >> showing correct battery info. > > Sorry, this is a lack of support problem. Modern ACER laptops have a different kind of battery system (called "smart battery" in the ACPI spec) that is accessed via SMbus. Both FreeBSD and Linux do not support this yet. > > I'd be happy if someone picked up the task of implementing it. It's pretty big but is already recorded on the ACPI web page: > > http://www.freebsd.org/projects/acpi/ > > You can use apm for now. > > -- > Nate > From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 09:52:39 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56E6016A4CE; Mon, 27 Dec 2004 09:52:39 +0000 (GMT) Received: from sccimhc92.asp.att.net (sccimhc92.asp.att.net [63.240.76.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9E4B43D55; Mon, 27 Dec 2004 09:52:38 +0000 (GMT) (envelope-from freebsd@nbritton.org) Received: from [192.168.1.10] (12-223-129-46.client.insightbb.com[12.223.129.46]) by sccimhc92.asp.att.net (sccimhc92) with ESMTP id <20041227095237i92002ac7ge>; Mon, 27 Dec 2004 09:52:38 +0000 Message-ID: <41CFDB62.7000904@nbritton.org> Date: Mon, 27 Dec 2004 03:52:34 -0600 From: Nikolas Britton User-Agent: Mozilla Thunderbird 1.0 (X11/20041219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <41C81621.50906@nbritton.org> <20041221144829.GA5859@laverenz.de> <41C9D389.9030602@nbritton.org> <20041223055516.GF795@brianna.laverenz.de> <41CA8B3A.2060803@nbritton.org> <41CF9088.70900@root.org> <41CF9595.9050604@nbritton.org> <41CFA6E8.3050502@nbritton.org> <41CFA9BB.2020603@root.org> In-Reply-To: <41CFA9BB.2020603@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: freebsd-questions@freebsd.org cc: Uwe Laverenz Subject: Re: Armada 17xx, ACPI thermal management broken. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 09:52:39 -0000 Nate Lawson wrote: > Nikolas Britton wrote: > >> I can't find his name or email address anywhere BUT I think I can do >> one better then that. Here are two ASL's that where uploaded to the >> ACPI4Linux project: >> >> http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1750/Compaq-Armada_1750-686EM_99.1130_A-custom.asl.gz >> >> http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1700_1750_3500/Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl.gz >> >> http://acpi.sourceforge.net/dsdt/tables/Compaq/Armada_1700_1750_3500/Compaq-Armada_1700_1750_3500-686EM_99.1130_A-original.asl.gz >> >> Again, here is a copy of my asl dump: >> http://www.nbritton.org/uploads/compaq/armada_17xx.asl > > > I've attached the diff between the two versions for history. But all > you have to do is download the patched ASL > ("Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl") and > compile/override it. See the handbook or "man acpi" for steps, but > the short of it is: > > iasl Compaq-Armada_1700_1750_3500-686EM_99.1130_A-custom.asl > cp DSDT.aml /boot > > And add to /boot/loader.conf: > acpi_dsdt_load="YES" > acpi_dsdt_name="/boot/DSDT.aml" > > This will load your custom AML at boot time. > The fan is working now, the sysctl's looks like this: Fan On: hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 3432 hw.acpi.thermal.tz0.active: 1 hw.acpi.thermal.tz0.thermal_flags: 1 hw.acpi.thermal.tz0._PSV: 3310 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3680 hw.acpi.thermal.tz0._ACx: 3480 3430 -1 -1 -1 -1 -1 -1 -1 -1 Fan Off: hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 3422 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 1 hw.acpi.thermal.tz0._PSV: 3310 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3680 hw.acpi.thermal.tz0._ACx: 3480 3430 -1 -1 -1 -1 -1 -1 -1 -1 Is the _PSV trip point set wrong?, after reading the man page for acpi_thermal it sounds like it is to me. and when I try to put it into suspend more I get: "acpi: sespend request ignored (not ready yet)" is there something I need to do first or is this another issue with acpi? Thanks Nate. P.S. When you tried the file Compaq-Armada_1750-686EM_99.1130_A-custom.asl.gz was it corrupted?, said it was a bzip2 file after I gunzip it and bzip2 said it was corrupted, I email the guy requesting a new copy of this asl. From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 11:02:08 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5771316A4CE for ; Mon, 27 Dec 2004 11:02:08 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423FC43D4C for ; Mon, 27 Dec 2004 11:02:08 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBRB280i030132 for ; Mon, 27 Dec 2004 11:02:08 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBRB26cs030126 for freebsd-acpi@freebsd.org; Mon, 27 Dec 2004 11:02:06 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Dec 2004 11:02:06 GMT Message-Id: <200412271102.iBRB26cs030126@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 11:02:08 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/22] i386/54756 acpi ACPI suspend/resume problem on CF-W2 lapt o [2003/08/17] i386/55661 acpi ACPI suspend/resume problem on ARMADA M70 o [2003/08/20] kern/55822 acpi No ACPI power off with SMP kernel o [2003/08/27] kern/56024 acpi ACPI suspend drains battery while in S3 o [2003/09/03] i386/56372 acpi acpi don't work on TYAN tiger100 M/B f [2003/09/10] kern/56659 acpi ACPI trouble on IBM ThinkPad X31 f [2003/12/17] i386/60317 acpi FreeBSD 5.2rc1 doesn't boot with ACPI ena o [2004/03/09] i386/64002 acpi acpi problem o [2004/05/27] i386/67273 acpi [hang] system hangs with acpi and Xfree o [2004/10/12] i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Arma 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2004/01/22] i386/61703 acpi ACPI + Sound + Boot = Reboot o [2004/03/17] kern/64365 acpi ACPI problems f [2004/05/25] i386/67189 acpi ACPI S3 reboot computer on Dell Latitude o [2004/05/28] kern/67309 acpi zzz reboot computer (ACPI S3) f [2004/06/23] i386/68219 acpi ACPI + snd_maestro3 problem o [2004/07/29] i386/69750 acpi Boot without ACPI failed on ASUS L5 o [2004/11/11] i386/73822 acpi acpi / thermal support o [2004/11/21] kern/74215 acpi [request] add ACPI headers to /usr/includ 8 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 19:04:26 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D935E16A4CE for ; Mon, 27 Dec 2004 19:04:26 +0000 (GMT) Received: from valhalla.bofh.pl (valhalla.bofh.org [80.55.205.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 097D443D54 for ; Mon, 27 Dec 2004 19:04:26 +0000 (GMT) (envelope-from jacke@valhalla.bofh.pl) Received: from valhalla.bofh.pl (jacke@localhost.bofh.pl [127.0.0.1]) by valhalla.bofh.pl (8.13.1/8.13.1) with ESMTP id iBRJ48as040048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 27 Dec 2004 20:04:08 +0100 (CET) (envelope-from jacke@valhalla.bofh.pl) Received: (from jacke@localhost) by valhalla.bofh.pl (8.13.1/8.13.1/Submit) id iBRJ48Zb040047 for freebsd-acpi@freebsd.org; Mon, 27 Dec 2004 20:04:08 +0100 (CET) (envelope-from jacke) Date: Mon, 27 Dec 2004 20:04:08 +0100 From: Jakub Klausa To: freebsd-acpi@freebsd.org Message-ID: <20041227190407.GB35123@bofh.pl> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="wac7ysb48OaltWcw" Content-Disposition: inline X-PGP-Key-URL: http://curb.freebsd.pl/~jacke/jacke.bofh.pgp X-GPG-Key-URL: http://curb.freebsd.pl/~jacke/jacke.bofh.gpg X-OS: FreeBSD 5.3-STABLE i386 User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on valhalla.bofh.pl Subject: Problem with Toshiba Portege 7220 (CTe) and ACPI. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 19:04:27 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 'lo After last source update, and notable acpica change I've got a lot of errors like this during the new kernel boot: ACPI-0252: *** Error: No object was returned from [\\_SB_.PCI0.FNC0.PRT_= =2E_ST A] (Node 0xc16d3480), AE_NOT_EXIST The ACPI wasn't working on this laptop (which is an old, but still very nice Toshiba Portege 7220 CTe) very well since the beginning, but hey, someone has to take care of it ;> The sources i've build the system from are from friday, 2004.12.24, the DSTD dumped as per manage can be found here: http://valhalla.bofh.pl/~jacke/misc/tosh-7220CTe.dsdt If there's any way i can help solving this - i'm more then eager to do that ;> --=20 k. --wac7ysb48OaltWcw Content-Type: application/x-pkcs7-signature Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIIIigYJKoZIhvcNAQcCoIIIezCCCHcCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC Bg4wggLHMIICMKADAgECAgMMGgAwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkExJTAj BgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA0MDQwOTIxNDY0MloXDTA1MDQwOTIx NDY0MlowPzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEcMBoGCSqGSIb3DQEJ ARYNamFja2VAYm9maC5wbDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVA01qp LQBn0+269YnVuYDWjKuUgAAo7eZka4/v+jZ6MGr2qHnj+Bo1uBAvd+Z8nrhQLeyhz1i7kbjL emcuKGVuPseSOWUNntse7wDUNpY0bbL3wtawtUrQm7OxC5eNq52syu2g1rNWIR0Gmd4+TRzn 8RKr/IOPoWiPtaoxPne9heFfRgJf2jjB+t+1lJoOIWh6twlWawNanVEGH0lyrnRoJ3QEp4sC clULy0hssITHgZw+zi1w4vgcOwyVXkbKxGdXKsA+ew7KalSf8GzscJF5AGUTxEKizHCtDrbA L6xgFb8QmBROOj4l7j9sLGWbK8lht6czOH4KctdvneCgc8UCAwEAAaMqMCgwGAYDVR0RBBEw D4ENamFja2VAYm9maC5wbDAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBALyj8ypu 2GlLZBVMD0m0HLFWiVP5AXNFERm2oT8E7xoe4QvtOSOh+bNQGTibK4YIp/vzRXxClS2aJjRh EHKjMJ15t9AWrQ1Kk1btzOZgmm+f6+RMj0r6PzfmO/+Tx6vtT+MfczUB5KPAQPHBJr7kzhFY XSNA9iS7xpc6C0pAq159MIIDPzCCAqigAwIBAgIBDTANBgkqhkiG9w0BAQUFADCB0TELMAkG A1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMRow GAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2 aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENBMSsw KQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAzMDcxNzAw MDAwMFoXDTEzMDcxNjIzNTk1OVowYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBD b25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFp bCBJc3N1aW5nIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEpjxVc1X7TrnKmVoe aMB1BHCd3+n/ox7svc31W/Iadr1/DDph8r9RzgHU5VAKMNcCY1osiRVwjt3J8CuFWqo/cVbL rzwLB+fxH5E2JCoTzyvV84J3PQO+K/67GD4Hv0CAAmTXp6a7n2XRxSpUhQ9IBH+nttE8YQRA HmQZcmC3+wIDAQABo4GUMIGRMBIGA1UdEwEB/wQIMAYBAf8CAQAwQwYDVR0fBDwwOjA4oDag NIYyaHR0cDovL2NybC50aGF3dGUuY29tL1RoYXd0ZVBlcnNvbmFsRnJlZW1haWxDQS5jcmww CwYDVR0PBAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwyLTEz ODANBgkqhkiG9w0BAQUFAAOBgQBIjNFQg+oLLswNo2asZw9/r6y+whehQ5aUnX9MIbj4Nh+q LZ82L8D0HFAgk3A8/a3hYWLD2ToZfoSxmRsAxRoLgnSeJVCUYsfbJ3FXJY3dqZw5jowgT2Vf ldr394fWxghOrvbqNOUQGls1TXfjViF4gtwhGTXeJLHTHUb/XV9lTzGCAkQwggJAAgEBMGkw YjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4x LDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMMGgAwCQYF Kw4DAhoFAKCBsTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0w NDEyMjcxOTA0MDdaMCMGCSqGSIb3DQEJBDEWBBTzDfUB/2KjQNDxelXTm54TmDBHazBSBgkq hkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIB QDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDANBgkqhkiG9w0BAQEFAASCAQClxNeTBO7nGlmY VD00wv7reVpe4n5drjzaEH25gEWlwpHge/jw3Imi37ElzhG8toDl9K5PRAV/yd3ecYJLwegB /ogjIN/h0nf1TcNgFZ2MVZc2LTCE50jfrNHU3xetWnJtuAuXQFSYZgP8nIppEWtlRv8Pt/XV A/VtqN0iJvfkOEzGFmcfGKfYoM1ms12dxjPxBB4S4t5rnHe1Hd1vB0+GxzECWv9l4BHI3Qxb sYR7vZwRhmkl2y5mmmtw7HogpW6u0YQr5O+f0CzMqDr73c/ExhKZPJECD1H9C8vCHP6znyAu xPCP4uvVZVJ6Me19Ei3y4Dc8qDs+IPTWfB3eAyrK --wac7ysb48OaltWcw-- From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 27 22:59:53 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EAE616A4CE; Mon, 27 Dec 2004 22:59:53 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 492CE43D5D; Mon, 27 Dec 2004 22:59:53 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id iBRMxmGV019207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 27 Dec 2004 14:59:51 -0800 Message-ID: <41D0931F.2010200@root.org> Date: Mon, 27 Dec 2004 14:56:31 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrea Campi References: <20041223145047.GA1064@webcom.it> In-Reply-To: <20041223145047.GA1064@webcom.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: S3 experience on Thinkpad 570E X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 27 Dec 2004 22:59:53 -0000 Andrea Campi wrote: > Hi, > > I've tried using S3 on -CURRENT, more in response to Nate's request than > out of need, since S4BIOS is working great on this PC. > > In a nutshell, acpiconf -s3 powers down; on powerup however the machine > is deadly slow. I replicated this with a stripped down kernel; the only > thing that was evidently wrong is that the clock slowed down from 1000 to > around 250 interrupts per second. It sounds like the clock interrupt source is not getting saved/restored properly if it slows after a resume. I am not sure how to solve this. Perhaps John has something to add. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 28 08:32:49 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E71216A4CE for ; Tue, 28 Dec 2004 08:32:49 +0000 (GMT) Received: from mail-ms.sunrise.ch (mta-ms-be-06.sunrise.ch [194.158.229.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAE7943D1D for ; Tue, 28 Dec 2004 08:32:48 +0000 (GMT) (envelope-from chris@hypernet.ch) Received: from pitschi.home.hypernet.ch (84.226.32.152) by mail-ms.sunrise.ch (7.0.036) id 418AC0A600329C9B for freebsd-acpi@FreeBSD.org; Tue, 28 Dec 2004 09:32:47 +0100 Received: from lhotse.hypernet.ch ([192.168.0.114])iBS8Wghf061819 for ; Tue, 28 Dec 2004 09:32:42 +0100 (CET) (envelope-from chris@hypernet.ch) Date: Tue, 28 Dec 2004 08:32:12 +0000 From: Christoph Steigmeier To: freebsd-acpi@FreeBSD.org References: <1104096526l.791l.0l@lhotse.hypernet.ch> <1104222079l.776l.0l@lhotse.hypernet.ch> In-Reply-To: <1104222079l.776l.0l@lhotse.hypernet.ch> (from chris@hypernet.ch on Tue Dec 28 09:21:19 2004) X-Mailer: Balsa 2.2.6 Message-Id: <1104222732l.776l.1l@lhotse.hypernet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-1.3 required=5.0 tests=BAYES_30,IN_REP_TO,REFERENCES version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: ACPI Problem on ASUS Laptop M6Ne with 5.3-RELEASE-p2 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 28 Dec 2004 08:32:49 -0000 Hello folks I have to apologize that my know-how is still very limited and I can't solve the ACPI problem on my new laptop. It is freshly installed with my own build of 5.3-REL-p2 with GENERIC kernel. It is an ASUS M6827NEUH (M6Ne Series) I can't see the battery state and eventually other functions from ACPI are not working as well (at least I believe that with the Thermal Zones and the CPU Throtteling is not working). Here are the output of boot -v and the entries in hw.acpi. The ASL-File can be found under http://www.hypernet.ch/~chris/chris-ASUSM6827NEUH.asl I tried the described way in the Handbook to find a solution, but I doomed ;) Thank you in advance and kind regards. Chris From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 28 10:02:09 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DFE716A4CE for ; Tue, 28 Dec 2004 10:02:09 +0000 (GMT) Received: from informatik.uni-bremen.de (imh.informatik.uni-bremen.de [134.102.224.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5629243D1F for ; Tue, 28 Dec 2004 10:02:05 +0000 (GMT) (envelope-from snow@quantentunnel.de) Received: from [127.0.0.1] (henry.informatik.uni-bremen.de [134.102.201.8]) iBSA1qUm024931 for ; Tue, 28 Dec 2004 11:01:56 +0100 (MET) Message-ID: <41D12F1D.2080408@quantentunnel.de> Date: Tue, 28 Dec 2004 11:02:05 +0100 From: Andreas Dieling User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@FreeBSD.org References: <1104096526l.791l.0l@lhotse.hypernet.ch> <1104222079l.776l.0l@lhotse.hypernet.ch> <1104222732l.776l.1l@lhotse.hypernet.ch> In-Reply-To: <1104222732l.776l.1l@lhotse.hypernet.ch> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS/Sophos at informatik.uni-bremen.de Subject: Re: ACPI Problem on ASUS Laptop M6Ne with 5.3-RELEASE-p2 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 28 Dec 2004 10:02:09 -0000 > It is an ASUS M6827NEUH (M6Ne Series) > > I can't see the battery state and eventually other functions from ACPI > are not working as well (at least I believe that with the Thermal Zones > and the CPU Throtteling is not working). look here: http://www.encke.net/encke/modules.php?op=modload&name=phpBB_14&file=index&action=viewtopic&topic=632&93 and here: http://m6n.ath.cx/forum/viewforum.php?f=2&sid=cc07d0c7850beaf61f184038d9f2b299 Fixing the DSDT for BSD is identical to fixing it for Linux :-) Andreas From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 28 20:47:01 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20E0C16A4CE; Tue, 28 Dec 2004 20:47:01 +0000 (GMT) Received: from sccimhc91.asp.att.net (sccimhc91.asp.att.net [63.240.76.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 904E343D2D; Tue, 28 Dec 2004 20:47:00 +0000 (GMT) (envelope-from freebsd@nbritton.org) Received: from [192.168.1.10] (12-223-129-46.client.insightbb.com[12.223.129.46]) by sccimhc91.asp.att.net (sccimhc91) with ESMTP id <20041228204659i9100rgeqfe>; Tue, 28 Dec 2004 20:46:59 +0000 Message-ID: <41D1C63E.5020201@nbritton.org> Date: Tue, 28 Dec 2004 14:46:54 -0600 From: Nikolas Britton User-Agent: Mozilla Thunderbird 1.0 (X11/20041219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions , freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: HP OmniBook 6000 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 28 Dec 2004 20:47:01 -0000 Any OmniBook 6000 owners out there that can comment on ACPI support in FreeBSD 5.x?... or any other problems with this system. I was thinking about getting one. As I'm sure there are meny variants of this model the specs for the system in question are: PIII@700Mhz, 12GB, 256 or 512MB, DVD drive, and 14" LCD Thanks, Nikolas From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 28 23:02:19 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8198F16A4CE for ; Tue, 28 Dec 2004 23:02:19 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FFB143D1F for ; Tue, 28 Dec 2004 23:02:19 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 17330 invoked from network); 28 Dec 2004 23:02:19 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 28 Dec 2004 23:02:18 -0000 Received: from [10.50.41.243] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iBSLoQg6095856; Tue, 28 Dec 2004 16:50:31 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Nate Lawson Date: Tue, 28 Dec 2004 10:27:57 -0500 User-Agent: KMail/1.6.2 References: <20041223145047.GA1064@webcom.it> <41D0931F.2010200@root.org> In-Reply-To: <41D0931F.2010200@root.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412281027.58052.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: freebsd-acpi@FreeBSD.org Subject: Re: S3 experience on Thinkpad 570E X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 28 Dec 2004 23:02:19 -0000 On Monday 27 December 2004 05:56 pm, Nate Lawson wrote: > Andrea Campi wrote: > > Hi, > > > > I've tried using S3 on -CURRENT, more in response to Nate's request than > > out of need, since S4BIOS is working great on this PC. > > > > In a nutshell, acpiconf -s3 powers down; on powerup however the machine > > is deadly slow. I replicated this with a stripped down kernel; the only > > thing that was evidently wrong is that the clock slowed down from 1000 to > > around 250 interrupts per second. > > It sounds like the clock interrupt source is not getting saved/restored > properly if it slows after a resume. I am not sure how to solve this. > Perhaps John has something to add. Currently on i386 the clocks are not real new-bus devices and I'm not sure if they have proper resume support. I think we do have some sort of hardcoded call to the clock code on i386 to resume the clocks but I'm not sure. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 28 23:20:11 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5DD216A4CE; Tue, 28 Dec 2004 23:20:11 +0000 (GMT) Received: from acampi.inet.it (acampi.inet.it [213.92.1.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8418F43D31; Tue, 28 Dec 2004 23:20:11 +0000 (GMT) (envelope-from andrea@acampi.inet.it) Received: by acampi.inet.it (Postfix, from userid 1000) id 103E9A7; Wed, 29 Dec 2004 00:20:10 +0100 (CET) Date: Wed, 29 Dec 2004 00:20:10 +0100 From: Andrea Campi To: John Baldwin Message-ID: <20041228232009.GC90171@webcom.it> References: <20041223145047.GA1064@webcom.it> <41D0931F.2010200@root.org> <200412281027.58052.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200412281027.58052.jhb@FreeBSD.org> User-Agent: Mutt/1.5.6i cc: freebsd-acpi@FreeBSD.org Subject: Re: S3 experience on Thinkpad 570E X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 28 Dec 2004 23:20:11 -0000 On Tue, Dec 28, 2004 at 10:27:57AM -0500, John Baldwin wrote: > > > In a nutshell, acpiconf -s3 powers down; on powerup however the machine > > > is deadly slow. I replicated this with a stripped down kernel; the only > > > thing that was evidently wrong is that the clock slowed down from 1000 to > > > around 250 interrupts per second. > > > > It sounds like the clock interrupt source is not getting saved/restored > > properly if it slows after a resume. I am not sure how to solve this. > > Perhaps John has something to add. > > Currently on i386 the clocks are not real new-bus devices and I'm not sure if > they have proper resume support. I think we do have some sort of hardcoded > call to the clock code on i386 to resume the clocks but I'm not sure. OK, thanks. Just for completeness, I'll check and report what happens with a different value of HZ (100, for instance ;-)), just in case this makes any difference--as I would expect if this is a case of resuming to some hardcoded value. Bye, Andrea -- The dark ages were caused by the Y1K problem. From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 29 06:00:31 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EACC16A4CE; Wed, 29 Dec 2004 06:00:31 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1A8443D2D; Wed, 29 Dec 2004 06:00:30 +0000 (GMT) (envelope-from imp@harmony.village.org) Received: from localhost (localhost [IPv6:::1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iBT5wsaq092105; Tue, 28 Dec 2004 22:58:54 -0700 (MST) (envelope-from imp@harmony.village.org) Date: Tue, 28 Dec 2004 22:58:54 -0700 (MST) Message-Id: <20041228.225854.41725322.imp@harmony.village.org> To: jhb@freebsd.org From: Warner Losh In-Reply-To: <200412281027.58052.jhb@FreeBSD.org> References: <20041223145047.GA1064@webcom.it> <41D0931F.2010200@root.org> <200412281027.58052.jhb@FreeBSD.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: S3 experience on Thinkpad 570E X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 29 Dec 2004 06:00:31 -0000 > On Monday 27 December 2004 05:56 pm, Nate Lawson wrote: > > Andrea Campi wrote: > > > Hi, > > > > > > I've tried using S3 on -CURRENT, more in response to Nate's request than > > > out of need, since S4BIOS is working great on this PC. > > > > > > In a nutshell, acpiconf -s3 powers down; on powerup however the machine > > > is deadly slow. I replicated this with a stripped down kernel; the only > > > thing that was evidently wrong is that the clock slowed down from 1000 to > > > around 250 interrupts per second. > > > > It sounds like the clock interrupt source is not getting saved/restored > > properly if it slows after a resume. I am not sure how to solve this. > > Perhaps John has something to add. > > Currently on i386 the clocks are not real new-bus devices and I'm not sure if > they have proper resume support. I think we do have some sort of hardcoded > call to the clock code on i386 to resume the clocks but I'm not sure. pmtimer is designed to cope with 8254, but no others have it... If you don't have pmtimer in your kernel, then you'll be hozed on resume... Warner From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 29 09:27:32 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EEA116A4CE for ; Wed, 29 Dec 2004 09:27:32 +0000 (GMT) Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [212.135.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 762C443D46 for ; Wed, 29 Dec 2004 09:27:31 +0000 (GMT) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mailhost.tao.org.uk (Postfix) with ESMTP id 4A4657671; Wed, 29 Dec 2004 09:27:30 +0000 (GMT) Received: by genius.tao.org.uk (Postfix, from userid 100) id 1398A408E; Wed, 29 Dec 2004 09:27:28 +0000 (GMT) Date: Wed, 29 Dec 2004 09:27:28 +0000 From: Josef Karthauser To: Anish Mistry Message-ID: <20041229092728.GA8264@genius.tao.org.uk> References: <20041210133615.GA1482@genius.tao.org.uk> <200412101231.10146.mistry.7@osu.edu> <20041210173913.GI1615@genius.tao.org.uk> <200412101311.02615.mistry.7@osu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <200412101311.02615.mistry.7@osu.edu> User-Agent: Mutt/1.5.6i cc: freebsd-acpi@freebsd.org Subject: Re: S3 on a Sony VGN-A290 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 29 Dec 2004 09:27:32 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 10, 2004 at 01:10:55PM -0500, Anish Mistry wrote: > > Interesting. > > > > I'm running RELENG_5 on this machine, is there any way that I could test > > any code? In particular the acpi_video DPMS patch you mention; is that > > compatible with 5? > > > > I've got the following ACPI modules loaded: > > > > 4 1 0xc09f3000 4d98 acpi_video.ko > > 5 16 0xc09f8000 53828 acpi.ko > > 6 1 0xc0a4c000 25b4 acpi_sony.ko > > > > The acpi_sony one I (trivially) ported to 5 myself. > > > http://www.freebsd.org/~jhb/patches/acpi_video_dpms.patch >=20 > It applies to the acpi_video module. > It doesn't help me unfortunately. This sony machine doesn't appear to bind to acpi_video. I've had a bit of success using acpi_sony (from -current) but it doesn't shut the screen (or other devices) down properly. :( Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iEYEARECAAYFAkHSeH8ACgkQXVIcjOaxUBaTjQCdFX57tYGnSO/0ipVMXnlamGVS w20AnjA7KeFIS3FBGqwgmiPE6EefsO+a =uBQ4 -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1-- From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 29 09:30:10 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2189D16A4CE; Wed, 29 Dec 2004 09:30:10 +0000 (GMT) Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [212.135.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD09C43D49; Wed, 29 Dec 2004 09:30:09 +0000 (GMT) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mailhost.tao.org.uk (Postfix) with ESMTP id 2A25F7671; Wed, 29 Dec 2004 09:30:09 +0000 (GMT) Received: by genius.tao.org.uk (Postfix, from userid 100) id EE72E408E; Wed, 29 Dec 2004 09:30:06 +0000 (GMT) Date: Wed, 29 Dec 2004 09:30:06 +0000 From: Josef Karthauser To: takawata@FreeBSD.org Message-ID: <20041229093006.GB8264@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mojUlQ0s9EVzWg2t" Content-Disposition: inline User-Agent: Mutt/1.5.6i cc: freebsd-acpi@freebsd.org Subject: Sony VGN-A290 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 29 Dec 2004 09:30:10 -0000 --mojUlQ0s9EVzWg2t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Takawata-San, I'm using your acpi_sony device on a freebsd-5 machine (ported from -current). My laptop is a VGN-A290. I was wondering whether you had any more patches to this device driver? In particular although the backlight switches off the screen stays active whilst the machine is suspended. Do you have a fix for this? Also, there are some funny things happening with sound. I can't get any audio out from the CD player (using cdcontrol to play) although I can hear mp3s. Also, when the laptop is connected to the docking station I can't get any sound out of the connected speakers. Do you know what might be wrong? Regards, Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --mojUlQ0s9EVzWg2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iEYEARECAAYFAkHSeR4ACgkQXVIcjOaxUBYPnQCgrBpBd3UMn0dYuKkSEzyWP39p pWgAoOgwf+lkYKCCXgVChrZfWj1pJcH2 =qZS+ -----END PGP SIGNATURE----- --mojUlQ0s9EVzWg2t-- From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 29 17:24:10 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B604716A4CE; Wed, 29 Dec 2004 17:24:10 +0000 (GMT) Received: from smtp10.wanadoo.fr (smtp10.wanadoo.fr [193.252.22.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DC4043D54; Wed, 29 Dec 2004 17:24:10 +0000 (GMT) (envelope-from aurelien.nephtali@wanadoo.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1004.wanadoo.fr (SMTP Server) with SMTP id 916352400162; Wed, 29 Dec 2004 18:24:08 +0100 (CET) Received: from [192.168.2.30] (ca-sqy-4-49.w80-8.abo.wanadoo.fr [80.8.57.49]) by mwinf1004.wanadoo.fr (SMTP Server) with ESMTP id A30432400173; Wed, 29 Dec 2004 18:24:07 +0100 (CET) Message-ID: <41D2E837.8030105@wanadoo.fr> Date: Wed, 29 Dec 2004 18:24:07 +0100 From: Aurelien Nephtali User-Agent: Mozilla Thunderbird 1.0 (X11/20041219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: exclusive sleep mutex acpica subsystem lock r = 0 (0xc14d5300)locked @ /usr/src,/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:360 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 29 Dec 2004 17:24:10 -0000 Hi, I got this at boot with a fresh -CURRENT : Sleeping on "acsem" with the following non-sleepable locks held: exclusive sleep mutex acpica subsystem lock r = 0 (0xc14d5300) locked @ /usr/src /sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:360 KDB: stack backtrace: witness_warn(5,c14d5480,c082b6fb,c0a765dd,c9b7fbe8) at witness_warn+0x1a8 msleep(c14d5480,c14d5480,100,c0a765dd,0) at msleep+0x37 AcpiOsWaitSemaphore(c14d5480,1,ffff,c14dee00,1) at AcpiOsWaitSemaphore+0x140 AcpiUtAcquireMutex(7,c14dee00,18,c9b7fc9c,c0a6a962) at AcpiUtAcquireMutex+0x55 AcpiDisableGpe(0,18,1,c13ee520,c9b7fcb0) at AcpiDisableGpe+0x17 EcGpeHandler(c14dee00,0,c14ee100,c9b7fce4,c0a4acb1) at EcGpeHandler+0x1a AcpiEvGpeDispatch(c13ee520,18,51,3,1000000) at AcpiEvGpeDispatch+0x81 AcpiEvGpeDetect(c14f3650,c14f4c80,c9b7fd1c,c05ffb36,c14f3650) at AcpiEvGpeDetect +0xd1 AcpiEvSciXruptHandler(c14f3650,0,0,c1423000,0) at AcpiEvSciXruptHandler+0x13 ithread_loop(c141c900,c9b7fd48,c141c900,c05ff998,0) at ithread_loop+0x19e fork_exit(c05ff998,c141c900,c9b7fd48) at fork_exit+0x7e fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xc9b7fd7c, ebp = 0 --- naboo# uname -a FreeBSD naboo 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Wed Dec 29 10:00:40 CET 2004 dak@naboo:/usr/obj/usr/src/sys/GENERIC i386 -- NEPHTALI 'dak' Aurelien TEK2 - Promo 2008 06.19.84.90.10 From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 29 18:28:34 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6961116A4CE; Wed, 29 Dec 2004 18:28:34 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16EE143D46; Wed, 29 Dec 2004 18:28:34 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id iBTISWGV025591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 29 Dec 2004 10:28:33 -0800 Message-ID: <41D2F750.4080204@root.org> Date: Wed, 29 Dec 2004 10:28:32 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josef Karthauser References: <20041229093006.GB8264@genius.tao.org.uk> In-Reply-To: <20041229093006.GB8264@genius.tao.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: takawata@FreeBSD.org cc: freebsd-acpi@FreeBSD.org Subject: Re: Sony VGN-A290 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 29 Dec 2004 18:28:34 -0000 Josef Karthauser wrote: > Also, there are some funny things happening with sound. I can't get any > audio out from the CD player (using cdcontrol to play) although I can > hear mp3s. Also, when the laptop is connected to the docking station I > can't get any sound out of the connected speakers. Do you know what > might be wrong? Uh, did you set mixer correctly for the CD player? -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 29 18:34:10 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9897516A4CE for ; Wed, 29 Dec 2004 18:34:10 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63FE343D64 for ; Wed, 29 Dec 2004 18:34:10 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 27052 invoked from network); 29 Dec 2004 18:34:10 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 29 Dec 2004 18:34:09 -0000 Received: from [10.50.41.243] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iBTIY009003706; Wed, 29 Dec 2004 13:34:06 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-acpi@FreeBSD.org Date: Wed, 29 Dec 2004 11:27:43 -0500 User-Agent: KMail/1.6.2 References: <20041223145047.GA1064@webcom.it> <200412281027.58052.jhb@FreeBSD.org> <20041228232009.GC90171@webcom.it> In-Reply-To: <20041228232009.GC90171@webcom.it> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412291127.43943.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx Subject: Re: S3 experience on Thinkpad 570E X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 29 Dec 2004 18:34:10 -0000 On Tuesday 28 December 2004 06:20 pm, Andrea Campi wrote: > On Tue, Dec 28, 2004 at 10:27:57AM -0500, John Baldwin wrote: > > > > In a nutshell, acpiconf -s3 powers down; on powerup however the > > > > machine is deadly slow. I replicated this with a stripped down > > > > kernel; the only thing that was evidently wrong is that the clock > > > > slowed down from 1000 to around 250 interrupts per second. > > > > > > It sounds like the clock interrupt source is not getting saved/restored > > > properly if it slows after a resume. I am not sure how to solve this. > > > Perhaps John has something to add. > > > > Currently on i386 the clocks are not real new-bus devices and I'm not > > sure if they have proper resume support. I think we do have some sort of > > hardcoded call to the clock code on i386 to resume the clocks but I'm not > > sure. > > OK, thanks. Just for completeness, I'll check and report what > happens with a different value of HZ (100, for instance ;-)), just in > case this makes any difference--as I would expect if this is a case > of resuming to some hardcoded value. Actually, device pmtimer will ensure that the clocks are reprogrammed correctly. You didn't leave that out of your kernel config did you? (I think we should just make that standard like it is in 4.x rather than optional.) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 29 20:12:40 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC01116A4CE; Wed, 29 Dec 2004 20:12:40 +0000 (GMT) Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [212.135.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97A6143D55; Wed, 29 Dec 2004 20:12:39 +0000 (GMT) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mailhost.tao.org.uk (Postfix) with ESMTP id B3ED97519; Wed, 29 Dec 2004 20:12:38 +0000 (GMT) Received: by genius.tao.org.uk (Postfix, from userid 100) id 97DD5408E; Wed, 29 Dec 2004 20:12:36 +0000 (GMT) Date: Wed, 29 Dec 2004 20:12:36 +0000 From: Josef Karthauser To: Nate Lawson Message-ID: <20041229201236.GB14714@genius.tao.org.uk> References: <20041229093006.GB8264@genius.tao.org.uk> <41D2F750.4080204@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R3G7APHDIzY6R/pk" Content-Disposition: inline In-Reply-To: <41D2F750.4080204@root.org> User-Agent: Mutt/1.5.6i cc: takawata@FreeBSD.org cc: freebsd-acpi@FreeBSD.org Subject: Re: Sony VGN-A290 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 29 Dec 2004 20:12:41 -0000 --R3G7APHDIzY6R/pk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 29, 2004 at 10:28:32AM -0800, Nate Lawson wrote: > Josef Karthauser wrote: > >Also, there are some funny things happening with sound. I can't get any > >audio out from the CD player (using cdcontrol to play) although I can > >hear mp3s. Also, when the laptop is connected to the docking station I > >can't get any sound out of the connected speakers. Do you know what > >might be wrong? >=20 > Uh, did you set mixer correctly for the CD player? >=20 Yup, the defaults appear to be ok. genius% mixer Mixer vol is currently set to 90:90 Mixer pcm is currently set to 80:80 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Recording source: mic My guess is that the cd audio is routed via the laptop controller or something. There's something funny going on. The docking station has it's own amp and speakers and when the laptop is plugged into it I get no sound out at all, but it returns when I disconnect the laptop; the internal speakers get re-enabled. Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --R3G7APHDIzY6R/pk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iEYEARECAAYFAkHTD7QACgkQXVIcjOaxUBYwnwCg2tZy7O6B4BwR0GSgbuEqgPBR kNoAnjjuQiKGnsymA3D2ONh+NKZuM9dh =Jdy4 -----END PGP SIGNATURE----- --R3G7APHDIzY6R/pk-- From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 29 23:28:44 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8287016A4CE; Wed, 29 Dec 2004 23:28:44 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FDE643D41; Wed, 29 Dec 2004 23:28:44 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id iBTNShGV002948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 29 Dec 2004 15:28:43 -0800 Message-ID: <41D33DAA.2010707@root.org> Date: Wed, 29 Dec 2004 15:28:42 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josef Karthauser References: <20041229093006.GB8264@genius.tao.org.uk> <41D2F750.4080204@root.org> <20041229201236.GB14714@genius.tao.org.uk> In-Reply-To: <20041229201236.GB14714@genius.tao.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: takawata@FreeBSD.org cc: freebsd-acpi@FreeBSD.org Subject: Re: Sony VGN-A290 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.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, 29 Dec 2004 23:28:44 -0000 Josef Karthauser wrote: > On Wed, Dec 29, 2004 at 10:28:32AM -0800, Nate Lawson wrote: > >>Josef Karthauser wrote: >> >>>Also, there are some funny things happening with sound. I can't get any >>>audio out from the CD player (using cdcontrol to play) although I can >>>hear mp3s. Also, when the laptop is connected to the docking station I >>>can't get any sound out of the connected speakers. Do you know what >>>might be wrong? >> >>Uh, did you set mixer correctly for the CD player? >> > > Yup, the defaults appear to be ok. > > My guess is that the cd audio is routed via the laptop controller or > something. There's something funny going on. The docking station has > it's own amp and speakers and when the laptop is plugged into it I get > no sound out at all, but it returns when I disconnect the laptop; the > internal speakers get re-enabled. Oh, I see. I thought you couldn't hear the CD player whether or not you are docked. You can see your ACPI view of the device tree with: acpidump -d | grep Device You'll probably have a DCK (dock) device that has some sound device under it. We don't have much docking support currently but if you boot while docked, devices on it should work fine. I have patches for basic docking support but the problem is there are many device drivers that don't handle this properly yet. For instance, if you have a floppy drive bay in the dock, the fdc(4) driver doesn't know yet how to handle an undock event. We're just lucky that most laptops so far let the BIOS handle things. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 30 10:32:37 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A54016A4CE; Thu, 30 Dec 2004 10:32:37 +0000 (GMT) Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [212.135.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 586B043D3F; Thu, 30 Dec 2004 10:32:36 +0000 (GMT) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mailhost.tao.org.uk (Postfix) with ESMTP id 1E15B7519; Thu, 30 Dec 2004 10:32:33 +0000 (GMT) Received: by genius.tao.org.uk (Postfix, from userid 100) id E76CE4098; Thu, 30 Dec 2004 10:32:31 +0000 (GMT) Date: Thu, 30 Dec 2004 10:32:31 +0000 From: Josef Karthauser To: Nate Lawson Message-ID: <20041230103231.GA1428@genius.tao.org.uk> References: <20041229093006.GB8264@genius.tao.org.uk> <41D2F750.4080204@root.org> <20041229201236.GB14714@genius.tao.org.uk> <41D33DAA.2010707@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <41D33DAA.2010707@root.org> User-Agent: Mutt/1.5.6i cc: takawata@FreeBSD.org cc: freebsd-acpi@FreeBSD.org Subject: Re: Sony VGN-A290 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 10:32:37 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 29, 2004 at 03:28:42PM -0800, Nate Lawson wrote: > > > >Yup, the defaults appear to be ok. > > > >My guess is that the cd audio is routed via the laptop controller or > >something. There's something funny going on. The docking station has > >it's own amp and speakers and when the laptop is plugged into it I get > >no sound out at all, but it returns when I disconnect the laptop; the > >internal speakers get re-enabled. >=20 > Oh, I see. I thought you couldn't hear the CD player whether or not you= =20 > are docked. > Unfortunately that's the case, I'm not sure why. I'm taking to ripping the audio and playing it using the pcm device instead as I can't hear it natively, dock or no dock. > You can see your ACPI view of the device tree with: > acpidump -d | grep Device >=20 > You'll probably have a DCK (dock) device that has some sound device=20 > under it. We don't have much docking support currently but if you boot= =20 > while docked, devices on it should work fine. I have patches for basic= =20 > docking support but the problem is there are many device drivers that=20 > don't handle this properly yet. For instance, if you have a floppy=20 > drive bay in the dock, the fdc(4) driver doesn't know yet how to handle= =20 > an undock event. We're just lucky that most laptops so far let the BIOS= =20 > handle things. I'll take a look when I'm next docked to see what appears there. When docked I get no sound at all. It would be good to get that working. Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iEYEARECAAYFAkHT2T4ACgkQXVIcjOaxUBZOHACgyvGl8Ro5Q9bd9BfD4hlLrXrb QSEAoLOmBz2VZHZifrQrBLyZaf4z2G+a =893r -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 30 18:21:23 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E372016A4CE for ; Thu, 30 Dec 2004 18:21:23 +0000 (GMT) Received: from zeus.del.ufrj.br (zeus.del.ufrj.br [146.164.70.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1634A43D3F for ; Thu, 30 Dec 2004 18:21:23 +0000 (GMT) (envelope-from fico@del.ufrj.br) Received: from [127.0.0.1] (zeus.del.ufrj.br [146.164.70.190]) by zeus.del.ufrj.br (8.12.9p1/8.12.9) with ESMTP id iBUILIOW019652 for ; Thu, 30 Dec 2004 16:21:20 -0200 (BRST) Message-ID: <41D4471E.4060007@del.ufrj.br> Date: Thu, 30 Dec 2004 19:21:18 +0100 From: Federico Galvez-Durand Besnard User-Agent: Mozilla Thunderbird 1.0 (X11/20041209) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: acpi boot error messages after last update (Dec 22nd and 29th) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 18:21:24 -0000 Sorry for cross-posting this, I did it before to Stable, I guess I should send it here first. I have compiled new kernel with lattest acpi ( uname -a: FreeBSD here.org 5.3-STABLE FreeBSD 5.3-STABLE #20: Wed Dec 29 16:16:13 GMT-1 2004 root@here.org:/usr/obj/usr/src/sys/HERE i386 ) I am getting boot error messages. http://www.del.ufrj.br/~fico/FreeBSD/debug/dmesg03 Apparently, my Notebook works well . I did not have these error messages before last big acpi update. Before that update dmesg was like this: http://www.del.ufrj.br/~fico/FreeBSD/debug/dmesg01 My ASL compiles with warnings, 0 errors: http://www.del.ufrj.br/~fico/FreeBSD/debug/toshiba2805-s301.asl http://www.del.ufrj.br/~fico/FreeBSD/debug/toshiba2805-s301_iasl.output With acpi disabled (hint.acpi.0.disabled="1" in /boot/loader.conf) I only get these lines I did not see before: ( partial dmesg ) ... atapci0: port 0xfff0-0xffff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 5.1 on pci0 ... vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 646825914 Hz quality 800 Timecounters tick every 10.000 msec ... Is there anything I can do regarding the error/unknown messages? Thank you for your help. Fico// From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 30 19:58:10 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC57716A4CE for ; Thu, 30 Dec 2004 19:58:10 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DAC843D1F for ; Thu, 30 Dec 2004 19:58:10 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-186-95.dsl.snfc21.pacbell.net [64.171.186.95]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id iBUJvwGV002364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 30 Dec 2004 11:58:00 -0800 Message-ID: <41D45DC3.6000509@root.org> Date: Thu, 30 Dec 2004 11:57:55 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Federico Galvez-Durand Besnard References: <41D4471E.4060007@del.ufrj.br> In-Reply-To: <41D4471E.4060007@del.ufrj.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: acpi boot error messages after last update (Dec 22nd and 29th) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 19:58:11 -0000 Federico Galvez-Durand Besnard wrote: > I am getting boot error messages. > > http://www.del.ufrj.br/~fico/FreeBSD/debug/dmesg03 > > Apparently, my Notebook works well . > I did not have these error messages before > last big acpi update. > > Before that update dmesg was like this: > http://www.del.ufrj.br/~fico/FreeBSD/debug/dmesg01 > > My ASL compiles with warnings, 0 errors: > http://www.del.ufrj.br/~fico/FreeBSD/debug/toshiba2805-s301.asl > http://www.del.ufrj.br/~fico/FreeBSD/debug/toshiba2805-s301_iasl.output Hmm, it appears that the implicit return part of the interpreter is not working correctly. For instance, LNKA has an implicit return of the result of the STAL() method. I can't figure out why this wouldn't be working though. We have enabled the InterpreterSlack global and are running with ACPI-CA 20041119. Any ideas, Bob? Here's where we enable InterpreterSlack: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/acpica/acpi.c.diff?r1=1.186.2.7&r2=1.186.2.8&f=h -- Nate