<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frederik</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frederik"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Frederik"/>
	<updated>2026-05-26T03:40:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_video_output_switching&amp;diff=29727</id>
		<title>Problem with video output switching</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_video_output_switching&amp;diff=29727"/>
		<updated>2007-05-11T14:39:19Z</updated>

		<summary type="html">&lt;p&gt;Frederik: /* Problems with ATI chipsets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Affected Models==&lt;br /&gt;
*ThinkPad {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}&lt;br /&gt;
*ThinkPad {{X22}}, {{X23}}, {{X31}}, {{X41}}, {{X60s}}&lt;br /&gt;
&lt;br /&gt;
==Problem Description==&lt;br /&gt;
It is not possible, using the  FN-F7 key, to switch between the LCD and the external monitor in the following way&lt;br /&gt;
 LCD --&amp;gt; external Monitor--&amp;gt; both --&amp;gt;LCD&lt;br /&gt;
however ''cloning'' is possible for the Intel chipsets, see below.&lt;br /&gt;
&lt;br /&gt;
===Problems with Intel chipsets===&lt;br /&gt;
Disabling the internal LCD (e.g. when using an external Monitor) doesn't seem to work reliably.&lt;br /&gt;
&lt;br /&gt;
* 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:&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier	&amp;quot;Generic Video Card&amp;quot;&lt;br /&gt;
  Driver		&amp;quot;i810&amp;quot;&lt;br /&gt;
  Option          &amp;quot;Clone&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
  Option          &amp;quot;MonitorLayout&amp;quot; &amp;quot;CRT,LFP&amp;quot;&lt;br /&gt;
however you can not switch between these screens as described above, once you use FN-F7 the cloned display is lost.&lt;br /&gt;
&lt;br /&gt;
* 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). &lt;br /&gt;
&lt;br /&gt;
* The following works with Fedora Core 6 on an {{X60s}}: i810switch 0.6.5 with the patch found on http://thpinfo.com/2006/patches/i810switch_macbook_support.patch  can switch between LCD and CRT (and initially CRT is off) (NOTE: The first hunk of this patch does not apply to the source, just remove it, it is unnecessary). This patch makes i810switch recognize the i915 chipset. It should thus be doable to use this with an ACPI event/action to do {{key|Fn}}{{key|F7}} switching. After installing i810switch and its i810rotate script and the missing [[ibm-acpi]] kernel module I did the following to achieve just that:&lt;br /&gt;
&lt;br /&gt;
In /etc/rc.local:&lt;br /&gt;
 modprobe ibm_acpi&lt;br /&gt;
 echo enable,0x084c &amp;gt; /proc/acpi/ibm/hotkey&lt;br /&gt;
&lt;br /&gt;
in /etc/acpi/events/videoswitch.conf:&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 00001007&lt;br /&gt;
 action=/etc/acpi/actions/video-rotate.sh&lt;br /&gt;
&lt;br /&gt;
in /etc/acpi/actions/video-rotate.sh&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 exec /usr/sbin/i810rotate&lt;br /&gt;
&lt;br /&gt;
* i855crt works see: http://stefan.desire.ch/howto/x41debian/#graphics for details.&lt;br /&gt;
&lt;br /&gt;
* With [[ibm-acpi]], {{cmdroot|echo lcd_disable &amp;gt;/proc/acpi/ibm/video}} works, but {{cmdroot|echo lcd_enable &amp;gt;/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]].&lt;br /&gt;
** {{key|Fn}}{{key|F7}} lets me enable the internal LCD after I disabled it with {{cmdroot|echo lcd_disable &amp;gt;/proc/acpi/ibm/video}} on my X41 but it corrupts the crt out&lt;br /&gt;
&lt;br /&gt;
===Problems with ATI chipsets===&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
You can force the &amp;lt;tt&amp;gt;radeon&amp;lt;/tt&amp;gt; driver to enable both CRT and LCD using &amp;lt;tt&amp;gt;Option &amp;quot;MonitorLayout&amp;quot; &amp;quot;LVDS,CRT&amp;quot;&amp;lt;/tt&amp;gt; in the &amp;lt;tt&amp;gt;&amp;quot;Device&amp;quot;&amp;lt;/tt&amp;gt; section of {{path|/etc/X11/xorg.conf}}. The analogous option for [[fglrx]] is &amp;lt;tt&amp;gt;Option &amp;quot;ForceMonitors&amp;quot; &amp;quot;lvds,crt1&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Similar problems exist with XFree86 4.3 and its radeon driver&lt;br /&gt;
&lt;br /&gt;
You '''can''' switch the display off after switching to tty1 (STRG+ALT+F1) by &lt;br /&gt;
  * pressing FN+F7 or&lt;br /&gt;
  * executing ''echo crt_disable &amp;gt; /proc/acpi/ibm/video'' as root&lt;br /&gt;
&lt;br /&gt;
You '''cannot''' do this under X11. The display is always on under X11. I tried &lt;br /&gt;
  * ''echo auto_disable &amp;gt; /proc/acpi/ibm/video''&lt;br /&gt;
  * ''echo crt_disable &amp;gt; /proc/acpi/ibm/video''&lt;br /&gt;
  * ''echo lcd_disable &amp;gt; /proc/acpi/ibm/video''&lt;br /&gt;
  * pressing FN+F7&lt;br /&gt;
&lt;br /&gt;
but none of the above had any effect. If you switch the display off, then start X or switch to it, the display&lt;br /&gt;
will be activated automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====fglrx-Driver====&lt;br /&gt;
Output switching with the Closed-Source ati-driver works: Just use {{cmdroot|aticonfig --query-monitor}} and e.g. {{cmdroot |aticonfig  --enable-monitor...&amp;quot;}}. You can use those two commands in a script, and bind them to {{key|Fn}}{{key|F7}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
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 &amp;gt;/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.&lt;br /&gt;
&lt;br /&gt;
====VESA driver====&lt;br /&gt;
&lt;br /&gt;
I have fixed the problem on my T42 by switching to the generic VESA driver in xorg.conf, and rebooting, as mentioned on the xorg bug page above. None of the other solutions worked.&lt;br /&gt;
&lt;br /&gt;
==Related Links==&lt;br /&gt;
*https://bugs.freedesktop.org/show_bug.cgi?id=2000&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
&lt;br /&gt;
====BIOSHotKeys====&lt;br /&gt;
&lt;br /&gt;
Try adding&lt;br /&gt;
 Option &amp;quot;BiosHotKeys&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
to &amp;quot;Device&amp;quot; selection in /etc/xorg.conf. For some reason, this is not the default, and will cause xorg to ignore the BIOS's request to switch modes!&lt;br /&gt;
This fixes the problem for an X22, with xorg 6.9.0.&lt;br /&gt;
&lt;br /&gt;
It fixed this problem for a X31 with xorg 7.1.1 too, but as the CRT is the primary display in some Thinkpads (like in the X31), you can not switch back to the LCD (or both) if xorg has started with the CRT only or both mode, because it sets the resolution and or refresrate to high for the LCD.&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
		
	</entry>
</feed>