<?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=217.231.122.13</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=217.231.122.13"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/217.231.122.13"/>
	<updated>2026-04-05T14:56:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_configure_acpid&amp;diff=5822</id>
		<title>How to configure acpid</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_configure_acpid&amp;diff=5822"/>
		<updated>2005-05-19T09:10:52Z</updated>

		<summary type="html">&lt;p&gt;217.231.122.13: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basically, acpid just executes scripts residing in &amp;lt;tt&amp;gt;/etc/acpi/actions&amp;lt;/tt&amp;gt;. Which script to launch at which event is configured in several files in &amp;lt;tt&amp;gt;/etc/acpi/events&amp;lt;/tt&amp;gt;. {{cmd|man acpid}} holds detailed information on how to configure acpid.&lt;br /&gt;
&lt;br /&gt;
The [[ibm-acpi]] package includes example scripts in the &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; folder inside the tarball. They are a good starting point to adjust them to your needs. You also might want to have a look at the [[Configs#ACPI | ACPI section of the Configs page]] or the [[:Category:Scripts|Scripts]] repository. And you can find information about the event strings [[ibm-acpi]] generates for certain keys at the [[How to get special keys to work#ibm-acpi_events | Special Keys HOWTO]].&lt;br /&gt;
&lt;br /&gt;
==Example: go to sleep on lid close==&lt;br /&gt;
&lt;br /&gt;
To make the ThinkPad go to sleep when you close the lid, you need to add&lt;br /&gt;
an event handler for the lid event and an action script that takes care&lt;br /&gt;
of going to sleep and resuming.&lt;br /&gt;
&lt;br /&gt;
The event script needs to be created within &amp;lt;tt&amp;gt;/etc/acpi/events&amp;lt;/tt&amp;gt; and can have any name you like.&lt;br /&gt;
In this case we call it lid because it will trigger the lid event. Do {{cmdroot|vi /etc/acpi/events/lid}} and make it look like this:&lt;br /&gt;
 event=button/lid&lt;br /&gt;
 action=/etc/acpi/actions/sleep.sh %e&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;event&amp;quot; line is a regular expression specifying the events we're&lt;br /&gt;
interested in. You can determine what the event strings are from looking at&lt;br /&gt;
&amp;lt;tt&amp;gt;/var/log/acpid&amp;lt;/tt&amp;gt; after trying to suspend, close the lid, etc. .&lt;br /&gt;
You can find information about the event strings [[ibm-acpi]] generates for certain keys at the [[How to get special keys to work#ibm-acpi_events | Special Keys HOWTO]].&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;action&amp;quot; line is the command to be executed when these events are&lt;br /&gt;
dispatched. In this example we call the &amp;lt;tt&amp;gt;sleep.sh&amp;lt;/tt&amp;gt; script residing in &amp;lt;tt&amp;gt;/etc/acpi/actions&amp;lt;/tt&amp;gt; and pass the event description text using the %e placeholder.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|To make your changes take effect after adding or modifying the events files you must do a &amp;lt;tt&amp;gt;'''kill -SIGHUP `pidof acpid`'''&amp;lt;/tt&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
Our example &amp;lt;tt&amp;gt;/etc/acpi/actions/sleep.sh&amp;lt;/tt&amp;gt; script looks as follows:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 # if launched through a lid event and lid is open, do nothing&lt;br /&gt;
 echo &amp;quot;$1&amp;quot; | grep &amp;quot;button/lid&amp;quot; &amp;amp;&amp;amp; grep -q open /proc/acpi/button/lid/LID/state &amp;amp;&amp;amp; exit 0&lt;br /&gt;
 &lt;br /&gt;
 # remove USB 1.1 driver&lt;br /&gt;
 rmmod uhci_hcd&lt;br /&gt;
  &lt;br /&gt;
 # sync filesystem and clock&lt;br /&gt;
 sync&lt;br /&gt;
 /sbin/hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 # switch to console&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 6&lt;br /&gt;
 /usr/sbin/radeontool light off&lt;br /&gt;
 &lt;br /&gt;
 # go to sleep&lt;br /&gt;
 echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
 &lt;br /&gt;
 # readjust the clock (it might be off a bit after suspend)&lt;br /&gt;
 /sbin/hwclock --adjust&lt;br /&gt;
 /sbin/hwclock --hctosys&lt;br /&gt;
 &lt;br /&gt;
 # reload USB 1.1 driver&lt;br /&gt;
 modprobe uhci_hcd&lt;br /&gt;
 &lt;br /&gt;
 # turn on the backlight and switch back to X&lt;br /&gt;
 radeontool light on&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
&lt;br /&gt;
The lid generates an event for both opening and closing thus requiring&lt;br /&gt;
that we check it's state and only act if it's closed.&lt;br /&gt;
&lt;br /&gt;
There have been problems encountered with the USB devices not working properly after a resume from suspend.&lt;br /&gt;
To circumvent those we remove the USB driver prior to suspend and reload it afterwards.&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
&amp;lt;/code&amp;gt; line does not return until we are revived. So there is&lt;br /&gt;
only one event generated and there is no need to check the state of&lt;br /&gt;
anything.&lt;br /&gt;
&lt;br /&gt;
The console switching code in this script is a special solution for&lt;br /&gt;
[[Problem with LCD backlight remaining on during ACPI sleep|a problem where the backlight doesn't switch off]]&lt;br /&gt;
on the {{T30}} and some other models. Before going to sleep, these models switch to console mode which causes the&lt;br /&gt;
backlight to come back on. So we preemptively switch to console mode and turn off the backlight using [[radeontool]]&lt;br /&gt;
before going to sleep.&lt;br /&gt;
{{NOTE|If your display doesn't come back on resume, look [[Problem with display remaining black after resume|here]].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:570]] [[Category:570E]] [[Category:A20m]] [[Category:A20p]] [[Category:A20m]] [[Category:A20p]] [[Category:A21e]] [[Category:A21m]] [[Category:A21p]] [[Category:A22e]] [[Category:A22m]] [[Category:A22p]] [[Category:G40]] [[Category:G41]] [[Category:R30]] [[Category:R31]] [[Category:R32]] [[Category:R40]] [[Category:R40e]] [[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T20]] [[Category:T21]] [[Category:T22]] [[Category:T23]] [[Category:T30]] [[Category:T40]] [[Category:T40p]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:X20]] [[Category:X21]] [[Category:X22]] [[Category:X23]] [[Category:X24]] [[Category:X30]] [[Category:X31]] [[Category:X32]] [[Category:X40]] [[Category:X41]]&lt;/div&gt;</summary>
		<author><name>217.231.122.13</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=5646</id>
		<title>Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=5646"/>
		<updated>2005-05-19T09:08:45Z</updated>

		<summary type="html">&lt;p&gt;217.231.122.13: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There has been a problem encountered where the display stays black on resuming from suspend.&lt;br /&gt;
&lt;br /&gt;
The symptom might have you think first that your system hang up, but you will realize that your ThinkPad works and you can even reset it via {{key|Ctrl}}{{key|Alt}}{{key|Del}}.&lt;br /&gt;
&lt;br /&gt;
===Affected Models===&lt;br /&gt;
*ThinkPad {{T41p}}, {{T42p}}&lt;br /&gt;
*ThinkPad {{X40}}&lt;br /&gt;
&lt;br /&gt;
===Affected Operating Systems===&lt;br /&gt;
*Linux (it's a kernel issue)&lt;br /&gt;
&lt;br /&gt;
===Solution===&lt;br /&gt;
The Solution is to provide the &amp;lt;tt&amp;gt;acpi_sleep=s3_bios&amp;lt;/tt&amp;gt; kernel parameter in your kernel parameter line.&lt;br /&gt;
&lt;br /&gt;
For grub this can look like this:&lt;br /&gt;
 title           Linux, kernel 2.6.11-1-686&lt;br /&gt;
 root            (hd0,0)&lt;br /&gt;
 kernel          /boot/vmlinuz-2.6.11-1-686 root=/dev/hda1 ro acpi_sleep=s3_bios&lt;br /&gt;
 initrd          /boot/initrd.img-2.6.11-1-686&lt;br /&gt;
 savedefault&lt;br /&gt;
 boot&lt;/div&gt;</summary>
		<author><name>217.231.122.13</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_configure_acpid&amp;diff=4915</id>
		<title>How to configure acpid</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_configure_acpid&amp;diff=4915"/>
		<updated>2005-05-19T09:05:47Z</updated>

		<summary type="html">&lt;p&gt;217.231.122.13: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basically, acpid just executes scripts residing in &amp;lt;tt&amp;gt;/etc/acpi/actions&amp;lt;/tt&amp;gt;. Which script to launch at which event is configured in several files in &amp;lt;tt&amp;gt;/etc/acpi/events&amp;lt;/tt&amp;gt;. {{cmd|man acpid}} holds detailed information on how to configure acpid.&lt;br /&gt;
&lt;br /&gt;
The [[ibm-acpi]] package includes example scripts in the &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; folder inside the tarball. They are a good starting point to adjust them to your needs. You also might want to have a look at the [[Configs#ACPI | ACPI section of the Configs page]] or the [[:Category:Scripts|Scripts]] repository. And you can find information about the event strings [[ibm-acpi]] generates for certain keys at the [[How to get special keys to work#ibm-acpi_events | Special Keys HOWTO]].&lt;br /&gt;
&lt;br /&gt;
==Example: go to sleep on lid close==&lt;br /&gt;
&lt;br /&gt;
To make the ThinkPad go to sleep when you close the lid, you need to add&lt;br /&gt;
an event handler for the lid event and an action script that takes care&lt;br /&gt;
of going to sleep and resuming.&lt;br /&gt;
&lt;br /&gt;
The event script needs to be created within &amp;lt;tt&amp;gt;/etc/acpi/events&amp;lt;/tt&amp;gt; and can have any name you like.&lt;br /&gt;
In this case we call it lid because it will trigger the lid event. Do {{cmdroot|vi /etc/acpi/events/lid}} and make it look like this:&lt;br /&gt;
 event=button/lid&lt;br /&gt;
 action=/etc/acpi/actions/sleep.sh %e&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;event&amp;quot; line is a regular expression specifying the events we're&lt;br /&gt;
interested in. You can determine what the event strings are from looking at&lt;br /&gt;
&amp;lt;tt&amp;gt;/var/log/acpid&amp;lt;/tt&amp;gt; after trying to suspend, close the lid, etc. .&lt;br /&gt;
You can find information about the event strings [[ibm-acpi]] generates for certain keys at the [[How to get special keys to work#ibm-acpi_events | Special Keys HOWTO]].&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;action&amp;quot; line is the command to be executed when these events are&lt;br /&gt;
dispatched. In this example we call the &amp;lt;tt&amp;gt;sleep.sh&amp;lt;/tt&amp;gt; script residing in &amp;lt;tt&amp;gt;/etc/acpi/actions&amp;lt;/tt&amp;gt; and pass the event description text using the %e placeholder.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|To make your changes take effect after adding or modifying the events files you must do a &amp;lt;tt&amp;gt;'''kill -SIGHUP `pidof acpid`'''&amp;lt;/tt&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
Our example &amp;lt;tt&amp;gt;/etc/acpi/actions/sleep.sh&amp;lt;/tt&amp;gt; script looks as follows:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 # if launched through a lid event and lid is open, do nothing&lt;br /&gt;
 echo &amp;quot;$1&amp;quot; | grep &amp;quot;button/lid&amp;quot; &amp;amp;&amp;amp; grep -q open /proc/acpi/button/lid/LID/state &amp;amp;&amp;amp; exit 0&lt;br /&gt;
 &lt;br /&gt;
 # remove USB 1.1 driver&lt;br /&gt;
 rmmod uhci_hcd&lt;br /&gt;
  &lt;br /&gt;
 # sync filesystem and clock&lt;br /&gt;
 sync&lt;br /&gt;
 /sbin/hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 # switch to console&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 6&lt;br /&gt;
 /usr/sbin/radeontool light off&lt;br /&gt;
 &lt;br /&gt;
 # go to sleep&lt;br /&gt;
 echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
 &lt;br /&gt;
 # readjust the clock (it might be off a bit after suspend)&lt;br /&gt;
 /sbin/hwclock --adjust&lt;br /&gt;
 /sbin/hwclock --hctosys&lt;br /&gt;
 &lt;br /&gt;
 # reload USB 1.1 driver&lt;br /&gt;
 modprobe uhci_hcd&lt;br /&gt;
 &lt;br /&gt;
 # turn on the backlight and switch back to X&lt;br /&gt;
 radeontool light on&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
&lt;br /&gt;
The lid generates an event for both opening and closing thus requiring&lt;br /&gt;
that we check it's state and only act if it's closed.&lt;br /&gt;
&lt;br /&gt;
There have been problems encountered with the USB devices not working properly after a resume from suspend.&lt;br /&gt;
To circumvent those we remove the USB driver prior to suspend and reload it afterwards.&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
&amp;lt;/code&amp;gt; line does not return until we are revived. So there is&lt;br /&gt;
only one event generated and there is no need to check the state of&lt;br /&gt;
anything.&lt;br /&gt;
&lt;br /&gt;
The console switching code in this script is a special solution for&lt;br /&gt;
[[Problem with LCD backlight remaining on during ACPI sleep|a problem where the backlight doesn't switch off]]&lt;br /&gt;
on the {{T30}} and some other models. Before going to sleep, these models switch to console mode which causes the&lt;br /&gt;
backlight to come back on. So we preemptively switch to console mode and turn off the backlight using [[radeontool]]&lt;br /&gt;
before going to sleep.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:570]] [[Category:570E]] [[Category:A20m]] [[Category:A20p]] [[Category:A20m]] [[Category:A20p]] [[Category:A21e]] [[Category:A21m]] [[Category:A21p]] [[Category:A22e]] [[Category:A22m]] [[Category:A22p]] [[Category:G40]] [[Category:G41]] [[Category:R30]] [[Category:R31]] [[Category:R32]] [[Category:R40]] [[Category:R40e]] [[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T20]] [[Category:T21]] [[Category:T22]] [[Category:T23]] [[Category:T30]] [[Category:T40]] [[Category:T40p]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:X20]] [[Category:X21]] [[Category:X22]] [[Category:X23]] [[Category:X24]] [[Category:X30]] [[Category:X31]] [[Category:X32]] [[Category:X40]] [[Category:X41]]&lt;/div&gt;</summary>
		<author><name>217.231.122.13</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Known_Problems&amp;diff=5281</id>
		<title>Known Problems</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Known_Problems&amp;diff=5281"/>
		<updated>2005-05-19T09:01:46Z</updated>

		<summary type="html">&lt;p&gt;217.231.122.13: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Information on known problems with certain Thinkpad models.&lt;br /&gt;
&lt;br /&gt;
Choose (or create) a problem:&lt;br /&gt;
&lt;br /&gt;
===Display Problems===&lt;br /&gt;
*[[Problem with red tinted display | Red tint problem]] (TP 23)&lt;br /&gt;
&lt;br /&gt;
*[[Problem with red display shadow | Red shadow problem]] (TP T41p)&lt;br /&gt;
&lt;br /&gt;
*[[Problem with DVI throughput | Problem with DVI throughput on port replicators and docks]] (models from 2000-2004)&lt;br /&gt;
&lt;br /&gt;
*[[Problem with garbled screen | Garbled screen problem]] &lt;br /&gt;
&lt;br /&gt;
*[[Problem with video related system lockup | Video-related system lockups]] (TP T2x)&lt;br /&gt;
&lt;br /&gt;
*[[Problem with black X | Unmovable square black X in X]] (TP T2x)&lt;br /&gt;
&lt;br /&gt;
===Network Problems===&lt;br /&gt;
*[[Problem with 3Com 10/100 Ethernet card not being recognized]] (models with that card)&lt;br /&gt;
&lt;br /&gt;
===Power Management and Battery Problems===&lt;br /&gt;
*[[Problem with Thinkpad 600 batteries | Battery problem]] (TP 600/E/X)&lt;br /&gt;
&lt;br /&gt;
*[[Problem with fan noise | Fan noise problem]] (TP T4x/p, TP R5x/p)&lt;br /&gt;
&lt;br /&gt;
*[[Problem with high power drain in ACPI sleep | High power drain in ACPI sleep]] (various models)&lt;br /&gt;
&lt;br /&gt;
*[[Problem with LCD backlight remaining on during ACPI sleep | LCD backlight remaining on during ACPI sleep]] (various models)&lt;br /&gt;
&lt;br /&gt;
*[[Problem with display remaining black after resume|Blank display after resume]] (various models)&lt;br /&gt;
&lt;br /&gt;
===Sound Problems===&lt;br /&gt;
*[[Problem with broken sound on ThinkPad 600 | Broken sound on ThinkPad 600/E]] (TP 600/E/X, 770Z)&lt;br /&gt;
&lt;br /&gt;
===Misc Problems===&lt;br /&gt;
*[[Problem with lm-sensors | Problem with lm_sensors]] (TP 570E, 770X/Z, 600E/X, 240, X20)&lt;br /&gt;
*[[Problem with high pitch noises | High pitch noises]] (several models)&lt;br /&gt;
*[[Problem with hard drive clicking | Clicking Hard Drive]] (T4x models and other models which ship with Hitachi's 5k80 hard drive)&lt;br /&gt;
*[[Problem with Dock USB Ports | Dock USB Ports]] (T30)&lt;br /&gt;
*[[Problem with USB 2.0 | USB 2.0 problems]] (T4x)&lt;br /&gt;
&lt;br /&gt;
[[de:Bekannte_Probleme]]&lt;/div&gt;</summary>
		<author><name>217.231.122.13</name></author>
		
	</entry>
</feed>