[Server-devel] cubox wifi

2014-02-22 Thread Tim Moody
Jon,

Can you (or anyone else) tell me where to find the drivers for the cubox wifi 
adapter you mentioned on the call on Tue.

Thanks,

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


Re: [Server-devel] [XSCE] XSCE 5.1 Features

2014-02-22 Thread Tim Moody
I have revised http://wiki.laptop.org/go/XS_Community_Edition/Features by 
cataloging where we are in terms of features implemented and supplementing the 
planned features that were there with the ones from our recent IRC meeting.

I have also made a home for wish list items, but have yet to fill it out. 

Tim

From: Tim Moody 
Sent: Friday, February 21, 2014 11:42 AM
To: xsce-devel ; server-devel 
Subject: Re: [XSCE] XSCE 5.1

the transcript does not contain the information I asked for, namely those 
features that existed in 0.4 and do not exist in 5.0.

it does contain additional features.

Tim

From: Adam Holt 
Sent: Friday, February 21, 2014 11:08 AM
To: xsce-devel ; server-devel 
Subject: Re: [XSCE] XSCE 5.1

On Fri, Feb 21, 2014 at 10:55 AM, Tim Moody  wrote:

  On last Tuesday’s IRC it was decided that release 5.1 should implement 
features that existed in 0.4 and did not make it into 5.0.  Can someone please 
catalog those features so they can go into the features page on the wiki.

Tuesday context/transcript:
https://sugardextrose.org/attachments/download/3410/schoolserver.2014-02-18-17.01.log.txt
https://sugardextrose.org/issues/4943

The best ideas of which should end up here:
http://wiki.laptop.org/go/XS_Community_Edition/Features
http://wiki.laptop.org/go/XS_Community_Edition/5.1 

--

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Taking pictures with an XSCE on an XO

2014-02-22 Thread James Cameron
Thanks Anna.

You may find the motion package interesting.  In addition to saving
images based on motion detection, it can also save snapshots at
regular intervals, and provide a live feed to a browser.

It doesn't require any apache integration to provide the live feed.

It has a much smaller resource footprint than gstreamer, last time I
checked.  One process does all.

It even has a web browser control interface.

http://motion.sourceforge.net/
http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome

Works on XO-1.5, XO-1.75, and XO-4.  On XO-1.75 it consumes about 13%
CPU at two frames per second.  It doesn't do the expensive JPG
compression unless the image is to be recorded or sent over the net.

I've got several working on various tasks.  My favourite motion.conf
file looks like this:

framerate 2
webcam_localhost off
webcam_port 8081
control_port 8080
control_localhost off
daemon on
despeckle EedDl
threshold 13000
quality 90
target_dir /var/tmp/images
jpeg_filename %s-%v-%q
width 640
height 480
snapshot_interval 600
snapshot_filename %s

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


[Server-devel] Taking pictures with an XSCE on an XO

2014-02-22 Thread Anna
A long time ago, I posted on OLPC News Forum about how to make your XO-1
take and display an image with gstreamer and the boa web server.  You can
take and display an image from the XO-1's camera via any browser on the
LAN.  These instructions are mostly still valid for the XO-1.

http://web.archive.org/web/2028021343/http://www.olpcnews.com/forum/index.php?topic=4710.0

But for the XSCE on an XO 1.5, 1.75 or 4?  Apache makes things a little
more difficult to configure.  So let's just see what to do, then.

As root, create this file:

-bash-4.2# cat /var/www/cgi-bin/webcam.cgi
#!/bin/sh
# CGI script to take and display an on-demand image
echo "Content-type: text/html"
echo
echo "A Picture from the XO XSCE Webcam"
echo "Here's a Real Time image from the XO XSCE Webcam"
echo ""
gst-launch-0.10 v4l2src ! ffmpegcolorspace ! pngenc ! filesink
location=/var/www/html/images/webcam.png > /dev/null
echo ""
echo ""
echo ""
echo "Refresh this page to take another picture"
echo ""

chmod +x webcam.cgi

Still as root, Put apache into the video and audio groups in /etc/groups:

-bash-4.2# cat /etc/group |grep apache
video:x:39:olpc,apache
audio:x:63:olpc,apache

mkdir /var/www/html/images and then:

chown apache:apache /var/www/html/images

Reboot.  Then go to http://whatever your XSCE's IP is/webcam.cgi and it
automagically takes and displays a picture of what your XSCE XO is pointed
at.

Then hit F5 to refresh as needed for new pictures.

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