[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#695270: add support for disabling DPMS via preseeding



Control: tag -1 patch pending

Luca Capello <luca@pca.it> (2012-12-08):
> For the BTS, I am including below the latest solution Cyril (Cc:ed)
> suggested, which I have not tried yet:
> 
>   <http://lists.debian.org/20121115000105.GB5080@mraw.org>

(This tiny hack still works in sid to set/check DPMS-related settings,
e.g. using “xset dpms force off”, or “xset q”.)

I've implemented support for dpms=false/dpms=true in rootskel-gtk:
  http://anonscm.debian.org/gitweb/?p=d-i/rootskel-gtk.git;a=commitdiff;h=ac4176a5a857b8f1ac7de82a479c7723908bea14

For more info about it, see Xserver(1):
|        dpms    enables  DPMS  (display  power management services), where sup‐
|                ported.  The default state is platform and  configuration  spe‐
|                cific.
| 
|        -dpms   disables DPMS (display power management services).  The default
|                state is platform and configuration specific.

It appears that doesn't prevent blanking in kvm when dpms=false is
passed on the kernel command line, but the same setting seems to work
fine in virtualbox. I haven't debugged that any further (besides noting
that DPMS was indeed not enabled in both cases according to Xorg.0.log).

It would probably be nice to check that this name doesn't conflict with
any kernel-side parameters, and whether that's an appropriate name at
all.

Comments are welcome.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: