public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.10 and acpi_get_possible_resources?
@ 2005-01-14 14:40 Jurgen Kramer
       [not found] ` <1105713621.10664.8.camel-AynNu1t4G8oLie942ae2tA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jurgen Kramer @ 2005-01-14 14:40 UTC (permalink / raw)
  To: acpi-devel

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
-- 



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.10 and acpi_get_possible_resources? *solved*
       [not found] ` <1105713621.10664.8.camel-AynNu1t4G8oLie942ae2tA@public.gmane.org>
@ 2005-01-16  0:00   ` Jurgen Kramer
       [not found]     ` <1105833637.27841.4.camel-AynNu1t4G8oLie942ae2tA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jurgen Kramer @ 2005-01-16  0:00 UTC (permalink / raw)
  To: acpi-devel

On Fri, 2005-01-14 at 15:40 +0100, Jurgen Kramer wrote:
> 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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.10 and acpi_get_possible_resources? *solved*
       [not found]     ` <1105833637.27841.4.camel-AynNu1t4G8oLie942ae2tA@public.gmane.org>
@ 2005-01-17 19:30       ` Rajesh Shah
       [not found]         ` <20050117113020.A19913-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Rajesh Shah @ 2005-01-17 19:30 UTC (permalink / raw)
  To: Jurgen Kramer; +Cc: acpi-devel

On Sun, Jan 16, 2005 at 01:00:37AM +0100, Jurgen Kramer wrote:
> On Fri, 2005-01-14 at 15:40 +0100, Jurgen Kramer wrote:
> > 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
> 
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.10 and acpi_get_possible_resources? *solved*
       [not found]         ` <20050117113020.A19913-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
@ 2005-01-18 18:41           ` Jurgen Kramer
  0 siblings, 0 replies; 4+ messages in thread
From: Jurgen Kramer @ 2005-01-18 18:41 UTC (permalink / raw)
  To: Rajesh Shah; +Cc: acpi-devel

On Mon, 2005-01-17 at 11:30 -0800, Rajesh Shah wrote:
> On Sun, Jan 16, 2005 at 01:00:37AM +0100, Jurgen Kramer wrote:
> > On Fri, 2005-01-14 at 15:40 +0100, Jurgen Kramer wrote:
> > > 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
> > 
> > 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.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-18 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-14 14:40 2.6.10 and acpi_get_possible_resources? Jurgen Kramer
     [not found] ` <1105713621.10664.8.camel-AynNu1t4G8oLie942ae2tA@public.gmane.org>
2005-01-16  0:00   ` 2.6.10 and acpi_get_possible_resources? *solved* Jurgen Kramer
     [not found]     ` <1105833637.27841.4.camel-AynNu1t4G8oLie942ae2tA@public.gmane.org>
2005-01-17 19:30       ` Rajesh Shah
     [not found]         ` <20050117113020.A19913-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
2005-01-18 18:41           ` Jurgen Kramer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox