Patching 2.6.9 for custom DSDT
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
A message that is not in the archive (sent off-list or not yet received): 8d158e1f041022020763faf71a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
Quoted 9 lines · Patrick Ale
I'd like to try the custom Acer Aspire 1703 DSDT found on the acpi.sf.net site.
in
drivers/acpi/osl.cI see the folloiwing#ifdef
CONFIG_ACPI_CUSTOM_DSDT
#includeCONFIG_ACPI_CUSTOM_DSDT_FILE
#endif
Quoted 4 lines
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" #defineCONFIG_ACPI_CUSTOM_DSDT
no, you should configure
make [config|menuconfig|xconfig]
your kernel to use a custom DSDT. The voice is
- Power management otions (ACPI, APM)
- ACPI ([...])
- Include Custom DSDT
- Custom DSDT Table file to include
/path/to/dsdt.file
NB, the DSDT should be in the AmlCode declaration.
Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBeNrmVAp7Xm10JmkRAjnoAJ4mbdstsLABos+ib78gcQgB59evJACcDx6f HbKKuQQ+i9JlncV3/kRZJZI=
=Q0am
-----END PGP SIGNATURE-----
-------------------------------------------------------
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
Quoted 11 lines · Patrick Ale
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.cI see the folloiwing#ifdef
CONFIG_ACPI_CUSTOM_DSDT
#includeCONFIG_ACPI_CUSTOM_DSDT_FILE
#endif
Quoted 5 lines
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" #defineCONFIG_ACPI_CUSTOM_DSDT
You can do that (thats what I do).
I think though that there should be a menu item in make config if this is already in the source.
Quoted 25 lines
Or do I need the kernel patch mentioned on
http://acpi.sourceforge.net/wiki/index.php/HowToOverrideTableIn 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
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
Quoted 4 lines
+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
-------------------------------------------------------
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