linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Markus Rechberger" <mrechberger@gmail.com>
To: Per Jessen <per@computer.org>
Cc: C programming list <linux-c-programming@vger.kernel.org>
Subject: Re: Turning PC monitor on/off
Date: Wed, 11 Oct 2006 12:20:45 +0200	[thread overview]
Message-ID: <d9def9db0610110320u2b270563t22ed5af8290e5cc1@mail.gmail.com> (raw)
In-Reply-To: <452CC11C.7040309@computer.org>

Hi,

first of all it might be useful how DPMS works,
http://webpages.charter.net/dperr/dpms.htm

Instead of using X you could try to use some kind of Vesa feature.
Maybe your bios has a revealed interface in Linux for that feature too

Markus

On 10/11/06, Per Jessen <per@computer.org> wrote:
> Raseel Bhagat wrote:
> > Hi
> >
> > On 10/11/06, Henry Margies <henry.margies@gmx.de> wrote:
> >> Maybe it also helps to look at the sources of xset program  of X11.
> >>
> >> xset dpms force off
> >>
> >> Turns off the monitor (until you press a key or so).
> >
> > But what if I'm not on the X-window ?
> > As in, I'm running this program from console, or one of the virtual
> > terminals ?
>
> You said you wanted to look at the code and xset is probably a good
> example.  Whether it'll also work from the commandline with no active X
> system, that's for you to find out :-)
>
>
> /Per Jessen, Zurich
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
Markus Rechberger

  reply	other threads:[~2006-10-11 10:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11  6:04 Turning PC monitor on/off Raseel Bhagat
2006-10-11  7:05 ` ZeeGeek
2006-10-11  8:11 ` Henry Margies
2006-10-11  9:26   ` Raseel Bhagat
2006-10-11 10:02     ` Per Jessen
2006-10-11 10:20       ` Markus Rechberger [this message]
2006-10-11 10:25       ` Raseel Bhagat
2006-10-11 11:06         ` Katelyn Rowlands
2006-10-11 11:30           ` Raseel Bhagat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d9def9db0610110320u2b270563t22ed5af8290e5cc1@mail.gmail.com \
    --to=mrechberger@gmail.com \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=per@computer.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).