[ltp] Re: thinkpadpm removed

Marc P. linux-thinkpad@linux-thinkpad.org
Tue, 28 Mar 2006 17:18:20 -0800


just more info,

i am experiencing the exact same problem. I suspect it's a debian kernel
headers package problem..

In module-assistant [where i compile thinkpad-source into proper
kernel-specific debs], i notice the build process believes that the
files in the linux-headers-2.6.16-1 package are configured, but not
compiled [against the running kernel]??? which is the whole point of
that package.

clarification: linux-headers-2.6.16-1, not linux-headers-2.6.16-1-686

there are other compilation errors.

incidentally, madwifi-source compiles and insmod fine..

thinkpad-source appears to compile fine, but will not insmod [with the
errors below], nor will smapi or others.

not having sufficient Kung-Fu, i'm running on 2.6.15 til someone fixes
it.. ^_^

Thomas Hood wrote:
> Daniel wrote:
> 
>>I am using a vanilla 2.6.16 kernel with thinkpad 5.9 from Debian etch.
>>As is, the thinkpad modules compile but do not load, because:
>>  kernel: thinkpad: falsely claims to have parameter enable_thinkpadpm
> 
> 
> 
> Hmm.  The parameter is defined (for backward compatibility) but not used.
> Seems your compiler optimizes it away.  Suggestions invited for how to fix that.
> 
> 
> 
>>Now thinkpad.ko does load into the kernel, but my T41 no longer suspends
>>when I close the lid ("apm -s" works). Could it be that "It never
>>provided much functionality anyway" includes the feature of suspending
>>to RAM on lid closure? :-/
> 
> 
> 
> Use tpctl to check the --psl setting.  This requires the smapi module.
>