https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Cockroach&feedformat=atomThinkWiki - User contributions [en]2024-03-29T15:26:11ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=Installing_Debian_on_a_ThinkPad_X41&diff=47806Installing Debian on a ThinkPad X412010-03-18T15:55:56Z<p>Cockroach: Updated URL</p>
<hr />
<div>==External Sources==<br />
*A German quick-howto on suspending is availbable at [http://groups.google.de/group/linux.debian.user.german/browse_thread/thread/7c0112d475878809/f4f483fd27e374e3 linux.debian.user.german-article]<br />
*An English Howto is available at http://www.net-track.ch/opensource/articles/x41.php<br />
*A Linux-on-Laptops page is available at http://demod.org/linux/thinkpad_x41<br />
*Another one can be found at http://www.ott.net/knowledge/x41debian/<br />
[[Category:X41]] [[Category:Debian]]</div>Cockroachhttps://www.thinkwiki.org/w/index.php?title=Problem_with_high_pitch_noises&diff=30058Problem with high pitch noises2007-05-25T00:12:22Z<p>Cockroach: Added note about CONFIG_USB_SUSPEND</p>
<hr />
<div>Information on strange high pitch, low volume noises emitted by ThinkPads.<br />
<br />
==Problem description==<br />
Even though ThinkPads are known as very silent notebooks, they tend to emit different, mostly high pitch noises in certain circumstances. The noises are of low volume and hence not realized by everyone or at least tolerated by most people. However, there are those with "bat like ears" that hear them and might be annoyed by that.<br />
<br />
==Affected Models==<br />
Noises have been experienced in the following situations:<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
|-<br />
! style="vertical-align:top;background-color:#DDDDDD;" | situation<br />
! style="vertical-align:top;background-color:#DDDDDD;" | noise description<br />
! style="vertical-align:top;background-color:#DDDDDD;" | affected models<br />
|-<br />
| style="vertical-align:top;" |<br />
Plugged into AC / running at high CPU frequency<br />
| style="vertical-align:top;" |<br />
soft crackling, buzzing noise<br />
| style="vertical-align:top;" |<br />
*{{T41}}<br />
**2379-DJU<br />
|-<br />
| style="vertical-align:top;" |<br />
ThinkPad suspended to RAM<br />
| style="vertical-align:top;" |<br />
constant high pitch noise<br />
| style="vertical-align:top;" |<br />
*{{T42p}}<br />
|-<br />
| style="vertical-align:top;" |<br />
ThinkPad connected to power and switched off, with battery fully charged<br />
| style="vertical-align:top;" |<br />
constant high pitch noise<br />
| style="vertical-align:top;" |<br />
*{{T41p}}<br />
**2373-GHG<br />
|-<br />
| style="vertical-align:top;" |<br />
moving windows or just the mouse in xorg<br />
| style="vertical-align:top;" |<br />
strange noise like a rapid series of very short high pitch noises adding to a constant kind of whistling (only as long as the movement goes)<br />
| style="vertical-align:top;" |<br />
*{{A21m}}<br />
**2628<br />
*{{T41p}}<br />
**2373-GHG<br />
|-<br />
| style="vertical-align:top;" |<br />
Thinkpad connected to power or working on battery, also when suspended to RAM<br />
| style="vertical-align:top;" |<br />
High pitch noise also when HD is powered down.<br />
| style="vertical-align:top;" |<br />
*{{T23}}<br />
**2647-DG4<br />
*{{X24}}<br />
**2662-MWG<br />
|-<br />
| style="vertical-align:top;" |<br />
Thinkpad connected to power battery charged less than 60%<br />
| style="vertical-align:top;" |<br />
High pitch noise till battery is charged more than 60%.<br />
| style="vertical-align:top;" |<br />
*{{T41p}}<br />
**2373-GEG<br />
|-<br />
| style="vertical-align:top;" |<br />
Constantly, if AC connected<br />
| style="vertical-align:top;" |<br />
High pitched, low volume constant noise.<br />
| style="vertical-align:top;" |<br />
*{{T40}}<br />
**2373-88U<br />
|-<br />
| style="vertical-align:top;" |<br />
When the CPU freq jumps up to 1Ghz or above, or when the laptop is in suspend mode<br />
| style="vertical-align:top;" |<br />
Constant high pitched<br />
| style="vertical-align:top;" |<br />
*{{R50}}<br />
**1829-6DM<br />
|-<br />
| style="vertical-align:top;" |<br />
(May come from harddisk.)<br />
| style="vertical-align:top;" |<br />
continuous, intermittent, low volume, high pitched<br />
| style="vertical-align:top;" |<br />
*{{600X}}<br />
|-<br />
| style="vertical-align:top;" |<br />
ACPI puts the processor into the C3 or C4 power saving states (i.e., the system is idle).<br />
| style="vertical-align:top;" |<br />
High-pitched crackling noise.<br />
| style="vertical-align:top;" |<br />
*{{X41}}<br />
*{{T43}}<br />
**2686-DGU<br />
*{{T43p}}<br />
*{{T60}}<br />
**2007-72U<br />
*{{T21}}<br />
*{{T20}}<br />
**2648-46U<br />
|-<br />
| style="vertical-align:top;" |<br />
Cpufreqd (or powernowd etc.) slows down the processor, for exemple at the end of an heavy task.<br />
| style="vertical-align:top;" |<br />
High-pitched crackling noise.<br />
| style="vertical-align:top;" |<br />
*{{T42}}<br />
|-<br />
| style="vertical-align:top;" |<br />
When on battery<br />
| style="vertical-align:top;" |<br />
Noise level varies from inaudible to clearly audible, screeching sound, or sometimes beeping (when wifi is on). <br />
| style="vertical-align:top;" |<br />
*{{A21m}}<br />
**2628<br />
*{{R51}}<br />
**EHG-1829<br />
*{{R52}}<br />
**1858-A11<br />
**1846-B5G<br />
*{{R60}}<br />
**9461-DXG<br />
**9462-77G<br />
**9456-HTG<br />
**9461-DXG<br />
*{{R60e}}<br />
**0657-A9G<br />
**0657-3LG<br />
*{{T43}}<br />
**2686-DGU<br />
**1871-4AG<br />
*{{T60}}<br />
**2007-72U<br />
**1951-24G<br />
**1951-24G<br />
**2007-49G<br />
**2007-FUG<br />
*{{T60p}}<br />
**2007-FBG<br />
*{{x60}}<br />
*{{x31}}<br />
**2673-CBU<br />
*{{Z61m}}<br />
**9450-3HG<br />
**9452-128<br />
**9452-W5Q<br />
*{{Z61t}}<br />
**9440-2QU<br />
<br />
|-<br />
| CPU is used much AND laptop is on AC power AND the TFT panel is enabled.<br />
| Screetching high pitch noise, like a million crickets<br />
| <br />
* {{X41}}<br />
<br />
|-<br />
| Network is pluged in and networkload is ~100%.<br />
| low volume highfreq. pitch noise from left speaker or cpu.<br />
|<br />
*{{Z60m}}, {{Z60t}}<br />
*{{T40}}<br />
*{{T43}}<br />
**2687-DDU<br />
<br />
|-<br />
| Constant, but is louder when Tablet Pen is near screen, on battery power<br />
| high pitch noise, screeching sounds *solved by "Media player paused" (see below) and also by BIOS versions 1.05 and later.<br />
|<br />
*{{X60_Tablet}}<br />
**6366-4DU<br />
|}<br />
<br />
==Affected Operating Systems==<br />
All, though Linux appears especially susceptible.<br />
<br />
==Possible sources==<br />
<br />
* '''CPU activity:''' On some models the noise is triggered by certain CPU power states or activity patterns (as proven [http://www.wisdom.weizmann.ac.il/~tromer/acoustic here]).<br />
* '''Graphics processor:''' In some models from the T2x era, e.g. the {{T23}}, the problem was related to the graphics circuitry and occured especially or only while making use of DirectDraw functions. IBM was able to fix it through a BIOS upgrade.<br />
* '''Hard disk:''' On some ThinkPads the processor and hard disk are adjacent and produce similar noise. For example, in the {{X41}} the sound generated by the hard disk is likely to be loudest at the vent.<br />
* '''Gigabit Ethernet processor:''' In some models (e.g., {{T43}}) high ethernet activity causes a high pitch noise.<br />
<br />
* '''Screen brightness:''' on an {{X31}}, a hissing sound is started whenever screen brightness is not full.<br />
<br />
==Status==<br />
<br />
The problem is highly specific to operating system, model and even individual machines. There is no universal solution, but on most machines one of the following will reduce or eliminate the noise (possibly at some cost in power consumption).<br />
<br />
==Solutions for CPU-triggered noise==<br />
<br />
===Limit ACPI CPU power states===<br />
<br />
There are eight ACPI CPU power states, called C1 through C8 (but the ThinkPad BIOS often remaps them and uses only C1 to C4). Often only the extreme power saving modes C4 or C3 produce the noise, so the noise can be stopped by instructing the Linux ACPI code to use only lower modes.<br />
<br />
To forbid the ACPI driver from using C4 (this fixed the problem with on some ThinkPad {{T43}}, {{T43p}} and {{T41}}):<br />
* If the ACPI processor component is compiled as built-in (<tt>CONFIG_ACPI_PROCESSOR=y</tt>):<br />
**Pass the {{bootparm|max_cstate|3}} kernel argument.<br />
* If the ACPI processor component is loaded as a module (<tt>CONFIG_ACPI_PROCESSOR=m</tt> and <tt>processor</tt> shows in the output of {{cmdroot|lsmod}}), do either of:<br />
** Pass the {{bootparm|processor.max_cstate|3}} kernel argument (this does not work in Ubuntu 5.10 with default kernel).<br />
** Add <code>options processor max_cstate=3</code> to {{path|/etc/modprobe.conf}} (or {{path|/etc/modprobe.conf.local}}, or {{path|/etc/modprobe.d/...}}, depending on your system) (this does not work in Ubuntu 5.10 with default kernel).<br />
** {{cmdroot|echo 3 > /sys/module/processor/parameters/max_cstate}} (this can be changed in runtime for experimentation). (If may need to be set again upon resume from suspend, e.g., in the wakeup script.)<br />
** (On Ubuntu 5.10, the default kernel uses <code>processor</code> as a module. Unfortunately, the script loading it, {{path|/etc/init.d/acpid}}, ignores the <code>options processor max_cstate=3</code> setting in {{path|/etc/modprobe.d/<my file>}}. As a solution for this specific problem, add the line <code>echo 2 > /sys/module/processor/parameters/max_cstate</code> directly to {{path|/etc/init.d/acpid}}, at the end of the function <code>load_modules()</code>, immediately after the line <code>echo "$PRINTK" > /proc/sys/kernel/printk</code>.)<br />
** On Gentoo: Configure your Thinkpad as described in the [http://www.gentoo.org/doc/en/power-management-guide.xml Power Management Guide]. Then as root create the files {{path|/etc/init.d/limit-sleep-states}} and {{path|/etc/conf.d/limit-sleep-states}} as below. After that just issue the command {{cmdroot|rc-update add limit-sleep-states default}} to limit the sleep states only when running on AC power, or {{cmdroot|rc-update add limit-sleep-states default battery}} to always limit the sleep states.<br />
cat <<EOF > /etc/init.d/limit-sleep-states<br />
#!/sbin/runscript<br />
<br />
depend() {<br />
need acpid<br />
}<br />
<br />
start() {<br />
ebegin "Limiting CPU sleep state to C${LIMIT_CSTATE}"<br />
echo $LIMIT_CSTATE > /sys/module/processor/parameters/max_cstate<br />
eend $?<br />
}<br />
<br />
stop() {<br />
ebegin "Removing CPU sleep state limit"<br />
echo $REMOVE_CSTATE > /sys/module/processor/parameters/max_cstate<br />
eend $?<br />
}<br />
EOF<br />
<br />
cat <<EOF > /etc/conf.d/limit-sleep-states<br />
# limit CPU sleep state to the following value (adjust accordingly)<br />
LIMIT_CSTATE=3<br />
# some value which is higher than all available sleep states<br />
REMOVE_CSTATE=8<br />
EOF<br />
<br />
To also forbid the C3 state, replace "<tt>3</tt>" with "<tt>2</tt>" above (this fixed the problem on some ThinkPad {{X40}}, {{X41}}, {{X60}}, {{T60}}, {{Z61t}} and {{R52}}, as well as on {{T20}} where C4 is not supported at all).<br />
<br />
Note that these options affect power consumption when the CPU is idle. For example, here is the [[How to measure power consumption|measured power consumption]] on a ThinkPad {{T43}}:<br />
* {{bootparm|processor.max_cstate|4}}: 15160mW (default, noisy)<br />
* {{bootparm|processor.max_cstate|3}}: 15770mW (660mW higher, silent)<br />
* {{bootparm|processor.max_cstate|2}}: 16100mW (2940mW higher, silent)<br />
<br />
One can control how often Linux tries to enter the C3 state by using the {{bootparm|processor.bm_history|<bitmask>}} parameter on kernels with a scheduler frequency below 800Hz (and if you have noise problems, you really should not be running the kernel at 1000Hz...). Setting {{bootparm|processor.bm_history|0xFFFFFFFF}} will cause C3 to be entered less often. This will waste more power as the CPU won't do C3 or C4 as often, but at least it doesn't forbid C3 and C4 permanently, unlike {{bootparm|max_cstate|2}}.<br />
<br />
See the [http://thinkwiki.org/wiki?title=Talk:Problem_with_high_pitch_noises discussion page] for further information and success reports.<br />
<br />
*Jakob Schou Pedersen: Editing the file {{path|/etc/init.d/acpid}} as described above (the last solution) worked on my T43 :-)<br />
<br />
===Turn off CPU power saving in the BIOS===<br />
<br />
Go into the BIOS and turn off the power saving processor feature that puts it into idle mode. (This worked on a ThinkPad {{T43}}, {{T21}}, {{X60s}} and {{Z61m}}). However, this also affects power consumption when the CPU is idle, it's similar to disabling the C4/C3 ACPI CPU power state. For example, on a Z61m 9450-3HG, a full charged battery with power management enabled in the BIOS provides the notebook with power for about 3.5h, if disabled, the battery-lifetime is only about 2h.<br />
<br />
===Disable ACPI CPU power states===<br />
<br />
Completely disable CPU ACPI power states. Discussion:<br />
<br />
*From Martin Steigerwald: I made the observation that I get at least less high pitch noises on my {{T23}} when I do not use the two ACPI modules "processor" and "thermal" (depends on the first one). I have no clue, why. Anyone with similar experiences?<br />
:Omar Yasin: I've got a {{R52}} and when I load the same ACPIO modules the high pitch noises are not as loud but I can still hear them.<br />
*Kaspar Schleiser: On my {{T23}} the noise is less loud when setting max_cstate to 2, but to completely silence it, I have to set it to "1". Is that the same as removing the "processor"-module? "cat /proc/acpi/battery/BAT0/state" does not show increased power drain.<br />
*Niko Ehrenfeuchter: I'm experiencing the same here on my {{X24}}. Removing the "processor" module also stops the pitch noise, which does ONLY occur when setting the CPU to maximum speed (using cpufreq). On low speed it's completely silent, even having loaded the processor module.<br />
<br />
*Rolf Adelsberger: I can confirm this: the high pitch noise is only remarkable (at least with my ears ;-) ) if the processor speed is set to maximum frequency.<br />
<br />
*Stefan Baums: My {{X41}} produced a high-pitched crackle from the processor vent on the left. Changing HZ did nothing, and the 'processor' module could not easily be removed from the system (Ubuntu 5.04). What solved the problem for me was adding {{bootparm|idle|halt}} to the boot command line. Unfortunately, this solution only lasts until the first hibernation or suspend - when the computer ({{X41}}) resumes, the high-pitched crackle is back.<br />
<br />
* The {{bootparm|idle|halt}} solution combined with setting <code>#define HZ 100</code> in the kernel fixes the problem on a {{T43}}.<br />
<br />
* jhatch: {{bootparm|idle|halt}} plus <code>#define HZ 100</code> also worked on my {{T43}}. It still reverts back to noisy after a suspend/resume though. This needs to be fixed...<br />
<br />
===Change the timer interrupt frequency===<br />
<br />
Change the "HZ" kernel constants to alter the frequency of timer interrupts. Discussion:<br />
<br />
{{NOTE|The timer interrupt frequency (HZ) in current Linux kernels is directly tied to the kernel task scheduler. Lower frequencies provide larger time-slices and thus also higher latencies (which may kill latency-sensitive applications like audio processing). 100Hz ended up as the recommended "server" setting (because it increases disk/CPU throughput in a latency-insensitive environment). Higher frequencies are better for latency-sensitive applications, and improve desktop responsivity at the cost of less processor throughput. 1000Hz ended up as the recommended "desktop" setting.}}<br />
<br />
*Andreas Karnahl: i've read in several forums it has something to do with the "idle"-state (or "C3") of the processor. There is a frequency called "timer interrupt" (or so mething like that). Since kernel 2.6x it is set to 1000 Hz by default (compared to 100 Hz in Kernel 2.4x). The exact reason i don't know, but it is safe to change this frequency to 100 Hz in kernel 2.6x (by the way, windows up to XP uses 100 Hz by default).<br />Just do the following:<br /><br />
: In {{path|[path to kernel-sources]/include/asm-i386/param.h}} find the line<br />
:: <code>#define HZ 1000</code><br />
: and change the value of HZ to 100: <br />
:: <code>#define HZ 100</code><br />
:Then recompile the kernel.<br />After i changed it on my ThinkPad {{A30}} (under SuSE 9.2 and 9.3) and recompiling the kernel the high pitch noise is gone away.<br />
<br />
* Omar Yasin: Worked on my {{R52}}, thanks.<br />
<br />
* [[User:Thinker|Thinker]]: In modern kernels this constant is in the kernel configuration {{kernelconf|CONFIG_HZ|Processor type and features||Timer Frequency|||||}}.<br />
<br />
* [[User:sklnd|sklnd]]: As of 2.6.21, enabling a tickless kernel (CONFIG_NO_HZ) seems to fix the sound issue on the X60. This also has the added benefit of causing the kernel to wake up less, which will improve battery life.<br />
<br />
===Prevent idling===<br />
<br />
Indirectly avoid power saving states by making sure the CPU is rarely idle:<br />
<br />
* Paul RIVIER: Here is a really simple workaround. C3 / C4 states are mainly called when the cpu freq is higher than required, for example if your cpufreqd is lazy to slow down the frequency but quick to raise it. That is why I use powernowd with the builtin "passive" mode, which is lazy for raising frequency, but quick to go back to the lowest. Now I don't hear them as often as before, as I avoid C3/C4 states at high frequency.<br />
<br />
* The problem also occurs on my {{X41}} with 2.6.11. Setting up [[How to make use of Dynamic Frequency Scaling|frequency scaling]] with the <code>ondemand</code> governor makes things a lot better, as the processor does not stay with the maximum frequency when in idle mode. It can be still heard sometimes, though.<br />
<br />
* On a {{T43}} the noise was gone after dropping cpufreqd and switching to the ondemand governor - maybe because of the high sampling rate? (used the default: 10ms)<br />
<br />
===Change the processor voltage===<br />
<br />
Reducing the processor voltage (when possible) may decrease or eliminate the noise. On one ThinkPad {{T43}}, [[Pentium M undervolting and underclocking|undervolting the Pentium M processor]] eliminated the high-pitched noise. Compared to the other solutions this has the benefit of lower power consumption, both due to the undervolting itself and because there is no need to forbid high APCI CPU power saving modes.<br />
<br />
==Solutions for screen brightness related sounds==<br />
<br />
===Disable BIOS brightness control===<br />
<br />
The sound starts when on batteries as the BIOS automatically reduces screen brightness. To disable this, simply switch Config>Display>Brightness from<br />
Normal to High. See also [[User:Piccobello/Hissing sound on battery|here]].<br />
<br />
==Other solutions==<br />
<br />
===Disable UltraBay===<br />
*Naheed Vora: My {{T41}} (2373-268) started to give high pitch noise ocassionally, when I upgraded to 2.6.11 kernel. I tried to unload lot of modules but finally figured out that disabling bay stops the noise. If you have [[ibm-acpi]], do (need a cleaner solution): {{cmduser|echo eject >/proc/acpi/ibm/bay}} .<br />
<br />
===Disable IrDA===<br />
*Mike Perry: I was able to cure an intermittent high-pitched whine on both my {{X24}} and {{X40}} by disabling the Infrared port.<br />
<br />
===Disable the Linuxant Modem Driver===<br />
*Joern Heissler: I made another experience. I played around with linuxant conexant [[Modem Devices|modem]] drivers. After loading them I got some noise on my {{T42p}}.<br />
<br />
===Media Player paused===<br />
*Eilif Muller: On my {{R52}} the high-pitched noises go away if I load XMMS, play something then pause it.<br />
*Jacob: On my {{T43}} DGU it goes away if I open mplayerc.exe and press play then pause it. This is the high-pitched noise that only shows up when I'm on battery.<br />
*butcom: On my {{X60 Tablet}}, this tip works in Windows as well with Media Player Classic or Windows Media Player. Just open either program, start playing any music file and pause it and the screeching noise stops.<br />
<br />
''I'd guess that the above tip works as when xmms or similar is running, it is uncompressing compressed audio/video, which is a processor intensive action. Keeping this paused means that the app won't 'let go' of the processor, forcing it to stay up and running, which stops it entering the higher powersave modes.''<br />
<br />
===nice yes===<br />
<br />
Run the command: <br />
{{cmduser|nice yes > /dev/null}}.<br />
<br />
This is a good way to test whether the processor is causing the interference, since it forces the CPU to stay at full power. Of course, this will make your system get warm, and probably turn on the fan, as well as eating power.<br />
<br />
===Upgrade BIOS===<br />
On a ThinkPad {{X60s}}, [[BIOS_Upgrade|upgrading the BIOS]] to version 1.06 eliminated the high pitch noise when running on battery.<br />
<br />
===Disable USB===<br />
On one {{T43}} and one {{X60}}, (partially) disabling USB using {{cmdroot|rmmod uhci_hcd}} significantly reduced the noise. Also, on a {{T60}} this trick worked well, doing ''rmmod/modprobe'' twice wiped the noise permanently.<br />
<br />
This is likely a CPU-induced noise case, as disabling USB UHCI will reduce a lot the amount of busmaster activity while the computer is idle, and thus has a direct effect on the need for ACPI C-state transitions from C3/C4 to C2 or lower states in a {{T43}} or {{X60}}.<br />
<br />
===Suspend USB===<br />
*Stefan Ott: On my X41, the noise seems to have stopped since I enabled "USB selective suspend/resume and wakeup" (CONFIG_USB_SUSPEND).</div>Cockroachhttps://www.thinkwiki.org/w/index.php?title=Problem_with_video_output_switching&diff=26649Problem with video output switching2006-11-29T02:48:14Z<p>Cockroach: /* Problems with Intel chipsets */</p>
<hr />
<div>==Affected Models==<br />
*ThinkPad {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}<br />
*ThinkPad {{X22}}, {{X23}}, {{X41}}<br />
<br />
==Problem Description==<br />
It is not possible, using the FN-F7 key, to switch between the LCD and the external monitor in the following way<br />
LCD --> external Monitor--> both -->LCD<br />
however ''cloning'' is possible for the Intel chipsets, see below.<br />
<br />
===Problems with Intel chipsets===<br />
Disabling the internal LCD (e.g. when using an external Monitor) doesn't seem to work reliably.<br />
<br />
* For Xorg 7.022 one can clone the LCD display to an external monitor, adding the following lines to the Device section in the xorg.conf file:<br />
Section "Device"<br />
Identifier "Generic Video Card"<br />
Driver "i810"<br />
Option "Clone" "true"<br />
Option "MonitorLayout" "CRT,LFP"<br />
however you can not switch between these screens as described above, once you use FN-F7 the cloned display is lost.<br />
<br />
* i810switch doesn't have any effect. After disabling the LCD it is still on (but the status display of i810switch claims that is is switched off).<br />
<br />
* i855crt works see: http://stefan.desire.ch/howto/x41debian/#graphics for details.<br />
<br />
* With [[ibm-acpi]], {{cmdroot|echo lcd_disable >/proc/acpi/ibm/video}} works, but {{cmdroot|echo lcd_enable >/proc/acpi/ibm/video}} doesn't work - so one can't enable it anymore after disabling it. (the strange thing is that when switching to a console with {{key|ctrl}}{{key|alt}}{{key|F1}} the LCD display is used for it, so there must be some way to enable it but I can't find out how to control this in X). I've tried this with version 0.8 and version 0.11 of [[ibm-acpi]].<br />
** {{key|Fn}}{{key|F7}} lets me enable the internal LCD after I disabled it with {{cmdroot|echo lcd_disable >/proc/acpi/ibm/video}} on my X41 but it corrupts the crt out<br />
<br />
===Problems with ATI chipsets===<br />
*It is a [http://bugs.freedesktop.org/show_bug.cgi?id=2000 known issue] of xorgs radeon driver that {{key|Fn}}{{key|F7}} doesn't work.<br />
<br />
You can force the <tt>radeon</tt> driver to enable both CRT and LCD using <tt>Option "MonitorLayout" "LVDS,CRT"</tt> in the <tt>"Device"</tt> section of {{path|/etc/X11/xorg.conf}}. The analogous option for [[fglrx]] is <tt>Option "ForceMonitors" "lvds,crt1"</tt><br />
<br />
The {{cmdroot|radeontool light off}} and {{cmdroot|radeontool dac off}} commands will disable the LCD and CRT if they're been enabled before in the X server, but the corresponding {{cmdroot|radeontool light on}} and {{cmdroot|radeontool dac on}} will not work if the displays have were not enabled when the X server started. Also note that turing off the CRT using this command will not reduce power consumption, nor allow [[fglrx]] to enable power saving modes.<br />
<br />
You might try the following: Hit Ctrl+Alt+F1 to switch to a console, hit Fn+F7 to switch video, hit Alt+F7 to switch back to X.<br />
<br />
====fglrx-Driver====<br />
Output switching with the Closed-Source ati-driver works: Just use {{cmdroot|aticonfig --query-monitor}} and e.g. {{cmdroot |aticonfig --enable-monitor..."}}. You can use those two commands in a script, and bind them to {{key|Fn}}{{key|F7}}<br />
<br />
----<br />
<br />
Alternative solution: {{path|fglrx}} 8.28.8 will recognize {{key|Fn}}{{key|F7}} directly, if the key is enabled. This obviates the need for scripts which call aticonfig. To enable the hotkey, issue the command {{cmdroot|echo enable,0xffff >/proc/acpi/ibm/hotkey}}. You'll want to have this run both at boot time, and after resume (on my T43, the hotkey mask is reset on resume). For Ubuntu, I've put a script with the command in both the {{path|/etc/acpi/resume.d}}, and {{path|/etc/acpi/start.d}} directories.<br />
<br />
==Related Links==<br />
*https://bugs.freedesktop.org/show_bug.cgi?id=2000<br />
<br />
==Solutions==<br />
<br />
====BIOSHotKeys====<br />
<br />
Try adding<br />
Option "BiosHotKeys" "on"<br />
to /etc/xorg.conf. For some reason, this is not the default, and will cause xorg to ignore the BIOS's request to switch modes!<br />
This fixes the problem for an X22, with xorg 6.9.0.</div>Cockroach