Re: hdmi out

2013-08-18 Thread Barry Vercoe

Jon, yes the file exists on our system here.  Contains just a zero.
-- barry

On 18/08/2013 6:18 p.m., Jon Nettleton wrote:




On Sun, Aug 18, 2013 at 7:57 AM, Barry Vercoe ba...@laptop.org.au 
mailto:ba...@laptop.org.au 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 mailto:Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel




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


Re: hdmi out

2013-08-18 Thread Barry Vercoe

Jon
new d,esg file attached.
-- barry

On 18/08/2013 9:24 p.m., Jon Nettleton wrote:



On Aug 18, 2013 10:30 AM, Barry Vercoe ba...@laptop.org.au 
mailto:ba...@laptop.org.au wrote:


 Jon, yes the file exists on our system here.  Contains just a zero.

Also when HDMI is plugged in? Could you send me a full dmesg output of 
the HDMI handshake with auto power save enabled?



 -- barry



[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.70] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[0.040123] pid_max: default: 32768 minimum: 301
[0.040485] Mount-cache hash table entries: 512
[0.040485] CPU: Testing write buffer coherency: ok
[0.044097] ftrace: allocating 16397 entries in 49 pages
[0.071309] hw perfevents: no hardware support available
[0.071380] Setting up static identity map for 0x45c7a8 - 0x45c800
[0.073188] devtmpfs: initialized
[0.101220] NET: Registered protocol family 16
[0.162079] DMA: preallocated 65536 KiB pool for atomic coherent allocations
[0.170397] L310 cache controller enabled
[0.170550] l2x0: 8 ways, CACHE_ID 0x88ed, AUX_CTRL 0x3286, Cache 
size: 524288 B
[0.170574] mmp3_fabric_ddr_config: 0x1000, 0x, 0x
[0.170603] mmp3_fabric_ddr_config: DDR interleave size 524288 KB
[0.170625] mmp3_fabric_ddr_config: DDR Port Priority ff003030, ff003030
[0.170768] Dual MC enabled, config 0x20
[0.172108] mmp-sram d103.asram: initialized
[0.175009] mmp-sram d102.vsram: initialized
[0.175412] OLPC board revision 4C2 (EC api 5)
[0.175621] hw-breakpoint: Debug register access (0xee003e17) caused 
undefined instruction on CPU 0
[0.175646] hw-breakpoint: Debug register access (0xee004e52) caused 
undefined instruction on CPU 0
[0.178883] bio: create slab bio-0 at 0
[0.179019] SCSI subsystem initialized
[0.179438] usbcore: registered new interface driver usbfs
[0.179589] usbcore: registered new interface driver hub
[0.179655] usbcore: registered new device driver usb
[0.180208] i2c-gpio 0.camera-i2c: using pins 166 (SDA) and 165 (SCL)
[0.180569] i2c-gpio 0.dcon-i2c: using pins 167 (SDA) and 168 (SCL)
[0.180867] i2c-gpio 0.hdmi-i2c: using pins 5 (SDA) and 4 (SCL)
[0.181452] I2C: i2c-3: PXA I2C adapter
[0.181798] I2C: i2c-4: PXA I2C adapter
[0.182259] I2C: i2c-5: PXA I2C adapter
[0.182718] I2C: i2c-6: PXA I2C adapter
[0.182718] Linux video capture interface: v2.00
[0.182978] Advanced Linux Sound Architecture Driver Version 1.0.25.
[0.183467

Re: hdmi out

2013-08-18 Thread Barry Vercoe

Jon
now with powersave enabled attached
-- barry

On 18/08/2013 9:24 p.m., Jon Nettleton wrote:



On Aug 18, 2013 10:30 AM, Barry Vercoe ba...@laptop.org.au 
mailto:ba...@laptop.org.au wrote:


 Jon, yes the file exists on our system here.  Contains just a zero.

Also when HDMI is plugged in? Could you send me a full dmesg output of 
the HDMI handshake with auto power save enabled?



 -- barry



[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.000847] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[0.040123] pid_max: default: 32768 minimum: 301
[0.040482] Mount-cache hash table entries: 512
[0.040482] CPU: Testing write buffer coherency: ok
[0.044186] ftrace: allocating 16397 entries in 49 pages
[0.071271] hw perfevents: no hardware support available
[0.071271] Setting up static identity map for 0x45c7a8 - 0x45c800
[0.073151] devtmpfs: initialized
[0.104508] NET: Registered protocol family 16
[0.170229] DMA: preallocated 65536 KiB pool for atomic coherent allocations
[0.170229] L310 cache controller enabled
[0.170382] l2x0: 8 ways, CACHE_ID 0x88ed, AUX_CTRL 0x3286, Cache 
size: 524288 B
[0.170406] mmp3_fabric_ddr_config: 0x1000, 0x, 0x
[0.170435] mmp3_fabric_ddr_config: DDR interleave size 524288 KB
[0.170457] mmp3_fabric_ddr_config: DDR Port Priority ff003030, ff003030
[0.170478] Dual MC enabled, config 0x20
[0.172018] mmp-sram d103.asram: initialized
[0.174843] mmp-sram d102.vsram: initialized
[0.175248] OLPC board revision 4C2 (EC api 5)
[0.175456] hw-breakpoint: Debug register access (0xee003e17) caused 
undefined instruction on CPU 0
[0.175481] hw-breakpoint: Debug register access (0xee004e52) caused 
undefined instruction on CPU 0
[0.178641] bio: create slab bio-0 at 0
[0.178852] SCSI subsystem initialized
[0.179271] usbcore: registered new interface driver usbfs
[0.179368] usbcore: registered new interface driver hub
[0.179486] usbcore: registered new device driver usb
[0.180039] i2c-gpio 0.camera-i2c: using pins 166 (SDA) and 165 (SCL)
[0.180398] i2c-gpio 0.dcon-i2c: using pins 167 (SDA) and 168 (SCL)
[0.180698] i2c-gpio 0.hdmi-i2c: using pins 5 (SDA) and 4 (SCL)
[0.181200] I2C: i2c-3: PXA I2C adapter
[0.181620] I2C: i2c-4: PXA I2C adapter
[0.182103] I2C: i2c-5: PXA I2C adapter
[0.182565] I2C: i2c-6: PXA I2C adapter
[0.182565] Linux video capture interface: v2.00
[0.182666] Advanced Linux Sound Architecture Driver Version 1.0.25

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=pp=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 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: Auckland Testing Summary 6 July 2013

2013-07-06 Thread Barry Vercoe
Tom (and I've added Rangan to this thread because Manaia is our first 
XO-Duo deployment).


Thanks for your comprehensive testing yesterday.  I trust we can resolve 
at least some to these before Tabitha and I reflash the 25 new Duos in 
Manaia on Tuesday.


NB:  I've noticed another issue on the _Touch interface_ -- when 
starting any activity via Touch, there's _no choice_ of whether _Resume 
_or _Start New_.  We always get _Resume_.  The Start New option comes 
only via the keypad or external mouse pointer.  Is this the intended 
behaviour?


-- barry

On 6/07/2013 10:01 p.m., Tom Parker wrote:

Auckland Testing Summary 6 July 2013
Who: John, Tabitha, Tom

Testing XO-system 1a For XO-4 (build 46)
Sugar 0.98.7
Firmware Q7B35

Found that my previously described customization script was not 
working right -- the /etc/sysconfig/keyboard change is overwritten 
during first boot! Updated the customization script to also hack 
olpc-configure. Will look at options to do this better later.


Found that this build does not include the Maori translations for 
sugar itself. Worked with CJL to get the language pack into the 
customization script. We’re not sure how we missed this as we have 
done a moderate amount of testing with Maori in previous builds, 
perhaps we saw the activities translated to Maori (activities are 
built differently) and just didn’t notice that sugar itself had no Maori.


The language selector is awful. It’s slow to appear, the drop downs 
don’t work the first time you use them and they scroll very slowly 
compared to the number of entries but too fast to easily spot your 
desired language. Sometimes when changing the language, when you click 
the restart now, nothing happens. If you click restart later and then 
restart the whole laptop the changes seem to take affect.


Some activities that we were expecting to be there, were not (maybe we 
are getting confused between builds prepared for different 
deployments). There is no GetBooks but there is Read (without any 
books!). There is also no Infoslice. There is no SocialCalc. There is 
no eToys.


In Browse we went to activities.sugarlabs.org and tried to use the 
touch screen to write in the search but that didn’t work, you had to 
use the touchpad button to activate the search box. You also couldn’t 
just touch the button that starts the search, you had to use the 
touchpad button (or enter key). You could however use the touchscreen 
to select the activity to go to the activity page and touch to select 
download. Activities did however download successfully, install and 
run (like the Music keyboard activity btw).
There used to be a menu on the left side of the homepage in Browse but 
it has gone on all the XO-4 homepages. You used to use that menu to 
access maps, images and sound files, as well as any published 
Infoslice activity.


Maze works.
Paint works well with touchscreen.
Physics works well with touchscreen.
Implode works well with touchscreen.
Portfolio works.
Measure works well with touchscreen.
Labyrinth works.

Write works and the Maori Macrons (now, after some changes) work. The 
insertion of a table changes the font to times new roman which is not 
actually a listed font available in Write.


We’re not sure if there is a camera in the XO-4 SKU 303 serial 
SHC318001EC we just got from Australia, there is something there but 
it is at best mis-aligned. This laptop did get banged against a wall 
on it’s handle while it was closed. The direction of the impact was 
mostly parallel with the plane of the shut laptop and wasn’t too 
severe. Could this move the camera in the body of the laptop and also 
break it? Firmware camera test fails, record behaves reasonably (it 
only offers to record sound). Barry reports the second XO from the 
pair in this shipment has a working camera. The XO-4 we got from 
Boston does recognise it’s camera on and it can take high and low 
quality video well. Will take photographs and wait for advice before 
opening.


Moon still fails to start when the XO language is Maori. Previously 
reported in https://sugardextrose.org/issues/3971
Clock - loving the new grab hands feature, still doesn’t talk when XO 
is in Maori. Maori issue also reported in the same 3971 ticket.


Labyrinth and Maze are both called Kōwhīwhiwhi - suggests an 
inappropriate translation of Labyrinth (guess it should be translated 
to a word more appropriate for brainstorm/mindmap activity).


On some laptops terminal is called Terminal and on others it is called 
Kāpeka.


WikipediaEN has not had an activity name translation either but this 
might be deliberate.


Turtleblocks activity has a partial translation inside the activity 
due to new blocks being added. The name of the Turtleblocks activity 
has not been translated (but again that might be deliberate).


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


Re: Māori Macrons olpc keyboard

2013-06-25 Thread Barry Vercoe
Tom, it's not correct to say the laptops will remain in Maori.  Many 
schools have both Maori and English classes, and the ability of these 
machines to cross the boundary, to have a child work either in their 
first language or (with a simple switch in Settings-Language) to gain 
experience in another, is one of our strong features.  Having the switch 
relatively easy is a great, and I've seen some kids do it while I'm 
supposedly talking to them.


Incidentally, there's a _bug _when declaring the second language 
second.  It seems that whichever language is _last declared_ becomes the 
current language in which alternative languages are expressed -- as for 
instance for the list within _Speak_. Since I don't yet have a Maori 
version of the ESPEAK voice engine (takers anyone?), and since English 
pronunciation and prosody is a poor substitute, I routinely tell the 
children typing in Maori to set the _Speak _language to Vietnamese.  
This is a surprisingly good substitute.  But it becomes hard to find if 
someone has last set the login 2nd language to Arabic.  This bug 
shouldn't be hard to fix.  Until then, declare your #2 language first, 
and your #1 language last.


-- barry

On 25/06/2013 10:51 p.m., Tom Parker wrote:

On 24/06/13 23:43, Walter Bender wrote:

Which build are you running? In the latest Sugar builds, there is a
keyboard settings control panel section. We could probably backport it
to your build if it is reasonably recent.


I don't know which build they are running. I've tried

One Education OS 1.2 (build au889) with Sugar 0.94.1
13.2.0 for XO-4 (build 10) with Sugar 0.98.7
XO-system 1a for XO-4 (build 34) with Sugar 0.98.7

and none of them have a keyboard settings thing.

I don't think a keyboard settings control panel is immediately 
necessary as the laptops will remain in Maori. It would be good in a 
future release if we could say after reflashing, set your language 
and keyboard to maori without having to resort to customizations.



Meanwhile, we may have to make a new X keyboard symbols file for you
that does the right thing. Not impossible to get upstreamed.


I wasn't really able understand the /usr/share/X11/xkb directory, but 
using xkbcomp to retrieve the current config, modify it and return it 
to the X server does the trick.


Is there a document that describes the right way to add a keyboard 
and select it? Using xkbcomp in a startup script might work but is 
obviously a hack. 
http://wiki.laptop.org/go/Creating_A_New_Keyboard_Layout seems to 
cover this but appears to be out of date.


Until we get feedback from the actual users about what they want their 
keyboards to do, I think it's best to customize the build they have 
rather than upstream something and get a new build.


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


Re: [OLPC New Zealand] Māori Macrons olpc keyboard

2013-06-24 Thread Barry Vercoe

Hi, on SHC 205002233
running 13.1.0 for XO-1.75 (build 20)
with Sugar 0.98.2
firmware Q4D24

For Text in both Write and Turtle Art (the Title panel):
vowel + altgr - gives the Combining Macron, i.e. two bkspcs to 
remove the letter
But if either Activity is saved to the Journal and we write into its 
Description panel
vowel + altgr - gives the Unicode version, i.e. one bksp removes 
the letter.


So we do have the right behavior in there somewhere.
-- barry


On 25/06/2013 12:13 a.m., Walter Bender wrote:

On Mon, Jun 24, 2013 at 8:12 AM, Jerry Vonau je...@laptop.org.au wrote:


On 24 June 2013 06:43, Walter Bender walter.ben...@gmail.com wrote:

Which build are you running? In the latest Sugar builds, there is a
keyboard settings control panel section. We could probably backport it
to your build if it is reasonably recent.


In OLPC's  Dextrose's versions of sugar the sugar-cp-keyboard rpm doesn't
get installed. Think there is a conflict over the keyboard with
olpc-configure supplied by olpc-utils.

I can poke around to see if I can get it to work.

-walter


Jerry


Meanwhile, we may have to make a new X keyboard symbols file for you
that does the right thing. Not impossible to get upstreamed.

regards.

-walter

On Mon, Jun 24, 2013 at 6:53 AM, Tom Parker t...@carrott.org wrote:

Hi,

I'm looking at how you enter a macron for Māori language users.

It seems that the olpc us international keyboard binds a ̄  COMBINING
MACRON
(unicode U+0304) to algr + hyphan. When typed after the letter a you get
ā
which is similar to but not the same as ā LATIN SMALL LETTER A WITH
MACRON
(unicode U+0101).

Issues I've noted with a small amount of testing:

On older builds, Write does not correctly load files containing the
combining macron.
The combining macron is not rendered at the correct height for lower
case
letters. (on older builds this seems to be the case all the time, on
newer
builds, it is rendered correctly after loading a file until you delete a
following character the on the same line, then it jumps up)
You can have more than one combining macron, they stack.
You have to delete twice, once to delete the macron and again to delete
the
character.

Have these issues come up before? I don't see any. I will raise tickets
for
the bugs rendering the macron in the latest version of write shortly.
I'm
not sure if anyone wants a ticket for older builds? Obviously stacking
macrons is by-design when using the combining macron character (see
https://twitter.com/glitchr_/ for more improbable outcomes of combining
characters, perhaps your browser will crash).

I haven't yet experimented with entering the ā U+0101 characters into
sugar
(tomorrow!)

Apparently on Windows, the Māori keyboard is set up such that when you
hit
the grave (apparently this is what I have always called the backtick)
key
and then one of the vowels, you get the macron version of the vowel. I
haven't seen this in action but Māori typists claim it is very
efficient.

Gnome on Ubuntu on my laptop binds right-alt-a to ā U+0101 when using
the
Māori keyboard layout. I'm not sure how Maori typists feel about this
inconsistency with windows.

When you choose the language in sugar, can this change the keyboard
layout
too? If not, what is the recommended way to configure this?

How complex is it to change the localization of the keyboard for the
Maori
language? The xkb files don't look too complicated. Is the grave - vowel
=
macron vowel possible while still preserving the backtick for shell
scripting? I haven't seen the laptops in question but I'm told they have
the
Australian simplified key caps, so changing the existing alt-gr mappings
to
render macron vowels (ie to mimic the Maori keyboard option on
Gnome-Ubuntu)
instead of the existing mappings won't confuse the key caps.

Obviously touching all the laptops to change how the keyboard works is a
pain and the change is potentially erased by future updates.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel



--
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
OLPC-NZ mailing list
olpc...@lists.laptop.org
http://lists.laptop.org/listinfo/olpc-nz





--
Walter Bender
Sugar Labs
http://www.sugarlabs.org


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


Re: ARM gcc with alsa

2011-09-22 Thread Barry Vercoe

Gozalo

Well, the targets of most Csoundxo bindings don't exist in Fedora 14 
Csound, which sadly doesn't comply with the full Midi spec, nor does it 
have fixed-point opcode options which in Csoundxo run about 60% faster 
on most processors (I've yet to test this on the 1.75's Armada 610).  
Faster audio processing frees up more mips for graphic interaction -- 
such as in the XO Music Painter activity.  The fork came about since my 
original Csound was developed for larger machines (and has continued 
that tradition), while Csoundxo is tailored to lower-power processors 
which conform to the price-point of affordable XO education in really 
disadvantaged countries.  The TamTam suite isn't a good example since it 
makes mostly trivial demands on either Csound.


I will continue trying to resolve the ALSA issues for Csoundxo, which 
runs just fine on 386 installs.

Any help appreciated.

-- barry

On 9/23/2011 1:33 AM, Gonzalo Odiard wrote:



On Wed, Sep 21, 2011 at 5:33 AM, Barry Vercoe b...@media.mit.edu 
mailto:b...@media.mit.edu wrote:


I'm the original author of Csound, and more recently of CsoundXO
made especially for the OLPC XO laptop.  Both are C-language
programs, the latter with a set of fast Python bindings for
development of special interactive XO Activities (applications).

Great!

Can the bindings be packaged, and use the csound version available in 
Fedora 14?


This bindings, can be used by example in the TamTam Suite?

Regards,

Gonzalo

To compile csoundxo on the latest XO 1.75 ARM machine I did the
following (native):

yum install gcc
yum install alsa-lib-devel-1.0.24-1.fc14.armv5tel.rpm
gcc -o csoundxo -I/usr/include -I./include -D_POSIX_C_SOURCE 
-L/usr/lib -lasound -lm  ./csrc/*.c


The install appears to be missing an alsa component, including I
suspect a PulseAudio plugin config, which then fails to resolve
references to things like
snd_pcm_sw_params_t

Where do I find the right code for this ARM machine?

Thx
Barry Vercoe

Prof Emeritus MIT Media Lab
http://web.media.mit.edu/~bv http://web.media.mit.edu/%7Ebv

Dir of Education and Engineering, OLPC Australia
ba...@laptop.org.au mailto:ba...@laptop.org.au
+61 409 627 410








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




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