<?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=AlexBiddle</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=AlexBiddle"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/AlexBiddle"/>
	<updated>2026-05-05T16:16:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Laptop-mode&amp;diff=49547</id>
		<title>Laptop-mode</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Laptop-mode&amp;diff=49547"/>
		<updated>2010-09-06T19:07:57Z</updated>

		<summary type="html">&lt;p&gt;AlexBiddle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An often overlooked feature in 2.4.23+ and 2.6.6+ Linux kernels is the laptop-mode. It may be activated by writing a &amp;quot;5&amp;quot; into {{path|/proc/sys/vm/laptop_mode}}. Laptop-mode, when configured correctly, can make the kernel buffer disk activities for quite a long time and keep the harddisk spun down for most of the time to save power.&lt;br /&gt;
&lt;br /&gt;
There is also a set of userland tools made to automatically manage all aspects of laptop-mode configuration according to the actual mode of operation (ac/battery-status). It is called [[laptop-mode-tools]] and you can install it in debian via apt-get or download it from [http://www.xs4all.nl/~bsamwel/laptop_mode/tools here].&lt;br /&gt;
&lt;br /&gt;
Almost anything you need to know about laptop-mode can be read in your Linux kernel documentation at /usr/src/linux/Documentation/laptop-mode.txt&amp;lt;br&amp;gt;&lt;br /&gt;
If you can not find this file on your laptop, then go and get yourself the latest kernel sources.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The use of Laptop-mode and laptop-mode-tools is not recommended in SuSE Linux. The supplied &amp;lt;tt&amp;gt;powersaved&amp;lt;/tt&amp;gt; already takes care of everything regarding power saving}}&lt;br /&gt;
{{NOTE| Laptop-mode is disabled by default on Ubuntu 6.10 and later. See [http://samwel.tk/laptop_mode/packages/ubuntu here] for more details}}. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Keeping the disk in the stand-by state ===&lt;br /&gt;
&lt;br /&gt;
Laptop-mode is only effective if one avoids spinning up the disk for frivoulous reasons.  What will spin a disk up is dependent on the HD firmware, but unfortunately most will spin up on just about every command.  To add insult to injury, ATA/SATA pass-through commands are not logged through the {{path|/proc/sys/vm/block_dump}} facility, and thus invisible to tools like '''lm-profiler'''.&lt;br /&gt;
&lt;br /&gt;
{{HINT|The '''lm-profiler''' tool from laptop-mode-tools can be used to list all processes doing normal disk access.}}&lt;br /&gt;
&lt;br /&gt;
In systems where the HD spins up too easily, the &amp;quot;'''hddtemp'''&amp;quot; daemon will wake up the disk every minute, and must thus be disabled for power management to be effective.  The &amp;quot;'''smartd'''&amp;quot; daemon is also an offender, but fortunately its default configuration issues commands to the HDs only every 30 minutes.&lt;br /&gt;
&lt;br /&gt;
{{HINT|smartd can be configured to never issue commands to the disk if it is in the sleep or standby states, through the use of option &amp;quot;'''-n standby,q'''&amp;quot;.  The &amp;quot;''',q'''&amp;quot; is needed to supress syslog messages.}}&lt;br /&gt;
&lt;br /&gt;
=== Hard drive noise using laptop-mode ===&lt;br /&gt;
&lt;br /&gt;
The use of laptop-mode can cause a recurrence of the bug https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695 known to affect Ubuntu distributions, which causes the spindle of the hard drive to be parked too frequently. This is caused by laptop-mode setting the Advanced Power Management feature of the hard drive in /etc/laptop-mode/laptop-mode.conf. &lt;br /&gt;
&lt;br /&gt;
Ubuntu is not completely at fault, as the hard drive manufacturer should set an appropriate graduation between hard drive longevity and power saving using a value between 1 and 255. (more information can be found in the hdparm manual page under the -B flag).&lt;br /&gt;
&lt;br /&gt;
Values up to 127 can cause unacceptable noise and wear of a hard drive (for more information on Load_Cycle_Counts and hard drive wear, see above bug report). An acceptable balance can be found using hdparm:&lt;br /&gt;
&lt;br /&gt;
  sudo hdparm -B 254 /dev/sdX&lt;br /&gt;
&lt;br /&gt;
This value can then be entered into /etc/laptop-mode/laptop-mode.conf, first ensuring laptop-mode is set to control hdparm...&lt;br /&gt;
&lt;br /&gt;
 CONTROL_HD_POWERMGMT=1&lt;br /&gt;
&lt;br /&gt;
...then by changing the default values:&lt;br /&gt;
&lt;br /&gt;
 BATT_HD_POWERMGMT=254&lt;br /&gt;
 LM_AC_HD_POWERMGMT=254&lt;br /&gt;
 NOLM_AC_HD_POWERMGMT=254&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>AlexBiddle</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category:Edge_13%22&amp;diff=49497</id>
		<title>Category:Edge 13&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category:Edge_13%22&amp;diff=49497"/>
		<updated>2010-08-31T15:27:38Z</updated>

		<summary type="html">&lt;p&gt;AlexBiddle: /* (K)Ubuntu 10.04 LTS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== ThinkPad Edge 13&amp;quot; Series ===&lt;br /&gt;
This page gives an overview of all ThinkPad Edge 13&amp;quot; Series related topics. The Edge 13&amp;quot; exists both in a Intel and AMD processor model.&lt;br /&gt;
&lt;br /&gt;
=== ThinkPad Edge 13&amp;quot; (Intel) ===&lt;br /&gt;
==== Machine Type ====&lt;br /&gt;
* 0196&lt;br /&gt;
==== Standard Features ====&lt;br /&gt;
* [[Intel Core 2 Duo (Penryn)|Intel® Core™2 Duo processor]] SU7300 (1.3GHz, 3MB L2)&lt;br /&gt;
* [[Intel Graphics Media Accelerator 4500MHD]]&lt;br /&gt;
* 13.3&amp;quot; [[TFT display]] with 1366x768 (HD) resolution with LED backlight&lt;br /&gt;
* 2 or 3GB [[PC3-8500]] memory standard upgradable to 4GB&lt;br /&gt;
* One of the following storage options&lt;br /&gt;
** 250GB 5400rpm 2.5&amp;quot; SATA HDD&lt;br /&gt;
** 320GB 7200rpm 2.5&amp;quot; SATA HDD&lt;br /&gt;
* [[Realtek Gigabit Ethernet (10/100/1000)]]&lt;br /&gt;
* Intel HD Audio with a [[CX20582]] codec&lt;br /&gt;
* [[MiniPCI Express slot]] 1 with one of the following:&lt;br /&gt;
** [[Intel Centrino Wireless-N 1000]]&lt;br /&gt;
** [[Intel Centrino Advanced-N + WiMAX 6250]]&lt;br /&gt;
* [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2.1)|Bluetooth]] on select models&lt;br /&gt;
* 0.3MP [[Integrated camera]]&lt;br /&gt;
* [[UltraNav]] (TrackPoint / Touchpad combo)&lt;br /&gt;
* Multicard reader 5-in-1 (MMC, MS, MS Pro, SD, SDHC)&lt;br /&gt;
&lt;br /&gt;
=== Distribution Support ===&lt;br /&gt;
&lt;br /&gt;
==== (K)Ubuntu 10.04 LTS ====&lt;br /&gt;
&lt;br /&gt;
(K)Ubuntu 10.04 LTS supports this model out-of-the-box, including 3D desktop effects, hibernate, built-in webcam and wireless.&lt;br /&gt;
&lt;br /&gt;
The combined headphone/microphone socket, however does not. As per https://bugs.launchpad.net/ubuntu/+source/linux-backports-modules-2.6.32/+bug/549289/comments/4 you need to add the line&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;options snd-hda-intel model=&amp;quot;olpc-xo-1_5&amp;quot;&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt; to the end of {{path|/etc/modprobe.conf/alsa-base.conf}}&lt;br /&gt;
&lt;br /&gt;
The 13&amp;quot; model has no optical drive, so you must use something like usb-creator to put the ISO image of the LInux distribution on a (1 gig or larger) USB stick, then boot from that. &amp;lt;br /&amp;gt;&lt;br /&gt;
There are more details on this at https://help.ubuntu.com/community/Installation/FromUSBStick&lt;br /&gt;
&lt;br /&gt;
There does not seem to be a way to update the BIOS from Linux.&lt;br /&gt;
&lt;br /&gt;
The package laptop-mode-tools may cause the spindle on the hard drive to be parked too frequently, causing an audible click as per https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695. This can be solved by making sure {{path|/etc/laptop-mode/laptop-mode.conf}} is set to control hard disk power management&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;CONTROL_HD_POWERMGMT=1&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And by changing the default hard disk management to 254, as per the workaround in the bug report.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;BATT_HD_POWERMGMT=254&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;LM_AC_HD_POWERMGMT=254&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;NOLM_AC_HD_POWERMGMT=254&amp;lt;/tt&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This number can be tuned to an acceptable Load_Cycle_Count by using hdparm with sudo&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;sudo hdparm -B 254 /dev/sdX&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== OpenSUSE 11.3 ====&lt;br /&gt;
&lt;br /&gt;
OpenSUSE 11.3 supports this model out-of-the-box, including 3D desktop effects, hibernate, built-in webcam and wireless.&lt;br /&gt;
&lt;br /&gt;
The combined headphone/microphone socket and the built-in microphone, however do not.&lt;br /&gt;
A workaround is to add the following line at the beginning of {{path|/etc/modprobe.d/50-sound.conf}}:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;options snd-hda-intel model=olpc-xo-1_5&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== ThinkPad Edge 13&amp;quot; (AMD) ===&lt;br /&gt;
==== Machine Type====&lt;br /&gt;
* 0197&lt;br /&gt;
==== Standard Features ====&lt;br /&gt;
* [[AMD Athlon Neo X2]] Dual-Core processor L325 (1.5GHz, 1MB L2)&lt;br /&gt;
* [[ATI Mobility Radeon HD 3200]]&lt;br /&gt;
* 13.3&amp;quot; [[TFT display]] with 1366x768 (HD) resolution with LED backlight&lt;br /&gt;
* 2, 3 or 4GB [[PC2-5300]] memory standard&lt;br /&gt;
* 250GB or 320GB 5400rpm 2.5&amp;quot; SATA HDD&lt;br /&gt;
* [[Realtek Gigabit Ethernet (10/100/1000)]]&lt;br /&gt;
* HD Audio with a [[CX20582]] codec&lt;br /&gt;
* [[MiniPCI Express slot]] 1 with the following:&lt;br /&gt;
** [[ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II]]&lt;br /&gt;
* 0.3MP [[Integrated camera]]&lt;br /&gt;
* [[UltraNav]] (TrackPoint / Touchpad combo)&lt;br /&gt;
* Multicard reader 5-in-1 (MMC, MS, MS Pro, SD, SDHC)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
[[Image:ThinkPadEdge13.jpg|ThinkPad Edge 13&amp;quot;|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Edge]]&lt;/div&gt;</summary>
		<author><name>AlexBiddle</name></author>
		
	</entry>
</feed>