From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 1 20:21:23 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26E1316A415 for ; Mon, 1 Jan 2007 20:21:23 +0000 (UTC) (envelope-from liontanker@hotmail.com) Received: from bay0-omc1-s33.bay0.hotmail.com (bay0-omc1-s33.bay0.hotmail.com [65.54.246.105]) by mx1.freebsd.org (Postfix) with ESMTP id 1444613C44B for ; Mon, 1 Jan 2007 20:21:22 +0000 (UTC) (envelope-from liontanker@hotmail.com) Received: from hotmail.com ([65.54.233.109]) by bay0-omc1-s33.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 1 Jan 2007 12:09:23 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Jan 2007 12:09:23 -0800 Message-ID: Received: from 142.179.21.125 by by21fd.bay21.hotmail.msn.com with HTTP; Mon, 01 Jan 2007 20:09:21 GMT X-Originating-IP: [142.179.21.125] X-Originating-Email: [liontanker@hotmail.com] X-Sender: liontanker@hotmail.com From: "Lion G." To: freebsd-mobile@freebsd.org Date: Mon, 01 Jan 2007 15:09:21 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 01 Jan 2007 20:09:23.0457 (UTC) FILETIME=[BAE0D710:01C72DE0] Subject: Sharing my Acer Aspire 5050 experience X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2007 20:21:23 -0000 Hi all! Just thought I'd post what I did to make Acer Aspire 5050 laptop work on my FreeBSD 6.2-RC2 There is still one major issue: shutdown -p and shutdown -r doesn't work! It simply hangs after umounting all the drives, and I had to then manually press down the power button. If anyone has a solution to the poweroff/reset problem, I'd really appreciate it. Anyway, below I post what I did to get sound card working, and get battery status working. Hope they may be of use to others. 1. HDA Sound ========= Remove all sound driver from the kernel Downloaded sndkld_releng6_i386 from http://people.freebsd.org/~ariff/HDA/kmod/ Uncompress into /boot/kernel Then load "snd_hda" at boot up 2. Battery status indicator ================ Downloaded Intel's 2006Nov ACPI CA compiler from http://www.intel.com/technology/iapc/acpi/license2.htm Go in its "compiler" directory Type "gmake" to compile the latest ACPI CA compiler. Grab the current ACPI for the laptop by typing acpidump -t -d > acer.asl Then make 4 modifications to it: First modify the definitionblock like this: Old: DefinitionBlock ("DSDT.aml", "DSDT", 1, "ATI", "SB460", 100925440) { Name (Z000, 0x01) Name (Z001, 0x02) Name (Z002, 0x04) Name (Z003, 0x08) Name (Z004, 0x00) Name (Z005, 0x0F) Name (Z006, 0x0D) Name (Z007, 0x0B) Name (Z008, 0x09) Scope (\_PR) { Processor (CPU0, 0x00, 0x00008010, 0x06) {} Processor (CPU1, 0x01, 0x00000000, 0x00) {} } New: DefinitionBlock ("DSDT.aml", "DSDT", 1, "ATI", "SB460", 100925440) { External (Z00K) Name (Z000, 0x01) Name (Z001, 0x02) Name (Z002, 0x04) Name (Z003, 0x08) Name (Z004, 0x00) Name (Z005, 0x0F) Name (Z006, 0x0D) Name (Z007, 0x0B) Name (Z008, 0x09) Scope (\_PR) { Processor (CPU0, 0x00, 0x00008010, 0x06) {} Processor (CPU1, 0x01, 0x00000000, 0x00) { External (_PPC) } } Secondly, modify line 162 like this: Old: OperationRegion (PLPT, SystemIO, 0x0378, 0x01) New: OperationRegion (PLPT, SystemIO, 0x0378, 0x04) Thirdly, modify lines 4396..4402 like this: Old: Name (PBST, Package (0x04) { 0x00, Z00E, Z00E, 0x2710 }) New: Name (PBST, Package (0x04) { 0x00, Z001, Z001, 0x2710 }) Fourthly, replace all occurrence of "_T_0" with "TTT0". Now, generate the updated ACPI file by typing "./iasl acer.asl" It should give 0 errors and 4 warnings, and generate a new file called "DSDT.aml" Just copy DSDT.aml to "/boot", then add the following 3 lines to /boot/loader.conf hw.acpi.osname="Windows 2001" acpi_dsdt_load="YES" acpi_dsdt_name="/boot/DSDT.aml" (After rebooting, the dozen or so "ACPI" errors messages should no longer show up on the boot screen. And "acpiconf -i batt" should tell you the battery status now.) _________________________________________________________________ The MSN Entertainment Guide to Golden Globes is here. Get all the scoop. http://tv.msn.com/tv/globes2007/