[ltp] switching display

Helmut Hullen linux-thinkpad@linux-thinkpad.org
13 Apr 2008 16:59:00 +0200


Hallo, Daniel,

Du (skorka) meintest am 13.04.08:

>> Can I send the command "only external display" via script? Is there
>> any place (p.e. in "/proc") where this option is switchable?

> Using thinkpad-acpi: /proc/acpi/ibm/video

Thank you!

The affected Thinkpad is a T20, Kernel 2.6.24.3

        modprobe ibm_acpi

produces "/proc/acpi/video" and "/proc/acpi/ibm" with many entries on my  
T20; on my T40 I see only "/proc/acpi/ibm".

        cd /proc/acpi/ibm
        echo auto_enabled > video
        echo crt_enabled  > video
        echo lcd_disabled > video

switches the LCD off, and now I can again switch with "fn f7".

I'll look for the "auto" status the next time the machine won't switch.


Viele Gruesse!
Helmut