Re: [IAEP] ANNOUNCE: F11-0.88 Alpha2 (os258py)
On Sat, Jun 12, 2010 at 20:03, Bernie Innocenti ber...@codewiz.org wrote: This is the Alpha2 milestone of our Sugar 0.88 series for XO. Please refer to this page for the current status and download instructions: http://wiki.sugarlabs.org/go/Deployment_Team/Sugar-0.88_Notes Surprise surprise! We now have parallel builds for both the XO-1 and the XO-1.5! I'll make an effort to keep the releases synchronized so people can test on both platforms, but at this time we have no resources to work on platform specific bugs affecting the XO-1.5. == Changes relative to the previous release (os240py) == * Include Sugar 0.88.1 packages (pbrobinson) * Rebase unmerged patches on top of 0.88.1 and shave off a few which are no longer needed. The queue is still very long, help is needed to upstream as many as possible before release * Disabled the hot corners for the frame, as requested by participants of the OLPC Realness Summit. I'm not convinced this is really a gain, but let's first see how many people ask to revert this change (tch, bernie) * Disable sshd startup to save time/memory (bernie) * add IRC and SIP protocols to Empathy client (bernie) * Include the Words activity (bernie) * Add a few small content bundles (bernie) * Pull latest OS updates from upstream (fedora) == Bugs fixed in this release == * xulrunner 1.9.2, attempting to fix font size problems (bernie) http://bugs.sugarlabs.org/ticket/2018 * Prevent double-clicks on entries in the journal from opening 2-3 instances of the same activity (tch) * Rework code to read name widget in the activity toolbar, although there are still ways to fool it (bernie) http://bugs.sugarlabs.org/ticket/1948 * Fix font size in Terminal (jasg) * Fix layout of Record UI, although with a temporary kludge (m_anish) * Reconnect to last AP on startup (erikos) http://bugs.sugarlabs.org/ticket/1883 * Fix the nefarious 1-dot boot hang bug (dsd, bernie) * Make search box in library homepage narrower so it doesn't overflow (bernie) * Avoid duplicated mesh icons in neighborhood view (tch) * Proper Geode video driver fix for the black boxes on buttons bug in GNOME. Note, (frank_huang) https://bugs.freedesktop.org/show_bug.cgi?id=15700 http://dev.laptop.org/ticket/10076 NOTE: for safety, I have not yet removed the MigrationHeuristic option in xorg.conf. Please, try testing without it. == Known bugs == We still have a bunch of serious regressions still open: * ALT-TAB does not switch between apps (tch, quozl, bernie) * Activities sometimes start and remain in window. Window appears at least briefly on all launches. (aa?) * Pulsing launch icon is delayed or absent; occasional activity failed to start message then the activity starts (tch) * Measure sometimes locks up on recording, quitting from frame then brings up metacity dialog activity is not responding (I could never reproduce this myself) * Font in Write is small and text does not fill the screen width (jasg) * Browse: sometimes clicking links in frames creates tabs (need someone to look at this. aa?) * Turtle Blocks: ctrl-c ctrl-v sometimes do not work (walter) * Sugar sometimes restarts; only seen 3 times, twice clicking on journal and once deleting a journal entry (can't reproduce this, maybe a geode driver bug. Next time please check /var/log/Xorg.0.log.old and other logs) All the above bugs seem quite hard. Any help fixing them would be greatly appreciated. == How to help testing == Feedback from the entire community is very appreciated, although we're not planning any further releases of the Sugar 0.84 series. Bugs affecting upstream components are better filed in their respective trackers: * Sugar and activities: http://bugs.sugarlabs.org/ * Fedora 11: http://bugzilla.redhat.com/ * Drivers and OLPC OS customizations: http://dev.laptop.org/ * Paraguay-specific bugs: http://trac.paraguayeduca.org/ If you're unsure where a bug belongs to, use the Paragauy Educa tracker. Please, always assign these bugs to Carlos, who will keep our status summary updated. == Acknowledgments == I wish to thank Paraguay Educa and Activity Central for providing essential engineering resources to make this effort possible. Indeed, this is awesome work! Keep it up, Tomeu I also appreciate the expertise and support of many dedicated community developers and testers. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
On 14.06.2010, at 06:24, Chris Ball wrote: Hi Bert, Copied ~olpc/Activities/Sratch.activity/vm-sound-ALSA plugin to /usr/lib/squeak/3.10-5/. After that, in Etoys playback sounds a bit worse, but it's still okay (hard to tell actually). And no freeze after suspend, playing just resumes. So it would be a good idea to use that ALSA plugin for Squeak in general, me thinks. Could we get a squeak/etoys package with a fixed alsa-plugin ASAP, please? Someone would need to rebuild Fedora's squeak-vm-3.10-5 package with Derek's patched sqUnixSoundALSA.c file (attached to the forwarded msg below). The etoys package is unaffected. Unless you can/want to use his binary, that is. Yes, does sound a bit like hardware. Can I get a replacement? Preferably the HS version once it's ready? ;) - Bert - Begin forwarded message: From: Derek O'Connell d...@doconnel.f9.co.uk Date: 9. Juni 2010 21:33:39 MESZ To: Chris Ball c...@laptop.org Cc: John Maloney jmalo...@media.mit.edu, Bert Freudenberg b...@freudenbergs.de, Paul Fox p...@laptop.org Subject: Re: alsa fix4 fix5 attached. On 09/06/10 18:48, Chris Ball wrote: Hi John, Hi, Chris. I can build a new Scratch XO release. But first a few questions: a. Shouldn't this fixed ALSA go into the Etoys release, where it can be shared by both Scratch and Etoys? Ah, sounds like it. b. If I just put the new ALSA plugin file in the Scratch activity, are we sure it will get loaded? (i.e. does it override the version in the Squeak VM folder)? c. I confess, got busy with other things, so I haven't tested this. I know Derek has. Anyone else? Dunno about these. We can certainly help test a new build. d. Should I remove Bert's shell script code that suppresses power management? Yes, please. e. What's your time frame? We were hoping to release on Friday, but we can afford to delay until this fix is ready. Thanks! - Chris. alsa-xo-1.5-fix5.tar.gz Description: GNU Zip compressed data ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
Hi, Bert. Re: Tried sound playback in Scratch, it's choppy, many clicks to hear. Suspended fine, resumed playing sound. Recording does not freeze the activity, but has bad quality. Derek says that the recorded sound is actually okay if you export it and play it with a good sound player. Does that fit with your experience? The choppy sound in Scratch is known; the fact that it works in EToys makes me think that Scratch would work, too, with the right buffer size and sampling rate. I'll try a few variations... -- John ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
On Mon, Jun 14, 2010 at 9:58 AM, Bert Freudenberg b...@freudenbergs.de wrote: On 14.06.2010, at 06:24, Chris Ball wrote: Hi Bert, Copied ~olpc/Activities/Sratch.activity/vm-sound-ALSA plugin to /usr/lib/squeak/3.10-5/. After that, in Etoys playback sounds a bit worse, but it's still okay (hard to tell actually). And no freeze after suspend, playing just resumes. So it would be a good idea to use that ALSA plugin for Squeak in general, me thinks. Could we get a squeak/etoys package with a fixed alsa-plugin ASAP, please? Someone would need to rebuild Fedora's squeak-vm-3.10-5 package with Derek's patched sqUnixSoundALSA.c file (attached to the forwarded msg below). The etoys package is unaffected. I'm happy to apply a patch to the etoys package in Fedora if someone can provide me a patch rather than a complete new source file. Peter ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
On 14.06.2010, at 13:01, John Maloney wrote: Hi, Bert. Re: Tried sound playback in Scratch, it's choppy, many clicks to hear. Suspended fine, resumed playing sound. Recording does not freeze the activity, but has bad quality. Derek says that the recorded sound is actually okay if you export it and play it with a good sound player. Does that fit with your experience? Yes, it seems to be playback-related. Actually, Sayamindu fixed that already, but it got reverted with Derek's anti-freeze patch. He just made a combined version: http://dev.laptop.org/ticket/9375 - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
On Mon, Jun 14, 2010 at 12:29 PM, Derek O'Connell d...@doconnel.f9.co.uk wrote: Hi Peter, I don't have much experience creating patches so please let me know if the attached is the wrong format for your purposes. Created using: diff -cB /home/doc/std/dev/squeak/vm/3.10-5/unix-3.10-5/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c /home/doc/std/dev/squeak/vm/3.11.3/src/squeak-svn/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c sqUnixSoundALSA.patch If you could use 'diff -u origfile newfile output.patch' from the root of the source tree that would be better. Thanks, Peter On 14/06/10 11:58, Peter Robinson wrote: On Mon, Jun 14, 2010 at 9:58 AM, Bert Freudenbergb...@freudenbergs.de wrote: On 14.06.2010, at 06:24, Chris Ball wrote: Hi Bert, Copied ~olpc/Activities/Sratch.activity/vm-sound-ALSA plugin to /usr/lib/squeak/3.10-5/. After that, in Etoys playback sounds a bit worse, but it's still okay (hard to tell actually). And no freeze after suspend, playing just resumes. So it would be a good idea to use that ALSA plugin for Squeak in general, me thinks. Could we get a squeak/etoys package with a fixed alsa-plugin ASAP, please? Someone would need to rebuild Fedora's squeak-vm-3.10-5 package with Derek's patched sqUnixSoundALSA.c file (attached to the forwarded msg below). The etoys package is unaffected. I'm happy to apply a patch to the etoys package in Fedora if someone can provide me a patch rather than a complete new source file. Peter ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Generating signed builds for Afghanistan
[cc += de...@lists.laptop.org] El Mon, 14-06-2010 a las 15:07 +0430, javed khan escribió: i am working in Ministry of Education Kabul Afghanistan OLPC team as software developer and technical support officer. Say hello to Mike Dawson from me! which linux os is best for developing olpc custom images? I'm using Fedora 13 (x86_64) to create my images. Older versions of Fedora also work. If you also need to rebuild system RPM packages, you may also need to keep an old Fedora 11 box around. I use one of our servers for this purpose. how to sign a custom image for xo's in my country ? I thought that laptops in Afghanistan were being deployed unlocked. In which case, you don't need to sign your builds. If you need to implement the theft-deterrence system, you should generate a set of key-pairs for your deployment using the bios-crypto package, and load the public firmware key into the manufacturing data of all your laptops. Some info: http://wiki.laptop.org/go/Firmware_security#Multiple-Key_Support http://wiki.laptop.org/go/OLPC_Bitfrost You will also have to setup a central activation server, or use the new delegation scheme developed for Peru, which enables schoolservers to generate activations autonomously. Martin Langhoff and Daniel Drake are the most up-to-date people on this topic. Some information here: http://wiki.laptop.org/go/Theft_deterrence_protocol Then, you can configure olpc-os-builder to create signed builds. This is the easiest part. All you have to do is add something like this to your configuration: [signing] bios_crypto_path=/home/bernie/src/olpc/bios-crypto skey=/home/bernie/src/olpc/keys/pys1 okey=/home/bernie/src/olpc/keys/pyo1 wkey=/home/bernie/src/olpc/keys/pyw1 The entire anti-theft scheme is very complicated and requires a lot of expertise to implement. In Paraguay, we have to deal with it almost every day even after one year. In my opinion, the engineering effort to implement the anti-theft system is justified only if large quantities of laptops are being stolen every year. how to put custom image into school server so the xo's can update from ? This requires olpc-update. The server side is a python program which wraps rsync. Depending what version of the OS your laptops are running, they may or may not ask the schoolserver for updates. Try running olpc-update from the command line and spy what it is doing on the network. Another effective way to update many laptops consists in setting up a NANDblaster server in the school: http://wiki.laptop.org/go/Multicast_NAND_FLASH_Update This will wipe the flash, so children and teachers need to be warned ahead of time so they have time to backup important activities to a USB stick. PS: I suggest you change your subscription to non-digest mode, as it makes very hard to follow threads and reply to others. Usually email clients can filter incoming mailing-list mail into separate folders. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Generating signed builds for Afghanistan
Javed - The best way to get support for your efforts is to work through OLPC's country support team, since we have a working relationship with the Afghan MOE. I will follow up with contact information so you can get the support you need. Thanks! - Ed Ed McNierney CTO One Laptop per Child e...@laptop.org +1 (978) 761-0049 On Jun 14, 2010, at 8:11 AM, Bernie Innocenti wrote: [cc += de...@lists.laptop.org] El Mon, 14-06-2010 a las 15:07 +0430, javed khan escribió: i am working in Ministry of Education Kabul Afghanistan OLPC team as software developer and technical support officer. Say hello to Mike Dawson from me! which linux os is best for developing olpc custom images? I'm using Fedora 13 (x86_64) to create my images. Older versions of Fedora also work. If you also need to rebuild system RPM packages, you may also need to keep an old Fedora 11 box around. I use one of our servers for this purpose. how to sign a custom image for xo's in my country ? I thought that laptops in Afghanistan were being deployed unlocked. In which case, you don't need to sign your builds. If you need to implement the theft-deterrence system, you should generate a set of key-pairs for your deployment using the bios-crypto package, and load the public firmware key into the manufacturing data of all your laptops. Some info: http://wiki.laptop.org/go/Firmware_security#Multiple-Key_Support http://wiki.laptop.org/go/OLPC_Bitfrost You will also have to setup a central activation server, or use the new delegation scheme developed for Peru, which enables schoolservers to generate activations autonomously. Martin Langhoff and Daniel Drake are the most up-to-date people on this topic. Some information here: http://wiki.laptop.org/go/Theft_deterrence_protocol Then, you can configure olpc-os-builder to create signed builds. This is the easiest part. All you have to do is add something like this to your configuration: [signing] bios_crypto_path=/home/bernie/src/olpc/bios-crypto skey=/home/bernie/src/olpc/keys/pys1 okey=/home/bernie/src/olpc/keys/pyo1 wkey=/home/bernie/src/olpc/keys/pyw1 The entire anti-theft scheme is very complicated and requires a lot of expertise to implement. In Paraguay, we have to deal with it almost every day even after one year. In my opinion, the engineering effort to implement the anti-theft system is justified only if large quantities of laptops are being stolen every year. how to put custom image into school server so the xo's can update from ? This requires olpc-update. The server side is a python program which wraps rsync. Depending what version of the OS your laptops are running, they may or may not ask the schoolserver for updates. Try running olpc-update from the command line and spy what it is doing on the network. Another effective way to update many laptops consists in setting up a NANDblaster server in the school: http://wiki.laptop.org/go/Multicast_NAND_FLASH_Update This will wipe the flash, so children and teachers need to be warned ahead of time so they have time to backup important activities to a USB stick. PS: I suggest you change your subscription to non-digest mode, as it makes very hard to follow threads and reply to others. Usually email clients can filter incoming mailing-list mail into separate folders. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ 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: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
Hi, Bert and Derek. Derek just send me the combined version. I tested playback and recording on the XO 1.5 and it was perfect. Hooray! I did NOT test to verify that it survives suspect resume, as Derek's previous version did. Hopefully someone else has verified that. It sounds as though this fixed version of the ALSA plugin will get into the XO Squeak VM package. In that case, should I omit it from the next version of Scratch? (A new version of XO Scratch is coming soon to include the Lego WeDo plugin which Derek just finished.) Many thanks to Derek and Sayamindu for their hard work. -- John On Jun 14, 2010, at 7:08 AM, Bert Freudenberg wrote: On 14.06.2010, at 13:01, John Maloney wrote: Hi, Bert. Re: Tried sound playback in Scratch, it's choppy, many clicks to hear. Suspended fine, resumed playing sound. Recording does not freeze the activity, but has bad quality. Derek says that the recorded sound is actually okay if you export it and play it with a good sound player. Does that fit with your experience? Yes, it seems to be playback-related. Actually, Sayamindu fixed that already, but it got reverted with Derek's anti-freeze patch. He just made a combined version: http://dev.laptop.org/ticket/9375 - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
Hi, Which source tree root are you referring to? The sources for the current Fedora package. A source rpm has a tarball of the sources, and optionally a series of patch files relative to that upstream tarball. Not sure where to find those sources though, I'm not too familiar with Fedora procedures. Here's the latest build: http://koji.fedoraproject.org/koji/buildinfo?buildID=148721 The .src.rpm contains a specfile (that describes which patches to apply on the tarball) and the tarball and patches. If you want to unpack the .src.rpm on a machine that isn't running Fedora, I think you'll need rpm2cpio and cpio: rpm2cpio squeak-vm-3.10.5-2.fc11.src.rpm | cpio -idmv Thanks, - Chris. -- Chris Ball c...@laptop.org One Laptop Per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Anyone playing with Ubuntu on XO-1.5?
On Mon, Jun 14, 2010 at 11:06 AM, Martin Langhoff martin.langh...@gmail.com wrote: [ Put aside the tinfoil hats (there's no Ubuntu conspiracy) and the distro flames (no, I don't want to know which one is better). ] Curious minds want to know... At this point Sugar on Ubuntu is unusable broken. Activity Central has signed a 12 month contract with Seeta.in to create and maintain Ubuntu on Sugar. I hope that by Aug we will have a usable set of packages which can be test on the XO-1.5. As all ways, community support is appreciated. A working Sugar on Ubuntu is just one of several protects which I feel need to be nudged into moving forward and I am just 'putting my money where my mouth is' to make it happen. david Have you installed, or tried to install vanilla(ish) Ubuntu on an XO-1.5? If yes, which version? What install process? Did it work? Drivers missing our outdated? Did you have to grab custom packages? (which ones?) 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 ___ 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: Anyone playing with Ubuntu on XO-1.5?
On Mon, Jun 14, 2010 at 18:33, David Farning dfarn...@gmail.com wrote: On Mon, Jun 14, 2010 at 11:06 AM, Martin Langhoff martin.langh...@gmail.com wrote: [ Put aside the tinfoil hats (there's no Ubuntu conspiracy) and the distro flames (no, I don't want to know which one is better). ] Curious minds want to know... At this point Sugar on Ubuntu is unusable broken. Activity Central has signed a 12 month contract with Seeta.in to create and maintain Ubuntu on Sugar. I hope that by Aug we will have a usable set of packages which can be test on the XO-1.5. As all ways, community support is appreciated. A working Sugar on Ubuntu is just one of several protects which I feel need to be nudged into moving forward and I am just 'putting my money where my mouth is' to make it happen. I know the work you are sponsoring must be costing you lots, but if you could sponsor someone to attend the next UDS, I think it will pay off greatly. I have to confess than in the Maverick UDS there was a blueprint about Sugar but I messed the schedule up and attended something else instead :( But once you get there, and if you can find the right person, you can have a much better upstream-downstream conversation than most people think. https://blueprints.launchpad.net/ubuntu/+spec/community-maverick-edubuntu-packages Regards, Tomeu david Have you installed, or tried to install vanilla(ish) Ubuntu on an XO-1.5? If yes, which version? What install process? Did it work? Drivers missing our outdated? Did you have to grab custom packages? (which ones?) 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 ___ 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 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Paraguay's os-builder
On 14 June 2010 11:22, Esteban Bordon ebor...@plan.ceibal.edu.uy wrote: which is that repo? olpc-os-builder is using http://xs-dev.laptop.org/~dsd/repos/f11/ for ilpc-utils and the latest version is 1.0.22-2 oops. Chris, Sayamindu, (and me - done), please delete your f11 olpc-utils public RPMs. They are blocking olpc-utils-1.0.23 which can be found in Fedora. Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Paraguay's os-builder
Hi, oops. Chris, Sayamindu, (and me - done), please delete your f11 olpc-utils public RPMs. They are blocking olpc-utils-1.0.23 which can be found in Fedora. Done, for both mine and Sayamindu's. Thanks, - Chris. -- Chris Ball c...@laptop.org One Laptop Per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Anyone playing with Ubuntu on XO-1.5?
On Mon, Jun 14, 2010 at 11:53 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Mon, Jun 14, 2010 at 18:33, David Farning dfarn...@gmail.com wrote: On Mon, Jun 14, 2010 at 11:06 AM, Martin Langhoff martin.langh...@gmail.com wrote: [ Put aside the tinfoil hats (there's no Ubuntu conspiracy) and the distro flames (no, I don't want to know which one is better). ] Curious minds want to know... At this point Sugar on Ubuntu is unusable broken. Activity Central has signed a 12 month contract with Seeta.in to create and maintain Ubuntu on Sugar. I hope that by Aug we will have a usable set of packages which can be test on the XO-1.5. As all ways, community support is appreciated. A working Sugar on Ubuntu is just one of several protects which I feel need to be nudged into moving forward and I am just 'putting my money where my mouth is' to make it happen. I know the work you are sponsoring must be costing you lots, but if you could sponsor someone to attend the next UDS, I think it will pay off greatly. +1. Canonical has offer to sponsor two developer to the next UDS:) I have to confess than in the Maverick UDS there was a blueprint about Sugar but I messed the schedule up and attended something else instead :( But once you get there, and if you can find the right person, you can have a much better upstream-downstream conversation than most people think. Phase one is improving the relationship with Debian and establishing credibility:) As a summer internship LukeF is acting as a tour guide to Debian and Ubuntu. For phase two, I hope that we can show up at the next UDS with a working product (show me the code) and a skill team for developers and maintainers. david https://blueprints.launchpad.net/ubuntu/+spec/community-maverick-edubuntu-packages Regards, Tomeu david Have you installed, or tried to install vanilla(ish) Ubuntu on an XO-1.5? If yes, which version? What install process? Did it work? Drivers missing our outdated? Did you have to grab custom packages? (which ones?) 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 ___ 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 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Anyone playing with Ubuntu on XO-1.5?
On Mon, Jun 14, 2010 at 19:17, David Farning dfarn...@gmail.com wrote: On Mon, Jun 14, 2010 at 11:53 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Mon, Jun 14, 2010 at 18:33, David Farning dfarn...@gmail.com wrote: On Mon, Jun 14, 2010 at 11:06 AM, Martin Langhoff martin.langh...@gmail.com wrote: [ Put aside the tinfoil hats (there's no Ubuntu conspiracy) and the distro flames (no, I don't want to know which one is better). ] Curious minds want to know... At this point Sugar on Ubuntu is unusable broken. Activity Central has signed a 12 month contract with Seeta.in to create and maintain Ubuntu on Sugar. I hope that by Aug we will have a usable set of packages which can be test on the XO-1.5. As all ways, community support is appreciated. A working Sugar on Ubuntu is just one of several protects which I feel need to be nudged into moving forward and I am just 'putting my money where my mouth is' to make it happen. I know the work you are sponsoring must be costing you lots, but if you could sponsor someone to attend the next UDS, I think it will pay off greatly. +1. Canonical has offer to sponsor two developer to the next UDS:) I have to confess than in the Maverick UDS there was a blueprint about Sugar but I messed the schedule up and attended something else instead :( But once you get there, and if you can find the right person, you can have a much better upstream-downstream conversation than most people think. Phase one is improving the relationship with Debian and establishing credibility:) As a summer internship LukeF is acting as a tour guide to Debian and Ubuntu. For phase two, I hope that we can show up at the next UDS with a working product (show me the code) and a skill team for developers and maintainers. Sounds like a good strategy. Btw, about hulahop and pyxpcom, Micah Gersten told me at the UDS that they would love to have pyxpcom working on Ubuntu but that they need first to take care of some infrastructure issues. In a few weeks, it may be possible to package hulahop for Maverick and backport it to an older release. But of course, a PPA might be good enough for the moment. Regards, Tomeu david https://blueprints.launchpad.net/ubuntu/+spec/community-maverick-edubuntu-packages Regards, Tomeu david Have you installed, or tried to install vanilla(ish) Ubuntu on an XO-1.5? If yes, which version? What install process? Did it work? Drivers missing our outdated? Did you have to grab custom packages? (which ones?) 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 ___ 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 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Anyone playing with Ubuntu on XO-1.5?
On Mon, Jun 14, 2010 at 12:06 PM, Martin Langhoff martin.langh...@gmail.com wrote: Curious minds want to know... Have you installed, or tried to install vanilla(ish) Ubuntu on an XO-1.5? If yes, which version? What install process? Did it work? Drivers missing our outdated? Did you have to grab custom packages? (which ones?) Interesting notes about Sugar. I was thinking more practically of vanilla ubuntu. Does it boot (given an appropriate olpc.fth? How are we with kernel drivers? xorg? Sound? Wlan? 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 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Anyone playing with Ubuntu on XO-1.5?
martin wrote: On Mon, Jun 14, 2010 at 12:06 PM, Martin Langhoff martin.langh...@gmail.com wrote: Curious minds want to know... Have you installed, or tried to install vanilla(ish) Ubuntu on an XO-1.5? If yes, which version? What install process? Did it work? Drivers missing our outdated? Did you have to grab custom packages? (which ones?) Interesting notes about Sugar. I was thinking more practically of vanilla ubuntu. Does it boot (given an appropriate olpc.fth? How are we with kernel drivers? xorg? Sound? Wlan? it would have to run our kernel -- or, at least, a rebuilt ubuntu kernel that included our drivers. a lot of work was done for ubuntu on XO-1. much of that work might be applicable as well. i don't have a link handy, i'm afraid. paul =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Testing] F11-for-XO1.5 Release 10.1.1 Release Candidate 2
On 14.06.2010, at 03:47, James Cameron wrote: On Sun, Jun 13, 2010 at 05:32:12PM +0200, Bert Freudenberg wrote: Installed on my 1.5 after updating the firmware to q3a39. Typing boot in OFW right after fs-update froze the machine. Unpredictable behaviour is known to occur if you try to boot after fs-update, you should use bye. Ah, okay. But that shouldn't have done permanent damage, right? Should I reflash? Powered off (long-press on power button) and booted. Let it sit idle for a while in the first-time Sugar screen (name dialog) - machine froze. It should idle suspend. It should not freeze. It does idle suspend. When the LED starts blinking and I touch the pad it wakes up fine. Just when I come back after some time of idling, it doesn't wake up anymore. The freeze happens sometimes with the screen still lit, sometimes after it turned off. However, after letting the machine sit idle for a while (even just after booting, still in the Sugar home screen), the whole machine froze. Power LED was still on. Had to power-cycle. Does not happen all the time, but twice already. Maybe it's my machine (one of the first C-test ones)? Sounds bad. Do you have a serial port attached? I ask because I suspect a kernel panic and a serial port is a practical way to obtain more problem data. No, I don't have one. Might also be worth running memtest from OFW as well, just to exclude certain other causes. Ran memtest (from 30m up as Richard suggested), passed, no errors. I also took out the battery to make sure everything is reset. Still freezes when I let it sit long enough. - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Anyone playing with Ubuntu on XO-1.5?
On 06/14/2010 02:46 PM, Paul Fox wrote: a lot of work was done for ubuntu on XO-1. much of that work might be applicable as well. i don't have a link handy, i'm afraid. http://wiki.laptop.org/go/Ubuntu_Lucid_on_OLPC_XO? -- Richard A. Smith rich...@laptop.org One Laptop per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Testing] F11-for-XO1.5 Release 10.1.1 Release Candidate 2
bert wrote: On 14.06.2010, at 03:47, James Cameron wrote: On Sun, Jun 13, 2010 at 05:32:12PM +0200, Bert Freudenberg wrote: Installed on my 1.5 after updating the firmware to q3a39. Typing boot in OFW right after fs-update froze the machine. Unpredictable behaviour is known to occur if you try to boot after fs-update, you should use bye. Ah, okay. But that shouldn't have done permanent damage, right? Should I reflash? Powered off (long-press on power button) and booted. Let it sit idle for a while in the first-time Sugar screen (name dialog) - machine froze. It should idle suspend. It should not freeze. It does idle suspend. When the LED starts blinking and I touch the pad it wakes up fine. Just when I come back after some time of idling, it doesn't wake up anymore. The freeze happens sometimes with the screen still lit, sometimes after it turned off. However, after letting the machine sit idle for a while (even just after booting, still in the Sugar home screen), the whole machine froze. Power LED was still on. Had to power-cycle. Does not happen all the time, but twice already. Maybe it's my machine (one of the first C-test ones)? Sounds bad. Do you have a serial port attached? I ask because I suspect a kernel panic and a serial port is a practical way to obtain more problem data. No, I don't have one. the next best thing to having a serial port is to edit /etc/rsyslog.conf, and change the destination of all the logs from /var/log to somewhere nonvolatile, like /home/olpc/log (be sure to create the directory). then either reboot, or killall -HUP rsyslogd to make the config change take effect. this might give some information on what was going on before the hang. paul Might also be worth running memtest from OFW as well, just to exclude certain other causes. Ran memtest (from 30m up as Richard suggested), passed, no errors. I also took out the battery to make sure everything is reset. Still freezes when I let it sit long enough. - Bert - ___ 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: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
Hi Peter, I don't have much experience creating patches so please let me know if the attached is the wrong format for your purposes. Created using: diff -cB /home/doc/std/dev/squeak/vm/3.10-5/unix-3.10-5/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c /home/doc/std/dev/squeak/vm/3.11.3/src/squeak-svn/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c sqUnixSoundALSA.patch -D On 14/06/10 11:58, Peter Robinson wrote: On Mon, Jun 14, 2010 at 9:58 AM, Bert Freudenbergb...@freudenbergs.de wrote: On 14.06.2010, at 06:24, Chris Ball wrote: Hi Bert, Copied ~olpc/Activities/Sratch.activity/vm-sound-ALSA plugin to /usr/lib/squeak/3.10-5/. After that, in Etoys playback sounds a bit worse, but it's still okay (hard to tell actually). And no freeze after suspend, playing just resumes. So it would be a good idea to use that ALSA plugin for Squeak in general, me thinks. Could we get a squeak/etoys package with a fixed alsa-plugin ASAP, please? Someone would need to rebuild Fedora's squeak-vm-3.10-5 package with Derek's patched sqUnixSoundALSA.c file (attached to the forwarded msg below). The etoys package is unaffected. I'm happy to apply a patch to the etoys package in Fedora if someone can provide me a patch rather than a complete new source file. Peter *** /home/doc/std/dev/squeak/vm/3.10-5/unix-3.10-5/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c 2008-04-28 20:04:11.0 +0100 --- /home/doc/std/dev/squeak/vm/3.11.3/src/squeak-svn/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c 2010-06-14 12:22:13.0 +0100 *** *** 135,141 if ((err= snd_pcm_start(output_handle)) 0) { if (err != -EPIPE) ! { fprintf(stderr, snd_pcm_start(1): %s\n, snd_strerror(err)); success(false); return 0; --- 136,143 if ((err= snd_pcm_start(output_handle)) 0) { if (err != -EPIPE) ! /* if ((err != -EPIPE) (err != -ESTRPIPE)) ! */ { fprintf(stderr, snd_pcm_start(1): %s\n, snd_strerror(err)); success(false); return 0; *** *** 148,154 if ((err= snd_pcm_start(output_handle)) 0) { if (err != -EPIPE) ! { fprintf(stderr, snd_pcm_start(2): %s\n, snd_strerror(err)); success(false); return 0; --- 150,157 if ((err= snd_pcm_start(output_handle)) 0) { if (err != -EPIPE) ! /* if ((err != -EPIPE) (err != -ESTRPIPE)) ! */ { fprintf(stderr, snd_pcm_start(2): %s\n, snd_strerror(err)); success(false); return 0; *** *** 168,173 --- 171,177 if (!output_handle) return 0; snd_pcm_delay(output_handle, delay); + snd_pcm_avail_update(output_handle); state= snd_pcm_state (output_handle); /* if underrun causes, max delay is loosened */ *** *** 199,226 static sqInt sound_PlaySamplesFromAtLength(sqInt frameCount, sqInt arrayIndex, sqInt startIndex) { ! if (output_handle) ! { ! void *samples= (void *)arrayIndex + startIndex * output_channels * 2; ! int count= snd_pcm_writei(output_handle, samples, frameCount); ! if (count frameCount / 2) ! { ! output_buffer_frames_available= 0; ! } ! if (count 0) ! { ! if (count == -EPIPE)/* underrun */ ! { ! int err; ! snd(pcm_prepare(output_handle), sound_PlaySamples: snd_pcm_prepare); ! return 0; ! } ! fprintf(stderr, snd_pcm_writei returned %i\n, count); ! return 0; ! } ! return count; } ! success(false); return 0; } --- 203,246 static sqInt sound_PlaySamplesFromAtLength(sqInt frameCount, sqInt arrayIndex, sqInt startIndex) { ! if (!output_handle) ! { ! success(false); ! return 0; ! } ! ! void *samples= (void *)arrayIndex + startIndex * output_channels * 2; ! int count= snd_pcm_writei(output_handle, samples, frameCount); ! if (count frameCount / 2) ! output_buffer_frames_available= 0; ! ! if (count = 0) ! return count; ! ! if (count != -EPIPE count != -ESTRPIPE) ! { ! fprintf(stderr, snd_pcm_writei returned %i\n, count); ! return 0; ! } ! ! int err; ! if (count == -EPIPE) { /* under-run */ ! err = snd_pcm_prepare (output_handle); ! if (err 0) ! printf(Can't recovery from underrun, prepare failed: %s, snd_strerror (err)); ! return 0; ! } else if (count == -ESTRPIPE) { ! while ((err = snd_pcm_resume (output_handle)) == -EAGAIN) ! sleep(1); /* wait until the suspend flag is released */ ! ! if (err 0) { ! err = snd_pcm_prepare (output_handle); ! if (err 0) ! printf(Can't recovery from suspend, prepare failed: %s, snd_strerror (err)); } ! return 0; ! } ! return 0; } *** *** 306,318 int frameCount= ((bufferSizeInBytes / 2) - startSliceIndex) / input_channels; int count= snd_pcm_readi(input_handle,
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
On 14/06/10 12:56, Peter Robinson wrote: On Mon, Jun 14, 2010 at 12:29 PM, Derek O'Connelld...@doconnel.f9.co.uk wrote: Hi Peter, I don't have much experience creating patches so please let me know if the attached is the wrong format for your purposes. Created using: diff -cB /home/doc/std/dev/squeak/vm/3.10-5/unix-3.10-5/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c /home/doc/std/dev/squeak/vm/3.11.3/src/squeak-svn/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c sqUnixSoundALSA.patch If you could use 'diff -u origfile newfile output.patch' from the root of the source tree that would be better. Which source tree root are you referring to? Chris mentioned 3.10-5 and I do most my development on 3.11.3 so I diff'ed between them. It's a bad state of affairs but I keep several versions of the VM source around and would normally simply email the complete source file to Ian Piumarta (as he requests). -D Thanks, Peter On 14/06/10 11:58, Peter Robinson wrote: On Mon, Jun 14, 2010 at 9:58 AM, Bert Freudenbergb...@freudenbergs.de wrote: On 14.06.2010, at 06:24, Chris Ball wrote: Hi Bert, Copied ~olpc/Activities/Sratch.activity/vm-sound-ALSA plugin to /usr/lib/squeak/3.10-5/. After that, in Etoys playback sounds a bit worse, but it's still okay (hard to tell actually). And no freeze after suspend, playing just resumes. So it would be a good idea to use that ALSA plugin for Squeak in general, me thinks. Could we get a squeak/etoys package with a fixed alsa-plugin ASAP, please? Someone would need to rebuild Fedora's squeak-vm-3.10-5 package with Derek's patched sqUnixSoundALSA.c file (attached to the forwarded msg below). The etoys package is unaffected. I'm happy to apply a patch to the etoys package in Fedora if someone can provide me a patch rather than a complete new source file. Peter ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
On 14/06/10 13:21, Bert Freudenberg wrote: On 14.06.2010, at 14:15, Derek O'Connell wrote: On 14/06/10 12:56, Peter Robinson wrote: On Mon, Jun 14, 2010 at 12:29 PM, Derek O'Connelld...@doconnel.f9.co.uk wrote: Hi Peter, I don't have much experience creating patches so please let me know if the attached is the wrong format for your purposes. Created using: diff -cB /home/doc/std/dev/squeak/vm/3.10-5/unix-3.10-5/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c /home/doc/std/dev/squeak/vm/3.11.3/src/squeak-svn/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c sqUnixSoundALSA.patch If you could use 'diff -u origfile newfile output.patch' from the root of the source tree that would be better. Which source tree root are you referring to? The sources for the current Fedora package. A source rpm has a tarball of the sources, and optionally a series of patch files relative to that upstream tarball. Not sure where to find those sources though, I'm not too familiar with Fedora procedures. Me neither but thanks for the pointer. - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
Hi Peter, sorry for the delay, hopefully the attach is what you want. -D On 14/06/10 12:56, Peter Robinson wrote: On Mon, Jun 14, 2010 at 12:29 PM, Derek O'Connelld...@doconnel.f9.co.uk wrote: Hi Peter, I don't have much experience creating patches so please let me know if the attached is the wrong format for your purposes. Created using: diff -cB /home/doc/std/dev/squeak/vm/3.10-5/unix-3.10-5/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c /home/doc/std/dev/squeak/vm/3.11.3/src/squeak-svn/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c sqUnixSoundALSA.patch If you could use 'diff -u origfile newfile output.patch' from the root of the source tree that would be better. Thanks, Peter On 14/06/10 11:58, Peter Robinson wrote: On Mon, Jun 14, 2010 at 9:58 AM, Bert Freudenbergb...@freudenbergs.de wrote: On 14.06.2010, at 06:24, Chris Ball wrote: Hi Bert, Copied ~olpc/Activities/Sratch.activity/vm-sound-ALSA plugin to /usr/lib/squeak/3.10-5/. After that, in Etoys playback sounds a bit worse, but it's still okay (hard to tell actually). And no freeze after suspend, playing just resumes. So it would be a good idea to use that ALSA plugin for Squeak in general, me thinks. Could we get a squeak/etoys package with a fixed alsa-plugin ASAP, please? Someone would need to rebuild Fedora's squeak-vm-3.10-5 package with Derek's patched sqUnixSoundALSA.c file (attached to the forwarded msg below). The etoys package is unaffected. I'm happy to apply a patch to the etoys package in Fedora if someone can provide me a patch rather than a complete new source file. Peter --- Squeak-3.10-5/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c 2008-04-21 22:48:26.0 +0100 +++ Squeak-3.10-5/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA-100614.c 2010-06-14 12:22:13.0 +0100 @@ -77,6 +77,7 @@ static snd_pcm_uframes_t output_buffer_size= 0; static double max_delay_frames= 0; + static void output_callback(snd_async_handler_t *handler) { signalSemaphoreWithIndex(output_semaphore); @@ -135,7 +136,8 @@ if ((err= snd_pcm_start(output_handle)) 0) { if (err != -EPIPE) - { +/* if ((err != -EPIPE) (err != -ESTRPIPE)) +*/ { fprintf(stderr, snd_pcm_start(1): %s\n, snd_strerror(err)); success(false); return 0; @@ -148,7 +150,8 @@ if ((err= snd_pcm_start(output_handle)) 0) { if (err != -EPIPE) - { +/* if ((err != -EPIPE) (err != -ESTRPIPE)) +*/ { fprintf(stderr, snd_pcm_start(2): %s\n, snd_strerror(err)); success(false); return 0; @@ -168,6 +171,7 @@ if (!output_handle) return 0; snd_pcm_delay(output_handle, delay); + snd_pcm_avail_update(output_handle); state= snd_pcm_state (output_handle); /* if underrun causes, max delay is loosened */ @@ -199,28 +203,44 @@ static sqInt sound_PlaySamplesFromAtLength(sqInt frameCount, sqInt arrayIndex, sqInt startIndex) { - if (output_handle) -{ - void *samples= (void *)arrayIndex + startIndex * output_channels * 2; - int count= snd_pcm_writei(output_handle, samples, frameCount); - if (count frameCount / 2) - { - output_buffer_frames_available= 0; - } - if (count 0) - { - if (count == -EPIPE)/* underrun */ - { - int err; - snd(pcm_prepare(output_handle), sound_PlaySamples: snd_pcm_prepare); - return 0; - } - fprintf(stderr, snd_pcm_writei returned %i\n, count); - return 0; - } - return count; + if (!output_handle) + { +success(false); +return 0; + } + + void *samples= (void *)arrayIndex + startIndex * output_channels * 2; + int count= snd_pcm_writei(output_handle, samples, frameCount); + if (count frameCount / 2) +output_buffer_frames_available= 0; + + if (count = 0) +return count; + + if (count != -EPIPE count != -ESTRPIPE) + { +fprintf(stderr, snd_pcm_writei returned %i\n, count); +return 0; + } + + int err; + if (count == -EPIPE) { /* under-run */ +err = snd_pcm_prepare (output_handle); +if (err 0) + printf(Can't recovery from underrun, prepare failed: %s, snd_strerror (err)); +return 0; + } else if (count == -ESTRPIPE) { +while ((err = snd_pcm_resume (output_handle)) == -EAGAIN) + sleep(1); /* wait until the suspend flag is released */ + +if (err 0) { + err = snd_pcm_prepare (output_handle); + if (err 0) + printf(Can't recovery from suspend, prepare failed: %s, snd_strerror (err)); } - success(false); +return 0; + } + return 0; } @@ -306,13 +326,28 @@ int frameCount= ((bufferSizeInBytes / 2) - startSliceIndex) / input_channels; int count= snd_pcm_readi(input_handle, samples, frameCount); if (count 0) - { - if (count == -EPIPE) - snd_pcm_prepare(input_handle); - else if (count != -EAGAIN) - fprintf(stderr, snd_pcm_readi
Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2
On Sat, Jun 12, 2010 at 12:46:05AM -0400, Chris Ball wrote: This build is the second RC for the 10.1.1 release; if no new blockers appear, it will become the final release after a period of testing. http://wiki.laptop.org/go/Release_notes/10.1.1 has been drafted, Further edits are welcome. In particular: 0. are there any interesting new features or notable bugs that should be listed? (e.g. does my sense of interest and notability match yours?) 1. is the installation process correct in other circumstances? (it works for me, requires less keyboard use on the XO-1.5, and has less risk of bad experience caused by issuing commands after fs-update), 2. will the build be on download.laptop.org or build.laptop.org? (presuming the latter for the time being), 3. are there any pictures available of holding down all four game keys? 4. has anyone recently tested olpc-update from os64 to os20x? -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel