<?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=Junghans</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=Junghans"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Junghans"/>
	<updated>2026-06-10T05:51:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Microphone_Mute_Button&amp;diff=54164</id>
		<title>Microphone Mute Button</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Microphone_Mute_Button&amp;diff=54164"/>
		<updated>2012-12-17T00:00:21Z</updated>

		<summary type="html">&lt;p&gt;Junghans: /* Workaround using acpid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
Some Thinkpads come with a Microphone Mute Button possibly with an led.&lt;br /&gt;
&lt;br /&gt;
The Microphone Mute Button on the T410 and T410s does not work on Ubuntu 10.10 and Ubuntu 11.04.&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/728310&lt;br /&gt;
&lt;br /&gt;
== Workaround using acpid ==&lt;br /&gt;
Pressing the mic mute botton will generate a acpi event&lt;br /&gt;
 $ apci_listen&lt;br /&gt;
 ibm/hotkey HKEY 00000080 0000101b&lt;br /&gt;
add a acpid rule to handle this event in {{path|/etc/acpi/events/lenovo-mutemic}}: &lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 0000101b&lt;br /&gt;
 action=/etc/acpi/lenovo-mutemic.sh&lt;br /&gt;
the script ({{path|/etc/acpi/lenovo-mutemic.sh}}) to toggle the mice look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
led=&amp;quot;/sys/devices/platform/thinkpad_acpi/leds/tpacpi::micmute/brightness&amp;quot;&lt;br /&gt;
user=$(who | awk '/0\.0/{print $1; exit;}')&lt;br /&gt;
[[ -z $user ]] &amp;amp;&amp;amp; user=root&lt;br /&gt;
if [[ $(amixer sget Capture) == *&amp;quot;[on]&amp;quot;* ]]; then&lt;br /&gt;
  logger &amp;quot;Microphone is now muted (for $user) $USER&amp;quot;&lt;br /&gt;
  amixer sset Capture nocap&lt;br /&gt;
  [[ -f $led ]] &amp;amp;&amp;amp; echo 1 &amp;gt; $led&lt;br /&gt;
  sudo -u $user DISPLAY=&amp;quot;:0.0&amp;quot; notify-send -i microphone-sensitivity-muted-symbolic &amp;quot;Microphone&amp;quot; &amp;quot;Microphone is now &amp;lt;b&amp;gt;MUTED&amp;lt;/b&amp;gt;&amp;quot;&lt;br /&gt;
else&lt;br /&gt;
  logger &amp;quot;Microphone is now on (for $user)&amp;quot;&lt;br /&gt;
  amixer sset Capture cap&lt;br /&gt;
  [[ -f $led ]] &amp;amp;&amp;amp; echo 0 &amp;gt; $led&lt;br /&gt;
  sudo -u $user DISPLAY=&amp;quot;:0.0&amp;quot; notify-send -i microphone-sensitivity-high-symbolic &amp;quot;Microphone&amp;quot; &amp;quot;Microphone is now &amp;lt;b&amp;gt;ON&amp;lt;/b&amp;gt;&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Explanation:&lt;br /&gt;
* &amp;lt;tt&amp;gt;led&amp;lt;/tt&amp;gt; contain the path to the led in the mute botton (see below)&lt;br /&gt;
* &amp;lt;tt&amp;gt;user&amp;lt;/tt&amp;gt; is the name of the user, which is currently signed in in X11 and &amp;lt;tt&amp;gt;notify-send&amp;lt;/tt&amp;gt; will send a notification to that user. Remove these lines if you don't like it.&lt;br /&gt;
* Pressing the button will toggle the state of the ALSA capture device, which is maybe not optimal in all cases as it disables all capture devices. &amp;lt;tt&amp;gt;Mic&amp;lt;/tt&amp;gt; would be another choice, but on some thinkpads it is named &amp;lt;tt&amp;gt;Internal Mic&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
ALSA will not remember the state of the led at startup, so one need another small start-up script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
led=&amp;quot;/sys/devices/platform/thinkpad_acpi/leds/tpacpi::micmute/brightness&amp;quot;&lt;br /&gt;
if [[ $(amixer sget Capture) == *&amp;quot;[off]&amp;quot;* ]]; then&lt;br /&gt;
  [[ -f $led ]] &amp;amp;&amp;amp; echo 1 &amp;gt; $led&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and put it in {{path|/etc/local.d/lenovo-mutemic.sh}}.&lt;br /&gt;
&lt;br /&gt;
==Needed for models==&lt;br /&gt;
{{T410}}, {{T410s}}, {{X230}}&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=54153</id>
		<title>How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=54153"/>
		<updated>2012-12-14T21:52:10Z</updated>

		<summary type="html">&lt;p&gt;Junghans: /* Machine reboots after shutting down */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
First, simply try using the power management features of Linux on your computer. Tell Linux to suspend (System &amp;gt; Preferences &amp;gt; Power Management in Gnome).  Try closing the lid.    ACPI may already work.&lt;br /&gt;
&lt;br /&gt;
===Update BIOS===&lt;br /&gt;
ACPI requires a relatively new BIOS version.  In particular, if you get the message,&lt;br /&gt;
   ACPI: Could not use ECDT&lt;br /&gt;
during startup, you probably need a [[BIOS Upgrade]].  For example, a BIOS upgrade from version 1.02 to 1.10 was all that was needed for ACPI to start working on an A31 2652 running Red Hat Enterprise Linux 5 (CentOS 5).&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
Many Kernel 2.6 distributions like Red Hat Enterprise Linux 5 (Centos 5) have ACPI built in and ready to go.  If not, you must enable ACPI support in your kernel.&lt;br /&gt;
&lt;br /&gt;
To do this open your kernel config and enable ACPI Power Management:&lt;br /&gt;
:{{kernelconf|CONFIG_PM|&amp;lt;*&amp;gt;|Power Management support|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI|&amp;lt;*&amp;gt;|ACPI Support|Power management options|||}}&lt;br /&gt;
&lt;br /&gt;
You'd most likely want to enable the following ACPI options:&lt;br /&gt;
:{{kernelconf|CONFIG_SUSPEND|&amp;lt;*&amp;gt;|Suspend to RAM and standby|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_AC|&amp;lt;*&amp;gt;|AC Adapter|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BATTERY|&amp;lt;*&amp;gt;|Battery|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BUTTON|&amp;lt;*&amp;gt;|Button|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_FAN|&amp;lt;*&amp;gt;|Fan|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_PROCESSOR|&amp;lt;*&amp;gt;|Processor|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_THERMAL|&amp;lt;*&amp;gt;|Thermal Zone|ACPI|Power management options||}}&lt;br /&gt;
&lt;br /&gt;
If you prefer editing your {{path|.config}} file directly, you should set at least the following variables:&lt;br /&gt;
 CONFIG_PM=y&lt;br /&gt;
 CONFIG_ACPI=y&lt;br /&gt;
 CONFIG_ACPI_AC=y&lt;br /&gt;
 CONFIG_ACPI_BATTERY=y&lt;br /&gt;
 CONFIG_ACPI_BUTTON=y&lt;br /&gt;
 CONFIG_ACPI_FAN=y&lt;br /&gt;
 CONFIG_ACPI_PROCESSOR=y&lt;br /&gt;
 CONFIG_ACPI_THERMAL=y&lt;br /&gt;
 CONFIG_ACPI_BLACKLIRG_YEAR=0&lt;br /&gt;
 CONFIG_ACPI_EC=y&lt;br /&gt;
 CONFIG_ACPI_POWER=y&lt;br /&gt;
 CONFIG_ACPI_SYSTEM=y&lt;br /&gt;
&lt;br /&gt;
Then recompile your kernel. &lt;br /&gt;
&lt;br /&gt;
{{HINT| ACPI SLEEP States option did only show up for me after patching [[Software Suspend 2]] into the kernel. With a vanilla 2.6.17 kernel, one must enable CONFIG_SMP and CONFIG_HOTPLUG_CPU for the option to appear, cf. [http://bugs.debian.org/383059 Debian bug #383059] .&lt;br /&gt;
(This should be fixed in 2.6.23, there are new CONFIG_SUSPEND and CONFIG_HIBERNATION config options)}}&lt;br /&gt;
&lt;br /&gt;
===Kernel boot parameters===&lt;br /&gt;
Many ThinkPads have been hit by a recent (kernel 2.6.16) change to ACPI4Linux that changed the default means of accessing the ACPI Embedded Controller as a way to shake out underlying bugs in the EC access code. If your ThinkPad fails to resume properly (a blinking Sleep light on resume that doesn't go away, or a hang when trying to suspend/standby a second time), adding {{bootparm|ec_intr|0}} to your kernel command line may help.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad specific ACPI driver===&lt;br /&gt;
&lt;br /&gt;
If you are using kernel version 2.6.22 and later, please use the [[thinkpad-acpi]] driver included with the kernel.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Generally it is a good idea to read the README included with the driver.}}&lt;br /&gt;
&lt;br /&gt;
===Backlight problems with post-2.6.26 kernels===&lt;br /&gt;
&lt;br /&gt;
According to [[http://www.nabble.com/T61-Brightness-keys-with-2.6.26-not-working-(NVIDIA)-td18577619.html this thread]], users with 2.6.26 kernel and higher may experience problems with ThinkPad backlight contols ('''Fn+Home''', '''Fn+End''' on T61). The symptoms are:&lt;br /&gt;
* backlight brightness controls do not work;&lt;br /&gt;
* Using '''acpi_listen''' command, there is no reaction for '''brightness down''' button, but '''brightenss up''' gives:&lt;br /&gt;
  ibm/hotkey HKEY 00000080 00001010&lt;br /&gt;
&lt;br /&gt;
The solution is that one needs to enable `CONFIG_VIDEO_OUTPUT_CONTROL`:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
   Graphics Support  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Lowlevel video output switch controls&lt;br /&gt;
&lt;br /&gt;
Subsequently one should enable 'CONFIG_ACPI_VIDEO':&lt;br /&gt;
 Power Management Options  ---&amp;gt;&lt;br /&gt;
   [*] ACPI (Advanced Configuration and Power Interface) Support  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Video&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Without `CONFIG_VIDEO_OUTPUT_CONTROL` enabled, one will not be able to enable `CONFIG_ACPI_VIDEO` in menuconfig or similar interface as the option will remain hidden}}&lt;br /&gt;
&lt;br /&gt;
===ACPI S4 hardware signature mismatch===&lt;br /&gt;
&lt;br /&gt;
Around kernel 2.6.27, a feature was introduced to check the hardware signature on resume from S4 (hibernate). This feature might be broken on some models. Resume will halt and the following error message is shown:&lt;br /&gt;
:ACPI: Hardware changed while hibernated, cannot resume!&lt;br /&gt;
:Kernel panic - not syncing: ACPI S4 hardware signature mismatch&lt;br /&gt;
To fix it, add the following kernel parameter:&lt;br /&gt;
:acpi_sleep=s4_nohwsig&lt;br /&gt;
This problem appeared here on a T42p, but only if the power is unplugged while hibernated, even if the battery is still plugged. Another sympton is, that resume hangs with a dark screen if the acpi_cpufreq module is loaded, even if the power is not unplugged while hibernated. With the above mentioned kernel parameter, both problems go away.&lt;br /&gt;
&lt;br /&gt;
===ACPI daemon===&lt;br /&gt;
Also you'll need to install [[acpid]], if it isn't present on your system. [[acpid]] is a daemon that handles the ACPI events generated by the system. Read [[How to configure acpid]].&lt;br /&gt;
&lt;br /&gt;
{{NOTE|For [[acpid]] to work, the ACPI event interface &amp;lt;TT&amp;gt;/proc/acpi/event&amp;lt;/TT&amp;gt; must be configured in the kernel (via &amp;lt;TT&amp;gt;CONFIG_ACPI_PROC_EVENT&amp;lt;/TT&amp;gt;).  As of kernel 2.6.25, this interface is deprecated.  ACPI events are now distributed through the kernel's input event framework, making [[acpid]] redundant and, ultimately, obsolete.  However, userspace utilities have been slow to migrate toward the new interface, and many Linux distributions continue to enable the old interface.  Check your kernel configuration, or check to see if &amp;lt;TT&amp;gt;/proc/acpi/event&amp;lt;/TT&amp;gt; exists.}}&lt;br /&gt;
&lt;br /&gt;
==Screen blanking (Standby)==&lt;br /&gt;
Make sure you have &lt;br /&gt;
 Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
in the Monitor section of your {{path|/etc/X11/XF86Config}} or {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xset +dpms}} and then {{cmduser|xset dpms force off}} will turn off the backlight on a laptop screen.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this may not work in combination with {{cmduser|echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state}} because switching to console causes the backlight to come back on before sleeping.&lt;br /&gt;
&lt;br /&gt;
==Suspend to RAM (Sleep)==&lt;br /&gt;
ACPI Sleep/suspend-to-ram with recent 2.6.x kernels usually works fine. Have a look at the [[How to configure acpid|acpid configuration HOWTO]]. It includes a specific example for going to sleep on lid close.&lt;br /&gt;
&lt;br /&gt;
For Troubleshooting, look at the [[Problems with ACPI suspend-to-ram|Problems with ACPI suspend-to-ram page]].&lt;br /&gt;
&lt;br /&gt;
==Suspend to disk (Hibernate)==&lt;br /&gt;
There are two drivers for this available:&lt;br /&gt;
* [[swsusp]], which is in the kernel and&lt;br /&gt;
* [[TuxOnIce]] which is more feature rich, but not yet in the kernel, so you have to patch it in yourself.&lt;br /&gt;
&lt;br /&gt;
Both are reported to work fine as long as you use open-source graphic drivers. A comparison of the features can be found on [http://softwaresuspend.berlios.de/features.html this page].&lt;br /&gt;
&lt;br /&gt;
Just in case you are in doubt...yes, it is safe in both cases to use the same swap partition as active swap and as suspend partition.&lt;br /&gt;
&lt;br /&gt;
See the according drivers page for instructions.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Machine reboots after shutting down ===&lt;br /&gt;
&lt;br /&gt;
Try removing ehci_hcd before shutting down, eg, add the following line to rc.local.shutdown&lt;br /&gt;
&lt;br /&gt;
 rmmod ehci_hcd&lt;br /&gt;
&lt;br /&gt;
Needed on {{X220}} and {{X230|Reboots after shutting down}}.&lt;br /&gt;
&lt;br /&gt;
==ThinkPads on which it is recommended to use ACPI==&lt;br /&gt;
*ThinkPad {{770X}}, {{770Z}}&lt;br /&gt;
*ThinkPad {{A20m}}, {{A20p}}, {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{A30p}}, {{A31}}, {{A31p}}&lt;br /&gt;
*ThinkPad {{G40}}, {{G41}}&lt;br /&gt;
*ThinkPad {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T22}}, {{T23}}, {{T30}}, {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T61}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
*ThinkPad {{TransNote}}&lt;br /&gt;
*ThinkPad {{T20}} and {{T21}} have old ACPI implementations, but there have been some reports of using ACPI successfully on these models with Ubuntu and Mandriva in particular. Check the related pages about installing Linux on these models for details.&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=54152</id>
		<title>How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=54152"/>
		<updated>2012-12-14T21:50:06Z</updated>

		<summary type="html">&lt;p&gt;Junghans: /* Machine reboots after shutting down */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
First, simply try using the power management features of Linux on your computer. Tell Linux to suspend (System &amp;gt; Preferences &amp;gt; Power Management in Gnome).  Try closing the lid.    ACPI may already work.&lt;br /&gt;
&lt;br /&gt;
===Update BIOS===&lt;br /&gt;
ACPI requires a relatively new BIOS version.  In particular, if you get the message,&lt;br /&gt;
   ACPI: Could not use ECDT&lt;br /&gt;
during startup, you probably need a [[BIOS Upgrade]].  For example, a BIOS upgrade from version 1.02 to 1.10 was all that was needed for ACPI to start working on an A31 2652 running Red Hat Enterprise Linux 5 (CentOS 5).&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
Many Kernel 2.6 distributions like Red Hat Enterprise Linux 5 (Centos 5) have ACPI built in and ready to go.  If not, you must enable ACPI support in your kernel.&lt;br /&gt;
&lt;br /&gt;
To do this open your kernel config and enable ACPI Power Management:&lt;br /&gt;
:{{kernelconf|CONFIG_PM|&amp;lt;*&amp;gt;|Power Management support|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI|&amp;lt;*&amp;gt;|ACPI Support|Power management options|||}}&lt;br /&gt;
&lt;br /&gt;
You'd most likely want to enable the following ACPI options:&lt;br /&gt;
:{{kernelconf|CONFIG_SUSPEND|&amp;lt;*&amp;gt;|Suspend to RAM and standby|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_AC|&amp;lt;*&amp;gt;|AC Adapter|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BATTERY|&amp;lt;*&amp;gt;|Battery|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BUTTON|&amp;lt;*&amp;gt;|Button|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_FAN|&amp;lt;*&amp;gt;|Fan|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_PROCESSOR|&amp;lt;*&amp;gt;|Processor|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_THERMAL|&amp;lt;*&amp;gt;|Thermal Zone|ACPI|Power management options||}}&lt;br /&gt;
&lt;br /&gt;
If you prefer editing your {{path|.config}} file directly, you should set at least the following variables:&lt;br /&gt;
 CONFIG_PM=y&lt;br /&gt;
 CONFIG_ACPI=y&lt;br /&gt;
 CONFIG_ACPI_AC=y&lt;br /&gt;
 CONFIG_ACPI_BATTERY=y&lt;br /&gt;
 CONFIG_ACPI_BUTTON=y&lt;br /&gt;
 CONFIG_ACPI_FAN=y&lt;br /&gt;
 CONFIG_ACPI_PROCESSOR=y&lt;br /&gt;
 CONFIG_ACPI_THERMAL=y&lt;br /&gt;
 CONFIG_ACPI_BLACKLIRG_YEAR=0&lt;br /&gt;
 CONFIG_ACPI_EC=y&lt;br /&gt;
 CONFIG_ACPI_POWER=y&lt;br /&gt;
 CONFIG_ACPI_SYSTEM=y&lt;br /&gt;
&lt;br /&gt;
Then recompile your kernel. &lt;br /&gt;
&lt;br /&gt;
{{HINT| ACPI SLEEP States option did only show up for me after patching [[Software Suspend 2]] into the kernel. With a vanilla 2.6.17 kernel, one must enable CONFIG_SMP and CONFIG_HOTPLUG_CPU for the option to appear, cf. [http://bugs.debian.org/383059 Debian bug #383059] .&lt;br /&gt;
(This should be fixed in 2.6.23, there are new CONFIG_SUSPEND and CONFIG_HIBERNATION config options)}}&lt;br /&gt;
&lt;br /&gt;
===Kernel boot parameters===&lt;br /&gt;
Many ThinkPads have been hit by a recent (kernel 2.6.16) change to ACPI4Linux that changed the default means of accessing the ACPI Embedded Controller as a way to shake out underlying bugs in the EC access code. If your ThinkPad fails to resume properly (a blinking Sleep light on resume that doesn't go away, or a hang when trying to suspend/standby a second time), adding {{bootparm|ec_intr|0}} to your kernel command line may help.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad specific ACPI driver===&lt;br /&gt;
&lt;br /&gt;
If you are using kernel version 2.6.22 and later, please use the [[thinkpad-acpi]] driver included with the kernel.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Generally it is a good idea to read the README included with the driver.}}&lt;br /&gt;
&lt;br /&gt;
===Backlight problems with post-2.6.26 kernels===&lt;br /&gt;
&lt;br /&gt;
According to [[http://www.nabble.com/T61-Brightness-keys-with-2.6.26-not-working-(NVIDIA)-td18577619.html this thread]], users with 2.6.26 kernel and higher may experience problems with ThinkPad backlight contols ('''Fn+Home''', '''Fn+End''' on T61). The symptoms are:&lt;br /&gt;
* backlight brightness controls do not work;&lt;br /&gt;
* Using '''acpi_listen''' command, there is no reaction for '''brightness down''' button, but '''brightenss up''' gives:&lt;br /&gt;
  ibm/hotkey HKEY 00000080 00001010&lt;br /&gt;
&lt;br /&gt;
The solution is that one needs to enable `CONFIG_VIDEO_OUTPUT_CONTROL`:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
   Graphics Support  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Lowlevel video output switch controls&lt;br /&gt;
&lt;br /&gt;
Subsequently one should enable 'CONFIG_ACPI_VIDEO':&lt;br /&gt;
 Power Management Options  ---&amp;gt;&lt;br /&gt;
   [*] ACPI (Advanced Configuration and Power Interface) Support  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Video&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Without `CONFIG_VIDEO_OUTPUT_CONTROL` enabled, one will not be able to enable `CONFIG_ACPI_VIDEO` in menuconfig or similar interface as the option will remain hidden}}&lt;br /&gt;
&lt;br /&gt;
===ACPI S4 hardware signature mismatch===&lt;br /&gt;
&lt;br /&gt;
Around kernel 2.6.27, a feature was introduced to check the hardware signature on resume from S4 (hibernate). This feature might be broken on some models. Resume will halt and the following error message is shown:&lt;br /&gt;
:ACPI: Hardware changed while hibernated, cannot resume!&lt;br /&gt;
:Kernel panic - not syncing: ACPI S4 hardware signature mismatch&lt;br /&gt;
To fix it, add the following kernel parameter:&lt;br /&gt;
:acpi_sleep=s4_nohwsig&lt;br /&gt;
This problem appeared here on a T42p, but only if the power is unplugged while hibernated, even if the battery is still plugged. Another sympton is, that resume hangs with a dark screen if the acpi_cpufreq module is loaded, even if the power is not unplugged while hibernated. With the above mentioned kernel parameter, both problems go away.&lt;br /&gt;
&lt;br /&gt;
===ACPI daemon===&lt;br /&gt;
Also you'll need to install [[acpid]], if it isn't present on your system. [[acpid]] is a daemon that handles the ACPI events generated by the system. Read [[How to configure acpid]].&lt;br /&gt;
&lt;br /&gt;
{{NOTE|For [[acpid]] to work, the ACPI event interface &amp;lt;TT&amp;gt;/proc/acpi/event&amp;lt;/TT&amp;gt; must be configured in the kernel (via &amp;lt;TT&amp;gt;CONFIG_ACPI_PROC_EVENT&amp;lt;/TT&amp;gt;).  As of kernel 2.6.25, this interface is deprecated.  ACPI events are now distributed through the kernel's input event framework, making [[acpid]] redundant and, ultimately, obsolete.  However, userspace utilities have been slow to migrate toward the new interface, and many Linux distributions continue to enable the old interface.  Check your kernel configuration, or check to see if &amp;lt;TT&amp;gt;/proc/acpi/event&amp;lt;/TT&amp;gt; exists.}}&lt;br /&gt;
&lt;br /&gt;
==Screen blanking (Standby)==&lt;br /&gt;
Make sure you have &lt;br /&gt;
 Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
in the Monitor section of your {{path|/etc/X11/XF86Config}} or {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xset +dpms}} and then {{cmduser|xset dpms force off}} will turn off the backlight on a laptop screen.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this may not work in combination with {{cmduser|echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state}} because switching to console causes the backlight to come back on before sleeping.&lt;br /&gt;
&lt;br /&gt;
==Suspend to RAM (Sleep)==&lt;br /&gt;
ACPI Sleep/suspend-to-ram with recent 2.6.x kernels usually works fine. Have a look at the [[How to configure acpid|acpid configuration HOWTO]]. It includes a specific example for going to sleep on lid close.&lt;br /&gt;
&lt;br /&gt;
For Troubleshooting, look at the [[Problems with ACPI suspend-to-ram|Problems with ACPI suspend-to-ram page]].&lt;br /&gt;
&lt;br /&gt;
==Suspend to disk (Hibernate)==&lt;br /&gt;
There are two drivers for this available:&lt;br /&gt;
* [[swsusp]], which is in the kernel and&lt;br /&gt;
* [[TuxOnIce]] which is more feature rich, but not yet in the kernel, so you have to patch it in yourself.&lt;br /&gt;
&lt;br /&gt;
Both are reported to work fine as long as you use open-source graphic drivers. A comparison of the features can be found on [http://softwaresuspend.berlios.de/features.html this page].&lt;br /&gt;
&lt;br /&gt;
Just in case you are in doubt...yes, it is safe in both cases to use the same swap partition as active swap and as suspend partition.&lt;br /&gt;
&lt;br /&gt;
See the according drivers page for instructions.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Machine reboots after shutting down ===&lt;br /&gt;
&lt;br /&gt;
Try removing ehci_hcd before shutting down, eg, add the following line to rc.local.shutdown&lt;br /&gt;
&lt;br /&gt;
 rmmod ehci_hcd&lt;br /&gt;
&lt;br /&gt;
Needed on {{X220}} and {{X230}}.&lt;br /&gt;
&lt;br /&gt;
==ThinkPads on which it is recommended to use ACPI==&lt;br /&gt;
*ThinkPad {{770X}}, {{770Z}}&lt;br /&gt;
*ThinkPad {{A20m}}, {{A20p}}, {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{A30p}}, {{A31}}, {{A31p}}&lt;br /&gt;
*ThinkPad {{G40}}, {{G41}}&lt;br /&gt;
*ThinkPad {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T22}}, {{T23}}, {{T30}}, {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T61}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
*ThinkPad {{TransNote}}&lt;br /&gt;
*ThinkPad {{T20}} and {{T21}} have old ACPI implementations, but there have been some reports of using ACPI successfully on these models with Ubuntu and Mandriva in particular. Check the related pages about installing Linux on these models for details.&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Template:X230&amp;diff=54151</id>
		<title>Template:X230</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template:X230&amp;diff=54151"/>
		<updated>2012-12-14T21:45:23Z</updated>

		<summary type="html">&lt;p&gt;Junghans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:X230|X230]][[Category:X230]]&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Template:X230&amp;diff=54150</id>
		<title>Template:X230</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template:X230&amp;diff=54150"/>
		<updated>2012-12-14T21:41:14Z</updated>

		<summary type="html">&lt;p&gt;Junghans: Redirected page to Category:X230&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Category:X230]]&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Template:X230&amp;diff=54149</id>
		<title>Template:X230</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template:X230&amp;diff=54149"/>
		<updated>2012-12-14T21:40:07Z</updated>

		<summary type="html">&lt;p&gt;Junghans: â†Created page with 'Category:X230'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:X230]]&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Microphone_Mute_Button&amp;diff=54148</id>
		<title>Microphone Mute Button</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Microphone_Mute_Button&amp;diff=54148"/>
		<updated>2012-12-14T21:36:48Z</updated>

		<summary type="html">&lt;p&gt;Junghans: /* Workaround using acpid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
Some Thinkpads come with a Microphone Mute Button possibly with an led.&lt;br /&gt;
&lt;br /&gt;
The Microphone Mute Button on the T410 and T410s does not work on Ubuntu 10.10 and Ubuntu 11.04.&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/728310&lt;br /&gt;
&lt;br /&gt;
== Workaround using acpid ==&lt;br /&gt;
Pressing the mic mute botton will generate a acpi event&lt;br /&gt;
 $ apci_listen&lt;br /&gt;
 ibm/hotkey HKEY 00000080 0000101b&lt;br /&gt;
add a acpid rule to handle this event in {{path|/etc/acpi/events/lenovo-mutemic}}: &lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 0000101b&lt;br /&gt;
 action=/etc/acpi/lenovo-mutemic.sh&lt;br /&gt;
the script ({{path|/etc/acpi/lenovo-mutemic.sh} to toggle the mice look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
led=&amp;quot;/sys/devices/platform/thinkpad_acpi/leds/tpacpi::micmute/brightness&amp;quot;&lt;br /&gt;
user=$(who | awk '/0\.0/{print $1; exit;}')&lt;br /&gt;
[[ -z $user ]] &amp;amp;&amp;amp; user=root&lt;br /&gt;
if [[ $(amixer sget Capture) == *&amp;quot;[on]&amp;quot;* ]]; then&lt;br /&gt;
  logger &amp;quot;Microphone is now muted (for $user) $USER&amp;quot;&lt;br /&gt;
  amixer sset Capture nocap&lt;br /&gt;
  [[ -f $led ]] &amp;amp;&amp;amp; echo 1 &amp;gt; $led&lt;br /&gt;
  sudo -u $user DISPLAY=&amp;quot;:0.0&amp;quot; notify-send -i microphone-sensitivity-muted-symbolic &amp;quot;Microphone&amp;quot; &amp;quot;Microphone is now &amp;lt;b&amp;gt;MUTED&amp;lt;/b&amp;gt;&amp;quot;&lt;br /&gt;
else&lt;br /&gt;
  logger &amp;quot;Microphone is now on (for $user)&amp;quot;&lt;br /&gt;
  amixer sset Capture cap&lt;br /&gt;
  [[ -f $led ]] &amp;amp;&amp;amp; echo 0 &amp;gt; $led&lt;br /&gt;
  sudo -u $user DISPLAY=&amp;quot;:0.0&amp;quot; notify-send -i microphone-sensitivity-high-symbolic &amp;quot;Microphone&amp;quot; &amp;quot;Microphone is now &amp;lt;b&amp;gt;ON&amp;lt;/b&amp;gt;&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Explanation:&lt;br /&gt;
* &amp;lt;tt&amp;gt;led&amp;lt;/tt&amp;gt; contain the path to the led in the mute botton (see below)&lt;br /&gt;
* &amp;lt;tt&amp;gt;user&amp;lt;/tt&amp;gt; is the name of the user, which is currently signed in in X11 and &amp;lt;tt&amp;gt;notify-send&amp;lt;/tt&amp;gt; will send a notification to that user. Remove these lines if you don't like it.&lt;br /&gt;
* Pressing the button will toggle the state of the ALSA capture device, which is maybe not optimal in all cases as it disables all capture devices. &amp;lt;tt&amp;gt;Mic&amp;lt;/tt&amp;gt; would be another choice, but on some thinkpads it is named &amp;lt;tt&amp;gt;Internal Mic&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Needed for models==&lt;br /&gt;
{{T410}}, {{T410s}}, {{X230}}&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Microphone_Mute_Button&amp;diff=54147</id>
		<title>Microphone Mute Button</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Microphone_Mute_Button&amp;diff=54147"/>
		<updated>2012-12-14T21:27:41Z</updated>

		<summary type="html">&lt;p&gt;Junghans: â†Created page with '== General == Some Thinkpads come with a Microphone Mute Button possibly with an led.  The Microphone Mute Button on the T410 and T410s does not work on Ubuntu 10.10 an...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
Some Thinkpads come with a Microphone Mute Button possibly with an led.&lt;br /&gt;
&lt;br /&gt;
The Microphone Mute Button on the T410 and T410s does not work on Ubuntu 10.10 and Ubuntu 11.04.&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/728310&lt;br /&gt;
&lt;br /&gt;
== Workaround using acpid ==&lt;br /&gt;
Pressing the mic mute botton will generate a acpi event&lt;br /&gt;
 $ apci_listen&lt;br /&gt;
 ibm/hotkey HKEY 00000080 0000101b&lt;br /&gt;
add a acpid rule to handle this event in {{patch|/etc/acpi/events/lenovo-mutemic}}: &lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 0000101b&lt;br /&gt;
 action=/etc/acpi/lenovo-mutemic.sh&lt;br /&gt;
the script ({{path|/etc/acpi/lenovo-mutemic.sh} to toggle the mice look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
led=&amp;quot;/sys/devices/platform/thinkpad_acpi/leds/tpacpi::micmute/brightness&amp;quot;&lt;br /&gt;
user=$(who | awk '/0\.0/{print $1; exit;}')&lt;br /&gt;
[[ -z $user ]] &amp;amp;&amp;amp; user=root&lt;br /&gt;
if [[ $(amixer sget Capture) == *&amp;quot;[on]&amp;quot;* ]]; then&lt;br /&gt;
  logger &amp;quot;Microphone is now muted (for $user) $USER&amp;quot;&lt;br /&gt;
  amixer sset Capture nocap&lt;br /&gt;
  [[ -f $led ]] &amp;amp;&amp;amp; echo 1 &amp;gt; $led&lt;br /&gt;
  sudo -u $user DISPLAY=&amp;quot;:0.0&amp;quot; notify-send -i microphone-sensitivity-muted-symbolic &amp;quot;Microphone&amp;quot; &amp;quot;Microphone is now &amp;lt;b&amp;gt;MUTED&amp;lt;/b&amp;gt;&amp;quot;&lt;br /&gt;
else&lt;br /&gt;
  logger &amp;quot;Microphone is now on (for $user)&amp;quot;&lt;br /&gt;
  amixer sset Capture cap&lt;br /&gt;
  [[ -f $led ]] &amp;amp;&amp;amp; echo 0 &amp;gt; $led&lt;br /&gt;
  sudo -u $user DISPLAY=&amp;quot;:0.0&amp;quot; notify-send -i microphone-sensitivity-high-symbolic &amp;quot;Microphone&amp;quot; &amp;quot;Microphone is now &amp;lt;b&amp;gt;ON&amp;lt;/b&amp;gt;&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Needed for models==&lt;br /&gt;
{{T410}}, {{T410s}}, {{X230}}&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Mute_button&amp;diff=54146</id>
		<title>Mute button</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Mute_button&amp;diff=54146"/>
		<updated>2012-12-14T21:18:55Z</updated>

		<summary type="html">&lt;p&gt;Junghans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Starting from Linux version 2.6.23, kernel passes OSI string &amp;quot;&amp;lt;tt&amp;gt;!Linux&amp;lt;/tt&amp;gt;&amp;quot; to ACPI (instead of &amp;quot;&amp;lt;tt&amp;gt;Linux&amp;lt;/tt&amp;gt;&amp;quot;). There is a number of reasons for that (see details in &amp;lt;tt&amp;gt;drivers/acpi/osl.c&amp;lt;/tt&amp;gt; in the kernel source). But IBM/Lenovo has a consistently good record of supporting Linux, so this trick is not necessary for Thinkpads. Moreover, OSI string &amp;quot;&amp;lt;tt&amp;gt;Linux&amp;lt;/tt&amp;gt;&amp;quot; is [http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-01/msg04543.html needed] to make the '''Mute''' button work. For Thinkpads R61, T61 and X61, there are already hooks for that in &amp;lt;tt&amp;gt;drivers/acpi/blacklist.c&amp;lt;/tt&amp;gt;. For most other models, you need to pass the string &amp;lt;tt&amp;gt;acpi_osi=&amp;quot;Linux&amp;quot;&amp;lt;/tt&amp;gt; to the kernel as a boot parameter.&lt;br /&gt;
&lt;br /&gt;
==Needed for models==&lt;br /&gt;
{{T400}}, {{X200}}, {{X301}}&lt;br /&gt;
&lt;br /&gt;
==Microphone Mute Button==&lt;br /&gt;
see [[Microphone Mute Button]]&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Mute_button&amp;diff=54145</id>
		<title>Mute button</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Mute_button&amp;diff=54145"/>
		<updated>2012-12-14T21:15:00Z</updated>

		<summary type="html">&lt;p&gt;Junghans: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Starting from Linux version 2.6.23, kernel passes OSI string &amp;quot;&amp;lt;tt&amp;gt;!Linux&amp;lt;/tt&amp;gt;&amp;quot; to ACPI (instead of &amp;quot;&amp;lt;tt&amp;gt;Linux&amp;lt;/tt&amp;gt;&amp;quot;). There is a number of reasons for that (see details in &amp;lt;tt&amp;gt;drivers/acpi/osl.c&amp;lt;/tt&amp;gt; in the kernel source). But IBM/Lenovo has a consistently good record of supporting Linux, so this trick is not necessary for Thinkpads. Moreover, OSI string &amp;quot;&amp;lt;tt&amp;gt;Linux&amp;lt;/tt&amp;gt;&amp;quot; is [http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-01/msg04543.html needed] to make the '''Mute''' button work. For Thinkpads R61, T61 and X61, there are already hooks for that in &amp;lt;tt&amp;gt;drivers/acpi/blacklist.c&amp;lt;/tt&amp;gt;. For most other models, you need to pass the string &amp;lt;tt&amp;gt;acpi_osi=&amp;quot;Linux&amp;quot;&amp;lt;/tt&amp;gt; to the kernel as a boot parameter.&lt;br /&gt;
&lt;br /&gt;
==Needed for models==&lt;br /&gt;
{{T400}}, {{X200}}, {{X301}}&lt;br /&gt;
&lt;br /&gt;
==Microphone Mute Button==&lt;br /&gt;
see [[Microphone Mute Button]]&lt;br /&gt;
&lt;br /&gt;
==Needed for models==&lt;br /&gt;
{{T410}}, {{T410s}}&lt;/div&gt;</summary>
		<author><name>Junghans</name></author>
		
	</entry>
</feed>