[ltp] X-Windows Problem - 600E (2646 4BU)
Bjorn Knutsson
linux-thinkpad@www.bm-soft.com
Thu, 7 Dec 2000 14:18:28 +0100
On 7 Dec 2000 01:46, Vivek Dasmohapatra wrote:
> On Wed, 6 Dec 2000, Shawn Morris wrote:
>
> > > I actualy have an A20p, not a 600, but assuming they are enough alike, is
> > > there a bios setting to do w. 'suspend on lid closee' or similar?
> >
> > Actually I would guess it can be controlled by apmd, as under Windows 2000
> > under the power management settings you could control this feature.
>
> Unless I've misunderstood what apmd does [based on a quick reading of the
> apmd(8) man page], I don't see how: the bios is configured to generate a
> system suspend event when the lid is closed: apmd responds to suspend [and
> other apm] events: you could, I suppose, choose to ignore all system
> suspends, but then fn-F4 wouldn't suspend the machine, amongst other
> things. I don't think apmd receives any extra info to indicate what caused
> the suspend event, and I don't think it writes alterations to the
> bios. [If you happen to know different, then I bow to your superior
> knowledge, of course... ]
>
> This is all assuming that the machine is in fact suspending on lid close:
> if it's just screen blanking kicking in on lid close, there may be some
> other BIOS setting, or it could be a bug [in something, I'm not sure
> what].
I didn't follow this thread from the start, but I thought I'd add my
0.02 euro:
The default for all Thinkpads I've seen is to suspend on lid close,
but this can be controlled using the excellent 'tpctl' utility:
# tpctl -px
...
power management sedative events: capability current
(SZRHO) (SZRHO)
hardware-or-software-initiated: SZ-HO SZ-HO
power-switch-initiated: ---HO ----O
lid-closure-initiated: -Z--- -----
Standby-timer-initiated: S---- S----
Zuspend-or-hibern.-timer-initiated: -Z-H- -Z---
Hibernate-from-susp.-timer-init'd: ---H- ---H-
battery-low-initiated: -Z-H- -Z---
env'mt-exhausted-initiated: -Z--- -Z---
...
#
The key item here is "lid-closure-initiated", and my configuration is
"-----", meaning that I have deactivated suspension when the lid is
closed. Thus, I can close my lid in the middle of playing an MP3, and
use the Thinkpad as a boom box. (There will be a short glitch in the
sound just as I close the lid, though, but I guess that's the BIOS
momentarliy blocking interrupts or something.)
/Björn
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html