2.6.10 and acpi_get_possible_resources?
I am trying to get the WACOM ACPI patches working on 2.6.10 but it bails out on a missing function "acpi_get_possible_resources". On 2.6.9 the needed symbol is exported by acpi_ksyms.c but this file no longer exists in 2.6.10.
What is the best way to get the acpi_get_possible_resources function exported properly? It is defined in <acpi/acpxf.h> but adding this to the wacom source files did not help.
The 2.6.9 version of the wacom patches are from:
http://www.theory.bham.ac.uk/staff/schofield/linux/tc1100/linux-2.6.9-
wacom_acpi.patch
Thanks,
Jurgen
Signature · 4 lines
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Re: 2.6.10 and acpi_get_possible_resources? *solved*
In reply to a message not in the archiveQuoted 5 lines · Jurgen Kramer
I am trying to get the WACOM ACPI patches working on 2.6.10 but it bails out on a missing function "
acpi_get_possible_resources". On 2.6.9 the needed symbol is exported byacpi_ksyms.cbut this file no longer exists in 2.6.10.
Quoted 8 lines
What is the best way to get the
acpi_get_possible_resourcesfunction exported properly? It is defined in <acpi/acpxf.h> but adding this to the wacom source files did not help.The 2.6.9 version of the wacom patches are from:
http://www.theory.bham.ac.uk/staff/schofield/linux/tc1100/linux-2.6.9-
wacom_acpi.patch
Problem solved. The functions from <acpi/acpixf.h> needed a #define ACPI_FUTURE_USAGE 1 to work again.
My wacom tablet is working again with 2.6.10.
Jurgen
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Re: 2.6.10 and acpi_get_possible_resources? *solved*
In reply to a message not in the archiveQuoted 12 lines · Jurgen Kramer
Quoted 11 lines · Jurgen Kramer
I am trying to get the WACOM ACPI patches working on 2.6.10 but it bails out on a missing function "
acpi_get_possible_resources". On 2.6.9 the needed symbol is exported byacpi_ksyms.cbut this file no longer exists in 2.6.10.What is the best way to get the
acpi_get_possible_resourcesfunction exported properly? It is defined in <acpi/acpxf.h> but adding this to the wacom source files did not help.The 2.6.9 version of the wacom patches are from:
Quoted 8 lines
Quoted 2 lines
http://www.theory.bham.ac.uk/staff/schofield/linux/tc1100/linux-2.6.9-
wacom_acpi.patchProblem solved. The functions from <
acpi/acpixf.h> needed a #defineACPI_FUTURE_USAGE1 to work again.My wacom tablet is working again with 2.6.10.
A better fix, though, would be to move the specific export you need out of the FUTURE_USAGE define. This ifdef was introduced to eliminate bloat due to unused exports, and including it all back in defeats the purpose.
Rajesh
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Re: 2.6.10 and acpi_get_possible_resources? *solved*
In reply to a message not in the archiveQuoted 19 lines · Rajesh Shah
Quoted 18 lines · Jurgen Kramer
Quoted 5 lines · Jurgen Kramer
I am trying to get the WACOM ACPI patches working on 2.6.10 but it bails out on a missing function "
acpi_get_possible_resources". On 2.6.9 the needed symbol is exported byacpi_ksyms.cbut this file no longer exists in 2.6.10.Quoted 8 lines
What is the best way to get the
acpi_get_possible_resourcesfunction exported properly? It is defined in <acpi/acpxf.h> but adding this to the wacom source files did not help.The 2.6.9 version of the wacom patches are from:
http://www.theory.bham.ac.uk/staff/schofield/linux/tc1100/linux-2.6.9-
wacom_acpi.patchProblem solved. The functions from <
acpi/acpixf.h> needed a #defineACPI_FUTURE_USAGE1 to work again.
Quoted 6 lines
Quoted 2 lines
My wacom tablet is working again with 2.6.10.
A better fix, though, would be to move the specific export you need out of the
FUTURE_USAGEdefine. This ifdef was introduced to eliminate bloat due to unused exports, and including it all back in defeats the purpose.
You are right of course but it only applies if the patches were to be included in the mainline ACPI tree. For now it's just me using the "acpi_get_possible_resources" function here at home.
Jurgen
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt