<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lammic</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lammic"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Lammic"/>
	<updated>2026-05-20T17:56:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=SMAPI_support_for_Linux&amp;diff=13085</id>
		<title>SMAPI support for Linux</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=SMAPI_support_for_Linux&amp;diff=13085"/>
		<updated>2005-12-09T08:08:55Z</updated>

		<summary type="html">&lt;p&gt;Lammic: cdrom_speed working on T40&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ThinkPad laptops include a proprietary interface called SMAPI BIOS (System Management Application Program Interface) which provides some&lt;br /&gt;
hardware control functionality that is not exposed by any other interface (e.g., ACPI).&lt;br /&gt;
&lt;br /&gt;
The SMAPI interfaces changes a lot between models, and is poorly documented, so Linux support is not exhaustive for most models. There are currently two SMAPI access mechanisms available: &amp;lt;tt&amp;gt;thinkpad&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;tpctl&amp;lt;/tt&amp;gt; for older ThinkPads, and &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; for newer ones.&lt;br /&gt;
&lt;br /&gt;
{{WARN|These drivers use undocumented features and direct hardware access. They thus cannot be guaranteed to work, and may cause arbitrary damage&lt;br /&gt;
(especially on models they weren't tested on).}}&lt;br /&gt;
&lt;br /&gt;
==Using the &amp;lt;tt&amp;gt;thinkpad&amp;lt;/tt&amp;gt; module==&lt;br /&gt;
&lt;br /&gt;
This solution consists of a module, called &amp;lt;tt&amp;gt;thinkpad&amp;lt;/tt&amp;gt;, and a user-space tool caled &amp;lt;tt&amp;gt;tpctl&amp;lt;/tt&amp;gt;. It provides very rich functionality for older ThinkPads, but on newer ThinkPads much of this functionality is exposed and supported through an ACPI interface and the SMAPI access does not work anymore. For details, see the [http://tpctl.sourceforge.net/README README] and [http://tpctl.sourceforge.net/SUPPORTED-MODELS list of supported models].&lt;br /&gt;
&lt;br /&gt;
* Project page: http://tpctl.sourceforge.net/&lt;br /&gt;
* You need to download the [http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=29354t thinkpad module] and [http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=1204 tpctl userspace tool].&lt;br /&gt;
* There is also an optional GUI: [http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=99929 configure-thinkpad].&lt;br /&gt;
&lt;br /&gt;
==Using the &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; module==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module exposes some features of the SMAPI BIOS found on recent ThinkPads via a sysfs interface. Currently, the only implemented functionality is control over battery charging (this is useful for [[Maintenance#Battery_Treatment|increasing battery lifetime]], or for using a leftover under-spec power supply that can't handle the combined power draw of running and charging).&lt;br /&gt;
&lt;br /&gt;
* Project page: http://tpctl.sourceforge.net/&lt;br /&gt;
* You need to donwnload only the [http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579 tp_smapi kernel module].&lt;br /&gt;
&lt;br /&gt;
To compile and load the module:&lt;br /&gt;
&lt;br /&gt;
 # tar xzvf tp_smapi-0.07.tgz&lt;br /&gt;
 # cd tp_smapi-0.07&lt;br /&gt;
 # make load&lt;br /&gt;
&lt;br /&gt;
To install permanently (optional):&lt;br /&gt;
&lt;br /&gt;
 # make install&lt;br /&gt;
 # modprobe tp_smapi&lt;br /&gt;
&lt;br /&gt;
To set the thresholds for starting and stopping battery charging (in percent of current full charge capacity):&lt;br /&gt;
&lt;br /&gt;
 # echo 40 &amp;gt; /sys/devices/platform/smapi/start_charge_thresh&lt;br /&gt;
 # echo 70 &amp;gt; /sys/devices/platform/smapi/stop_charge_thresh&lt;br /&gt;
 # cat /sys/devices/platform/smapi/*_charge_thresh&lt;br /&gt;
 40 &lt;br /&gt;
 70&lt;br /&gt;
&lt;br /&gt;
To unconditionally inhibit charging for 17 minutes:&lt;br /&gt;
&lt;br /&gt;
 # echo 17 &amp;gt; /sys/devices/platform/smapi/inhibit_charge_minutes&lt;br /&gt;
&lt;br /&gt;
To cancel charge inhibiting:&lt;br /&gt;
&lt;br /&gt;
 # echo 0 &amp;gt; /sys/devices/platform/smapi/inhibit_charge_minutes&lt;br /&gt;
&lt;br /&gt;
To control the speed of the optical drive:&lt;br /&gt;
{{WARN|Changing the CD speed simultaneously with a read or write to the CD will '''hang your computer'''. The &amp;lt;tt&amp;gt;hdparm -E&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;eject -x&amp;lt;/tt&amp;gt; commands might also work for you, and are safer.&amp;lt;br /&amp;gt;''Kernel hackers: if you know how to check whether an ATAPI device is being accessed, please [[Talk:SMAPI support for Linux|tell the author]].''}}&lt;br /&gt;
 # echo 0 &amp;gt; /sys/devices/platform/smapi/cdrom_speed # slow&lt;br /&gt;
 # echo 1 &amp;gt; /sys/devices/platform/smapi/cdrom_speed # medium&lt;br /&gt;
 # echo 2 &amp;gt; /sys/devices/platform/smapi/cdrom_speed # fast&lt;br /&gt;
 # cat /sys/devices/platform/smapi/cdrom_speed&lt;br /&gt;
 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other things that can be controlled through SMAPI, but are not supported in this version of the driver, include forcing battery discharge, PCI bus power saving, CPU power saving control, extended smart battery information and fan control. See the included README file for more information.&lt;br /&gt;
&lt;br /&gt;
====Model-specific status====&lt;br /&gt;
* ThinkPad {{T43}}, {{T43p}}, {{R52}}&lt;br /&gt;
**    all works&lt;br /&gt;
* ThinkPad {{X41}}&lt;br /&gt;
**    work:       all battery-related&lt;br /&gt;
**    unknown:    cdrom_speed&lt;br /&gt;
* ThinkPad {{G41}}&lt;br /&gt;
**    work:       start_charge_thresh, inhbit_charge_minutes, cdrom_speed&lt;br /&gt;
**    don't work: stop_charge_thresh (not supported by hardware)&lt;br /&gt;
* ThinkPad {{T42p}}, {{T41}}, {{R51}}, {{X40}}&lt;br /&gt;
**    work:       start_charge_thresh, inhbit_charge_minutes&lt;br /&gt;
**    don't work: stop_charge_thresh (not supported by hardware)&lt;br /&gt;
**    unknown:    cdrom_speed&lt;br /&gt;
* ThinkPad {{T42}}&lt;br /&gt;
**    work:       start_charge_thresh, cdrom_speed&lt;br /&gt;
**    unknown:    inhbit_charge_minutes, stop_charge_thresh&lt;br /&gt;
* ThinkPad {{T41p}}, {{T40p}}, {{R50p}}, {{R40}}, {{T40}}&lt;br /&gt;
**    work:       cdrom_speed&lt;br /&gt;
**    don't work: all battery-related (not supported by hardware)&lt;br /&gt;
* ThinkPad {{X31}}&lt;br /&gt;
**    don't work: all battery-related (not supported by hardware)&lt;br /&gt;
**    unknown:    cdrom_speed&lt;br /&gt;
&lt;br /&gt;
Please update the above and report your experience on the [[Talk:SMAPI support for Linux|discussion]] page. If the module loads but gives a &amp;quot;&amp;lt;tt&amp;gt;not supported&amp;lt;/tt&amp;gt;&amp;quot; or &amp;quot;&amp;lt;tt&amp;gt;not implementeded&amp;lt;/tt&amp;gt;&amp;quot; when you try to use some specific file in {{path|/sys/devices/platform/smapi/}}, please report the &amp;lt;tt&amp;gt;dmesg&amp;lt;/tt&amp;gt; output and whether the corresponding functionality is available under Windows - maybe your ThinkPad just can't do that.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]] [[Category:Patches]]&lt;/div&gt;</summary>
		<author><name>Lammic</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:SMAPI_support_for_Linux&amp;diff=13097</id>
		<title>Talk:SMAPI support for Linux</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:SMAPI_support_for_Linux&amp;diff=13097"/>
		<updated>2005-12-09T08:06:47Z</updated>

		<summary type="html">&lt;p&gt;Lammic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Great, great work! Really! This completely rocks. I just stopped my battery from charging at 77% and restarted charging a bit later, no problems whatsoever. BTW, this is on kernel 2.6.14.3.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:25, 5 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
None of the fuctions is working on my T40, kernel 2.6.14-mm2.&lt;br /&gt;
&lt;br /&gt;
--[[User:Lammic|lammic]], 2005.12.05&lt;br /&gt;
&lt;br /&gt;
Works for me on a T41 running 2.6.12-10-686 (Ubuntu 5.10).&lt;br /&gt;
&lt;br /&gt;
--[[User:berndtnm|berndtnm]], 2005.12.06&lt;br /&gt;
&lt;br /&gt;
Including stop_charge_thresh? That one seems to be missing on the T42p.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:46, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
tp_smapi works just fine on an R52 with Ubuntu Breezy stock kernel.&lt;br /&gt;
&lt;br /&gt;
--[[User:Micampe|Micampe]] 12:52, 7 Dec 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
''To set the thresholds for starting and stopping battery charging (in percent of current capacity):''&lt;br /&gt;
&lt;br /&gt;
'''current''' really? That'd be weird, I'd expect it to be percent of '''total''' capacity.&lt;br /&gt;
&lt;br /&gt;
--[[User:Micampe|Micampe]] 14:39, 7 Dec 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Current full charge capacity&amp;quot;, as opposed to &amp;quot;current remaining capacity&amp;quot; or &amp;quot;designed full charge capacity&amp;quot;...&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 15:05, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Battery features don't work with my T41p. I can't check this with windows. Can anybody try these features?&lt;br /&gt;
&lt;br /&gt;
-- Nils, 7 Dec 2005&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Nils, does cdrom_speed work for you on the T41p? Could you provide the details requested in the README (dmesg etc.)?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 21:57, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
CDRom Speed seems to work. (I see no warnings, but I have to do a speed test.) Now, I've send all outputs to the email-address in the readme.&lt;br /&gt;
&lt;br /&gt;
-- Nils, 8 Dec 2005&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Changing the CD speed when the CD is being accessed will hang your computer==&lt;br /&gt;
&lt;br /&gt;
I don't have this problem on my T40p. CDROM is mounted and file on CD is opened. Change speed do '''not''' hang my system.&lt;br /&gt;
&lt;br /&gt;
-- Stefan Schmidt&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
An open file looks fine if you're not reading/writing at that point. But my T43 does hangs on this:&lt;br /&gt;
 # dd if=/dev/scd0 of=/dev/null &amp;amp;&lt;br /&gt;
 # echo 1 &amp;gt; /sys/devices/platform/smapi/cdrom_speed&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 16:41, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
OK, sorry. I was to fast. My system hangs on this commands, too. :(&lt;br /&gt;
&lt;br /&gt;
-- Stefan Schmidt&lt;br /&gt;
&lt;br /&gt;
Works well. Great.&lt;br /&gt;
&lt;br /&gt;
T42 2373-8zh. Working :cdrom_speed and start_charge_thresh. Untest : inhibit_charge_minutes.&lt;br /&gt;
&lt;br /&gt;
-- Haifeng Chen&lt;br /&gt;
&lt;br /&gt;
cdrom_speed works on my T40.&lt;br /&gt;
&lt;br /&gt;
-- [[User:Lammic|lammic]], 2005.12.09&lt;/div&gt;</summary>
		<author><name>Lammic</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=SMAPI_support_for_Linux&amp;diff=12864</id>
		<title>SMAPI support for Linux</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=SMAPI_support_for_Linux&amp;diff=12864"/>
		<updated>2005-12-06T08:26:07Z</updated>

		<summary type="html">&lt;p&gt;Lammic: added T40 to non working models list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ThinkPad laptops include a proprietary interface called SMAPI BIOS (System Management Application Program Interface) which provides some&lt;br /&gt;
hardware control functionality that is not exposed by any other interface (e.g., ACPI).&lt;br /&gt;
&lt;br /&gt;
The SMAPI interfaces changes a lot between models, and is poorly documented, so Linux support is not exhaustive for most models. There currently two SMAPI interfaces available: &amp;lt;tt&amp;gt;tpctl&amp;lt;/tt&amp;gt; for older ThinkPads, and &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; for newer ones.&lt;br /&gt;
&lt;br /&gt;
{{WARN|This driver uses undocumented features and direct hardware access. They thus cannot be guaranteed to work, and may cause arbitrary damage&lt;br /&gt;
(especially on models they weren't tested on).}}&lt;br /&gt;
&lt;br /&gt;
==Using the &amp;lt;tt&amp;gt;thinkpad&amp;lt;/tt&amp;gt; module==&lt;br /&gt;
&lt;br /&gt;
This solution consists of a module, called &amp;lt;tt&amp;gt;thinkpad&amp;lt;/tt&amp;gt;, and a user-space tool caled &amp;lt;tt&amp;gt;tpctl&amp;lt;/tt&amp;gt;. It provides very rich functionality for older ThinkPads, but on newer ThinkPads much of this functionality is exposed and supported through an ACPI interface and the SMAPI access does not work anymore. For details, see the [http://tpctl.sourceforge.net/README README] and [http://tpctl.sourceforge.net/SUPPORTED-MODELS list of supported models].&lt;br /&gt;
&lt;br /&gt;
* Project page: http://tpctl.sourceforge.net/&lt;br /&gt;
* You need to download the [http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=29354t thinkpad module] and [http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=1204 tpctl userspace tool].&lt;br /&gt;
&lt;br /&gt;
==Using the &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; module==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module uses the current SMAPI interface to expose some features of the SMAPI BIOS via a sysfs interface. Currently, the only implemented functionality is control over battery charging (this is useful for [[Maintenance#Battery_Treatment|increasing battery lifetime]], or for using a leftover under-spec power supply that can't handle the combined power draw of running and charging).&lt;br /&gt;
&lt;br /&gt;
* Project page: http://tpctl.sourceforge.net/&lt;br /&gt;
* You need to donwnload only the [http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579 tp_smapi kernel module].&lt;br /&gt;
&lt;br /&gt;
To compile and load the module:&lt;br /&gt;
&lt;br /&gt;
 # tar xzvf tp_smapi-0.06.tgz&lt;br /&gt;
 # cd tp_smapi-0.06&lt;br /&gt;
 # make load&lt;br /&gt;
&lt;br /&gt;
To install permanently (optional):&lt;br /&gt;
&lt;br /&gt;
 # make install&lt;br /&gt;
 # modprobe tp_smapi&lt;br /&gt;
&lt;br /&gt;
Example of usage:&lt;br /&gt;
&lt;br /&gt;
 # echo 40 &amp;gt; /sys/devices/platform/smapi/start_charge_thresh&lt;br /&gt;
 # echo 70 &amp;gt; /sys/devices/platform/smapi/stop_charge_thresh&lt;br /&gt;
 # cat /sys/devices/platform/smapi/*_charge_thresh&lt;br /&gt;
 40 &lt;br /&gt;
 70&lt;br /&gt;
&lt;br /&gt;
To unconditionally inhibit charging for 17 minutes:&lt;br /&gt;
&lt;br /&gt;
 # echo 17 &amp;gt; /sys/devices/platform/smapi/inhibit_charge_minutes&lt;br /&gt;
&lt;br /&gt;
To cancel charge inhbiting:&lt;br /&gt;
&lt;br /&gt;
 # echo 0 &amp;gt; /sys/devices/platform/smapi/inhibit_charge_minutes&lt;br /&gt;
&lt;br /&gt;
If you get a &amp;quot;not supported error&amp;quot;, your laptop doesn't provide the specific function (or at least not via SMAPI).&lt;br /&gt;
&lt;br /&gt;
Other things that can be controlled through SMAPI, but are not supported in this version of the driver, include forcing battery discharge, PCI bus power saving, CPU power saving control, extended smart battery information, CD/DVD drive speed control and fan control. See the exported symbols in&lt;br /&gt;
PWRMGRIF.DLL or TPPWR32.DLL in your Windows partition for more hints.&lt;br /&gt;
&lt;br /&gt;
====Models on which this driver works (at least some functions)====&lt;br /&gt;
* ThinkPad {{T43}}, {{T43p}}, {{T42p}}, {{X41}} (all functions)&lt;br /&gt;
* ThinkPad {{X40}}, {{G41}} (some of the functions)&lt;br /&gt;
&lt;br /&gt;
For the details, see the README file inside the package.&lt;br /&gt;
If you have new data, please report it on the [[Talk:Editing SMAPI support for Linux|discussion]] page.&lt;br /&gt;
&lt;br /&gt;
====Models on which none of the functions work====&lt;br /&gt;
* ThinkPad {{T40}}, {{T40p}}, {{R50p}}, {{R40}}, {{X31}} and probably all earlier models. These apparently don't have the relevant capabilities, even under Windows.&lt;br /&gt;
&lt;br /&gt;
Please update the above and report your experience on the [[Talk:Editing SMAPI support for Linux|discussion]] page. If the module loads but gives &amp;quot;not supported&amp;quot; errors when you try to use it, report whether the corresponding functionality is available under Windows - maybe your ThinkPad just can't do that.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]] [[Category:Patches]]&lt;/div&gt;</summary>
		<author><name>Lammic</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:SMAPI_support_for_Linux&amp;diff=12980</id>
		<title>Talk:SMAPI support for Linux</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:SMAPI_support_for_Linux&amp;diff=12980"/>
		<updated>2005-12-06T08:24:44Z</updated>

		<summary type="html">&lt;p&gt;Lammic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Great, great work! Really! This completely rocks. I just stopped my battery from charging at 77% and restarted charging a bit later, no problems whatsoever. BTW, this is on kernel 2.6.14.3.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:25, 5 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
None of the fuctions is working on my T40, kernel 2.6.14-mm2.&lt;br /&gt;
&lt;br /&gt;
--[[User:Lammic|lammic]], 2005.12.05&lt;/div&gt;</summary>
		<author><name>Lammic</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_high_power_drain_in_ACPI_sleep&amp;diff=1302</id>
		<title>Problem with high power drain in ACPI sleep</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_high_power_drain_in_ACPI_sleep&amp;diff=1302"/>
		<updated>2005-02-02T08:59:17Z</updated>

		<summary type="html">&lt;p&gt;Lammic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Information about the problem of too high power drain in ACPI sleep mode.&lt;br /&gt;
&lt;br /&gt;
==Problem description==&lt;br /&gt;
Several people realised that their ThinkPads eat up too much power while suspended to ram via ACPI. Compared to APM suspend to ram the power drain is experienced to be about 10 times as high, 2-5 Watts. This empties the battery within one or two days.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*Different symptoms have been reported for different models. In some models the origin of the power drain is obvious ([[Problem with LCD backlight remaining on during ACPI sleep|backlight on during suspend]]), in other models there is no obvious reason.&lt;br /&gt;
*On some models/configurations the higher power drain couldn't even be realized or was at least significantly lower.&lt;br /&gt;
*The T4x thinkpad series (T40, T40p, T41, T41p, T42, T42p) suspends to ram just fine, and there are no components that are obviously left powered up. The ultrabay and network light is on, but that is the same under windows (but under APM sleep to RAM those lights are OFF).&lt;br /&gt;
The following table gives an overview of the models suffering from the mysterious power drain. To find out about your model, you may use the following [[ACPI sleep power drain test script | script]]. It creates a file &amp;lt;tt&amp;gt;/var/log/battery.log&amp;lt;/tt&amp;gt; which will tell you if you are affected or not.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;vertical-align:top;background-color:#ffcfbc;&amp;quot; | affected models&lt;br /&gt;
! style=&amp;quot;vertical-align:top;background-color:#cfefcf;&amp;quot; | unaffected models &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;background-color:#fff0e0;&amp;quot; |&lt;br /&gt;
*[[:Category:T40 | T40]]&lt;br /&gt;
**2373-MU3 &lt;br /&gt;
**2373-82U&lt;br /&gt;
**2373-92U&lt;br /&gt;
**2373-94U&lt;br /&gt;
**2373-22G&lt;br /&gt;
*[[:Category:T40p | T40p]]&lt;br /&gt;
**2373-G1U &lt;br /&gt;
**2373-G3U&lt;br /&gt;
**2373-G3G&lt;br /&gt;
* [[:Category:T41 | T41]]&lt;br /&gt;
**2379-DJU&lt;br /&gt;
**2373-9HU&lt;br /&gt;
**2373-4FG&lt;br /&gt;
**2373-2FG&lt;br /&gt;
* [[:Category:T42 | T42]]&lt;br /&gt;
**2378-DUU&lt;br /&gt;
* [[:Category:R40 | R40]]&lt;br /&gt;
** 2722-5MG&lt;br /&gt;
** 2722-B3G&lt;br /&gt;
* [[:Category:X21 | X21]]&lt;br /&gt;
* [[:Category:T30 | T30]]&lt;br /&gt;
** 2366-81A&lt;br /&gt;
* [[:Category:R51 | R51]]&lt;br /&gt;
** 1829-EHG&lt;br /&gt;
| style=&amp;quot;vertical-align:top;background-color:#e9f9e9;&amp;quot; |&lt;br /&gt;
*[[:Category:T41p | T41p]]&lt;br /&gt;
**2373-GKG&lt;br /&gt;
**2373-GGG&lt;br /&gt;
**[[2373-GHG]]&lt;br /&gt;
*[[:Category:T42p | T42p]]&lt;br /&gt;
**[[2373-HTG]]&lt;br /&gt;
**[[2373-W6M]]&lt;br /&gt;
**2373-KXM&lt;br /&gt;
*[[:Category:R50p | R50p]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
&lt;br /&gt;
*Linux, all flavours.&lt;br /&gt;
*Windows, for some models as well (only when using non-IBM drivers).&lt;br /&gt;
&lt;br /&gt;
==Status==&lt;br /&gt;
The cause of the problem is not really clear, yet.&lt;br /&gt;
&lt;br /&gt;
A faulty DSDT might be responsible for the phenomena. The thinkpad T4x DSDT has a few small bugs, none of which should cause the extra power drain. (Interesting to note: The DSDT from BIOS 3.13 (Nov 04) for the T42p compiles without bugs.)&lt;br /&gt;
&lt;br /&gt;
There is a interesting discussion taking place in the [http://bugme.osdl.org/show_bug.cgi?id=3022 OSDL Bugzilla].&lt;br /&gt;
&lt;br /&gt;
Update: it seems that the most significant difference can be made by properly turning off the video chip.&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
===For Thinkpads with Radeon graphic driver===&lt;br /&gt;
A proposed solution is to remove the CONFIG_PPC_PMAC condition for enabling D2 sleep in drivers/video/aty/radeon_pm.c as discussed in [http://bugme.osdl.org/show_bug.cgi?id=3022 kernel bug 3022]. There you can also find patches doing this. The patches devide in unconditional ones like [http://carrot.hep.upenn.edu/~vbraun/kernel-T4x/i386/patch-2.6.11-rc2-radeonfb-D2.patch.bz2 this one for 2.6.11-rc2] and conditional ones. The conditional ones only do D2 on models where it has been reported to work, the unconditional ones force D2 sleep on every model and you might experience hangs on resume with those.&lt;br /&gt;
&lt;br /&gt;
For [[:Category:Fedora Core | Fedora Core]] there's are precompiled patched kernels (2.6.11-rc2 based) available:&lt;br /&gt;
*[http://carrot.hep.upenn.edu/~vbraun/kernel-T4x/test/kernel-DANGEROUS-T4x-2.6.11-8.i386.rpm kernel with unconditional patch applied]&lt;br /&gt;
*[http://carrot.hep.upenn.edu/~vbraun/kernel-T4x/test/kernel-T4x-2.6.11-8.i386.rpm kernel with conditional patch applied].&lt;br /&gt;
&lt;br /&gt;
If you try, please send the result (hang yes/no, battery drain yes/no) with the precise model number (for example, I have a IBM thinkpad T41 2379-DJU) to &amp;lt;tt&amp;gt;vbraun at physics dot upenn dot edu&amp;lt;/tt&amp;gt;, it would be nice if your subject line would include &amp;quot;RADEONFB:&amp;quot; to make sure that I do not miss any emails.&lt;br /&gt;
&lt;br /&gt;
'''ATTENTION!'''&amp;lt;br /&amp;gt;&lt;br /&gt;
This solution enables doing suspend-to-D2 on non-PPC-machines, which is not tested at all and supposed to be the wrong thing to do!&lt;br /&gt;
Be careful and have a look at [http://bugme.osdl.org/show_bug.cgi?id=3022 the bugs discussion] before applying the patch.&lt;br /&gt;
&lt;br /&gt;
===Other models===&lt;br /&gt;
Nothing yet.&lt;br /&gt;
&lt;br /&gt;
[[Category:R40]] [[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R51p]] [[Category:T30]] [[Category:T40]] [[Category:T40p]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:X30]] [[Category:X31]] [[Category:X40]]&lt;/div&gt;</summary>
		<author><name>Lammic</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Ordering_Recovery_CDs&amp;diff=446</id>
		<title>Ordering Recovery CDs</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Ordering_Recovery_CDs&amp;diff=446"/>
		<updated>2004-09-28T08:10:35Z</updated>

		<summary type="html">&lt;p&gt;Lammic: /* Country overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Information on getting Recovery CDs from IBM.&lt;br /&gt;
&lt;br /&gt;
The information on this page is unofficial. It is gathered from personal experiences. It is here to raise your chances of success when you give it a try yourself.&lt;br /&gt;
&lt;br /&gt;
==About Recovery CDs==&lt;br /&gt;
Recovery CDs enable you to reproduce the original software state on your ThinkPad. Modern ThinkPads have a [[The PreDesktop Area | PreDesktop area]], which's purpose is to make Recovery CDs obsolete. There are, however, reasons why you might still want to have them, and for the time being they are available on request. Also it seems to depend on your country (see below).&lt;br /&gt;
&lt;br /&gt;
Recovery CDs are localized, meaning that there are specific versions for each language. The language you will get depends on the language of the OS that was shipped with your ThinkPad. There's usually no way to get CDs in a different language from IBM.&lt;br /&gt;
&lt;br /&gt;
==How to get them==&lt;br /&gt;
The normal procedure is to contact the IBM service and ask for them. This can be done by eMail or phone.&lt;br /&gt;
&amp;lt;!--TODO: insert links to support mail addresses and support phone numbers--&amp;gt;&lt;br /&gt;
If you actually get them or not, seems to be more a personal decision of the service person dealing with you than following fixed rules.&lt;br /&gt;
&lt;br /&gt;
They will usually expect you to tell them a good reason for your request (see below).&lt;br /&gt;
As with every service request, you'll also have to provide your model and serial number to verify the warranty state. You can be almost certain not to get the CDs after your warranty has expired. The model number is also used to determine which CDs you will get.&lt;br /&gt;
&lt;br /&gt;
Also, orders done during the first month after purchase have proven to be the most successful.&lt;br /&gt;
&lt;br /&gt;
==Good reasons to tell==&lt;br /&gt;
*You replaced your hard drive.&lt;br /&gt;
*You installed Linux or some other OS and accidentally removed/destroyed [[The PreDesktop Area | the PreDesktop area]].&lt;br /&gt;
&lt;br /&gt;
==What happens then==&lt;br /&gt;
Once it's decided that you get the CDs, they usually get shipped very fast. Times from 16h to 3 days have been reported, 3 days being the time to expect. The shipping can even happing without prior confirmation of your request, so don't be worried if you hear nothing within this time.&lt;br /&gt;
&lt;br /&gt;
==Country overview==&lt;br /&gt;
Please put an entry for your country into this table if it's missing and you made a try to get the Recovery CDs.&lt;br /&gt;
&amp;lt;!--separate entries by colons, please--&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| CDs recieved in || CDs were denied in&lt;br /&gt;
|-&lt;br /&gt;
| Germany ||&lt;br /&gt;
|-&lt;br /&gt;
| Italy ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:R40]] [[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R51p]] [[Category:T40]] [[Category:T40p]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:X40]]&lt;/div&gt;</summary>
		<author><name>Lammic</name></author>
		
	</entry>
</feed>