9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] RaspberryPi, monitor energy saving
@ 2014-05-15 21:04 Steve Simon
  2014-05-15 22:26 ` Bakul Shah
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Simon @ 2014-05-15 21:04 UTC (permalink / raw)
  To: 9fans

Its just wonderful to have a raspberry pi as a plan9 terminal,
but the energy saving of the pi is outweighed by the monitor I use.

The Pi's display code blanks the screen after a while but this does
not shutdown the monitor.

I dug a little and it seems I need to send CEC (Consumer Electronics Control)
messages over HDMI - Via a Pi GPU entrypoint.


Porting libcec looks a little painful especially as I only need to be able
to send two messages (turn on and turn off).

Anyone know anything about this stuff? is CEC what I need or is there some
other (simpler) way?

-Steve



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

* Re: [9fans] RaspberryPi, monitor energy saving
  2014-05-15 21:04 [9fans] RaspberryPi, monitor energy saving Steve Simon
@ 2014-05-15 22:26 ` Bakul Shah
  2014-05-16  3:53   ` Shane Morris
  0 siblings, 1 reply; 9+ messages in thread
From: Bakul Shah @ 2014-05-15 22:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, 15 May 2014 22:04:34 BST "Steve Simon" <steve@quintile.net> wrote:
> Its just wonderful to have a raspberry pi as a plan9 terminal,
> but the energy saving of the pi is outweighed by the monitor I use.
>
> The Pi's display code blanks the screen after a while but this does
> not shutdown the monitor.
>
> I dug a little and it seems I need to send CEC (Consumer Electronics Control)
> messages over HDMI - Via a Pi GPU entrypoint.
>
>
> Porting libcec looks a little painful especially as I only need to be able
> to send two messages (turn on and turn off).
>
> Anyone know anything about this stuff? is CEC what I need or is there some
> other (simpler) way?

May be use a gpio pin to control a switch?!



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

* Re: [9fans] RaspberryPi, monitor energy saving
  2014-05-15 22:26 ` Bakul Shah
@ 2014-05-16  3:53   ` Shane Morris
  2014-05-16  8:45     ` Steve Simon
  0 siblings, 1 reply; 9+ messages in thread
From: Shane Morris @ 2014-05-16  3:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

This might be wildly off the mark, but is there something VESA related to
do this, VGA monitors, et al?

I prepare to stand flamed. ^.^


On Fri, May 16, 2014 at 8:26 AM, Bakul Shah <bakul@bitblocks.com> wrote:

> On Thu, 15 May 2014 22:04:34 BST "Steve Simon" <steve@quintile.net> wrote:
> > Its just wonderful to have a raspberry pi as a plan9 terminal,
> > but the energy saving of the pi is outweighed by the monitor I use.
> >
> > The Pi's display code blanks the screen after a while but this does
> > not shutdown the monitor.
> >
> > I dug a little and it seems I need to send CEC (Consumer Electronics
> Control)
> > messages over HDMI - Via a Pi GPU entrypoint.
> >
> >
> > Porting libcec looks a little painful especially as I only need to be
> able
> > to send two messages (turn on and turn off).
> >
> > Anyone know anything about this stuff? is CEC what I need or is there
> some
> > other (simpler) way?
>
> May be use a gpio pin to control a switch?!
>
>

[-- Attachment #2: Type: text/html, Size: 1501 bytes --]

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

* Re: [9fans] RaspberryPi, monitor energy saving
  2014-05-16  3:53   ` Shane Morris
@ 2014-05-16  8:45     ` Steve Simon
  2014-05-16  9:27       ` Shane Morris
  2014-05-16 12:28       ` erik quanstrom
  0 siblings, 2 replies; 9+ messages in thread
From: Steve Simon @ 2014-05-16  8:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1521 bytes --]

i believe that this works for vga attached monitors, vesa says that when the clocks
disappear on the sync the monitor should shutdown.

the raspberry pi uses hdmi and also it doesn't use a vesa bios, it has a gpu bios
which does a similar job but is not standardised, and, though it is documented,
it can be tough to use (for me at least).

i am happy to be contradicted on any of this of couse.

-Steve




> On 16 May 2014, at 04:53, Shane Morris <edgecomberts@gmail.com> wrote:
> 
> This might be wildly off the mark, but is there something VESA related to do this, VGA monitors, et al?
> 
> I prepare to stand flamed. ^.^
> 
> 
>> On Fri, May 16, 2014 at 8:26 AM, Bakul Shah <bakul@bitblocks.com> wrote:
>> On Thu, 15 May 2014 22:04:34 BST "Steve Simon" <steve@quintile.net> wrote:
>> > Its just wonderful to have a raspberry pi as a plan9 terminal,
>> > but the energy saving of the pi is outweighed by the monitor I use.
>> >
>> > The Pi's display code blanks the screen after a while but this does
>> > not shutdown the monitor.
>> >
>> > I dug a little and it seems I need to send CEC (Consumer Electronics Control)
>> > messages over HDMI - Via a Pi GPU entrypoint.
>> >
>> >
>> > Porting libcec looks a little painful especially as I only need to be able
>> > to send two messages (turn on and turn off).
>> >
>> > Anyone know anything about this stuff? is CEC what I need or is there some
>> > other (simpler) way?
>> 
>> May be use a gpio pin to control a switch?!
> 

[-- Attachment #2: Type: text/html, Size: 2356 bytes --]

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

* Re: [9fans] RaspberryPi, monitor energy saving
  2014-05-16  8:45     ` Steve Simon
@ 2014-05-16  9:27       ` Shane Morris
  2014-05-16 12:28       ` erik quanstrom
  1 sibling, 0 replies; 9+ messages in thread
From: Shane Morris @ 2014-05-16  9:27 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 2404 bytes --]

Yeah, I was kind of the mentality of "Well, if its HDMi, its basically
single link DVI..." Of course, it is its own standard, CEC is probably the
simplest way of achieving this, there is a CEC-serial bridge, various
websites have them. I've looked into them before, before I started using
all Macs because of my job. The old Pi sees little use these days =(

The thing with the CEC-serial bridge is, do I spend $*x* on this device, to
save $*y *worth of power over *z* period of time, and at the end of the
day, am I making an acceptable ROI? YMMV. I just had this same debate with
a bloke from the Czech Republic about the Australian Government incentive
scheme for household solar panels, and no energy storage facilities. Again,
YMMV.


On Fri, May 16, 2014 at 6:45 PM, Steve Simon <steve@quintile.net> wrote:

> i believe that this works for vga attached monitors, vesa says that when
> the clocks
> disappear on the sync the monitor should shutdown.
>
> the raspberry pi uses hdmi and also it doesn't use a vesa bios, it has a
> gpu bios
> which does a similar job but is not standardised, and, though it is
> documented,
> it can be tough to use (for me at least).
>
> i am happy to be contradicted on any of this of couse.
>
> -Steve
>
>
>
>
> On 16 May 2014, at 04:53, Shane Morris <edgecomberts@gmail.com> wrote:
>
> This might be wildly off the mark, but is there something VESA related to
> do this, VGA monitors, et al?
>
> I prepare to stand flamed. ^.^
>
>
> On Fri, May 16, 2014 at 8:26 AM, Bakul Shah <bakul@bitblocks.com> wrote:
>
>> On Thu, 15 May 2014 22:04:34 BST "Steve Simon" <steve@quintile.net>
>> wrote:
>> > Its just wonderful to have a raspberry pi as a plan9 terminal,
>> > but the energy saving of the pi is outweighed by the monitor I use.
>> >
>> > The Pi's display code blanks the screen after a while but this does
>> > not shutdown the monitor.
>> >
>> > I dug a little and it seems I need to send CEC (Consumer Electronics
>> Control)
>> > messages over HDMI - Via a Pi GPU entrypoint.
>> >
>> >
>> > Porting libcec looks a little painful especially as I only need to be
>> able
>> > to send two messages (turn on and turn off).
>> >
>> > Anyone know anything about this stuff? is CEC what I need or is there
>> some
>> > other (simpler) way?
>>
>> May be use a gpio pin to control a switch?!
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 3556 bytes --]

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

* Re: [9fans] RaspberryPi, monitor energy saving
  2014-05-16  8:45     ` Steve Simon
  2014-05-16  9:27       ` Shane Morris
@ 2014-05-16 12:28       ` erik quanstrom
  2014-05-16 12:32         ` Steve Simon
  1 sibling, 1 reply; 9+ messages in thread
From: erik quanstrom @ 2014-05-16 12:28 UTC (permalink / raw)
  To: 9fans

On Fri May 16 04:47:03 EDT 2014, steve@quintile.net wrote:

> i believe that this works for vga attached monitors, vesa says that when the clocks
> disappear on the sync the monitor should shutdown.
>
> the raspberry pi uses hdmi and also it doesn't use a vesa bios, it has a gpu bios
> which does a similar job but is not standardised, and, though it is documented,
> it can be tough to use (for me at least).
>
> i am happy to be contradicted on any of this of couse.

i don't have any hdmi monitors, but the vga monitors i do have
will power down when connected to the pi.  i can't check my
source against sources right now since i can't seem to connect.

- erik



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

* Re: [9fans] RaspberryPi, monitor energy saving
  2014-05-16 12:28       ` erik quanstrom
@ 2014-05-16 12:32         ` Steve Simon
  2014-05-16 12:43           ` erik quanstrom
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Simon @ 2014-05-16 12:32 UTC (permalink / raw)
  To: 9fans

Mmm, that feels like good and bad news.

I know richard did what he could to shut down the screen when
its idle for a while so that seems to do the right thing with vga
monitors, but I guess I do need CEC.

Oh well, time for more digging.

-Steve



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

* Re: [9fans] RaspberryPi, monitor energy saving
  2014-05-16 12:32         ` Steve Simon
@ 2014-05-16 12:43           ` erik quanstrom
  2014-05-16 16:59             ` Bakul Shah
  0 siblings, 1 reply; 9+ messages in thread
From: erik quanstrom @ 2014-05-16 12:43 UTC (permalink / raw)
  To: 9fans

On Fri May 16 08:33:41 EDT 2014, steve@quintile.net wrote:
> Mmm, that feels like good and bad news.
>
> I know richard did what he could to shut down the screen when
> its idle for a while so that seems to do the right thing with vga
> monitors, but I guess I do need CEC.
>
> Oh well, time for more digging.

is a hdmi->vga connector too gruesome, or unworkable?

- erik



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

* Re: [9fans] RaspberryPi, monitor energy saving
  2014-05-16 12:43           ` erik quanstrom
@ 2014-05-16 16:59             ` Bakul Shah
  0 siblings, 0 replies; 9+ messages in thread
From: Bakul Shah @ 2014-05-16 16:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


> On May 16, 2014, at 5:43 AM, erik quanstrom <quanstro@quanstro.net> wrote:
>
>> On Fri May 16 08:33:41 EDT 2014, steve@quintile.net wrote:
>> Mmm, that feels like good and bad news.
>>
>> I know richard did what he could to shut down the screen when
>> its idle for a while so that seems to do the right thing with vga
>> monitors, but I guess I do need CEC.
>>
>> Oh well, time for more digging.
>
> is a hdmi->vga connector too gruesome, or unworkable?

Adafruit sells one for $19.



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

end of thread, other threads:[~2014-05-16 16:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15 21:04 [9fans] RaspberryPi, monitor energy saving Steve Simon
2014-05-15 22:26 ` Bakul Shah
2014-05-16  3:53   ` Shane Morris
2014-05-16  8:45     ` Steve Simon
2014-05-16  9:27       ` Shane Morris
2014-05-16 12:28       ` erik quanstrom
2014-05-16 12:32         ` Steve Simon
2014-05-16 12:43           ` erik quanstrom
2014-05-16 16:59             ` Bakul Shah

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).