<?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=Dtr</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=Dtr"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Dtr"/>
	<updated>2026-05-05T03:01:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_10.10_(Maverick)_on_a_ThinkPad_T61&amp;diff=50647</id>
		<title>Installing Ubuntu 10.10 (Maverick) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_10.10_(Maverick)_on_a_ThinkPad_T61&amp;diff=50647"/>
		<updated>2011-02-16T00:48:30Z</updated>

		<summary type="html">&lt;p&gt;Dtr: /* Tested: Worked &amp;quot;out of the box&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= General Information =&lt;br /&gt;
Ubuntu 10.10 (Maverick Meerkat)&lt;br /&gt;
&lt;br /&gt;
= Hardware Support Details =&lt;br /&gt;
&lt;br /&gt;
== Untested ==&lt;br /&gt;
'''Modem:''' unknown&lt;br /&gt;
&lt;br /&gt;
== Tested: Worked &amp;quot;out of the box&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
'''Video 2D/3D '''&lt;br /&gt;
* '''NVidia (Quadro NVS 140M):''' works (needs proprietary driver for hardware acceleration)&lt;br /&gt;
* '''Intel (GMA X3100):''' works by default&lt;br /&gt;
&lt;br /&gt;
'''WiFi'''&lt;br /&gt;
* '''Intel PRO/Wireless 4965AGN:''' works by default&lt;br /&gt;
* '''Front switch (airplane mode):''' works by default&lt;br /&gt;
&lt;br /&gt;
'''Ethernet (Intel Gigabit):''' works&lt;br /&gt;
&lt;br /&gt;
'''Special Keys (volume, Fn-, {{ibmkey|ThinkVantage|#495988}}):'''&lt;br /&gt;
* ThinkVantage button: go to ''System'' -&amp;gt; ''Preferences'' -&amp;gt; ''Keyboard Shortcuts'' and assign a task to it.&lt;br /&gt;
*Fn-F5 (Wireless/Bluetooth): works by default&lt;br /&gt;
*Fn-F8 (Enable/Disable touchpad): works by default&lt;br /&gt;
*Fn.F4 (Sleep button) works by default with Ubuntu and proprietary NVidia driver&lt;br /&gt;
{{HINT| People have had problems with certain keys interfering with further keyboard input. See comment 56 on http://is.gd/hfb1o for a possible solution.}}&lt;br /&gt;
&lt;br /&gt;
'''Touchpad:''' works by default&lt;br /&gt;
&lt;br /&gt;
'''Touchpoint:''' works by default &lt;br /&gt;
&lt;br /&gt;
'''Fingerprint reader:''' works but there is a bug in sudo, introduced in version 1.7.2p2 (https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/609645)&lt;br /&gt;
&lt;br /&gt;
'''ACPI'''&lt;br /&gt;
* '''Suspend:''' works by default&lt;br /&gt;
{{HELP|Suspend hasn't worked for me since one of the Lucid updates. The machine starts to sleep, but it just gets really hot and never suspends. I've been unable to find a workaround.}}&lt;br /&gt;
     ''' SOLUTION: You're probably using the 2.6.35 kernel. I had the same suspend issues. The solution for me (on a X200s) was to upgrade to the 2.6.36 kernel.'''&lt;br /&gt;
&lt;br /&gt;
* '''Hibernate:''' works by default&lt;br /&gt;
{{HELP|Hibernate works, but is slower than just shutting everything down and restarting it. Is this a problem, or does it really take that long to write that much data to disk?}}&lt;br /&gt;
     ''' SOLUTION: You're probably using the 2.6.35 kernel. I had the same suspend issues. The solution for me (on a X200s) was to upgrade to the 2.6.36 kernel.'''&lt;br /&gt;
&lt;br /&gt;
'''Bluetooth:''' works by default&lt;br /&gt;
&lt;br /&gt;
'''DVD Drive'''&lt;br /&gt;
* '''Ultrabay Slim Super Multi-Burner Drive :''' works by default&lt;br /&gt;
&lt;br /&gt;
'''Audio (82801H (ICH8 Family) HD Audio)''': works by default&lt;br /&gt;
* '''Headphones:''' works by default&lt;br /&gt;
* '''Microphone:''' works by default&lt;br /&gt;
&lt;br /&gt;
'''Card Reader:''' works by default&lt;br /&gt;
&lt;br /&gt;
== Tested: Needed tweaking to obtain full functionality ==&lt;br /&gt;
'''FireWire (IEEE1394):''' follow this post to get it working (only parts 9. and 10.) [http://ubuntuforums.org/showpost.php?p=5959051&amp;amp;postcount=8]&lt;br /&gt;
&lt;br /&gt;
===Install HDAPS - IBM Active Protection System Linux Driver===&lt;br /&gt;
&lt;br /&gt;
{{HELP| i tried this but i get an error message after step 2:&lt;br /&gt;
sudo modprobe tp-smapi&lt;br /&gt;
FATAL: Error inserting tp_smapi (/lib/modules/2.6.35-25-generic/updates/dkms/tp_smapi.ko): No such device or address}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To install the Active Protection System execute the following commands:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get -y install tp-smapi-dkms hdapsd}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo modprobe tp-smapi}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo /etc/init.d/hdapsd restart}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 'tp-smapi' &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sudo tee -a /etc/modules}}&lt;br /&gt;
&lt;br /&gt;
===Touchpoint middle-button scrolling:===&lt;br /&gt;
1. Use your favorite editor for creating following file - e.g.: {{path|sudo vim /usr/share/X11/xorg.conf.d/20-thinkpad.conf}}&lt;br /&gt;
&lt;br /&gt;
2. Enter this text to the newly created ''20-thinkpad.conf'': &lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  Section &amp;quot;InputClass&amp;quot;&lt;br /&gt;
    Identifier &amp;quot;Trackpoint Wheel Emulation&amp;quot;&lt;br /&gt;
    MatchProduct &amp;quot;TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint&amp;quot;&lt;br /&gt;
    MatchDevicePath &amp;quot;/dev/input/event*&amp;quot;&lt;br /&gt;
    Option &amp;quot;EmulateWheel&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
    Option &amp;quot;EmulateWheelButton&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
    Option &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
    Option &amp;quot;XAxisMapping&amp;quot; &amp;quot;6 7&amp;quot;&lt;br /&gt;
    Option &amp;quot;YAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Save file and reboot your laptop.&lt;br /&gt;
&lt;br /&gt;
===Enabling multi-touch touchpad:===&lt;br /&gt;
{{HELP|Anyone have a solution?}}&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://ubuntuforums.org/showthread.php?t=1586094 T60 Thread at Ubuntu Forums] - May be helpful for T61&lt;br /&gt;
[[Category:T61]]&lt;br /&gt;
[[Category:Ubuntu 10.10]]&lt;/div&gt;</summary>
		<author><name>Dtr</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_and_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_X200&amp;diff=39698</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) and Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_and_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_X200&amp;diff=39698"/>
		<updated>2008-11-12T20:48:54Z</updated>

		<summary type="html">&lt;p&gt;Dtr: /* Suspend and Hibernate */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Apologies in advance:'''&lt;br /&gt;
The original author of this entry hopes that others will improve on this preliminary effort.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
Undoubtedly, this post will age quickly as 8.10 nears final release. One place for additional information is [http://ubuntuforums.org/showthread.php?p=5897839 this X200 owners' thread] on the Ubuntu forums.&lt;br /&gt;
&lt;br /&gt;
Started off working w. Ubuntu 8.04 install using the optical drive in the X200 ultrabase. Everything went swimmingly - ethernet worked out of the box as did the optical drive itself.&lt;br /&gt;
&lt;br /&gt;
Wound up upgrading to the 8.10 beta b/c of wireless troubles. See below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Ultrabay==&lt;br /&gt;
&lt;br /&gt;
Handles install without any problem - note: while the machine is in the bay, it forces you to use the ethernet port on the bay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Ethernet==&lt;br /&gt;
&lt;br /&gt;
Intel GigE worked out of the box w. 8.04.&lt;br /&gt;
&lt;br /&gt;
8.10 beta not supporting Intel GigE hardware yet, however (see this [https://wiki.ubuntu.com/IntrepidIbex/TechnicalOverview technical overview] for more details), so unless you wanna try some serious hacking I wouldn't try to do a net install of 8.10 using the ethernet until the final release. Updating the kernel for 8.10 fixes ethernet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Wireless==&lt;br /&gt;
&lt;br /&gt;
Ah, the wireless.&lt;br /&gt;
&lt;br /&gt;
run &amp;lt;lshw -C network&amp;gt; and sort out which wireless hardware you're working with.&lt;br /&gt;
&lt;br /&gt;
For Atheros, check out [http://ubuntuforums.org/showthread.php?t=905126 this forum post]&lt;br /&gt;
&lt;br /&gt;
For Intel 5300 on 8.04, neither the recommended drivers (iwl5000) nor ndiswrapper did the trick. It's possible that manually-upgrading the kernel to 2.27 would do it.&lt;br /&gt;
&lt;br /&gt;
On the other hand, with 8.10 the Intel 5300 works out of the box. Running &amp;lt;lshw -C network&amp;gt; again shows that it's the iwlagn driver (pre-loaded with the 2.27 kernel) that does the trick.&lt;br /&gt;
&lt;br /&gt;
==Fan==&lt;br /&gt;
&lt;br /&gt;
As reported elsewhere, the fan seems to run constantly while the machine is on under 8.04 and 8.10. Will report back if/when I find a fix in the next few days.&lt;br /&gt;
&lt;br /&gt;
The fan can be made less noisy by installing the tpfand packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tpfand tpfand-admin &lt;br /&gt;
&lt;br /&gt;
There is currently no tpfand profile for the x200, but you can set the thresholds and power settings for all fans easily with the thinkpad fan control software. Here are the settings from my /etc/tpfand.conf as a starting point. Use the sensors applet to control and monitor temperatures of cpu, gpu and harddisk (see below)!&lt;br /&gt;
&lt;br /&gt;
 #... &lt;br /&gt;
 0. CPU = 0:0 50:7 &lt;br /&gt;
 1. Mini PCI = 0:0 55:4 &lt;br /&gt;
 2. Sensor 2 = 0:255 &lt;br /&gt;
 3. GPU = 0:0 55:5 &lt;br /&gt;
 4. Bat0 = 0:0 35:3 &lt;br /&gt;
 5. Sensor 5 = 0:255 &lt;br /&gt;
 6. Bat1 = 0:0 35:3 &lt;br /&gt;
 7. Sensor 7 = 0:255 &lt;br /&gt;
 8. MB? = 0:0 45:2 &lt;br /&gt;
 9. MB? = 0:0 55:3 &lt;br /&gt;
 10. Sensor 10 = 0:255 &lt;br /&gt;
 11. Sensor 11 = 0:255 &lt;br /&gt;
 12. Sensor 12 = 0:255 &lt;br /&gt;
 13. Sensor 13 = 0:255 &lt;br /&gt;
 14. Sensor 14 = 0:255 &lt;br /&gt;
 15. Sensor 15 = 0:255 &lt;br /&gt;
 #...&lt;br /&gt;
&lt;br /&gt;
These settings achieve the following:&lt;br /&gt;
* fan runs at 15% if the system is idle. This is very quiet, while still having airflow through the system&lt;br /&gt;
* if MB2&amp;gt;55° or BAT&amp;gt;35°, fan runs at 30%&lt;br /&gt;
* if MiniPCI&amp;gt;55° fan 45%&lt;br /&gt;
* if GPU&amp;gt;55 fan 60%&lt;br /&gt;
* if CPU&amp;gt;50 fan 90%&lt;br /&gt;
The net effect is that a busy system will run the fan between 45%-90% depending on load. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sensors ==&lt;br /&gt;
The gnome sensors applets allow you to monitor all important temperatures, including battery, hdd, cpu and gpu and system fan.&lt;br /&gt;
 sudo apt-get install sensors-appplet hddtemp&lt;br /&gt;
&lt;br /&gt;
Add the hardware sensor monitor to the panel and then configure it. You will see a lot of datasources.&lt;br /&gt;
&lt;br /&gt;
* libsensors: temp9 and temp10 seem to be mainboard/Nortbridge or power regulator sensors.&lt;br /&gt;
* hddtemp: /dev/sda is the sensor of the harddisk. It is important to keep the harddisk always below 45°, normally under 40°. This is no problem with the X200, the hdd cooling system seems to be very good. &lt;br /&gt;
* ibm-acpi: cpu, mPCI, GPU and FAN are intersting sensors.&lt;br /&gt;
&lt;br /&gt;
==Power Mgmt==&lt;br /&gt;
&lt;br /&gt;
Not sure what's going on here yet, but the battery claims to have only ~3 hours of life after a full charge.&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
&lt;br /&gt;
With 8.10 things don't work well if you stick with the &amp;quot;preconfigured&amp;quot; xorg.conf settings: the default resolution is only 1074x768 and the highest setting that the laptop display is capable of (1280x800) doesn't even show up in the &amp;lt;em&amp;gt; System -&amp;gt; Preferences -&amp;gt; Screen Resolution &amp;lt;/em&amp;gt;applet. To make matters worse, VGA output is a royal pain.&lt;br /&gt;
&lt;br /&gt;
Here's a step-by-step guide to improve the situation if you just want to get the laptop display working properly:&lt;br /&gt;
&lt;br /&gt;
* First, make sure you've got the latest drivers for your Intel 4500MHD video card:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
* Once that's over and done with, open up your xorg.conf file (note: be careful with this file):&lt;br /&gt;
&lt;br /&gt;
 $ sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
* Make the part that isn't commented out (i.e. that isn't preceded by a #) look like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
     Identifier    &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
     Identifier    &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
     Option        &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
     Identifier    &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
     Option        &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
     Identifier    &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
     Monitor        &amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
     Device        &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
     DefaultDepth     24&lt;br /&gt;
     SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
         Modes &amp;quot;1280x800&amp;quot; &amp;quot;1024x768&amp;quot;&lt;br /&gt;
 # The following line was an auto-configuration added by an external VGA projector; you might leave it out to try&lt;br /&gt;
 # letting the system detect dimensions appropriate for whatever display you happen to use.&lt;br /&gt;
         Virtual    2432 864&lt;br /&gt;
     EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
      Identifier    &amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
      Driver        &amp;quot;intel&amp;quot;&lt;br /&gt;
      Option        &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
      Option        &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* Note: those HDMI settings are really important because they get rid of some imaginary monitors (see [[Installing_Debian_on_an_X200 | this other X200 installation notes post]] for more details).  Save your new xorg.conf file and quit the Gedit text editor. Also quit any other open programs and log-out from your session to reset the X-server and apply the new settings. &lt;br /&gt;
&lt;br /&gt;
* When you log back in, all the new settings should &amp;quot;just work,&amp;quot; but don't be alarmed if things look a little weird or if the screen resolution still isn't the full 1280x800...&lt;br /&gt;
:To make sure the xorg.conf changes &amp;quot;stuck&amp;quot; and that the resolution is set properly, open the aforementioned Screen Resolution applet:  &amp;lt;em&amp;gt;System -&amp;gt; Preferences -&amp;gt; Screen Resolution&amp;lt;/em&amp;gt;. Make sure the the box that says &amp;quot;Mirror Screens&amp;quot; is unchecked and click the &amp;quot;Detect Displays&amp;quot; button. In the little colorful diagram thingy, there should just be a big rectangle that says &amp;quot;laptop 12&amp;quot;&amp;quot; (or whatever portion of those words fits in the rectangle). Click on this &amp;quot;laptop&amp;quot; rectangle to make sure and activate it. Once you've clicked on it, look for the drop-down menu that says the resolution and re-set this to &amp;quot;1280 x 800 (16:10).&amp;quot; If there are other &amp;quot;imaginary&amp;quot; displays activated (there shouldn't be with the HDMI workaround in the xorg.conf file included above) use the same drop-down menu to turn them to &amp;quot;Off.&amp;quot; Click &amp;quot;Apply&amp;quot; at the bottom and close the applet. Log out again to activate the new settings. If all goes according to plan, your 12800x800 display should now work like a charm!&lt;br /&gt;
&lt;br /&gt;
* Once you've got that all sorted out, go ahead and hook the X200 up to an external display via the VGA port (so far, I've only tried it directly from the laptop and not from the ultrabase). Open the Screen Resolution applet again and click &amp;quot;detect displays.&amp;quot; Choose a resolution for the external display and decide whether you want a mirrored output or not. Click apply (here the system may prompt you to accept virtual display settings - say yes and confirm by typing your password), close the applet and log-out again to reset X. Once you log in, you should have an external display working perfectly.&lt;br /&gt;
&lt;br /&gt;
==Suspend and Hibernate==&lt;br /&gt;
&lt;br /&gt;
Without tweaking drivers and xorg.conf suspending through the Gnome desktop does not work - seems to be related to the problems with the display. Some people have reported no problems with Hibernate, while others...you get the idea. If you're one of those having problems, read on... &lt;br /&gt;
&lt;br /&gt;
Once you've followed the instructions to get the Intel video card drivers installed (see above) Hibernate (suspend to disk) *should* work and Sleep/Suspend (suspend to RAM) *might* work (there are some conflicting reports out there). If you like, you can examine/tweak the settings in &amp;lt;em&amp;gt; system -&amp;gt; preferences -&amp;gt; power management&amp;lt;/em&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the suspend/sleep &amp;lt;em&amp;gt;still&amp;lt;/em&amp;gt; doesn't work, try the following work-around to get the system to recognize the sleep settings.&lt;br /&gt;
&lt;br /&gt;
First, create a text file called &amp;quot;sleep_module&amp;quot; in the /etc/pm/config.d directory:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/pm/config.d/sleep_module&lt;br /&gt;
&lt;br /&gt;
In the new file, enter:&lt;br /&gt;
&lt;br /&gt;
 SLEEP_MODULE=kernel &lt;br /&gt;
&lt;br /&gt;
Then save this new file and exit your text editor as well as your other apps. Do a reboot and try out your freshly reconfigured suspend funciton. As before, you can examine/tweak the settings in &amp;lt;em&amp;gt; system -&amp;gt; preferences -&amp;gt; power management&amp;lt;/em&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: Consider using &amp;quot;sudo -e&amp;quot; for editing files.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' The latest updates to 8.10 (still in beta at the time of this writing) appear to include a sleep_module configuration file that includes this tweak.&lt;br /&gt;
&lt;br /&gt;
I had lots of problems with both hibernate and suspend. I have disabled lots of (for me at least) unneeded devices in the bios, and now at least hibernat works. My x200 bios configuration is now like this:&lt;br /&gt;
&lt;br /&gt;
* Network&lt;br /&gt;
  * wake on lan disabled&lt;br /&gt;
  * flash over lan disabled&lt;br /&gt;
  * ethernet lan option rom disabled&lt;br /&gt;
  * hdd dma enabled&lt;br /&gt;
  * wireless lan and wimax enabled&lt;br /&gt;
* SATA AHCI&lt;br /&gt;
* CPU&lt;br /&gt;
  * multiprocessing enabled&lt;br /&gt;
  * intel virtualisation enabled&lt;br /&gt;
  * intel vt-d enabled&lt;br /&gt;
* Intel AMT&lt;br /&gt;
  * AMT Control disabled&lt;br /&gt;
* IO Port access&lt;br /&gt;
  * ethernet enabled&lt;br /&gt;
  * wlan enabled&lt;br /&gt;
  * wimax enabled&lt;br /&gt;
  * wwan enabled&lt;br /&gt;
  * bluetooth enabled&lt;br /&gt;
  * wireless usb disabled&lt;br /&gt;
  * modem disabled&lt;br /&gt;
  * usb enabled&lt;br /&gt;
  * expresscard slot disabled&lt;br /&gt;
  * ultrabay hdd disabled&lt;br /&gt;
  * memory card disabled&lt;br /&gt;
  * camera enabled&lt;br /&gt;
  * microphone enabled&lt;br /&gt;
  * fingerprint reader disabled&lt;br /&gt;
&lt;br /&gt;
I left the rest at bios defaults. Of course, you may one some of these devices enabled, but this is a starting point to get hibernate/suspend working and by enabling one after the other you should be able to find the device/s that cause problems.&lt;br /&gt;
&lt;br /&gt;
Note: with this setup i get 4h30min battery time instead of 3h55min&lt;br /&gt;
&lt;br /&gt;
*Hibernate fails with Virtualbox running*&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; http://ubuntuforums.org/showpost.php?p=4582777&amp;amp;postcount=3&lt;br /&gt;
&lt;br /&gt;
To circumvent this, put this in ~/bin/vbox_suspend:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 for x in `vboxmanage -nologo list runningvms`&lt;br /&gt;
 do&lt;br /&gt;
   vboxmanage -nologo controlvm $x savestate&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
and make it executable. you can test it by running ~/bin/vbox_suspend, which should save all your running virtual machines.&lt;br /&gt;
&lt;br /&gt;
put the following lines in /etc/pm/sleep.d/90virtualbox and make it executable as well:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 case $1 in&lt;br /&gt;
   hibernate)&lt;br /&gt;
     su YOURUSER -c /home/YOURUSER/bin/vbox_suspend&lt;br /&gt;
   ;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
This is not very elegant (as the user is hard-coded), but it works.&lt;br /&gt;
I have tried to make the machines resume on thaw, but it would place the vms on the wrong workspace even if it know which X server to use, which it doesn't.&lt;br /&gt;
&lt;br /&gt;
'''The Solution (or another easy done workaround!)'''&lt;br /&gt;
&lt;br /&gt;
Related to a Ubuntuforums-Thread I tried following described here, and it works great!&lt;br /&gt;
&lt;br /&gt;
[[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_an_T400#Suspend.2FHibernate|Workaround on T400]]&lt;br /&gt;
&lt;br /&gt;
It is an Mulitprocessor problem, disabling one core at Suspend/Hibernate solves the problem!&lt;br /&gt;
&lt;br /&gt;
'''This multiprocessor workaround is confirmed:'''&lt;br /&gt;
On a up to date 8.10 system (as of Nov 12th: linux-2.6.27-8, video-intel-2.4.1ubuntu10) suspend now seems to work perfectly. Before the above multi-processor workaround, resuming from suspend used to crash about half of the time. Not a single crash has been observed since the workaround. &lt;br /&gt;
&lt;br /&gt;
* '''Note:''' this is all with SLEEP_MODULE=kernel being commented out in /etc/pm/config.d/sleep_module.&lt;br /&gt;
&lt;br /&gt;
==Sound==&lt;br /&gt;
&lt;br /&gt;
(Mostly) works out of the box under 8.04 and 8.10&lt;br /&gt;
&lt;br /&gt;
Worth noting the apparent problems w. Skype and Medibuntu on 8.10 - some of this [http://ubuntuforums.org/showthread.php?t=925211 appears to have been resolved] recently and will hopefully make it into the final release. Sound playback within Skype still failing despite the workaround.&lt;br /&gt;
&lt;br /&gt;
==Camera==&lt;br /&gt;
&lt;br /&gt;
Works with Cheese Webcam Booth on 8.10.&lt;br /&gt;
&lt;br /&gt;
==VGA==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Unclaimed&amp;quot;&lt;br /&gt;
[[Category:X200]]&lt;/div&gt;</summary>
		<author><name>Dtr</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Fan_control_scripts&amp;diff=39095</id>
		<title>Fan control scripts</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Fan_control_scripts&amp;diff=39095"/>
		<updated>2008-10-14T14:10:24Z</updated>

		<summary type="html">&lt;p&gt;Dtr: /* ThinkPad Fan Control GTK GUI tool */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page provides several scripts for controlling the ThinkPad's system fan according the its [[thermal sensors]] (overriding the embedded controller), in order to reduce [[problem with fan noise|fan noise]] and decrease [[how to reduce power consumption|power consumption]].&lt;br /&gt;
&lt;br /&gt;
{{WARN|These scripts rely on undocumented hardware features and override nominal hardware behavior. They may thus cause arbitrary damage to your laptop or data. Watch your temperatures!}}&lt;br /&gt;
{{NOTE|Closed-loop fan control requires a thermal sensor sweep, which is an expensive operation.  The firmware doesn't update the sensors more than once every 2s, so care should be taken not to waste resources by reading them too often.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Variable speed control scripts==&lt;br /&gt;
The following scripts sets the fan speed according to the system's [[thermal sensors]]. In addition, they include a hack for preventing the annoying fan pulsing that occurs on some systems. Note that the fan levels, thresholds and anti-pulsing hacks are system-specific, so you may need to adjust them.&lt;br /&gt;
&lt;br /&gt;
===Comprehensive &amp;lt;tt&amp;gt;bash&amp;lt;/tt&amp;gt; script with fine control over fan speed===&lt;br /&gt;
This script works with any recent Linux kernel (2.6.14 and higher). It requires the [[ibm-acpi]] module to be loaded with the &amp;lt;tt&amp;gt;experimental=1&amp;lt;/tt&amp;gt; module parameter (e.g., {{cmdroot|1=modprobe ibm_acpi experimental=1}}).&lt;br /&gt;
&lt;br /&gt;
In Linux 2.6.22 and higher you need to additionally pass fan_control=1 to the module thinkpad_acpi (e.g., {{cmdroot|1=modprobe thinkpad-acpi experimental=1 fan_control=1}})&lt;br /&gt;
&lt;br /&gt;
The code lets you define a temperature range for each [[thermal sensors|thermal sensor]]. The script computes the fan level needed by each sensor based on the configured range, and then sets the the actual fan level to the slowest that will satisfy all sensors (plus some hysteresis to avoid fluctiations). It also includes a workaround for the [[Problem with fan noise|pulsing noise]] problem. The script provides an (optional) daemon mode and logging to syslog. The method of controlling fan speed is documented [[How to control fan speed|here]]. &lt;br /&gt;
&lt;br /&gt;
The system hard disk temperature is monitored as well, using the hard disk's internal sensor. This works only on certain Hitachi disks and requires kernel &amp;gt;= 2.6.19-rc1 or the ide driver, since it uses a [[Thermal Sensors#Hitachi_harddisks_SENSE_CONDITION_temperature_sensor|non-standard method]] for reading the temperature without causing a head unload or spinup.&lt;br /&gt;
&lt;br /&gt;
The code:&lt;br /&gt;
* {{CodeRef|tp-fancontrol}}&lt;br /&gt;
&lt;br /&gt;
Current options:&lt;br /&gt;
&lt;br /&gt;
 Usage: ./tp-fancontrol [OPTION]...&lt;br /&gt;
 &lt;br /&gt;
 Available options:&lt;br /&gt;
   -s N   Shift up the min temperature thresholds by N degrees&lt;br /&gt;
          (positive for quieter, negative for cooler).&lt;br /&gt;
          Max temperature thresholds are not affected.&lt;br /&gt;
   -S N   Shift up the max temperature thresholds by N degrees&lt;br /&gt;
          (positive for quieter, negative for cooler). DANGEROUS.&lt;br /&gt;
   -t     Test mode&lt;br /&gt;
   -q     Quiet mode&lt;br /&gt;
   -d     Daemon mode, go into background (implies -q)&lt;br /&gt;
   -l     Log to syslog&lt;br /&gt;
   -k     Kill already-running daemon&lt;br /&gt;
   -u     Tell already-running daemon that the system is being suspended&lt;br /&gt;
   -p     Pid file location for daemon mode&lt;br /&gt;
{{WARN|The list of temperature ranges used in this script is much more liberal than the rules used by the embedded controller firmware, and is derived mostly from anecdotal evidence, hunches and wishful thinking. It is also model-specific - see [[thermal sensors]].}}&lt;br /&gt;
&lt;br /&gt;
====init script for the comprehensive script====&lt;br /&gt;
&lt;br /&gt;
This is optional. It assumes that the above &amp;lt;tt&amp;gt;tp-fancontrol&amp;lt;/tt&amp;gt; script is saved at {{path|/usr/bin/tp-fancontrol}}.&lt;br /&gt;
* Init script: {{CodeRef|tp-fancontrol.init}} (save as {{path|/etc/init.d/tp-fancontrol}})&lt;br /&gt;
* Init script (Debian): {{CodeRef|tp-fancontrol.init.debian}} (save as {{path|/etc/init.d/tp-fancontrol}})&lt;br /&gt;
* Configuration file for init script: {{CodeRef|tp-fancontrol.conf}} (save as {{path|/etc/tp-fancontrol.conf}})&lt;br /&gt;
&lt;br /&gt;
===Simple &amp;lt;tt&amp;gt;bash&amp;lt;/tt&amp;gt; script with fine control over fan speed (requires kernel patch)===&lt;br /&gt;
The following is a simpler patch (without extra features like daemon mode and logging). It requires the [[patch for controlling fan speed]] or a recent kernel (&amp;gt;=2.6.19).&lt;br /&gt;
&lt;br /&gt;
{{CodeRef|tp-fancontrol-basic}}&lt;br /&gt;
&lt;br /&gt;
===tp-fan: Automatic daemon with GTK+ GUI===&lt;br /&gt;
Provides easy setup and monitoring through graphical GTK+ interface. Temperature thresholds can be set separately for each sensor since version 0.90.&lt;br /&gt;
&lt;br /&gt;
At the moment packages are available for Ubuntu 7.10 and 8.04. However, porting to other distributions or manual setup should be easy.&lt;br /&gt;
&lt;br /&gt;
* Home page: http://www.gambitchess.org/moin.py/tpfan&lt;br /&gt;
&lt;br /&gt;
===thinkfan: A minimalist fan control program===&lt;br /&gt;
Written in C to use as little CPU power as possible. It simply averages the two highest temperatures found in /proc/acpi/ibm/thermal. Configuration is done via a simple text file, by providing (FAN_LEVEL, LOWER_LIMIT, UPPER_LIMIT) tuples. Inspired by i8kfan. Requires thinkpad_acpi with fan_control=1. Version 0.3 now reloads its config on SIGHUP, exits cleanly and adds Syslog support. For Gentoo users there's an ebuild and an initscript.&lt;br /&gt;
&lt;br /&gt;
* Download here: http://phuk.ath.cx:3080/thinkfan/&lt;br /&gt;
(sorry about the dyndns crap)&lt;br /&gt;
&lt;br /&gt;
==Fan enable/disable scripts==&lt;br /&gt;
The following scripts were written before it was known [[patch for controlling fan speed|how to control the fan speed]], so they only toggle between fan disabled and default (noisy) fan behavior. In some models, they also do not monitor all available [[thermal sensors]].&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;tt&amp;gt;sh&amp;lt;/tt&amp;gt; script example===&lt;br /&gt;
{{CodeRef|fan-enable-basic}}&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;tt&amp;gt;sh&amp;lt;/tt&amp;gt; script with more features===&lt;br /&gt;
{{CodeRef|fan-enable-extended}}&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;tt&amp;gt;sh&amp;lt;/tt&amp;gt; script with extra safety functionality===&lt;br /&gt;
ibm_acpi usually works well. But to rely on it completely, this script provides some extra safety functionality:&lt;br /&gt;
# It catches various signals and turns the fan on before it quits.&lt;br /&gt;
# It turns off the fan under very strict conditions, leaving it on when unexpected errors occur.&lt;br /&gt;
&lt;br /&gt;
{{CodeRef|fan-enable-safe}}&lt;br /&gt;
&lt;br /&gt;
==Init scripts==&lt;br /&gt;
&lt;br /&gt;
===Init script example===&lt;br /&gt;
&lt;br /&gt;
{{CodeRef|fan-enable.init}}&lt;br /&gt;
&lt;br /&gt;
===Init script example for gentoo===&lt;br /&gt;
Assume one of the above control scripts is {{path|/usr/sbin/ibm-fancontrold}}, for gentoo use the following init script in /etc/init.d/ibm-fancontrol.&lt;br /&gt;
Copy the script to {{path|/etc/init.d/ibm-fancontrol}}, then do &lt;br /&gt;
&lt;br /&gt;
 # rc-update add ibm-fancontrol default&lt;br /&gt;
&lt;br /&gt;
This will add the init script to the default runlevel.&lt;br /&gt;
&lt;br /&gt;
{{CodeRef|ibm-fancontrol.init}}&lt;br /&gt;
&lt;br /&gt;
===Init script example for rh/fedora===&lt;br /&gt;
Assume one of the above control scripts is {{path|/sbin/tp-fancontrold}},&lt;br /&gt;
copy the script to {{path|/etc/init.d/tp-fancontrol}}, then do &lt;br /&gt;
&lt;br /&gt;
 # chkconfig --add tp-fancontrol&lt;br /&gt;
&lt;br /&gt;
This will add the init script to the default runlevel.&lt;br /&gt;
&lt;br /&gt;
{{CodeRef|tp-fancontrol-fc.init}}&lt;br /&gt;
&lt;br /&gt;
You'd have to install also &amp;quot;kernel-module-ibm-acpi&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===fanctrld===&lt;br /&gt;
[http://log.does-not-exist.org/archives/2005/08/13/2043_t_43_fan_control_daemon.html fanctrld] is a daemon (written in C) that controls the Thinkpad's fan. The basic approach is to monitor both temperature and fan speed. The fan is enabled when a certain temperature is exceeded, and disabled when the BIOS slows down the fan below a certain speed.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad Fan Control GTK GUI tool===&lt;br /&gt;
&lt;br /&gt;
[http://www.gambitchess.org/moin.py/ThinkPad_Fan_Control A GTK GUI program (packaged for Ubuntu Gutsy Gibbon 7.10)] may also help.&lt;br /&gt;
&lt;br /&gt;
For those using Ubuntu 8.10 and recent Thinkpad models (eg: X200), this is the fan control packages to use: sudo apt-get install tpfand tpfan-admin tpfand-profiles (The packages are part of the main ubuntu repository). It solves the problem of a constantly-on fan. I don't think there are yet profiles for those newer thinkpad models, but it's fairly easy to manually configure the right thresholds. For reference, this is the /etc/tpfand.conf I use for my X200:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
enabled = True&lt;br /&gt;
&lt;br /&gt;
override_profile = True&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
0. Sensor 0 = 0:0 50:3 58:5 67:8&lt;br /&gt;
&lt;br /&gt;
1. Sensor 1 = 0:0 55:3 62:5 69:8&lt;br /&gt;
&lt;br /&gt;
2. Sensor 2 = 0:255&lt;br /&gt;
&lt;br /&gt;
3. Sensor 3 = 0:0 48:3 61:5 69:8&lt;br /&gt;
&lt;br /&gt;
4. Sensor 4 = 0:0 43:3 50:8&lt;br /&gt;
&lt;br /&gt;
5. Sensor 5 = 0:255&lt;br /&gt;
&lt;br /&gt;
6. Sensor 6 = 0:0 40:8&lt;br /&gt;
&lt;br /&gt;
7. Sensor 7 = 0:255&lt;br /&gt;
&lt;br /&gt;
==Ideas for improvement==&lt;br /&gt;
* Use the [[HDAPS]] sensor to automatically lower the temperature thresholds when the laptop is moving. Prolonged movement usually happens when the laptop is on the user's lap (see [[Problem with hot surfaces]] for implications), or when in a moving vehicle where fan noise is typically overshadowed by vehicle noise.&lt;br /&gt;
* Use a [http://en.wikipedia.org/wiki/PID_controller PID controller] feedback loop instead of simple thresholds.&lt;br /&gt;
* Monitor the UltraBay disk temperature too.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[How to control fan speed]]&lt;br /&gt;
* Shimodax's ThinkPad fan control tool for a Windows offers functionality similar to these scripts; see the [http://forum.thinkpads.com/viewtopic.php?t=17715 forum discussion] at thinkpads.com.&lt;br /&gt;
* Yury Polyanskiy has a [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2005-November/030697.html kernel patch] for automatic fan control in kernelspace (only enable/disable based on maximum temperature).&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripts]]&lt;/div&gt;</summary>
		<author><name>Dtr</name></author>
		
	</entry>
</feed>