Re: XO battery/performance [Devel Digest, Vol 76, Issue 4]
On 06/10/2012 01:07 AM, Yioryos Asprobounitis wrote: Took some time and a lot of juggling and ended up to a lot of questionmarks in black diamonds so I do not really know if I did it right or wrong, but here is the screen log just the same. You may or may not have done anything wrong but the output is not valid. Perhaps your comm settings are wrong? 115200,n,8,1 is what they should be set to. Its exactly the same as if you were connected to the OFW or Linux output. The EC output is readable text and if you press enter with no command you get back a prompt. -- Richard A. Smith rich...@laptop.org One Laptop per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: On XO-1.5 with 11.3.0/11.3.1 -- hang during shutdown?
On Tue, Jun 5, 2012 at 8:11 PM, Martin Langhoff mar...@laptop.org wrote: On Tue, Jun 5, 2012 at 10:37 AM, Martin Langhoff mar...@laptop.org wrote: - Seems to be related to umount of /home failing. Adding sync ; sleep 2; before umount seems to cure it; that's their current workaround. Cutting the CC list down to only devel@ for debugging -- Anish, thanks for reporting this. Couple of questions/requests: - can you give us the exact patch showing the workaround you are applying? Jerry, can you pls provide the same? - very interested in the microSD swap between good and bad units. Let us know how it goes. We just shipped a good SD card to the person with the 'failing' laptop. Expect to hear back very soon. On 12.1.0 the switch to systemd completely reworks the shutdown / umount process; so if it affects Fedora or OLPC releases, the scope is 11.3.x / F14. Very unlikely that we see it, at least in this particular incarnation, on 12.1.0. cheers, m -- mar...@laptop.org -- Software Architect - OLPC - 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: Kernel development setup for XO-1.75 [Devel Digest, Vol 76, Issue 15]
On Thu, Jun 7, 2012 at 6:57 PM, Chris Ball c...@laptop.org wrote: If you're on F17 (12.1.0), you can install a cross-compiler with yum; that's a better idea than using mine. sudo yum --enablerepo=updates-testing install gcc-arm-linux-gnu OOoooh! Evolution! :-) m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - 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: buildrpm et al on the XO-1.75
On Sun, Jun 10, 2012 at 5:52 PM, Yioryos Asprobounitis mavrot...@yahoo.com wrote: I was trying few things with the arm-3.0-wip kernel and was building fine in both x86_64 machines and the XO-1.75 itself! Heh! :-) However, buildrpm had some problems. For one, it defaults to /tmp as a builddir which makes it unusable in any XO. I can understand that is an infrastructure script but defaulting to maybe $HOME and cleaning up at the end, can serve all cases. I normally do export builddir=~/olpc-kernel-builddir ; time ./olpc/buildrpm 1.75 The other problem I had on the XO-1.75(os13) was that although the kernel was building fine, the rpm building failed with: `error: create archive failed on file /home/olpc/kernel_sources/olpc-2.6/olpc/SOURCES/olpc-3.0.tar.bz2: cpio: Bad magic' That's too cryptic for me I'm afraid. Any pointers? No idea, other than running out of disk space. When I did build kernels on XO-1.75s, I did it on a USB HDD. Could it be becase the source was patched? As it is setup, buildrpm grabs the latest commit from git, so it'll ignore any uncommitted changes. So, this is important: buildrpm builds from the latest git commit, and it takes a very long time -- so long that it is only usable with an automated build bot. make zImage, OTOH, builds from your checkout, including any local uncommitted changes -- slowish the first round, but fast incremental compiles. Use the fast-recompiles one for development, the other one for the kernel that goes into the builds. Regarding the kernel changes I tried, I noticed that both usb and sound fail to build as modules but they are OK in the kernel. You may be booting from a USB HDD or USB stick... I'd have it built in. Booting from the mic port is a little bit less likely ;-) -- but our audio driver is being revamped, and for good reasons. hth, m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - 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: [Techteam] 12.1.0 devel build 13 released, for the XO-1, XO-1.5 and XO-1.75
On Fri, Jun 8, 2012 at 8:40 PM, Samuel Greenfeld greenf...@laptop.org wrote: To fix this, try to get into a Terminal program in Sugar or GNOME as fast as you can, or use the serial port console (which is not time-restricted). I am an emacs-man (sometimes) so I tried a alternative with less steps. I failed. As Mikus often says, this is just an informative adventure... From OFW I tried emacs int:2.\versions\run\13\usr\lib\systemd\system\getty@.service Editing worked well, however, OFW said [Writing..]Not writing to the ext2 filesystem because of unsupported extensions. Flushbuf error. The next prompt should have said: not ok. That would be logical. OFW's ext2/3 support has been improving steadily in recent months; I had momentarily forgotten our builds use ext4, which is too much to ask. Ah well, back to racing in linux land. cheers, m -- mar...@laptop.org -- Software Architect - OLPC - 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: [Techteam] 12.1.0 devel build 13 released, for the XO-1, XO-1.5 and XO-1.75
On Mon, Jun 11, 2012 at 01:47:58PM -0400, Martin Langhoff wrote: emacs int:2.\versions\run\13\usr\lib\systemd\system\getty@.service Editing worked well, however, OFW said [Writing..]Not writing to the ext2 filesystem because of unsupported extensions. Flushbuf error. The next prompt should have said: not ok. That would be logical. OFW's ext2/3 support has been improving steadily in recent months; I had momentarily forgotten our builds use ext4, which is too much to ask. ext4 support is present, to an extent. For instance, I am able to touch a file in /runin after fs-update without problems: ok to-file int:2,\versions\run\13\runin\no-camera ok boot I wonder what is different. Had you booted that filesystem since fs-update? (I'm also able to read runin logs from the ext4 filesystem using Open Firmware. The power log collector also relies on being able to read the power logs.) -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Techteam] 12.1.0 devel build 13 released, for the XO-1, XO-1.5 and XO-1.75
On Mon, Jun 11, 2012 at 01:47:58PM -0400, Martin Langhoff wrote: emacs int:2.\versions\run\13\usr\lib\systemd\system\getty@.service Editing worked well, however, OFW said [Writing..]Not writing to the ext2 filesystem because of unsupported extensions. Flushbuf error. Oh, don't try this at home, kids, it makes the file zero size. -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Developer XO laptop loan or buy - Speakeasy project
Hi all, I'm trying to get this project off the ground: http://wiki.laptop.org/go/Speakeasy I would like to buy or, if possible, loan, an XO laptop for development and testing. I live in Wantagh, NY, which is in Long Island and reasonably close to the greater New York city area. Please let me know what I need to do to get this project off the ground! Thanks, Lester ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Developer XO laptop loan or buy - Speakeasy project
Hi, On Mon, Jun 11 2012, Lester Leong wrote: Hi all, I'm trying to get this project off the ground: http://wiki.laptop.org/go/Speakeasy Have you considered joining forces with: http://www.kickstarter.com/projects/jsalsman/choose-your-reading-and-pronunciation-adventure ? They seem to be very expert in language learning and speech recognition. I would like to buy or, if possible, loan, an XO laptop for development and testing. I live in Wantagh, NY, which is in Long Island and reasonably close to the greater New York city area. Please let me know what I need to do to get this project off the ground! My advice would be that hardware and porting are not the difficult part of this project -- if you create software that teaches literacy well, porting it to the XO will be straightforward as long as it runs on top of Linux and X11. (And even if it doesn't work on the XO's platform, there are so few good Free Software literacy software projects right now that someone else would probably volunteer to do the port for you!) The difficult part is actually designing and writing the code. I think you should think more about that, write up your ideas (your wiki page currently contains no technical information at all!) and start seeing if the ideas work by running them on standard laptops. Sorry if this e-mail feels negative. I think it's important to understand that good literacy software is possibly the most difficult type of software to write, yet also one of the most needed types in the world right now. I think your effort will be most likely to succeed if you seek help from experts, and spend your time researching and experimenting; there's no need for an XO to do any of those things. - Chris. -- Chris Ball c...@laptop.org http://printf.net/ One Laptop Per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Developer XO laptop loan or buy - Speakeasy project
Chris, Not negative at all. I have heard of this project when looking around to see if there were any open-source projects that I could port, so that I wouldn't have to start from scratch. I know there have also been a few other microphone/speech-recognition approaches to language-learning. The issue with this approach is that I think it's a little overkill, at least for now. What I'm trying to do is similar, but much simpler: gamify language-learning but get rid of the complicated speech-recognition stuff. My theory is that just hearing spoken English and encouraging the child to follow along may be enough, at least for a start. I'm sure you've heard of Rosetta Stone. I've learned to speak Spanish moderately well using it. I wanted to do something similar to this - it utilizes flash cards and although it has a speech-recognition element, this is not strictly required, and many people have learned from it without a microphone. I agree that you can't really learn without practicing speech, but even with a mic and sophisticated speech-recognition, there's only so much software can accomplish aside from the real thing - practicing with real speakers. I think it could just be as easy as having a collection of multimedia and gamifying it. I thought of having a set of flashcards with audio - then many things could be done with that. Audio to picture matching. Finish the sentence. Multiplayer races. Pictures in a series to denote context, etc. It could just be that simple. Would be really trivial to implement as well. I even thought of implementing it as web served pages so that the whole thing could exist in website form - in remote locations without Internet, maybe the pages can be locally stored/hosted. Anyway, the reason I would like an XO is because I'd like to get a feel for user interface, as well as the limitations of it, from the very beginning. It would help guide design immensely. Hope this helps, Lester On Mon, Jun 11, 2012 at 9:35 PM, Chris Ball c...@laptop.org wrote: Hi, On Mon, Jun 11 2012, Lester Leong wrote: Hi all, I'm trying to get this project off the ground: http://wiki.laptop.org/go/Speakeasy Have you considered joining forces with: http://www.kickstarter.com/projects/jsalsman/choose-your-reading-and-pronunciation-adventure ? They seem to be very expert in language learning and speech recognition. I would like to buy or, if possible, loan, an XO laptop for development and testing. I live in Wantagh, NY, which is in Long Island and reasonably close to the greater New York city area. Please let me know what I need to do to get this project off the ground! My advice would be that hardware and porting are not the difficult part of this project -- if you create software that teaches literacy well, porting it to the XO will be straightforward as long as it runs on top of Linux and X11. (And even if it doesn't work on the XO's platform, there are so few good Free Software literacy software projects right now that someone else would probably volunteer to do the port for you!) The difficult part is actually designing and writing the code. I think you should think more about that, write up your ideas (your wiki page currently contains no technical information at all!) and start seeing if the ideas work by running them on standard laptops. Sorry if this e-mail feels negative. I think it's important to understand that good literacy software is possibly the most difficult type of software to write, yet also one of the most needed types in the world right now. I think your effort will be most likely to succeed if you seek help from experts, and spend your time researching and experimenting; there's no need for an XO to do any of those things. - Chris. -- Chris Ball c...@laptop.org http://printf.net/ One Laptop Per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Developer XO laptop loan or buy - Speakeasy project
Hi Lester, On Mon, Jun 11 2012, Lester Leong wrote: I think it could just be as easy as having a collection of multimedia and gamifying it. I thought of having a set of flashcards with audio - then many things could be done with that. Audio to picture matching. Finish the sentence. Multiplayer races. Pictures in a series to denote context, etc. It could just be that simple. Would be really trivial to implement as well. I even thought of implementing it as web served pages so that the whole thing could exist in website form - in remote locations without Internet, maybe the pages can be locally stored/hosted. I like this idea, and I'm happy to see that you aren't trying to do too much. I think develping this as a set of webapps sounds like a fine start -- it allows you to work on it more easily with other developers, who don't share your platform, too. Anyway, the reason I would like an XO is because I'd like to get a feel for user interface, as well as the limitations of it, from the very beginning. It would help guide design immensely. Did you know that it's easy to run OLPC's user interface, Sugar, on non-OLPC laptops? Here's a recent guide written by Simon Schampijer: http://wiki.sugarlabs.org/go/Activity_Team/Activity_Development_Fedora17 There isn't much (if anything) of the user interface that's dependent on the hardware; you can see it all by running Sugar locally too. Thanks, - Chris. -- Chris Ball c...@laptop.org http://printf.net/ One Laptop Per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO battery/performance [Devel Digest, Vol 76, Issue 4]
On Mon, Jun 11, 2012 at 08:41:16AM -0400, Richard A. Smith wrote: On 06/10/2012 01:07 AM, Yioryos Asprobounitis wrote: Took some time and a lot of juggling and ended up to a lot of questionmarks in black diamonds so I do not really know if I did it right or wrong, but here is the screen log just the same. You may or may not have done anything wrong but the output is not valid. Perhaps your comm settings are wrong? 115200,n,8,1 is what they should be set to. Not for the screen program, which is what Yioryos was asking about. Just 115200. Adding ,n,8,1 achieves nothing, screen ignores it. One can use cs8 to specify the bits per character, but Linux and Mac OS X default to eight bits already. Parity and stop bits cannot be specified to screen. The port defaults are already good enough. I agree that the unreadable text shows something has gone wrong. But I don't think it is baud rate, parity, bits per character, or stop bit count. I've undone Yioryos' change to the Wiki page. Yioryos, do you still get this strange output? -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel