[ltp] Can bot use Fn+F7 to switch LCD/CRT on Thinkpad X60s

gulfstream linux-thinkpad@linux-thinkpad.org
Tue, 5 Dec 2006 22:18:04 +0800


------=_Part_7848_10199857.1165328284646
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I have edited the xorg.conf as your illustration, but no effect when Fn+F7
pressed. I found the Fn+F7 event in the log file "acpid" which is in folder
/var/log. So the event occurs when Fn+F7 pressed, but the switching does not
occur.

2006/12/5, Richard Neill <rn214@hermes.cam.ac.uk>:
>
>
>
> gulfstream wrote:
> > I want to switch lcd/crt in X window and tty, but xorg.conf is useful to
> > xorg. How to do if I want to switch lcd/crt in tty?
>
> You still need something like:
>
> Section "Device"
>     ...
>     Option "BiosHotKeys" "on"      #Enable Fn-F7 for switching between
> CRT,LCD,Both.
> EndSection
>
>
> Some of the video drivers don't pay attention to Fn-F7 by default.
> Besides which, even if you are currently looking at a tty, you are still
> using the xorg video driver [unless you use the vesa or framebuffer
> driver].
>
> Root cause of problem: xorg isn't just a GUI, it also overlaps with the
> kernel, and contains hardware drivers. Notably, the video drivers are
> (mainly) in X, not the kernel.
>
>
> Richard
>
>
> >
> >
> > gulfstream
> >
> > 2006/12/5, Richard Neill < rn214@hermes.cam.ac.uk
> > <mailto:rn214@hermes.cam.ac.uk>>:
> >
> >       gulfstream wrote:
> >      > I have use ibm_acpi module in my kernel( 2.6.18), and I can use
> >     Fn+F4 to
> >      > suspend to RAM and Fn+F12 to suspend to disk. But the system do
> not
> >      > respond to Fn+F7, so I can not switch the LCD and external CRT.
> >      > Moreover, when I run "echo video_switch > /proc/acpi/ibm/video"
> >     in the
> >      > terminal, no any respond. How to solve this matter?
> >      >
> >      > My laptop is Thinkpad X60s with Intel 945GM graphics chipsets.
> The
> >      > system is Debian etch with tpb installed.
> >      >
> >
> >
> >     At least on some machines, it's necessary to enable a flag in
> xorg.conf,
> >     iirc: EnableBiosHotKeys.  Read  man `your-Xorg-driver`.
> >
> >     HTH,
> >
> >     Richard
> >     --
> >     The linux-thinkpad mailing list home page is at:
> >     http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >
> >
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>

------=_Part_7848_10199857.1165328284646
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I have edited the xorg.conf as your illustration, but no effect when Fn+F7 pressed. I found the Fn+F7 event in the log file &quot;acpid&quot; which is in folder /var/log. So the event occurs when Fn+F7 pressed, but the switching does not occur. 
<br><br><div><span class="gmail_quote">2006/12/5, Richard Neill &lt;<a href="mailto:rn214@hermes.cam.ac.uk">rn214@hermes.cam.ac.uk</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>gulfstream wrote:<br>&gt; I want to switch lcd/crt in X window and tty, but xorg.conf is useful to<br>&gt; xorg. How to do if I want to switch lcd/crt in tty?<br><br>You still need something like:<br><br>Section &quot;Device&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;...<br>&nbsp;&nbsp;&nbsp;&nbsp;Option &quot;BiosHotKeys&quot; &quot;on&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#Enable Fn-F7 for switching between<br>CRT,LCD,Both.<br>EndSection<br><br><br>Some of the video drivers don't pay attention to Fn-F7 by default.<br>Besides which, even if you are currently looking at a tty, you are still
<br>using the xorg video driver [unless you use the vesa or framebuffer driver].<br><br>Root cause of problem: xorg isn't just a GUI, it also overlaps with the<br>kernel, and contains hardware drivers. Notably, the video drivers are
<br>(mainly) in X, not the kernel.<br><br><br>Richard<br><br><br>&gt;<br>&gt;<br>&gt; gulfstream<br>&gt;<br>&gt; 2006/12/5, Richard Neill &lt; <a href="mailto:rn214@hermes.cam.ac.uk">rn214@hermes.cam.ac.uk</a><br>&gt; &lt;mailto:
<a href="mailto:rn214@hermes.cam.ac.uk">rn214@hermes.cam.ac.uk</a>&gt;&gt;:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gulfstream wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; I have use ibm_acpi module in my kernel( 2.6.18), and I can use<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Fn+F4 to<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; suspend to RAM and Fn+F12 to suspend to disk. But the system do not<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; respond to Fn+F7, so I can not switch the LCD and external CRT.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Moreover, when I run &quot;echo video_switch &gt; /proc/acpi/ibm/video&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; in the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; terminal, no any respond. How to solve this matter?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; My laptop is Thinkpad X60s with Intel 945GM graphics chipsets. The<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; system is Debian etch with tpb installed.
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; At least on some machines, it's necessary to enable a flag in xorg.conf,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; iirc: EnableBiosHotKeys.&nbsp;&nbsp;Read&nbsp;&nbsp;man `your-Xorg-driver`.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; HTH,<br>&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Richard<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; The linux-thinkpad mailing list home page is at:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
</a><br>&gt;<br>&gt;<br>--<br>The linux-thinkpad mailing list home page is at:<br><a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
</a><br></blockquote></div><br>

------=_Part_7848_10199857.1165328284646--