From owner-freebsd-questions@FreeBSD.ORG Fri Jan 26 18:27:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A1C616A400 for ; Fri, 26 Jan 2007 18:27:53 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.freebsd.org (Postfix) with ESMTP id E9AAE13C4BA for ; Fri, 26 Jan 2007 18:27:51 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id E3B8A1C0006 for ; Sat, 27 Jan 2007 02:27:52 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16622-03 for ; Sat, 27 Jan 2007 02:27:52 +0800 (CST) Received: from [218.193.55.195] (unknown [59.57.200.235]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id AE75A1C0004 for ; Sat, 27 Jan 2007 02:27:51 +0800 (CST) From: Zhang Weiwu To: freebsd-questions@freebsd.org In-Reply-To: <1169542022.6177.7.camel@bossdog.realss.com> References: <1169542022.6177.7.camel@bossdog.realss.com> Content-Type: text/plain; charset=UTF-8 Organization: Real Softservice Date: Sat, 27 Jan 2007 02:26:39 +0800 Message-Id: <1169835999.5469.9.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Subject: [SOLVED] Re: laptop screen always shutdown if no keyboard interaction for several minutes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 18:27:53 -0000 在 2007-01-23二的 16:47 +0800,Zhang Weiwu写道: > Hello. I tried various ways to stop the laptop screen from being > shutting down, as I use this screen to watch debug message of an > application I am working on, I need monitor always on, no screensaver, > no blank, no dpms etc. > > I cannot do it. I have tried: > 1. set blanktime to "NO" in /etc/rc.conf > 2. set saver to "NO" in /etc/rc.conf > 3. start X server and run a terminal in it, run xset -dpms > 4. check laptop BIOS setting (there is no setting for automatic > blank time > > I have not tried: > I. remove 'apm' from kernel (I didn't compile ACPI into kernel > because this is an old notebook I am not sure if ACPI works, but > I have compiled apm in kernel, which is not shown in dmesg and > doesn't seem to work, e.g. 'shutdown -p' do not turn off the > power) > II. install Windows on the same computer to see if Windows can keep > the monitor on. > III. boot the system to FreeDOS and see if monitor keep turned up (to > decide if LCD is turned off by hardware or software) I have solved my problem. I cannot / didn't make APM work on my FreeBSD so basicaly turning of LCD/DFP is done by BIOS on its own. So my problem is actually not related to OS (FreeBSD). The solution: 1) get an IBM BIOS upgrade diskette (do a search on IBM website can find this diskette very easily; 2) use this diskette upgrade BISO from my current version (some version released in 1998) to the latest one (released in 1999). The new bios default setting is chagned a lot, including a change that by default BIOS lcd turn-off timer is not activated. If someone got the same problem as I got and don't wish to upgrade BIOS (as stated in an very early post I found by googling around, the latest BISO breaks apm feature on FreeBSD, not confirmed and don't know if this is a problem already solved) you can still get a "Configuration utility for DOS - ThinkPad General" (UTTPFDOS.EXE) from IBM (now Lenovo) website. Use it to configure BIOS to turn of timer.