Re: [Server-devel] XS on Mac Mini

2010-03-02 Thread Peter Robinson
On Tue, Mar 2, 2010 at 6:19 AM, David Leeming
da...@leeming-consulting.comwrote:

  Sorry if this has been asked before. The Mac Mini was tested by someone
 here with a watt meter and ran between 16 and 30 watts max. Very useful for
 solar powered locations.



 Are there any issues with installing XS on one?

I don't believe there should be any issues as the Mac Minis are well
supported on Fedora which is what the XS is based upon. The Mac Mini servers
with 2 disks would be good as they provide some resilience.

The other device you may want to look at for low powered devices are the
eeeBox devices which are atom based so will use even less power.

Regards,
Peter
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] turn off backlight on XS-on-XO1

2010-03-02 Thread Martin Langhoff
Good question. Could we run Paul's power daemon configured to dim
screen completely if there is no VT user actvity?

cc' ing Paul and devel -



m


On Tue, Mar 2, 2010 at 2:26 AM, Sameer Verma sve...@sfsu.edu wrote:
 Is there any way to turn off the backlight on a XS-on-XO1? Keyboard
 control doesn't do it.

 Sameer
 --
 Dr. Sameer Verma, Ph.D.
 Associate Professor, Information Systems
 Director, Campus Business Solutions
 San Francisco State University
 http://verma.sfsu.edu/
 http://cbs.sfsu.edu/
 http://is.sfsu.edu/
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel




-- 
 martin.langh...@gmail.com
 mar...@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
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on Mac Mini

2010-03-02 Thread Martin Langhoff
On Tue, Mar 2, 2010 at 1:19 AM, David Leeming
da...@leeming-consulting.com wrote:
 Sorry if this has been asked before. The Mac Mini was tested by someone here
 with a watt meter and ran between 16 and 30 watts max. Very useful for solar
 powered locations.

Agreed with Peter -- it'll just work, but other boxes may be cheaper,
and most importantly, may be better suited to hot  humid
environments.

Whatever you use, let us know how it goes!


m
-- 
 martin.langh...@gmail.com
 mar...@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
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] turn off backlight on XS-on-XO1

2010-03-02 Thread Paul Fox
martin wrote:
  On Tue, Mar 2, 2010 at 2:34 PM, Paul Fox p...@laptop.org wrote:
   yes, that would probably work.  there's no X11 requirement in kbdshim
   or powerd.   but to be clear:  is the requirement for blanking after
   an idle period?  or do you just want a command to blank the screen?
   because the latter can be created pretty easily.
  
  I want it on idle :-)

i figured.  :-)

unfortunately kernel console blanking was never tied to the dcon --
i think it's one of several issues with bare console use on the
XO.  (the console has never been a priority.)

you can install olpc-kbdshim and olpc-powerd, and adjust the
powerd config to never dim and/or blank the display without ever
suspending.  the fedora F9 packages should work for this.

paul
=-
 paul fox, p...@laptop.org
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Schools Wikipedia

2010-03-02 Thread Chris Ball
Hi,

The current Wikipedia activities already work as web servers on
the XS, and require much less space due to the content being
compressed -- for Spanish, 25,000 articles and 3,000 images in
100MB.

David pointed out that this isn't actually documented anywhere.  :)

Here's the HOWTO.  On a fresh XS, for English WP:

$ wget http://dev.laptop.org/~cjb/enwiki/WikipediaEN-4.xo
$ unzip WikipediaEN-4.xo 
$ cd WikipediaEN.activity/
$ python server.py en_US_g1g1/en_US_g1g1.xml.bz2 4567

.. then you can browse to http://schoolserver:4567/ on an XO or other
machine.

For Spanish, get http://dev.laptop.org/~cjb/eswiki/Wikipedia-11.xo and
replace en_US_g1g1 with es_PE.

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on Mac Mini

2010-03-02 Thread John Watlington

It would be interesting to hear what the remaining hurdles are.

The Kirkwood ARM processor in the guruplug should be well
supported by the current Fedora release --- this may be mostly
a matter of moving to an F12 base.

My main concern with the guruplug would be the external USB
disks (overheating or disappearing).   The same hardware should
be available in a NAS (networked attached storage unit), wrapped
around a hard drive in an enclosure --- the Marvell ARM is a popular
choice.

We have good relations with Marvell, and have been encouraging
them to get support for their ARM processors upstream for
several years now.

wad

On Mar 2, 2010, at 12:27 PM, Sameer Verma wrote:

 On Tue, Mar 2, 2010 at 6:09 AM, Caroline Meeks
 carol...@solutiongrove.com wrote:
 I was talking to Timothy Falconer who is planning deployments in  
 Haiti
 and Patrick Giagnocavo founder of Zill.net our sysadmin and  
 hosting company
 about this.
 Patrick suggests:  http://www.globalscaletechnologies.com/c-4- 
 guruplugs.aspx
 the specs on the Plus version that is $129
 2x Gigabit ethernet plus Wifi
 But I don't think any one has tried it yet.

 These are ARM based, right? Robert Howard @OLPCSF (on the list) has
 been tackling this a bit, but there are hurdles with running XS on
 ARM...

 Sameer


 On Tue, Mar 2, 2010 at 8:38 AM, Martin Langhoff  
 martin.langh...@gmail.com
 wrote:

 On Tue, Mar 2, 2010 at 1:19 AM, David Leeming
 da...@leeming-consulting.com wrote:
 Sorry if this has been asked before. The Mac Mini was tested by  
 someone
 here
 with a watt meter and ran between 16 and 30 watts max. Very  
 useful for
 solar
 powered locations.

 Agreed with Peter -- it'll just work, but other boxes may be  
 cheaper,
 and most importantly, may be better suited to hot  humid
 environments.

 Whatever you use, let us know how it goes!


 m
 --
  martin.langh...@gmail.com
  mar...@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
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel



 --
 Caroline Meeks
 Solution Grove
 carol...@solutiongrove.com

 617-500-3488 - Office
 505-213-3268 - Fax

 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel

 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] turn off backlight on XS-on-XO1

2010-03-02 Thread Anna
On Tue, Mar 2, 2010 at 1:34 PM, Paul Fox p...@laptop.org wrote:

 martin wrote:
   Good question. Could we run Paul's power daemon configured to dim
   screen completely if there is no VT user actvity?

 yes, that would probably work.  there's no X11 requirement in kbdshim
 or powerd.   but to be clear:  is the requirement for blanking after
 an idle period?  or do you just want a command to blank the screen?
 because the latter can be created pretty easily.

 paul


I'd appreciate a command to blank the screen.  I installed olpc-kbdshim from
the repo and then
http://dev.laptop.org/~pgf/rpms/olpc-powerd-9-1.fc9.i386.rpm.  Tried editing
/etc/powerd/powerd.conf to make the screen blank, but I guess I don't know
what I'm doing cause it's not working.

In my particular situation, I usually just make sure the XS on XO is booted
up and online, then ssh in from another machine.  So the ability to turn the
backlight off at will would be great.

When I have a screen at all, that is.  I've been messing around with XS on
XO on a couple of XOs that have been stripped for parts cause of one issue
or another.  But that's another story.

Anna Schoolfield
Birmingham
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Manual for install XS over Debian

2010-03-02 Thread José David Calderón Serrano
Somebody tell me that the developers of XS use Debian. I'm interested in
a manual of how to do for use a Debian server for do a implementation in
this way.

In El Salvador want to use for the security, and we want to know if a
manual exists for do that in a Debian server.

-- 
Atentamente:
José David Calderón Serrano
Nunca se tiene suficiente de algo bueno
--Gato Garfield--

attachment: neomish.vcf___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on Mac Mini

2010-03-02 Thread John Watlington

On Mar 2, 2010, at 9:48 PM, Martin Langhoff wrote:

 On Tue, Mar 2, 2010 at 8:40 PM, John Watlington w...@laptop.org  
 wrote:
 It would be interesting to hear what the remaining hurdles are.

 Not many. There are good bootable images for F11/F12 on ARM. Current
 XS is on F9, for which I haven't found one.

 So it would be

  - port / test the XS packages on F11/F12
  - rebuild ejabberd-xs -- the only binary package we have

For some reason I find it humorous that we actually have
to rebuild erlang, not ejabberd-xs...   But erlang has already
been rebuilt, as it is standard with Fedora.

  - test the whole thing

Ay, the rub is in the details

 cheers,


 m
 -- 
  martin.langh...@gmail.com
  mar...@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

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on Mac Mini

2010-03-02 Thread Martin Langhoff
On Tue, Mar 2, 2010 at 10:35 PM, John Watlington w...@laptop.org wrote:
 For some reason I find it humorous that we actually have
 to rebuild erlang, not ejabberd-xs...   But erlang has already
 been rebuilt, as it is standard with Fedora.

Good point. Erlang is in the arm repos.

The ejabberd-xs rpm (derived from the ejabberd rpm) is arch-specific ,
even though the .beam files are probably right for the Erlang VM
running on any supported arch. Maybe a bug in Fedora packaging?

  - test the whole thing

 Ay, the rub is in the details

aye..




m
-- 
 martin.langh...@gmail.com
 mar...@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
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Manual for install XS over Debian

2010-03-02 Thread Martin Langhoff
On Tue, Mar 2, 2010 at 10:18 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 What we can do here is help you understand how to do things in Fedora.
 It's not particularly hard ;-)

Eveything starts at wiki.laptop.org -- follow the link that says
School Server.



m
-- 
 martin.langh...@gmail.com
 mar...@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
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] turn off backlight on XS-on-XO1

2010-03-02 Thread James Cameron
On Tue, Mar 02, 2010 at 09:00:50PM -0600, Anna wrote:
 I'd appreciate a command to blank the screen.

Your subject line mentions the backlight, and blanking the screen is
potentially a different task.

I've tested an XO-1 with build 802b1.

If you mean the backlight, you can manually control this from a shell
command or program like this:

echo 0  /sys/class/backlight/dcon-bl/brightness

or

echo 0  /sys/devices/platform/dcon/backlight/dcon-bl/brightness

Change the 0 to 15 for full brightness.  With the backlight off, the
screen image should still be visible.

You can manually turn off the screen and hide the screen image with this
shell command:

echo 1  /sys/devices/platform/dcon/sleep

But it doesn't turn back on automatically.  You can appear to lose
control this way; you can restore it to normal with this:

echo 0  /sys/devices/platform/dcon/sleep

The text console does idle blank after a while, though without turning
off the backlight.

It is possible to initiate screen blanking manually using code that
calls ioctl with TIOCLINUX and TIOCL_BLANKSCREEN but like the idle
console blanking it leaves square brackets on screen.  The other three
modes of VESA blanking that the kernel can do (TIOCL_SETVESABLANK) don't
fare any better than the default.  Two of the modes do the bit rot melt down
effect on the display.

It is also possible to manipulate the blanking timers using escape
sequences sent to /dev/tty1 ... but again, we haven't integrated the
VESA blanking feature of the kernel with our DCON and backlight.

-- 
James Cameron
http://quozl.linux.org.au/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel