Difference between revisions of "Installing Ubuntu on a ThinkPad T23"

From ThinkWiki
Jump to: navigation, search
(Post a tip for fixing sound-after-suspend with Ubuntu on a T23.)
(Sound After Suspend: show manual tip for bringing sound back.)
Line 21: Line 21:
 
  chmod +x  /etc/acpi/resume.d/70-sound-unmute.sh
 
  chmod +x  /etc/acpi/resume.d/70-sound-unmute.sh
  
Now, after a suspend/resume cycle, sound should work automatically!
+
In theory, that should make sound work automatically after suspend. It still may not, but you can run the script manually to bring sound back:
 +
 
 +
  sh /etc/acpi/resume.d/70-sound-unmute.sh
  
 
=== Dual Monitors ===
 
=== Dual Monitors ===

Revision as of 02:33, 13 December 2007

Ubuntu 7.10 Gutsy Gibbon

Things generally work fine, with the following notes

Power Management

Sound After Suspend

Sound may not work after a suspend/resume cycle. The problem may be that some volume levels have been muted. To fix that save the following into a script:

#!/bin/sh
mixers="Master PCM CD"
for mixer in $mixers ; do
  /usr/bin/amixer -q sset $mixer mute
  /usr/bin/amixer -q sset $mixer unmute
done

The script should save to /etc/acpi/resume.d/70-sound-unmute.sh Make sure the file is executable

chmod +x  /etc/acpi/resume.d/70-sound-unmute.sh

In theory, that should make sound work automatically after suspend. It still may not, but you can run the script manually to bring sound back:

 sh /etc/acpi/resume.d/70-sound-unmute.sh

Dual Monitors

Gutsy Gibbon has a new "Screens and Graphics" preferences area. It shows a second monitor possibility. Trying a test does make both the LCD and external screen active as one big gray monitor...but only for the test. Choosing the option to accept the settings does not actually cause monitor-spanning to work, but monitor mirroring does.

CPU Frequency Scaling

CPU Frequency Scaling seems to be working automatically. To see your current speed level, activate the CPU Frequency Scaling Monitor Applet. Right click on the toolbar and select "add to panel". You can search for "Frequency" to find it.

Ubuntu 7.04 Feisty Fawn

Power Management

The chips in T23s have the ability to run at speeds slower than their maximum, in order to save power. To see your current speed level, activate the CPU Frequency Scaling Monitor Applet. Right click on the toolbar and select "add to panel". You can search for "Frequency" to find it.

You can also enable this applet to allow you manually change the speed and scaling policy. To do that, run this in a terminal: "sudo dpkg-reconfigure gnome-applets".

These instructions are also available illustrated with screenshots.

You may also need to add a couple of lines to "/etc/modules" to allow you to be able to change the processor speed and governor. The lines are:

acpi-cpufreq
cpufreq_ondemand

These will now be loaded on at boot time. To activate them immediately:

 sudo modprobe acpi-cpufreq
 sudo modprobe cpufreq_ondemand

Some technical details are explained on the SpeedStep page.

External Resources