public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How to know current state of LCD
@ 2007-09-12  4:39 kou yu
  2007-09-12 17:36 ` Randy Barlow
  2007-09-19 20:00 ` Florian Philipp
  0 siblings, 2 replies; 5+ messages in thread
From: kou yu @ 2007-09-12  4:39 UTC (permalink / raw
  To: gentoo-user

I can turn on/off LCD by using vbetool
vbetool dpms on/off

But I can not find a way to know the current state of LCD. on? or off?
Is there any method, command or something else to indicate the state of LCD?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] How to know current state of LCD
  2007-09-12  4:39 [gentoo-user] How to know current state of LCD kou yu
@ 2007-09-12 17:36 ` Randy Barlow
  2007-09-14  2:56   ` kou yu
  2007-09-19 20:00 ` Florian Philipp
  1 sibling, 1 reply; 5+ messages in thread
From: Randy Barlow @ 2007-09-12 17:36 UTC (permalink / raw
  To: gentoo-user

kou yu wrote:
> I can turn on/off LCD by using vbetool
> vbetool dpms on/off
> 
> But I can not find a way to know the current state of LCD. on? or off?
> Is there any method, command or something else to indicate the state of LCD?

Use "xset q" - if you grep through there you will see a line that says
something similar to "Monitor is on".  I am assuming you are using X here...

-- 
Randy Barlow
http://electronsweatshop.com
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] How to know current state of LCD
  2007-09-12 17:36 ` Randy Barlow
@ 2007-09-14  2:56   ` kou yu
  2007-09-19 17:37     ` kou yu
  0 siblings, 1 reply; 5+ messages in thread
From: kou yu @ 2007-09-14  2:56 UTC (permalink / raw
  To: gentoo-user

I haven't merge X yet:(

On 9/13/07, Randy Barlow <randy@electronsweatshop.com> wrote:
> kou yu wrote:
> > I can turn on/off LCD by using vbetool
> > vbetool dpms on/off
> >
> > But I can not find a way to know the current state of LCD. on? or off?
> > Is there any method, command or something else to indicate the state of LCD?
>
> Use "xset q" - if you grep through there you will see a line that says
> something similar to "Monitor is on".  I am assuming you are using X here...
>
> --
> Randy Barlow
> http://electronsweatshop.com
> --
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] How to know current state of LCD
  2007-09-14  2:56   ` kou yu
@ 2007-09-19 17:37     ` kou yu
  0 siblings, 0 replies; 5+ messages in thread
From: kou yu @ 2007-09-19 17:37 UTC (permalink / raw
  To: gentoo-user

Can anyone help me? 3x

On 9/14/07, kou yu <ckyoog@gmail.com> wrote:
> I haven't merge X yet:(
>
> On 9/13/07, Randy Barlow <randy@electronsweatshop.com> wrote:
> > kou yu wrote:
> > > I can turn on/off LCD by using vbetool
> > > vbetool dpms on/off
> > >
> > > But I can not find a way to know the current state of LCD. on? or off?
> > > Is there any method, command or something else to indicate the state of LCD?
> >
> > Use "xset q" - if you grep through there you will see a line that says
> > something similar to "Monitor is on".  I am assuming you are using X here...
> >
> > --
> > Randy Barlow
> > http://electronsweatshop.com
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] How to know current state of LCD
  2007-09-12  4:39 [gentoo-user] How to know current state of LCD kou yu
  2007-09-12 17:36 ` Randy Barlow
@ 2007-09-19 20:00 ` Florian Philipp
  1 sibling, 0 replies; 5+ messages in thread
From: Florian Philipp @ 2007-09-19 20:00 UTC (permalink / raw
  To: gentoo-user

kou yu schrieb:
> I can turn on/off LCD by using vbetool
> vbetool dpms on/off
> 
> But I can not find a way to know the current state of LCD. on? or off?
> Is there any method, command or something else to indicate the state of LCD?


cat /proc/acpi/video/VID/LCD/state

If it's not what you need, do what I do when I search hardware infos not
provided by any tool:

find /proc /sys | less

and cat everything that seems interesting.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-19 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-12  4:39 [gentoo-user] How to know current state of LCD kou yu
2007-09-12 17:36 ` Randy Barlow
2007-09-14  2:56   ` kou yu
2007-09-19 17:37     ` kou yu
2007-09-19 20:00 ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox