From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Ale Subject: Patching 2.6.9 for custom DSDT Date: Fri, 22 Oct 2004 11:07:29 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <8d158e1f041022020763faf71a@mail.gmail.com> Reply-To: Patrick Ale Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Good morning all! I'd like to try the custom Acer Aspire 1703 DSDT found on the acpi.sf.net site. in drivers/acpi/osl.c I see the folloiwing #ifdef CONFIG_ACPI_CUSTOM_DSDT #include CONFIG_ACPI_CUSTOM_DSDT_FILE #endif Does this mean I can add the following to the top of the c file? #define CONFIG_ACPI_CUSTOM_DSDT_FILE "/path/to/dsdt.file" #define CONFIG_ACPI_CUSTOM_DSDT Or do I need the kernel patch mentioned on http://acpi.sourceforge.net/wiki/index.php/HowToOverrideTable In the later case I have a problem since I get the following error when applying the patch: juliana:/usr/src/linux-2.6.9# patch -p1 -i ../osl.diff patching file drivers/acpi/osl.c patch: **** malformed patch at line 21: } Thanks in advance for the replies :D Patrick ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl