Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup (take 2)

2007-09-25 Thread Bernardo Innocenti
Bernardo Innocenti wrote: > This patch merges the fb_powerup and fb_powerdown hooks in a single > operation fb_power with an additional "state" parameter ranging > from 0 (running) to 3 (poweroff). Oops, I sent take2 again by mistake. Will follow up immediately. -- \___/ |___| Bernardo Innoc

[PATCH] OLPC: decouple sleep/resume from powerdown/powerup (take 3)

2007-09-25 Thread Bernardo Innocenti
This patch merges the fb_powerup and fb_powerdown hooks in a single operation fb_power with an additional "state" parameter ranging from 0 (running) to 3 (poweroff). The geodefb uses state 2 as an intermediate low-power mode, where the LX or GX video unit is turned off, but the GPU may still be wo

Re: Increasing performance by tuning swappiness

2007-09-25 Thread Zvi Devir
Actually, swap should have been a great solution for B2 machines with a modern (i.e., >500) image. Theoretically, the additional swap memory provided by an external usb2 storage device should allow a smoother execution of memory hungry applications. In practice, the additional swap did not help,

Re: Fwd: Less Watts

2007-09-25 Thread Bernardo Innocenti
Yuan Chao wrote: >> FYI: http://www.lesswatts.org/ > I've tried it on B4 before with OS4xx images, we actually need some > patches to let it read corresponding power consumption info out of XO > as it's mainly for conventional laptops (ACPI) especially for intel > CPUs (C/P-states). As to the # of

Fwd: Less Watts

2007-09-25 Thread Yuan Chao
Forgot to include OLPC dev. -- Forwarded message -- From: Yuan Chao <[EMAIL PROTECTED]> Date: Sep 25, 2007 10:12 AM Subject: Re: Less Watts To: Bernardo Innocenti <[EMAIL PROTECTED]> On 9/24/07, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: > FYI: http://www.lesswatts.org/ I've t

Using 3rd Party Commercial/Free BIOS With XO Laptops

2007-09-25 Thread big one
> Lack of standard BIOS Because XO Laptops are sold to the public using "Buy 2 Get 1", IMO there should be a warning to buyer that the machine does not have standard BIOS and cannot run unmodified Linux, BSD, Haiku or other Operating System. Can the consumer buy additional commercial BIOS from

Re: Using 3rd Party Commercial/Free BIOS With XO Laptops

2007-09-25 Thread Bernardo Innocenti
big one wrote: > Because XO Laptops are sold to the public using "Buy 2 Get 1", IMO there > should be a > warning to buyer that the machine does not have standard BIOS and cannot run > unmodified Linux, BSD, Haiku or other Operating System. Why do you feel anyone could mistakenly get this impres

Re: Increasing performance by tuning swappiness

2007-09-25 Thread Henrique Ser
I beg to differ. I have both a B2 and a B4, and running 500+ builds (currently 595) in the B4 goes as smoothly as expected, but the B2 just drags itself around. This was obviously primarily due to lack of memory, so I'm swapping off a 512MB external flash drive and it's still slower than the B4

Re: Using 3rd Party Commercial/Free BIOS With XO Laptops

2007-09-25 Thread James Cameron
Note: I do not represent OLPC, I'm a volunteer contributor. On Tue, Sep 25, 2007 at 03:50:29AM -0700, big one wrote: > Because XO Laptops are sold to the public using "Buy 2 Get 1", IMO > there should be a warning to buyer that the machine does not have > standard BIOS and cannot run unmodified Li

Re: Using 3rd Party Commercial/Free BIOS With XO Laptops

2007-09-25 Thread David Woodhouse
On Tue, 2007-09-25 at 08:07 -0400, Bernardo Innocenti wrote: > The fact that the XO has an x86 CPU makes porting OSes and > applications easier, That might be true for non-portable operating systems which are bound to x86, but I dispute that it's true for any well-written application. -- dwmw2

Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup (take 2)

2007-09-25 Thread Andres Salomon
On Tue, 25 Sep 2007 02:18:09 -0400 Bernardo Innocenti <[EMAIL PROTECTED]> wrote: > Andres Salomon wrote: > > >> diff --git a/drivers/video/geode/lxfb_ops.c > >> b/drivers/video/geode/lxfb_ops.c > >> index b2ecb4d..b380238 100644 > >> --- a/drivers/video/geode/lxfb_ops.c > >> +++ b/drivers/video/

Dialog when stopping activity

2007-09-25 Thread Bert Freudenberg
On Sep 25, 2007, at 16:57 , Zarro Boogs per Child wrote: > Comment(by Eben): > > We should use a non-modal dialog to indicate that there > are incomplete downloads when stopping a Browse session. We could > provide > options to "Pause download" (assuming we have resume support), > "Cancel

Re: Dialog when stopping activity

2007-09-25 Thread Eben Eliason
Well, sort of. Generally speaking, it's OK to show confirmation dialogs when there are ongoing processes (downloads, video compression, export operations, etc.) which will be interrupted/terminated by stopping the activity. It's possible there will be other appropriate times as well, regarding sy

Re: Modification of Public OLPC Software

2007-09-25 Thread Jim Gettys
On Mon, 2007-09-24 at 22:19 -0700, big one wrote: > I often use Linux without any X-Windows, but only svgalib: mplayer, links 2.0 > browser, mp3blaster, etc. On FreeDOS (Free Disk Operating System), I can use > display, arachne, pppd etc. > > Because OLPC is sold to general public using "Buy 2 G

Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup (take 2)

2007-09-25 Thread Bernardo Innocenti
Andres Salomon wrote: >> On the GX, we *save* them always and restore them only on powerup. >> Saving the registers is needed because, later on, we peek a few values >> from that structure for powering up the video unit. > > Er, brain fart. We don't want to be calling lx_graphics_{en,dis}able wh

Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup (take 2)

2007-09-25 Thread Andres Salomon
On Tue, 25 Sep 2007 11:50:47 -0400 Bernardo Innocenti <[EMAIL PROTECTED]> wrote: > Andres Salomon wrote: > > >> On the GX, we *save* them always and restore them only on powerup. > >> Saving the registers is needed because, later on, we peek a few values > >> from that structure for powering up t

Re: Dialog when stopping activity

2007-09-25 Thread Bert Freudenberg
On Sep 25, 2007, at 17:29 , Eben Eliason wrote: > Well, sort of. > > Generally speaking, it's OK to show confirmation dialogs when there > are ongoing processes (downloads, video compression, export > operations, etc.) which will be interrupted/terminated by stopping the > activity. It's possible

Alt-Gr-Lock

2007-09-25 Thread Bert Freudenberg
On Sep 25, 2007, at 17:56 , Zarro Boogs per Child wrote: > Changes (by Eben): > > As far as I'm aware, alt-gr is used for "translating" the keys to an > alternate character set. It is also possible to lock the keyboard > into > the alternate character set as well, for typing in another > l

Re: OLPC: decouple sleep/resume from powerdown/powerup (take 3)

2007-09-25 Thread Jordan Crouse
Andres and I discussed this situation in length last night. Andres argued that the fb_power() function was not needed and confusing - really what we are doing when we freeze the DCON is blanking the underlying video unit. I agree to a certain extent, but I also think there is value in having dire

Re: Fwd: Less Watts

2007-09-25 Thread Yuan Chao
On 9/25/07, Bernardo Innocenti <[EMAIL PROTECTED]> wrote: > Could you try again with the latest images and report what's causing > the most wakeups? Sure. Here is the results from OS603. It seems that there's no much difference from my past memory. :) However, I don't know why the total wakeups do

Re: Fwd: Less Watts

2007-09-25 Thread Bernardo Innocenti
Yuan Chao wrote: > 54.5% (213.9)python : schedule_timeout (process_timeout) I tried myself too. A few of these seem to come from sugar-shell, the vast majority are from the datastore-service. A quick strace run reveals that the datastore-service process sleeps for 2.5ms in a tight

Re: Fwd: Less Watts

2007-09-25 Thread Jordan Crouse
On 25/09/07 16:13 -0400, Bernardo Innocenti wrote: > > 35.0% (137.3): mfgpt-timer > > This one comes from arch/i386/kernel/mfgpt.c, but I dunno why and I have > no time to investigate it soon. Hopefully somebody can tell us without > the need to dig in the code. Because the MFGPT provi

Re: Fwd: Less Watts

2007-09-25 Thread Bernardo Innocenti
Jordan Crouse wrote: > On 25/09/07 16:13 -0400, Bernardo Innocenti wrote: >>> 35.0% (137.3): mfgpt-timer >> This one comes from arch/i386/kernel/mfgpt.c, but I dunno why and I have >> no time to investigate it soon. Hopefully somebody can tell us without >> the need to dig in the code.

Re: OLPC: decouple sleep/resume from powerdown/powerup (take 3)

2007-09-25 Thread Bernardo Innocenti
Jordan Crouse wrote: > So anyway, long story short, its all below in black and white. Please > reply with comments. As I said, I also like this design. The only thing I could suggest is moving the code snippets that implement the actual video unit powerdown and powerup to separate functions, so

Project Hosting Application

2007-09-25 Thread Jason J. Kong
PEdo8eMRpJrn0dBsD9UIveQ== [EMAIL PROTECTED] BEGIN SSH2 PUBLIC KEY Comment: "dsa-key-20070925" B3NzaC1kc3MAAACAdP0m5tihdExcuvtJ9WWg81x1KZZVvLYfJg+LfJMw3TG2 TeAviHuJztL7LZeO/1lYYxpBQJipz7MShN1LmR91dE448Qbkn3Hf9LQWXNNdtCEy XkR5BJKEDJ6Bk0pHCE7ATyYWqAFiXVn/etVDqZeYKe3AKMi2T1hmdl3lZ0+

Console Mode, DOS Emulator on OLPC

2007-09-25 Thread big one
> Booting to console mode / svgalib possible Can someone put a wiki / HOWTO about booting OLPC to console mode, setting up svgalib, SDL, xinit command and xinitrc? > Lack of FreeDOS because of BIOS With console mode, IMO it is possible to run DOS Emulator such as DosEMU + FreeDOS or DOSbox wit

Re: Console Mode, DOS Emulator on OLPC

2007-09-25 Thread Mitch Bradley
OLPC does not support VGA/EGA/CGA graphics, so the display code for all those old programs will not work. big one wrote: >> Booting to console mode / svgalib possible >> > > Can someone put a wiki / HOWTO about booting OLPC to console mode, setting up > svgalib, SDL, xinit command and xini

Re: Console Mode, DOS Emulator on OLPC

2007-09-25 Thread elw
> Subject: Re: Console Mode, DOS Emulator on OLPC > > OLPC does not support VGA/EGA/CGA graphics, so the display code for all > those old programs will not work. IIRC xdosemu provides vga support within an X window. I sympathize with folks who want to run ancient dos educational apps on the

Re: Console Mode, DOS Emulator on OLPC

2007-09-25 Thread Jim Gettys
On Tue, 2007-09-25 at 18:57 -0500, [EMAIL PROTECTED] wrote: > > > Subject: Re: Console Mode, DOS Emulator on OLPC > > > > OLPC does not support VGA/EGA/CGA graphics, so the display code for all > > those old programs will not work. > > > IIRC xdosemu provides vga support within an X window. >

Re: Console Mode, DOS Emulator on OLPC

2007-09-25 Thread elw
I suppose that I have effectively opened my mouth and inserted foot, so perhaps I should volunteer to start a bit of work in this direction. Any other volunteers? We'll work something out. ;-) --elijah On Tue, 25 Sep 2007, Jim Gettys wrote: > Date: Tue, 25 Sep 2007 20:35:46 -0400 > From:

Software status meeting on IRC (today, 21:00 EDT Boston)

2007-09-25 Thread Jim Gettys
Sorry I forgot to get this out earlier. We'll do IRC again at: irc.freenode.net, #olpc-meeting. ***Please** go through trac, comment and close bugs that are done. Please push bugs for first deployment. If you aren't sure, put the bugs into "untriaged" and we'll get you feedback. Please examine

DOSBox VGA Emulator, SDL, Svgalib

2007-09-25 Thread big one
> No VGA/EGA/CGA on OLPC According to DOSBox manual: "Dosbox emulates the CPU, the sound and graphic cards, and some other stuff, all at the same time. VGA emulation is the most demanding part of dosbox in terms of actual CPU usage" DOSBox use SDL (Simple DirectMedia Layer) library for accessi