Re: Rebuilding a kernel with olpc-kernel-builder

2010-11-17 Thread Martin Langhoff
On Wed, Nov 17, 2010 at 12:49 PM, Chris Ball  wrote:
> Haven't seen that before.  I've only used olpc-kernel-builder
> for 2.6.35+ kernels.  2.6.31 kernels are still built using
> http://dev.laptop.org/git/users/dsaxena/olpc-2.6-rpm/.git/

That's probably my problem. Thanks -



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
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO-1.5 audio input DC mode

2010-11-17 Thread forster
Sascha

This matches what Walter and I are observing with TurtleArt 103.

TA uses commands issued to amixer, amixer seems to be behaving inconsistently. 
Biases of 5k and 15k have been observed but unpredictably. The amixer commands 
that should switch the bias off just change the gain. With 0dB gain, bias off 
commands, the output is +26000 0V, 0, 1.7V, -26000 3.4V. Try to switch off the 
bias and the gain changes to +-14000. I am using the tip of a stereo plug which 
I thought was the right channel?

Tony

> Hi!
> 
> I'm trying to use the XO-1.5 as an oscilloscope, using xoscope (*) [1].
> I thought that should be easy to do given that the audio input seems to
> be specifically designed to do something like this. However my experiences
> so far are strange at best...
> 
> For a start there always is a bias voltage. I can reduce its impedance
> from ~ 15kΩ to ~ 5kΩ and increase it from ~1.75V to ~2.5V, but never turn
> it off.
> 
> I also don't understand the values I am seeing: It's always oscillating
> with half the sampling rate. The Capture level seems to affect both the
> base line and a partitioning into several value ranges. E.g. for level
> 39 (-43dB), I get a waveform growing downward from 100 and apparently
> proportional to the input voltage for 0-1.65V, a jump to an waveform
> that starts at 100, but gets smaller as I further increase the voltage
> and at about 1.9V it grows downward again (from 100) until at about
> 3.3V it reaches a maximum (values 103 and -104).
> 
> This is for the left channel (hooked up to a 5kΩ potentiometer acting as
> a voltage divider for 5V from a PC power supply) - the right one behaves
> even more strangely. Maybe it's been left floating (no pun intended)?
> 
> It would be nice if somebody could explain how the XO-1.5 audio input
> is wired up exactly. A simplified schematic would be awesome (AIUI Quanta
> has the "IP rights" for the schematic, but a simplified version should
> be fine I think).
> 
> Sascha
> 
> (*) X11 OscilloSCOPE. No relationship with the hardware. :)
> [1] http://xoscope.sourceforge.net/
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
> 
> _
> This mail has been virus scanned by Australia On Line
> see http://www.australiaonline.net.au/mailscanning

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO-1.5 audio input DC mode

2010-11-17 Thread C. Scott Ananian
On Wed, Nov 17, 2010 at 2:46 PM, C. Scott Ananian  wrote:
> As a wild stab at a first guess, it sounds like a software problem to
> me -- seems like xoscope is not successfully turning off either the
> bias voltage or the decoupling capacitor (high pass filter).  Perhaps
> a silent failure of some sort?

If you've got access to a signal generator (or another machine with a
sound card), feeding in a 1kHz square wave with an offset (say 0 off,
1V on) is probably a better diagnostic than using your potentiometer.
If my wild guess is correct, then you should see a characteristically
rounded square wave with no offset.  Then you could poke at the
software until (a) the rounding goes away, and (b) you see the offset
you expect, which would indicate that the decoupling capacitor has
successfully been switched out of the circuit.
  --scott

-- 
                         ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO-1.5 audio input DC mode

2010-11-17 Thread C. Scott Ananian
As a wild stab at a first guess, it sounds like a software problem to
me -- seems like xoscope is not successfully turning off either the
bias voltage or the decoupling capacitor (high pass filter).  Perhaps
a silent failure of some sort?
  --scott

-- 
                         ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO-1.5 audio input DC mode

2010-11-17 Thread Walter Bender
On Wed, Nov 17, 2010 at 1:38 PM, Sascha Silbe
 wrote:
> Hi!
>
> I'm trying to use the XO-1.5 as an oscilloscope, using xoscope (*) [1].
> I thought that should be easy to do given that the audio input seems to
> be specifically designed to do something like this. However my experiences
> so far are strange at best...
>
> For a start there always is a bias voltage. I can reduce its impedance
> from ~ 15kΩ to ~ 5kΩ and increase it from ~1.75V to ~2.5V, but never turn
> it off.
>
> I also don't understand the values I am seeing: It's always oscillating
> with half the sampling rate. The Capture level seems to affect both the
> base line and a partitioning into several value ranges. E.g. for level
> 39 (-43dB), I get a waveform growing downward from 100 and apparently
> proportional to the input voltage for 0-1.65V, a jump to an waveform
> that starts at 100, but gets smaller as I further increase the voltage
> and at about 1.9V it grows downward again (from 100) until at about
> 3.3V it reaches a maximum (values 103 and -104).
>
> This is for the left channel (hooked up to a 5kΩ potentiometer acting as
> a voltage divider for 5V from a PC power supply) - the right one behaves
> even more strangely. Maybe it's been left floating (no pun intended)?
>
> It would be nice if somebody could explain how the XO-1.5 audio input
> is wired up exactly. A simplified schematic would be awesome (AIUI Quanta
> has the "IP rights" for the schematic, but a simplified version should
> be fine I think).
>
> Sascha
>
> (*) X11 OscilloSCOPE. No relationship with the hardware. :)
> [1] http://xoscope.sourceforge.net/
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>

With whatever you learn, maybe you can help me sort out the remaining
issues with the Sugar Oscilloscpe (Measure) activity
(http://activities.sugarlabs.org/en-US/sugar/addon/4197).

Meanwhile, this thread may be of interest:

http://lists.laptop.org/pipermail/devel/2010-November/030326.html

-walter

-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


XO-1.5 audio input DC mode

2010-11-17 Thread Sascha Silbe
Hi!

I'm trying to use the XO-1.5 as an oscilloscope, using xoscope (*) [1].
I thought that should be easy to do given that the audio input seems to
be specifically designed to do something like this. However my experiences
so far are strange at best...

For a start there always is a bias voltage. I can reduce its impedance
from ~ 15kΩ to ~ 5kΩ and increase it from ~1.75V to ~2.5V, but never turn
it off.

I also don't understand the values I am seeing: It's always oscillating
with half the sampling rate. The Capture level seems to affect both the
base line and a partitioning into several value ranges. E.g. for level
39 (-43dB), I get a waveform growing downward from 100 and apparently
proportional to the input voltage for 0-1.65V, a jump to an waveform
that starts at 100, but gets smaller as I further increase the voltage
and at about 1.9V it grows downward again (from 100) until at about
3.3V it reaches a maximum (values 103 and -104).

This is for the left channel (hooked up to a 5kΩ potentiometer acting as
a voltage divider for 5V from a PC power supply) - the right one behaves
even more strangely. Maybe it's been left floating (no pun intended)?

It would be nice if somebody could explain how the XO-1.5 audio input
is wired up exactly. A simplified schematic would be awesome (AIUI Quanta
has the "IP rights" for the schematic, but a simplified version should
be fine I think).

Sascha

(*) X11 OscilloSCOPE. No relationship with the hardware. :)
[1] http://xoscope.sourceforge.net/
--
http://sascha.silbe.org/
http://www.infra-silbe.de/


signature.asc
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Upgrading a _very_ old OLPC

2010-11-17 Thread Paul Fox
sameer wrote:
 > Krishnan is local to SF. We'll help him get upgraded.

be sure and verify what hardware he has before starting.  build 417 is
pretty old, and could represent a pre-B3, or whatever the oldest
machine still installable with current s/w is.

paul

 > 
 > Sameer
 > 
 > 
 > On Wed, Nov 17, 2010 at 1:16 AM, C. Scott Ananian  wrote:
 > > -- Forwarded message --
 > > From: Krishnan R.S. 
 > > Date: Wed, Nov 17, 2010 at 2:48 AM
 > > Subject: Upgrading a _very_ old OLPC
 > > To: csc...@laptop.org
 > >
 > >
 > > Hello,
 > >I managed to get my hands on a very old OLPC XO laptop for my
 > > daughter. I've been trying, unsuccessfully, to upgrade the OS to
 > > something current. The main issues are:
 > >
 > > My image has no olpc-update
 > > I tried to follow the wiki instruction to update olpc-update - alas
 > > that leads to more issues about missing python2.5
 > > I tried to install python using apt/deb/dpkg but all of these fail
 > > since the apt/deb/dpkg tools are missing :(
 > > Looking at /etc/issue - I see build 417 - and some messages that look
 > > like errors "kernel \r \m " :) so maybe I have a pre-alpha build
 > > :)
 > >
 > > So ... I'm somewhat at a loss as to what my next steps are. My
 > > daughter seems pretty excited with the device and enjoys the "paint"
 > > application. I'd like to get a more recent build so she can use the
 > > newer apps/toos.
 > > Can you point me in the right direction ? Or am I wasting my time
 > > trying to do the impossible?
 > > Thanks,
 > > Krishnan
 > > +1-415-606-3069
 > > --
 > > Krishnan Subramaniam
 > > rskrish...@hotmail.com
 > >
 > >
 > >
 > >
 > > --
 > >  ( http://cscott.net/ )
 > > ___
 > > Devel mailing list
 > > Devel@lists.laptop.org
 > > http://lists.laptop.org/listinfo/devel
 > >
 > >
 > >
 > ___
 > Devel mailing list
 > Devel@lists.laptop.org
 > http://lists.laptop.org/listinfo/devel

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


Re: Upgrading a _very_ old OLPC

2010-11-17 Thread Simon Schampijer
On 11/17/2010 06:53 PM, Sameer Verma wrote:
> Krishnan is local to SF. We'll help him get upgraded.
>
> Sameer

Depending on the data you want to save, you might just save the content 
of home (Jounal) and reflash the machine with the current stable build 
(and then copy that stuff back in).

Cheers,
Simon
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Upgrading a _very_ old OLPC

2010-11-17 Thread Sameer Verma
Krishnan is local to SF. We'll help him get upgraded.

Sameer


On Wed, Nov 17, 2010 at 1:16 AM, C. Scott Ananian  wrote:
> -- Forwarded message --
> From: Krishnan R.S. 
> Date: Wed, Nov 17, 2010 at 2:48 AM
> Subject: Upgrading a _very_ old OLPC
> To: csc...@laptop.org
>
>
> Hello,
>    I managed to get my hands on a very old OLPC XO laptop for my
> daughter. I've been trying, unsuccessfully, to upgrade the OS to
> something current. The main issues are:
>
> My image has no olpc-update
> I tried to follow the wiki instruction to update olpc-update - alas
> that leads to more issues about missing python2.5
> I tried to install python using apt/deb/dpkg but all of these fail
> since the apt/deb/dpkg tools are missing :(
> Looking at /etc/issue - I see build 417 - and some messages that look
> like errors "kernel \r \m " :) so maybe I have a pre-alpha build
> :)
>
> So ... I'm somewhat at a loss as to what my next steps are. My
> daughter seems pretty excited with the device and enjoys the "paint"
> application. I'd like to get a more recent build so she can use the
> newer apps/toos.
> Can you point me in the right direction ? Or am I wasting my time
> trying to do the impossible?
> Thanks,
> Krishnan
> +1-415-606-3069
> --
> Krishnan Subramaniam
> rskrish...@hotmail.com
>
>
>
>
> --
>                          ( http://cscott.net/ )
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Rebuilding a kernel with olpc-kernel-builder

2010-11-17 Thread Chris Ball
Hi,

   > The script in the SPEC file gets in an unwhole tangle with
   > directories and symlinks. I honestly cannot figure out WTH it
   > doing. make -s mrproper dies with getcwd errors (as per log
   > attached).

Haven't seen that before.  I've only used olpc-kernel-builder
for 2.6.35+ kernels.  2.6.31 kernels are still built using
http://dev.laptop.org/git/users/dsaxena/olpc-2.6-rpm/.git/

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


Rebuilding a kernel with olpc-kernel-builder

2010-11-17 Thread Martin Langhoff
I am trying to rebuild our kernel with a couple of patches on top...

 - on a F11 build host, trying to build an XO-1.5 / F11 series kernel
 - cloned olpc-kernel-builder
 - fiddled with the paths to match my local setup
 - run and ... fail!

The script in the SPEC file gets in an unwhole tangle with directories
and symlinks. I honestly cannot figure out WTH it doing. make -s
mrproper dies with getcwd errors (as per log attached).

Any hints?



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


build.log
Description: Binary data
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Fwd: Upgrading a _very_ old OLPC

2010-11-17 Thread C. Scott Ananian
-- Forwarded message --
From: Krishnan R.S. 
Date: Wed, Nov 17, 2010 at 2:48 AM
Subject: Upgrading a _very_ old OLPC
To: csc...@laptop.org


Hello,
   I managed to get my hands on a very old OLPC XO laptop for my
daughter. I've been trying, unsuccessfully, to upgrade the OS to
something current. The main issues are:

My image has no olpc-update
I tried to follow the wiki instruction to update olpc-update - alas
that leads to more issues about missing python2.5
I tried to install python using apt/deb/dpkg but all of these fail
since the apt/deb/dpkg tools are missing :(
Looking at /etc/issue - I see build 417 - and some messages that look
like errors "kernel \r \m " :) so maybe I have a pre-alpha build
:)

So ... I'm somewhat at a loss as to what my next steps are. My
daughter seems pretty excited with the device and enjoys the "paint"
application. I'd like to get a more recent build so she can use the
newer apps/toos.
Can you point me in the right direction ? Or am I wasting my time
trying to do the impossible?
Thanks,
Krishnan
+1-415-606-3069
--
Krishnan Subramaniam
rskrish...@hotmail.com




-- 
                         ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel