Re: [Sugar-devel] How everyone can help with 0.100

2013-08-17 Thread Jerry Vonau
On Sat, 2013-08-17 at 12:14 +0200, Daniel Narvaez wrote:
> On 17 August 2013 12:03, Daniel Narvaez  wrote:
> On 17 August 2013 05:21, Jerry Vonau  wrote:
> 
> Adding in olpc-devel.
> 
> On Sat, 2013-08-17 at 03:34 +0200, Daniel Narvaez
> wrote:
> > This is based on the last sugar-build configuration
> which supported
> > fedora 18. Note, I'm guessing a lot, you should give
> it a try before
> > settling on a plan.
> >
> > * webkitgtk
> >
> >
> >
> > which drags in
> >
> >
> > libsoup
> > glib
> > gobject-introspection
> > pygobject
> > dbus-python
> >
> 
> 
> Kind of need to know the exact versions of the above
> packages, olpc is
> carrying patched versions[1] of a couple of those
> packages, so we need
> to be careful here. Anybody want to chime in on what
> patches need to be
> present for the XOs?
> 
> 
> I would take versions/specs from the Fedora 19 latest updates
> and add the following patches
> 
> 
> gobject-introspection:
> 
> stringfix2.patch
> str.patch
> stringfix3.patch
> 
> 
> 
> pygobject:
> 
> Consolidate-signal-connection-code.patch
> Optimize-connection-of-Python-implemented-signals.patch
> Optimize-property-get-set-when-using-GObject.props.patch
> Optimize-signal-lookup-in-gi-repository.patch
> Simplify-registration-of-custom-types.patch
> 
> 
> 
> Alternatively, use the F20 versions/specs and don't add any patch. Not
> sure which is better... If the patches apply cleanly or can be
> trivially ported I'd rather use the F19  versions/specs, which is what
> we currently have in sugar-build too.
> 

Thank you for the very useful information and advice.

Jerry



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


Re: hdmi out

2013-08-17 Thread Tom Parker

On 18/08/13 15:01, Barry Vercoe wrote:

Tom, attached is a file dmesg.output. Sending just to you since I didn't
understand what mailing list you meant.


olpc-devel, Jon Nettleton who was involved with the HDMI code is 
monitoring that list. I've copied them in and re-attached your dmesg output.



It may well be a problem with my micro-to-standard hdmi cable, since I
don't hear a click when I plug it in.  The cable is a Pudney P594 Type A
plug to Type D plug, think from Dick Smith (no one else seemed to have
one ...).


The click is a mechanical one and quite faint and doesn't always happen. 
Sometimes you feel it with your fingers rather than hear it.


I have this one http://www.pbtech.co.nz/index.php?z=p&p=CABDNX8018 and 
they also have 2m versions and an adaptor which might be more 
appropriate if it is what I think it is (there's no picture). With an 
adaptor the school would need to supply a regular HDMI cable rather than 
a female-female adaptor and a cable -- whatever length you supply will 
be too short).



Tell me if you don't see the connection in dmesg.  Perhaps a razor blade
to the connector will get it further in till I hear a click (is that
audio out, or physical?)


It's obviously doing something -- you can see the HDMI system start and 
select 1080p:


[   88.056712] Using config for 1920x1080 CEA

This is the last 4 lines you quoted:

[   88.069656] hdmi_video_cfg: I have auto-learned the video frame format
[   88.076560]  hdmi_hpd_work state 0 hdmi_state 1
[   88.992348] work_launch
[   88.992400]  hdmi_hpd_work state 4000 hdmi_state 0

I see the first two of those, but not the second two.

I wonder if you have a bad connection? Try pressing the cable into the 
socket and holding it there.


You can watch the output of this log in real time by typing the 
following into terminal:


tail -f /var/log/messages

It should show you the last few lines of the the log and then print out 
any new log messages. You should see a burst of messages when you plug 
the cable in.
[0.00] Booting Linux on physical CPU 0
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 3.5.7_xo4-20130705.0203.olpc.e77de3d 
(mockbu...@koji3.laptop.org) (gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) 
(GCC) ) #1 PREEMPT Fri Jul 5 02:20:07 EDT 2013
[0.00] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[0.00] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[0.00] Machine: Marvell MMP2 (Device Tree Support), model: 4C2
[0.00] cma: CMA: reserved 256 MiB at 1c00
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] On node 0 totalpages: 260096
[0.00] free_area_init_node: node 0, pgdat c06847a8, node_mem_map 
c0728000
[0.00]   Normal zone: 1520 pages used for memmap
[0.00]   Normal zone: 0 pages reserved
[0.00]   Normal zone: 193040 pages, LIFO batch:31
[0.00]   HighMem zone: 512 pages used for memmap
[0.00]   HighMem zone: 65024 pages, LIFO batch:15
[0.00] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[0.00] pcpu-alloc: [0] 0 
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 258064
[0.00] Kernel command line: console=ttyS2,115200 console=tty0 selinux=0 
fbcon=font:SUN12x22 fb_size=8M coherent_pool=64M 
[0.00] PID hash table entries: 4096 (order: 2, 16384 bytes)
[0.00] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[0.00] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[0.00] Memory: 1016MB = 1016MB total
[0.00] Memory: 754700k/754700k available, 285684k reserved, 262144K 
highmem
[0.00] Virtual kernel memory layout:
vector  : 0x - 0x1000   (   4 kB)
fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
vmalloc : 0xf000 - 0xff00   ( 240 MB)
lowmem  : 0xc000 - 0xef80   ( 760 MB)
pkmap   : 0xbfe0 - 0xc000   (   2 MB)
modules : 0xbf00 - 0xbfe0   (  14 MB)
  .text : 0xc0008000 - 0xc060f270   (6173 kB)
  .init : 0xc061 - 0xc064dc9c   ( 248 kB)
  .data : 0xc064e000 - 0xc068c6d8   ( 250 kB)
   .bss : 0xc068c6fc - 0xc0727a0c   ( 621 kB)
[0.00] NR_IRQS:16 nr_irqs:16 16
[0.00] sched_clock: 32 bits at 6MHz, resolution 153ns, wraps every 
660764ms
[0.00] Console: colour dummy device 80x30
[0.00] console [tty0] enabled
[0.000816] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[0.040093] pid_max: default: 32768 minimum: 301
[0.040138] Mount-cache hash table entries: 512
[0.044061] CPU: Testing write buffer coherency: ok
[0.044164] ftrace: allocating 16397 entries in 49 pages
[0.071273] hw perfevents: no hardware support available
[0.071344] Setting up static identity map for 0x45c7a8 - 0x45c800
[0.073148] devtmpfs: initialized
[0.101188] NET: Registere

Re: hdmi out

2013-08-17 Thread Barry Vercoe
OK, with tail -f ... messages, I do see a burst of messages and the 
projector shows the exact screen.  But only for 15 seconds, when the 
projector then goes blank and reverts to _No Signal_ until I touch 
something on the XO like the screen, track pad or some key.  Apparently 
the XO has stopped sending hdmi signals, so the projector is reporting 
exactly that.


Is this the XO hdmi port going to sleep?  And do I have control over 
some time constant?
Or perhaps my projector is going blank when it sees no recent activity 
on the port.  Might it be expecting at least a screen refresh over the 
hdmi channel?  I don't have a projector manual that would describe that ...
It seems I can jiggle the HDMI cable a fair bit without issue, so I 
think the physical connection is sound.
Just not clear on who is exercising the time constant in between 
gestures to the XO.


-- b

On 18/08/2013 4:00 p.m., Tom Parker wrote:

On 18/08/13 15:01, Barry Vercoe wrote:

Tom, attached is a file dmesg.output. Sending just to you since I didn't
understand what mailing list you meant.


olpc-devel, Jon Nettleton who was involved with the HDMI code is 
monitoring that list. I've copied them in and re-attached your dmesg 
output.



It may well be a problem with my micro-to-standard hdmi cable, since I
don't hear a click when I plug it in.  The cable is a Pudney P594 Type A
plug to Type D plug, think from Dick Smith (no one else seemed to have
one ...).


The click is a mechanical one and quite faint and doesn't always 
happen. Sometimes you feel it with your fingers rather than hear it.


I have this one http://www.pbtech.co.nz/index.php?z=p&p=CABDNX8018 and 
they also have 2m versions and an adaptor which might be more 
appropriate if it is what I think it is (there's no picture). With an 
adaptor the school would need to supply a regular HDMI cable rather 
than a female-female adaptor and a cable -- whatever length you supply 
will be too short).



Tell me if you don't see the connection in dmesg.  Perhaps a razor blade
to the connector will get it further in till I hear a click (is that
audio out, or physical?)


It's obviously doing something -- you can see the HDMI system start 
and select 1080p:


[   88.056712] Using config for 1920x1080 CEA

This is the last 4 lines you quoted:

[   88.069656] hdmi_video_cfg: I have auto-learned the video frame format
[   88.076560]  hdmi_hpd_work state 0 hdmi_state 1
[   88.992348] work_launch
[   88.992400]  hdmi_hpd_work state 4000 hdmi_state 0

I see the first two of those, but not the second two.

I wonder if you have a bad connection? Try pressing the cable into the 
socket and holding it there.


You can watch the output of this log in real time by typing the 
following into terminal:


tail -f /var/log/messages

