Disabling powersaving temporarily from olpc-session?

Martin Langhoff martin.langhoff at gmail.com
Fri Jul 9 18:53:48 EDT 2010


Paul, list,

what would be the right way to signal to powerd that for this session
aggressive suspend should be suspended, or its timeout lengthened to
several minutes, without affecting the "normal" setting?

cheers,


m

---------- Forwarded message ----------
From: Martin Langhoff <martin.langhoff at gmail.com>
Date: Fri, Jul 9, 2010 at 4:24 PM
Subject: Re: Disabling Xv -- from xorg.conf or olpc-session?
To: Me <jon.nettleton at gmail.com>
Cc: OLPC Devel <devel at lists.laptop.org>


On Fri, Jul 9, 2010 at 3:40 PM, Me <jon.nettleton at gmail.com> wrote:
> There is no way to do this automatically.  You can do this manually by
> adding the following to your xorg.conf
>
>
> Section "Extensions"
>        Option      "XVideo" "Disable"
> EndSection

Thanks! I also found another technique -- passing -noxv to Xephyr
which is what I am using right now (but see below for a request for
help).

> Is there a specific reason that you want XVideo disabled?

Yes -- I am mirroring the screen to a sisusbvga device that cannot
handle it. If Xv is not advertised and programs use x11, sisusbvga can
handle it (though everything is slow, naturally).

The task at hand is to mirror the XO display to a projector/monitor
connected via a cheap USB2VGA device, with decent performance.

I am 99% there using Xinerama. For example, it works *great* on
monitors that handle 1152x864 with very light clipping of the border
of the screen (xorg.conf link below )-- the bad news is that most
projectors don't support that rez.

http://dev.laptop.org/~martin/usbvga/xorg-xo1.5-dcon-hires-extmon.conf

The popular rez is 1024x768 -- we cannot clip *that* much. We need to
shrink the desktop -- but setting a Virtual that is smaller than your
monitor does not work with X, and Modeline tricks aren't working.
Maybe there is a way to tell X to accept a small Virtual? Discussion
at http://lists.freedesktop.org/archives/xorg/2010-July/050670.html

In the meantime, `Xephyr -screen 1024x768 -noxv :1` is doing the
trick. (Xnest works too, but is much slower and buggier...)

I would love to get rid of Xephyr. Is there a way to shrink our virtual desktop?

cheers,



m
--
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list