Skip to contentSkip to conversation

2.6.10 and acpi_get_possible_resources?

DISCUSSION Jurgen Kramer 2 participants 4 messages Jan 14, 2005 – Jan 18, 2005 3 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

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
#2 lore raw

Re: 2.6.10 and acpi_get_possible_resources? *solved*

In reply to a message not in the archive
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 by acpi_ksyms.c but this file no longer exists in 2.6.10.

Quoted 8 lines

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

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

#4 lore raw

Re: 2.6.10 and acpi_get_possible_resources? *solved*

In reply to a message not in the archive
Quoted 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 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:

Quoted 8 lines
Quoted 2 lines

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.

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

#6 lore raw

Re: 2.6.10 and acpi_get_possible_resources? *solved*

In reply to a message not in the archive
Quoted 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 by acpi_ksyms.c but this file no longer exists in 2.6.10.

Quoted 8 lines

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

Problem solved. The functions from <acpi/acpixf.h> needed a #define ACPI_FUTURE_USAGE 1 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_USAGE define. 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