https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Jarv&feedformat=atomThinkWiki - User contributions [en]2024-03-29T13:46:15ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=Ibm-acpi&diff=21956Ibm-acpi2006-04-26T21:30:36Z<p>Jarv: </p>
<hr />
<div>{| width="100%"<br />
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__<br />
|style="vertical-align:top" |<br />
=== ibm-acpi - IBM ThinkPad ACPI Extras Driver ===<br />
This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov. It aims to support various features of these laptops which are accessible through the ACPI framework but not otherwise supported by the generic Linux ACPI drivers. As a kernel module, ibm-acpi works as a bridge to deliver information about certain hardware events like key presses or control the state of certain hardware features by software.<br />
|}<br />
=== Features ===<br />
*triggers ACPI Events for<br />
** [[How_to_get_special_keys_to_work | Fn key combinations]] ({{key|Fn}}{{key|F1}}, {{key|Fn}}{{key|F2}}, {{key|Fn}}{{key|F3}}, {{key|Fn}}{{key|F4}}, {{key|Fn}}{{key|F5}}, {{key|Fn}}{{key|F6}}, {{key|Fn}}{{key|F7}}, {{key|Fn}}{{key|F8}}, {{key|Fn}}{{key|F9}}, {{key|Fn}}{{key|F10}}, {{key|Fn}}{{key|F11}}, {{key|Fn}}{{key|F12}})<br />
** [[UltraBay]] device eject<br />
** Display lid, Power button, Undock button<br />
*enables software control of<br />
** Bluetooth<br />
** Video output switching, video expansion control<br />
** Docking and undocking (limited)<br />
** Fan (on most models, only enable/disable; speed control is added by a further [[Patch for controlling fan speed|patch]])<br />
** Volume<br />
** LCD Brightness<br />
** [[ThinkLight]]<br />
** LEDs<br />
** [[Error Codes and Beep Codes|Beep]] codes<br />
** Several CMOS states<br />
* can show values of<br />
** [[Thermal Sensors|Eight temperature sensors]]<br />
** Embedded Controler registers<br />
** Fan status and speed<br />
<br />
<br />
Some of these features are available only when the module is loaded with the <tt>experimental=1</tt> option. To enable it, add the following to {{path|/etc/modprobe.conf}} (or your distribution's equivalent):<br />
options ibm_acpi experimental=1<br />
<br />
=== Project Homepage / Availability ===<br />
* Homepage: http://ibm-acpi.sourceforge.net/<br />
* ibm-acpi is included with the Linux kernel since 2.6.10.<br />
<br />
=== Status ===<br />
In development, usable, author does not reply to patch proposals.<br />
<br />
Even if you have disable the BIOS setting for automatically dimming at battery power, after using the brightness switch of ibm-acpi, the auto-dimming behavior is enabled. So, if you need a bright display even on battery power, you should not set any brightness via /proc/acpi/ibm/brightness.<br />
<br />
=== Packages ===<br />
*[[:Category:Debian | Debian]] Packages: http://debian.isg.ee.ethz.ch/public/<br />
*[[:Category:Gentoo | Gentoo]] ebuild: http://packages.gentoo.org/packages/?category=app-laptop;name=ibm-acpi<br />
<br />
=== Application support===<br />
* [http://www.gkrellm.net GKrellM] supports fan and thermal information<br />
* [http://www.joachim-breitner.de/blog/archives/38-Created-gaim-thinklight.html gaim-thinklight] is a gaim plugin which makes the [[ThinkLight]] blink, when a message arrives.<br />
* [http://www.chris-lamb.co.uk/code/gaim-lightthink/ gaim-lightthink] is an alternative to gaim-thinklight.<br />
* [http://hunz.org/ rocklight] is a xmms visualization plugin that makes the ThinkLight flash to the beat of your music. The package also includes a standalone stroboscope mode program.<br />
* [http://www.zolnott.de/software/applications/ibm-acpi-applet-for-gnome-210-and-higher.html IBM ACPI applet] is a small gnome panel applet which shows the fan speed and thermal informations<br />
* [[ACPI fan control script|ACPI fan control scripts]] can be used to control the system fan according to system temperatures (overriding the firmware)<br />
<br />
=== Interesting links related to this project ===<br />
* [http://ibm-acpi.sf.net ibm-acpi Sourceforge project summary]<br />
* [http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad Linux-Thinkpad Mailinglist]<br />
* [http://acpi.sourceforge.net acpi.sourceforge.net]<br />
* [http://www.kernel.org www.kernel.org]<br />
<br />
[[Category:Drivers]]<br />
[[Category:770X]] [[Category:770Z]] [[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:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:TransNote]] <br />
[[de:ibm-acpi]]<br />
[[Category:x60s]]</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21950Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-26T18:38:13Z<p>Jarv: </p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/system/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/system/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage.<br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB - HTS541080<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
<br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
=== Sound ===<br />
* The sound is very clean, loud enough and there doesn't appear to be any backround machine noise escaping through the card.<br />
<br />
=== Annoyances ===<br />
* '''Battery life''' - With the 8 cell battery Lenovo boasts that it gets about 8 hours of battery life. So far in Linux it is getting about 5-6. Need to mess around with more power saving options. <br />
* The Hitachi serial ATA harddrive makes a faint but noticeable high pitched clicking sound when running off the battery.<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
* Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
* The LED wireless indicator light does not switch on when wireless is enabled<br />
* The wireless toggle switch does nothing (although it appears to turn the led on momentarily)<br />
<br />
==== compiling the madwifi drivers from source - WORKS :) ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
==== WPA1 encryption - WORKS :) ====<br />
* In order for this to work you '''must''' compile the wpa_supplicant from source. <br />
** follow these instructions carefully - http://madwifi.org/wiki/UserDocs/802.11i<br />
<br />
<br />
== Special Keys ==<br />
<br />
{|<br />
|+ Post-install support for special keys in Ubuntu Linux 6.06 Flight 6<br />
! Keys !! function !! status<br />
<br />
|-<br />
| {{key|Fn}}{{key|F2}} || lock screen || does not work<br />
|-<br />
| {{key|Fn}}{{key|F3}} || blank screen || does not work<br />
|-<br />
| {{key|Fn}}{{key|F4}} || suspend to ram || does not work<br />
|-<br />
| {{key|Fn}}{{key|F5}} || switch bluetooth || not tested<br />
|-<br />
| {{key|Fn}}{{key|F7}} || switch display || does not work<br />
|-<br />
| {{key|Fn}}{{key|F8}} || ?? || not tested<br />
|-<br />
| {{key|Fn}}{{key|F9}} || eject || not tested<br />
|-<br />
| {{key|Fn}}{{key|F12}} || suspend to disk || does not work<br />
|-<br />
| {{key|Fn}}{{key|END}} || reduce brightness || works<br />
|-<br />
| {{key|Fn}}{{key|HOME}} || increase brightness || works<br />
|-<br />
| {{key|Fn}}{{key|PGUP}} || keyboard light || works<br />
|}<br />
<br />
[[Category:X60s]]</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=User_talk:Sarunas&diff=21949User talk:Sarunas2006-04-26T18:13:39Z<p>Jarv: /* working now */</p>
<hr />
<div>Hi - your page on getting ubuntu running on the X60s was very useful. <br />
<br />
I have a x60s as well but I'm seeing different results for cpu frequency scaling.<br />
Initially I see the same in cpufreq-info where the second processor gets stuck at 1.6 GHz.<br />
When I remove powersaved and insert the modules speedste_centrino and freq_table my available governers go away<br />
<br />
<pre><br />
# cpufreq-info <br />
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004<br />
Report errors and bugs to linux@brodo.de, please.<br />
analyzing CPU 0:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 0<br />
hardware limits: 1000 MHz - 1.67 GHz<br />
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br />
available cpufreq governors: performance<br />
current policy: frequency should be within 1000 MHz and 1.67 GHz.<br />
The governor "performance" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1.67 GHz (asserted by call to hardware).<br />
analyzing CPU 1:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 1<br />
hardware limits: 1000 MHz - 1.67 GHz<br />
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br />
available cpufreq governors: performance<br />
current policy: frequency should be within 1000 MHz and 1.67 GHz.<br />
The governor "performance" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1.67 GHz (asserted by call to hardware).<br />
</pre><br />
<br />
<br />
So as you can see all I have is "performance" which is no good for running off the battery. <br />
Out of curiosity what available governers do you see, do you mind giving me a dump of what modules you have loaded?<br />
<br />
Thanks --[[User:Jarv|Jarv]] 03:33, 26 April 2006 (CEST)<br />
<br />
Jarv,<br />
CPU frequency governors are compiled as modules in Flight6 stock kernel(s), '''except''' for performance governor:<br />
<br />
~# grep GOV config-2.6.15-20-686 <br />
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y<br />
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set<br />
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y<br />
CONFIG_CPU_FREQ_GOV_POWERSAVE=m<br />
CONFIG_CPU_FREQ_GOV_USERSPACE=m<br />
CONFIG_CPU_FREQ_GOV_ONDEMAND=m<br />
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m<br />
<br />
I believe they always loaded automatically on system start, i.e. I did nothing additionally:<br />
<br />
~# lsmod|grep cpu<br />
cpufreq_userspace 6496 0<br />
cpufreq_stats 6688 0<br />
cpufreq_powersave 1920 0<br />
cpufreq_conservative 9000 0<br />
cpufreq_ondemand 7752 2<br />
freq_table 4928 2 cpufreq_stats,speedstep_centrino<br />
<br />
I did install sysfsutils and added two lines into /etc/sysfs.conf to set the governor to ondemand:<br />
<br />
devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/system/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
Please note there was an error in sysfs path in my original post, I missed the /system/ part. cpufreq-info in my case:<br />
<br />
~# cpufreq-info<br />
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004<br />
Report errors and bugs to linux@brodo.de, please.<br />
analyzing CPU 0:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 0<br />
hardware limits: 1000 MHz - 1.50 GHz<br />
available frequency steps: 1.50 GHz, 1000 MHz<br />
available cpufreq governors: userspace, powersave, conservative, ondemand, performance<br />
current policy: frequency should be within 1000 MHz and 1.50 GHz.<br />
The governor "ondemand" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1000 MHz (asserted by call to hardware).<br />
analyzing CPU 1:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 1<br />
hardware limits: 1000 MHz - 1.50 GHz<br />
available frequency steps: 1.50 GHz, 1000 MHz<br />
available cpufreq governors: userspace, powersave, conservative, ondemand, performance<br />
current policy: frequency should be within 1000 MHz and 1.50 GHz.<br />
The governor "ondemand" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1000 MHz (asserted by call to hardware).<br />
<br />
[[User:Sarunas|Sarunas]] 09:19, 26 April 2006 (EDT)<br />
<br />
== working now ==<br />
<br />
thanks! the combination of getting the right modules in there and fixing sysfs made it work, I'm now scaling the processor correctly and got another 2 hours out of my battery which is fantastic.--[[User:Jarv|Jarv]] 20:13, 26 April 2006 (CEST)</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=User_talk:Sarunas&diff=21948User talk:Sarunas2006-04-26T18:13:24Z<p>Jarv: working now</p>
<hr />
<div>Hi - your page on getting ubuntu running on the X60s was very useful. <br />
<br />
I have a x60s as well but I'm seeing different results for cpu frequency scaling.<br />
Initially I see the same in cpufreq-info where the second processor gets stuck at 1.6 GHz.<br />
When I remove powersaved and insert the modules speedste_centrino and freq_table my available governers go away<br />
<br />
<pre><br />
# cpufreq-info <br />
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004<br />
Report errors and bugs to linux@brodo.de, please.<br />
analyzing CPU 0:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 0<br />
hardware limits: 1000 MHz - 1.67 GHz<br />
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br />
available cpufreq governors: performance<br />
current policy: frequency should be within 1000 MHz and 1.67 GHz.<br />
The governor "performance" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1.67 GHz (asserted by call to hardware).<br />
analyzing CPU 1:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 1<br />
hardware limits: 1000 MHz - 1.67 GHz<br />
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br />
available cpufreq governors: performance<br />
current policy: frequency should be within 1000 MHz and 1.67 GHz.<br />
The governor "performance" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1.67 GHz (asserted by call to hardware).<br />
</pre><br />
<br />
<br />
So as you can see all I have is "performance" which is no good for running off the battery. <br />
Out of curiosity what available governers do you see, do you mind giving me a dump of what modules you have loaded?<br />
<br />
Thanks --[[User:Jarv|Jarv]] 03:33, 26 April 2006 (CEST)<br />
<br />
Jarv,<br />
CPU frequency governors are compiled as modules in Flight6 stock kernel(s), '''except''' for performance governor:<br />
<br />
~# grep GOV config-2.6.15-20-686 <br />
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y<br />
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set<br />
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y<br />
CONFIG_CPU_FREQ_GOV_POWERSAVE=m<br />
CONFIG_CPU_FREQ_GOV_USERSPACE=m<br />
CONFIG_CPU_FREQ_GOV_ONDEMAND=m<br />
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m<br />
<br />
I believe they always loaded automatically on system start, i.e. I did nothing additionally:<br />
<br />
~# lsmod|grep cpu<br />
cpufreq_userspace 6496 0<br />
cpufreq_stats 6688 0<br />
cpufreq_powersave 1920 0<br />
cpufreq_conservative 9000 0<br />
cpufreq_ondemand 7752 2<br />
freq_table 4928 2 cpufreq_stats,speedstep_centrino<br />
<br />
I did install sysfsutils and added two lines into /etc/sysfs.conf to set the governor to ondemand:<br />
<br />
devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/system/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
Please note there was an error in sysfs path in my original post, I missed the /system/ part. cpufreq-info in my case:<br />
<br />
~# cpufreq-info<br />
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004<br />
Report errors and bugs to linux@brodo.de, please.<br />
analyzing CPU 0:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 0<br />
hardware limits: 1000 MHz - 1.50 GHz<br />
available frequency steps: 1.50 GHz, 1000 MHz<br />
available cpufreq governors: userspace, powersave, conservative, ondemand, performance<br />
current policy: frequency should be within 1000 MHz and 1.50 GHz.<br />
The governor "ondemand" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1000 MHz (asserted by call to hardware).<br />
analyzing CPU 1:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 1<br />
hardware limits: 1000 MHz - 1.50 GHz<br />
available frequency steps: 1.50 GHz, 1000 MHz<br />
available cpufreq governors: userspace, powersave, conservative, ondemand, performance<br />
current policy: frequency should be within 1000 MHz and 1.50 GHz.<br />
The governor "ondemand" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1000 MHz (asserted by call to hardware).<br />
<br />
[[User:Sarunas|Sarunas]] 09:19, 26 April 2006 (EDT)<br />
<br />
== working now ==<br />
<br />
thanks! the combination of getting the right modules in there and fixing sysfs made it work, I'm now scaling the processor correctly and got another 2 hours out of my battery which is fantastic.</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=User_talk:Sarunas&diff=21927User talk:Sarunas2006-04-26T01:33:14Z<p>Jarv: </p>
<hr />
<div>Hi - your page on getting ubuntu running on the X60s was very useful. <br />
<br />
I have a x60s as well but I'm seeing different results for cpu frequency scaling.<br />
Initially I see the same in cpufreq-info where the second processor gets stuck at 1.6 GHz.<br />
When I remove powersaved and insert the modules speedste_centrino and freq_table my available governers go away<br />
<br />
<pre><br />
# cpufreq-info <br />
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004<br />
Report errors and bugs to linux@brodo.de, please.<br />
analyzing CPU 0:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 0<br />
hardware limits: 1000 MHz - 1.67 GHz<br />
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br />
available cpufreq governors: performance<br />
current policy: frequency should be within 1000 MHz and 1.67 GHz.<br />
The governor "performance" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1.67 GHz (asserted by call to hardware).<br />
analyzing CPU 1:<br />
driver: centrino<br />
CPUs which need to switch frequency at the same time: 1<br />
hardware limits: 1000 MHz - 1.67 GHz<br />
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz<br />
available cpufreq governors: performance<br />
current policy: frequency should be within 1000 MHz and 1.67 GHz.<br />
The governor "performance" may decide which speed to use<br />
within this range.<br />
current CPU frequency is 1.67 GHz (asserted by call to hardware).<br />
</pre><br />
<br />
<br />
So as you can see all I have is "performance" which is no good for running off the battery. <br />
Out of curiosity what available governers do you see, do you mind giving me a dump of what modules you have loaded?<br />
<br />
Thanks --[[User:Jarv|Jarv]] 03:33, 26 April 2006 (CEST)</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21885Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:25:18Z<p>Jarv: /* Specifications */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB - HTS541080<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
<br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
=== Sound ===<br />
* The sound is very clean, loud enough and there doesn't appear to be any backround machine noise escaping through the card.<br />
<br />
=== Annoyances ===<br />
* '''Battery life''' - With the 8 cell battery Lenovo boasts that it gets about 8 hours of battery life. So far in Linux it is getting about 5-6. Need to mess around with more power saving options. <br />
* The Hitachi serial ATA harddrive makes a faint but noticeable high pitched clicking sound when running off the battery.<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
* Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
* The LED wireless indicator light does not switch on when wireless is enabled<br />
* The wireless toggle switch does nothing (although it appears to turn the led on momentarily)<br />
<br />
==== compiling the madwifi drivers from source - WORKS :) ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
==== WPA1 encryption - WORKS :) ====<br />
* In order for this to work you '''must''' compile the wpa_supplicant from source. <br />
** follow these instructions carefully - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21884Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:24:28Z<p>Jarv: /* Sound = */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
=== Sound ===<br />
* The sound is very clean, loud enough and there doesn't appear to be any backround machine noise escaping through the card.<br />
<br />
=== Annoyances ===<br />
* '''Battery life''' - With the 8 cell battery Lenovo boasts that it gets about 8 hours of battery life. So far in Linux it is getting about 5-6. Need to mess around with more power saving options. <br />
* The Hitachi serial ATA harddrive makes a faint but noticeable high pitched clicking sound when running off the battery.<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
* Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
* The LED wireless indicator light does not switch on when wireless is enabled<br />
* The wireless toggle switch does nothing (although it appears to turn the led on momentarily)<br />
<br />
==== compiling the madwifi drivers from source - WORKS :) ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
==== WPA1 encryption - WORKS :) ====<br />
* In order for this to work you '''must''' compile the wpa_supplicant from source. <br />
** follow these instructions carefully - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21883Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:24:16Z<p>Jarv: /* Annoyances */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
=== Sound ====<br />
* The sound is very clean, loud enough and there doesn't appear to be any backround machine noise escaping through the card.<br />
<br />
=== Annoyances ===<br />
* '''Battery life''' - With the 8 cell battery Lenovo boasts that it gets about 8 hours of battery life. So far in Linux it is getting about 5-6. Need to mess around with more power saving options. <br />
* The Hitachi serial ATA harddrive makes a faint but noticeable high pitched clicking sound when running off the battery.<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
* Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
* The LED wireless indicator light does not switch on when wireless is enabled<br />
* The wireless toggle switch does nothing (although it appears to turn the led on momentarily)<br />
<br />
==== compiling the madwifi drivers from source - WORKS :) ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
==== WPA1 encryption - WORKS :) ====<br />
* In order for this to work you '''must''' compile the wpa_supplicant from source. <br />
** follow these instructions carefully - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21882Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:22:07Z<p>Jarv: /* Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
=== Annoyances ===<br />
* '''Battery life''' - With the 8 cell battery Lenovo boasts that it gets about 8 hours of battery life. So far in Linux it is getting about 5-6. Need to mess around with more power saving options. <br />
* The Hitachi serial ATA harddrive makes a faint but noticeable high pitched clicking sound when running off the battery. <br />
<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
* Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
* The LED wireless indicator light does not switch on when wireless is enabled<br />
* The wireless toggle switch does nothing (although it appears to turn the led on momentarily)<br />
<br />
==== compiling the madwifi drivers from source - WORKS :) ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
==== WPA1 encryption - WORKS :) ====<br />
* In order for this to work you '''must''' compile the wpa_supplicant from source. <br />
** follow these instructions carefully - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21881Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:17:00Z<p>Jarv: /* WPA1 encryption - WORKS :) */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
* Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
* The LED wireless indicator light does not switch on when wireless is enabled<br />
* The wireless toggle switch does nothing (although it appears to turn the led on momentarily)<br />
<br />
==== compiling the madwifi drivers from source - WORKS :) ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
==== WPA1 encryption - WORKS :) ====<br />
* In order for this to work you '''must''' compile the wpa_supplicant from source. <br />
** follow these instructions carefully - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21880Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:16:12Z<p>Jarv: /* Wireless */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
* Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
* The LED wireless indicator light does not switch on when wireless is enabled<br />
* The wireless toggle switch does nothing (although it appears to turn the led on momentarily)<br />
<br />
==== compiling the madwifi drivers from source - WORKS :) ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
==== WPA1 encryption - WORKS :) ====<br />
** In order for the wpa_supplicant '''must''' be compiled from source. <br />
** follow these instructions carefully - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21879Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:12:47Z<p>Jarv: /* Wireless */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
<br />
==== compiling the madwifi drivers from source - WORKS :) ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA1 - WORKS<br />
** In order for the wpa_supplicant '''must''' be compiled from source. <br />
** follow these instructions - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21878Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:12:11Z<p>Jarv: /* What doesn't work out of the box */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
** ''atheros driver in linux-restricted-modules-2.6.15-20-686 will not work, see below for instructions''<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
==== using the linux-restricted-modules-2.6.15-20-686 - BROKEN ====<br />
<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre><br />
<br />
==== compiling the madwifi drivers from source - WORKS ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA1 - WORKS<br />
** In order for the wpa_supplicant '''must''' be compiled from source. <br />
** follow these instructions - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21877Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:10:38Z<p>Jarv: /* compiling the madwife drivers from source - WORKS */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
==== using the linux-restricted-modules-2.6.15-20-686 - BROKEN ====<br />
<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre><br />
<br />
==== compiling the madwifi drivers from source - WORKS ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA1 - WORKS<br />
** In order for the wpa_supplicant '''must''' be compiled from source. <br />
** follow these instructions - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21876Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T19:10:05Z<p>Jarv: /* compiling the madwife drivers from source - WORKS */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
==== using the linux-restricted-modules-2.6.15-20-686 - BROKEN ====<br />
<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre><br />
<br />
==== compiling the madwife drivers from source - WORKS ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA1 - WORKS<br />
** In order for the wpa_supplicant '''must''' be compiled from source. <br />
** follow these instructions - http://madwifi.org/wiki/UserDocs/802.11i</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21874Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T17:45:16Z<p>Jarv: /* Wireless */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
<br />
== What works after installation ==<br />
<br />
<br />
=== Wireless ===<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
==== using the linux-restricted-modules-2.6.15-20-686 - BROKEN ====<br />
<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre><br />
<br />
==== compiling the madwife drivers from source - WORKS ====<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA - ??? should work with this card although I haven't tested it.</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21873Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T17:34:52Z<p>Jarv: /* compiling the madwife drivers from source */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
<br />
== Wireless ==<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
=== using the linux-restricted-modules-2.6.15-20-686 - BROKEN===<br />
<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre><br />
<br />
=== compiling the madwife drivers from source - WORKS ===<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA - ??? should work with this card although I haven't tested it.</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21872Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T17:34:36Z<p>Jarv: /* using the linux-restricted-modules-2.6.15-20-686 */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
<br />
== Wireless ==<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
=== using the linux-restricted-modules-2.6.15-20-686 - BROKEN===<br />
<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre><br />
<br />
=== compiling the madwife drivers from source ===<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA - ??? should work with this card although I haven't tested it.</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21871Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T17:34:15Z<p>Jarv: /* What doesn't work work */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work out of the box===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
<br />
== Wireless ==<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
=== using the linux-restricted-modules-2.6.15-20-686 ===<br />
<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre><br />
<br />
=== compiling the madwife drivers from source ===<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA - ??? should work with this card although I haven't tested it.</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21870Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T17:32:59Z<p>Jarv: /* Wireless */</p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work work ===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
<br />
== Wireless ==<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
<br />
=== using the linux-restricted-modules-2.6.15-20-686 ===<br />
<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre><br />
<br />
=== compiling the madwife drivers from source ===<br />
<br />
* untar the latest drivers from teh madwifi website - http://sourceforge.net/projects/madwifi/<br />
* prepare build environment<br />
apt-get install build-essential<br />
apt-get install linux-headers-`uname-r`<br />
apt-get install shareutils<br />
* in the madwifi directory build and install the module<br />
make<br />
make install<br />
modprobe ahc_pci<br />
<br />
* No-encryption - WORKS<br />
* WPA - ??? should work with this card although I haven't tested it.</div>Jarvhttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Flight_6_on_a_ThinkPad_X60s&diff=21869Installing Ubuntu 6.06 Flight 6 on a ThinkPad X60s2006-04-22T15:46:19Z<p>Jarv: </p>
<hr />
<div>= Installation of Ubuntu 6.06 Flight 6 on X60s (model 1705-24U) =<br />
== Summary ==<br />
=== What works out of the box ===<br />
<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Firewire<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* Hard disk laptop-mode (/proc/sys/vm/laptop-mode)<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
<br />
=== What needs to be fixed ===<br />
<br />
* Dual core processor<br />
* Wireless<br />
* Processor frequency scaling<br />
* Suspend to RAM<br />
* Suspend to disk<br />
* SD card reader<br />
* Sound<br />
<br />
== Installing Ubuntu 6.06 Flight 6 ==<br />
<br />
IBM Rescue and Recovery disks (seven CDs) can be created using preinstalled Windows: All programs&rarr;ThinkVantage&rarr;Create Recovery Media. However, as long as recovery partition (called ''predesktop'' in BIOS) is left intact, system '''can be restored to factory default without having recovery CDs'''.<br />
<br />
Ubuntu Flight 6 installer boots normally using external (USB) IBM DVD-ROM/CD-RW. SATA disk is recognised, Xorg 7.0, gdm and Gnome start normally. Xorg is configured with i810. DRI works (glxinfo|grep rendering). Networking works, eth0 uses e1000. ALSA sound worked after original installation, but at some point it stopped working as Dapper instantly had numerous updates, including kernel. <br />
<br />
== Fixes after installation ==<br />
<br />
=== SMP kernel ===<br />
Flight 6 installs 2.6.15-*-386 kernel without SMP support. After installation of -686 kernel (which appears to be SMP) {{path|/proc/cpuinfo}} reports CPU0 and CPU1.<br />
<br />
=== Wi-Fi ===<br />
Intel 3945ABG wireless driver is available from http://ipw3945.sourceforge.net/. Wireless works after following QUICK INSTALL STEPS in provided INSTALL file. Automating driver loading works as described too, except that {{path|/etc/modprobe.d/ipw3945}} has to be used instead of the proposed {{path|/etc/modules.d/ipw3945}}.<br />
<br />
=== CPU frequency scaling ===<br />
After installation CPU0 switches between 1.5 GHz (full speed) and 1 GHz depending on load, but CPU1 stays at full speed. Flight 6 installs <code>powernowd</code> and uses <code>userspace</code> governor. Changing to <code>ondemand</code> governor ({{path|/sysfs/devices/cpu/cpu0,1/cpufreq/scaling_governor}}) and thus using kernel part for frequency scaling (modules <code>speedstep_centrino</code> and <code>freq_table</code>) fixes this. To keep the change between reboots, install <code>sysfsutils</code> package and add the following lines to {{path|/etc/sysfs.conf}}:<br />
<br />
devices/cpu/cpu0/cpufreq/scaling_governor=ondemand<br />
devices/cpu/cpu1/cpufreq/scaling_governor=ondemand<br />
<br />
<code>powernowd</code> can then be disabled from auto-starting by <code>rcconf</code>. It can also be <code>apt-get remove</code>'d, but that also wants to remove <code>ubuntu-desktop</code> metapackage. <br />
<br />
=== High pitch noise while on battery ===<br />
X60s CPU produces the [[Problem_with_high_pitch_noises#Limit_ACPI_CPU_power_states|infamous high pitch noise]] when in lower-power ACPI states (a.k.a. C-states). To eliminate the noise maximum (i.e. lowest power) C-state had to be limited to C2. In {{path|/etc/sysfs.conf}}:<br />
<br />
module/processor/parameters/max_cstate=2<br />
<br />
== Unsolved ==<br />
* Suspend to RAM (suspends, but crashes on resume)<br />
* Suspend to disk (suspends, but crashes on resume)<br />
* Sound <br />
* SD card reader (driver in Linux kernel >=2.6.17)<br />
<br />
== Not tested ==<br />
* PCMCIA slots<br />
* Embeded Security Subsystem (TCPA)<br />
* Active Protection System (HDAPS)<br />
* Modem<br />
<br />
= Installation of Ubuntu 6.06 Flight 6 on X60s (model 170466U) =<br />
== Specifications ==<br />
<br />
* Processor - Intel Core Duo 1.66GHZ<br />
* Hard Drive - SATA 80GB<br />
* Networking - Integrated Wireless (Atheros)<br />
* Sound - Intel<br />
<br />
<pre><br />
0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)<br />
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)<br />
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
0000:00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br />
0000:00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)<br />
0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)<br />
0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)<br />
0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)<br />
0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)<br />
0000:00:1f.2 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)<br />
0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
0000:02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller<br />
0000:03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)<br />
0000:15:00.0 ffff: Ricoh Co Ltd RL5c476 II (rev ff)<br />
0000:15:00.1 ffff: Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev ff)<br />
0000:15:00.2 ffff: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev ff)<br />
</pre><br />
== Summary ==<br />
<br />
=== What works out of the box ===<br />
* Network adapter (Intel PRO/1000) <br />
* Graphics adapter and accelerator (Intel GMA 950)<br />
* USB<br />
* Lid switch (LCD off when lid closed)<br />
* Volume control, keyboard light and screen brightness control<br />
* LCD brightness auto-adjusts depending on AC or battery operation<br />
* Fn buttons generate ACPI events (/var/log/acpid)<br />
* Sound, using the snd_hda_intel driver<br />
<br />
=== What doesn't work work ===<br />
<br />
* Suspend to ram<br />
* Suspend to disk<br />
* Wireless<br />
<br />
== Wireless ==<br />
<br />
Unlike the earlier versions of the X60s this one uses the Atheros driver.<br />
After getting the non-free drivers through apt-get the following error is seen when inserting the module:<br />
<pre><br />
Apr 22 11:43:39 nelson kernel: [4420553.437000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF241<br />
3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.467000] wlan: 0.8.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.468000] ath_rate_sample: 1.2<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ath_pci: 0.9.6.0 (EXPERIMENTAL)<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IR<br />
Q 66<br />
Apr 22 11:43:39 nelson kernel: [4420553.476000] PCI: Setting latency timer of device 0000:03:00.0 to 64<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ath_attach: unable to attach hardware: 'Hardware didn't respond <br />
as expected' (HAL status 3)<br />
Apr 22 11:43:39 nelson kernel: [4420553.477000] ACPI: PCI interrupt for device 0000:03:00.0 disabled<br />
</pre></div>Jarv