Package: acpi-support
Version: 0.103-5
Severity: normal
File: /usr/share/acpi-support/power-funcs

getXconsole seems to assume X is started with a vtN argument to force
it to use a particular vt:

     displaynum=`COLUMNS="" ps ax | grep -e 'X .* vt'$console | grep -v grep | 
sed -re 's!.*/X .*:([0-9]+).*!\1!' | uniq`

I do not start X with such an argument:

    $ egrep -v '^ *(#|$)' /etc/X11/xdm/Xservers
    :0 local /usr/bin/X :0 -dpi 75 -nolisten tcp -br

The snowball effect is that if I close the lid of my laptop, DPMS is
not force off'd.

I'm not sure what the correct way to detect which X session (if any)
is currently "active", so as an interim measure I have simply
hard-coded displaynum=0, since I only ever run one server on this
laptop.  This results in DPMS blanking working while I'm in X.
Blanking does not happen either before or after this change when on
the text console.

I am testing this on an Asustek eeePC laptop.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpi-support depends on:
ii  acpi-support-base             0.103-5    scripts for handling base ACPI eve
ii  acpid                         1.0.4-7.1  Utilities for using ACPI power man
ii  dmidecode                     2.9-1      Dump Desktop Management Interface 
ii  finger                        0.17-11    user information lookup program
ii  hdparm                        7.7-1      tune hard disk parameters for high
ii  laptop-detect                 0.12.1-0.1 attempt to detect a laptop
ii  libc6                         2.7-6      GNU C Library: Shared libraries
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip
ii  nvclock                       0.8b3-1    Allows you to overclock your nVidi
ii  powermgmt-base                1.29       Common utils and configs for power
ii  radeontool                    1.5-5      utility to control ATI Radeon back
ii  toshset                       1.72-6     Access much of the Toshiba laptop 
ii  vbetool                       1.0-1.1    run real-mode video BIOS code to a
ii  x11-xserver-utils             7.3+2      X server utilities

acpi-support recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to