It should show you the last few lines of the the log and then print 
out any new log messages. You should see a burst of messages when you 
plug the cable in.


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


Re: hdmi out

2013-08-17 Thread Tom Parker

On 18/08/13 17:05, Barry Vercoe wrote:

OK, with tail -f ... messages, I do see a burst of messages and the
projector shows the exact screen.  But only for 15 seconds, when the
projector then goes blank and reverts to _No Signal_ until I touch
something on the XO like the screen, track pad or some key.  Apparently
the XO has stopped sending hdmi signals, so the projector is reporting
exactly that.


When the display goes blank, does the power light start flashing to 
indicate the laptop has gone to sleep?


Try turning off power saving in the settings. When I was testing, the 
power saving automatically turned off when I plugged in an external 
display and turned on again when I unplugged it, but perhaps this isn't 
working on your laptop?

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


Re: hdmi out

2013-08-17 Thread Jon Nettleton
On Sun, Aug 18, 2013 at 7:26 AM, Tom Parker  wrote:

> On 18/08/13 17:05, Barry Vercoe wrote:
>
>> OK, with tail -f ... messages, I do see a burst of messages and the
>> projector shows the exact screen.  But only for 15 seconds, when the
>> projector then goes blank and reverts to _No Signal_ until I touch
>>
>> something on the XO like the screen, track pad or some key.  Apparently
>> the XO has stopped sending hdmi signals, so the projector is reporting
>> exactly that.
>>
>
> When the display goes blank, does the power light start flashing to
> indicate the laptop has gone to sleep?
>
> Try turning off power saving in the settings. When I was testing, the
> power saving automatically turned off when I plugged in an external display
> and turned on again when I unplugged it, but perhaps this isn't working on
> your laptop?
>

I think you guys are right on about what is happening.  Is this a 13.2.0
build or something older?  I can't remember at what point we added the
hooks to let powerd check for the hdmi connection status and act
accordingly.

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


Re: hdmi out

2013-08-17 Thread Barry Vercoe
Of Course!!  I used to have that problem when I played long Csound demos 
-- overworking the Flt Pt processor yet untouched by human hands ...   I 
don't know why I didn't relate the two situations.


Turned off power saving, and the problem immediately went away.
No, power saving doesn't turn off automatically when hdmi is plugged 
in.  Perhaps it should ...
Or at least we should have a warning distributed with the hdmi cable 
that the port will turn off after 15 seconds with power saving on.


Thanks all.
-- b

On 18/08/2013 5:26 p.m., Tom Parker wrote:

On 18/08/13 17:05, Barry Vercoe wrote:

OK, with tail -f ... messages, I do see a burst of messages and the
projector shows the exact screen.  But only for 15 seconds, when the
projector then goes blank and reverts to _No Signal_ until I touch
something on the XO like the screen, track pad or some key. Apparently
the XO has stopped sending hdmi signals, so the projector is reporting
exactly that.


When the display goes blank, does the power light start flashing to 
indicate the laptop has gone to sleep?


Try turning off power saving in the settings. When I was testing, the 
power saving automatically turned off when I plugged in an external 
display and turned on again when I unplugged it, but perhaps this 
isn't working on your laptop?


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


Re: hdmi out

2013-08-17 Thread Jon Nettleton
On Sun, Aug 18, 2013 at 7:57 AM, Barry Vercoe  wrote:

>  Of Course!!  I used to have that problem when I played long Csound demos
> -- overworking the Flt Pt processor yet untouched by human hands ...   I
> don't know why I didn't relate the two situations.
>
> Turned off power saving, and the problem immediately went away.
> No, power saving doesn't turn off automatically when hdmi is plugged in.
> Perhaps it should ...
> Or at least we should have a warning distributed with the hdmi cable that
> the port will turn off after 15 seconds with power saving on.
>
>
Could you check something quick for me.  Does the status
file /sys/devices/d420b000.display/pxa168fb_gfx.1/hpd exist on your system?

Thanks



> Thanks all.
> -- b
>
> On 18/08/2013 5:26 p.m., Tom Parker wrote:
>
> On 18/08/13 17:05, Barry Vercoe wrote:
>
> OK, with tail -f ... messages, I do see a burst of messages and the
> projector shows the exact screen.  But only for 15 seconds, when the
> projector then goes blank and reverts to _No Signal_ until I touch
> something on the XO like the screen, track pad or some key.  Apparently
> the XO has stopped sending hdmi signals, so the projector is reporting
> exactly that.
>
>
> When the display goes blank, does the power light start flashing to
> indicate the laptop has gone to sleep?
>
> Try turning off power saving in the settings. When I was testing, the
> power saving automatically turned off when I plugged in an external display
> and turned on again when I unplugged it, but perhaps this isn't working on
> your laptop?
>
>
>
> ___
> 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