Fwd: [support-gang] using usb2vga with 11.2.0 and 10.1.3
Oops sent to wrong devel address before ... - Forwarded message -- From: Kevin Gordon kgordon...@gmail.com Date: Sat, Jun 18, 2011 at 4:43 AM Subject: Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3 To: Community Support Volunteers -- who help respond to \help ATlaptop.org\ support-g...@lists.laptop.org, Daniel Drake d...@laptop.org, martin.langh...@gmail.com, devel-reque...@lists.laptop.org Cherry: I too am having troubles with both the 'supported' USB2VGA and USB2VGA2 on build 23 with the XO1 even with a full, valid, complete install. I will work back in builds to see when it stopped working. It looks to me like not only the sisusb, but also the ldusb devices, are unhappy with this kernel. I will inform daniel and martin. On mine, it stops loading with only one of the little progress dots on the animated start-up displaying either going to gnome or sugar. This might officially be a 'regression bug';, but, I'll probably neeed some input from D and M as to how to do a non-animated boot so I can see any errors and then do an official report. :-) Also, unfortunately way back in the 11.2 builds, the usb utilities which include the lsusb command are no longer shipped. You have to install it manually by going to terminal, doing the 'su' then doing 'yum install usbutils'. I had mentioned this before in the developer forum, it's really small, and I'm not sure why it's not included anymore, but alas it is not. Cheers KG Sent from my BlackBerry device via Gmail -Original Message- From: Cherry Withers cwith...@ekindling.org Sender: support-gang-boun...@lists.laptop.org Date: Sat, 18 Jun 2011 01:14:46 To: Community Support Volunteers -- who help respond to \help ATlaptop.org\support-g...@lists.laptop.org Reply-To: Community Support Volunteers -- who help respond to \help AT laptop.org\ support-g...@lists.laptop.org Cc: Testingtest...@lists.laptop.org; Support Gangsters support-g...@laptop.org Subject: Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3 ___ support-gang mailing list support-g...@lists.laptop.org http://lists.laptop.org/listinfo/support-gang ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3
On 18 June 2011 09:43, Kevin Gordon kgordon...@gmail.com wrote: Cherry: I too am having troubles with both the USB2VGA and USB2VGA2 on build 23 with the XO1. I will work back in builds to see when it stopped working. It looks like not only the sisusb, but the ldusb devices are unhappy with this kernel. I will inform daniel and martin. It stops loading with only one of the little progress dots on the animated start-up displaying. This might be http://dev.laptop.org/ticket/10568 (intermittent, not linked to any particular build). There are two frames of the boot animation where there is one dot in screen, and quite a difference between them. It would be useful to know if you are seeing (where . is the dot you refer to): o X . or o v . Thanks for testing! Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3
First results, and I do apologize but I wont have any more time until tomorrow to test further 3 different XO's: USB2VGA and USB2VGA2 work first time everytime using build 860. Same 3 XO 1's, using os23 the external adapters work never. Not intermittently, never. The single dot is the one with the V not the one with the X. There was one weird thing, on one of the USB ports on one of the XO's it got to the third dot then the animation switched to the console and then the machine hung. For fun, plugging in the adapter after a boot, LSUSB output does show the device correctly attached to the USB2 hub. But booting with the device attached to that port is still unsuccessful. I have *not* tried the XO 1.5's yet. Also, maybe a false alarm on the LDUSB, it's kicking an error, but the sensors still seem to work. Also, the external microscopes look like they work too. In both of those cases, one plugs in the device *after* boot though. I'll start working my way up the 11.2 builds to see if/when the External VGA started or stopped working. But unfortunately, it will be tomorrow Cheers KG On Sat, Jun 18, 2011 at 5:30 AM, Daniel Drake d...@laptop.org wrote: On 18 June 2011 09:43, Kevin Gordon kgordon...@gmail.com wrote: Cherry: I too am having troubles with both the USB2VGA and USB2VGA2 on build 23 with the XO1. I will work back in builds to see when it stopped working. It looks like not only the sisusb, but the ldusb devices are unhappy with this kernel. I will inform daniel and martin. It stops loading with only one of the little progress dots on the animated start-up displaying. This might be http://dev.laptop.org/ticket/10568 (intermittent, not linked to any particular build). There are two frames of the boot animation where there is one dot in screen, and quite a difference between them. It would be useful to know if you are seeing (where . is the dot you refer to): o X . or o v . Thanks for testing! Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [support-gang] using usb2vga with 11.2.0 and 10.1.3
On 18 June 2011 13:39, Kevin Gordon kgordon...@gmail.com wrote: First results, and I do apologize but I wont have any more time until tomorrow to test further 3 different XO's: USB2VGA and USB2VGA2 work first time everytime using build 860. Same 3 XO 1's, using os23 the external adapters work never. Not intermittently, never. The single dot is the one with the V not the one with the X. There was one weird thing, on one of the USB ports on one of the XO's it got to the third dot then the animation switched to the console and then the machine hung. For fun, plugging in the adapter after a boot, LSUSB output does show the device correctly attached to the USB2 hub. But booting with the device attached to that port is still unsuccessful. I have *not* tried the XO 1.5's yet. In this case you should boot with the check game key to (hopefully) see more info at the point of hang. http://wiki.laptop.org/go/Cheat_codes Thanks, Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
[PATCH v2 olpc-bootanim 1/2] .gitignore: only ignore the images/deltas file, not the deltas directory
--- v1-v2: No changes. Still needed to tell git not to ignore deltas/calcdelta.c etc. The comments from Martin applied to the oob-bootanim module, not to olpc-bootanim. .gitignore |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/.gitignore b/.gitignore index ee0f770..2907f43 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,7 @@ aclocal.m4 autom4te.cache *.565 ChangeLog -deltas +/images/deltas boot-anim-helper boot-anim-running compile -- 1.7.4.1 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
[PATCH v2 olpc-bootanim 2/2] Add os-undelta tool for splitting out individual images from deltas
This can be used to reverse engineer the boot animation in case the source is lost. Signed-off-by: Sascha Silbe si...@activitycentral.com --- v1-v2: - add usage instructions - use directory given on command line instead of current working dir - rename to os-undelta, move to root of project - install (to /usr/bin) Makefile.am |1 + os-undelta | 78 +++ 2 files changed, 79 insertions(+), 0 deletions(-) create mode 100755 os-undelta diff --git a/Makefile.am b/Makefile.am index 56e261e..5ef2a78 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,7 @@ dist_noinst_HEADERS = utils.h sbin_PROGRAMS = boot-anim-start boot-anim-stop boot-anim-helper boot-anim-running ul-warning bin_PROGRAMS = plymouth +dist_bin_SCRIPTS = os-undelta boot-anim-start: utils.c boot-anim-start.c boot-anim-stop: utils.c boot-anim-stop.c diff --git a/os-undelta b/os-undelta new file mode 100755 index 000..863652c --- /dev/null +++ b/os-undelta @@ -0,0 +1,78 @@ +#!/usr/bin/env python +import os.path +import struct +import sys + + +LINE = 0 +FIRSTCOL = 1 +LEN = 2 +DATA = 3 + +FB_SIZE = 1200 * 900 +FB_WIDTH = 1200 +FB_HEIGHT = 900 + + +def apply_delta(image, deltas): +if deltas[:4] != 'D565': +raise ValueError('Not a delta!') + +deltas = deltas[4:] +while deltas and deltas[:4] != 'D565': +line, = struct.unpack('H', deltas[LINE * 2:LINE * 2 + 2]) +first_col, = struct.unpack('H', deltas[FIRSTCOL * 2:FIRSTCOL * 2 + 2]) +length, = struct.unpack('H', deltas[LEN * 2:LEN * 2 + 2]) +offset = (FB_WIDTH * line + first_col) * 2 +new_slice = deltas[DATA * 2:DATA * 2 + length * 2] +if len(new_slice) != len(image[offset:offset + length * 2]): +raise ValueError('Incomplete delta!') + +image[offset:offset + length * 2] = new_slice +deltas = deltas[(DATA + length) * 2:] + +return deltas + + +def print_usage(my_name): +print Usage: %(my_name)s directory containing frame00.565 and deltas +Convert olpc-bootanim deltas file back to individual images + +Example: %(my_name)s /usr/share/boot-anim + +The following shell snippet can be used to convert the resulting +raw bitmap files to PNG files: + +for x in $(seq -f %%02.f 1 25) ; do + ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 1200x900 \\ + -i frame$x.565 -f image2 -vcodec png frame$x.png +done +.replace('\n', '\n') % locals() + +return 1 + + +def main(my_name, args): +if not args or '--help' in args: +return print_usage(my_name) + +directory_name = args[0] +deltas = file(os.path.join(directory_name, 'deltas'), 'rb').read() +frame0 = file(os.path.join(directory_name, 'frame00.565'), 'rb').read() + +header = frame0[:12] +image = list(frame0[12:]) +deltas_left = deltas +frame_nr = 0 + +while deltas_left: +frame_nr += 1 +print 'Processing frame #%d' % (frame_nr, ) +deltas_left = apply_delta(image, deltas_left) +with file('frame%02d.565' % (frame_nr, ), 'wb') as output_file: +output_file.write(header + ''.join(image)) + +return 0 + + +sys.exit(main(sys.argv[0], sys.argv[1:])) -- 1.7.4.1 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] FUSE for Journal?
On 18 June 2011 04:58, Martin Abente martin.abente.lah...@gmail.com wrote: Not 100% sure, but the conditions changed a little bit since then: * The journal integrates a better with external storage devices. * There are good bindings for fuse (even in python). I think that a fuse-based-network-file-system could be a pretty flexible and valid option for entry-level backup in XS over LAN (for that particular scope). I am not talking about running an OS on top of it, or using it to replace the local storage over the internet. Is just my opinion though based on what I have tested so far. +1 This is a priority for us. We get requests from teachers all the time about being able to access a files server, and sharing files between Sugar and GNOME. Cheers, Sridhar Sridhar Dhanapalan Technical Manager One Laptop per Child Australia M: +61 425 239 701 E: srid...@laptop.org.au A: G.P.O. Box 731 Sydney, NSW 2001 W: www.laptop.org.au ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] FUSE for Journal?
On Sat, Jun 18, 2011 at 9:15 AM, Sridhar Dhanapalan srid...@laptop.org.au wrote: On 18 June 2011 04:58, Martin Abente martin.abente.lah...@gmail.com wrote: Not 100% sure, but the conditions changed a little bit since then: * The journal integrates a better with external storage devices. * There are good bindings for fuse (even in python). I think that a fuse-based-network-file-system could be a pretty flexible and valid option for entry-level backup in XS over LAN (for that particular scope). I am not talking about running an OS on top of it, or using it to replace the local storage over the internet. Is just my opinion though based on what I have tested so far. +1 This is a priority for us. We get requests from teachers all the time about being able to access a files server, and sharing files between Sugar and GNOME. There was a thread about this way back (started by me!!!...I must be getting old) about dumping to another filesystem. http://lists.laptop.org/pipermail/devel/2009-May/024459.html The code mentioned in this thread was in the context of the school server and was written in Mono. This was also before we shipped GNOME + Sugar, so the context was a bit different. cheers, Sameer Cheers, Sridhar Sridhar Dhanapalan Technical Manager One Laptop per Child Australia M: +61 425 239 701 E: srid...@laptop.org.au A: G.P.O. Box 731 Sydney, NSW 2001 W: www.laptop.org.au ___ 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: [IAEP] Narrative Interfaces at OLPC
Hi Chris, In the context of another project, Sebastian Silva pointed me too RenPy, a language to do visual novels. http://www.renpy.org/ http://games.renpy.org/ Gonzalo On Sat, Jun 18, 2011 at 1:23 AM, Chris Ball c...@laptop.org wrote: Hi, On Wed, Jun 15 2011, C. Scott Ananian wrote: I just posted an announcement for some invited talks we're having at OLPC's new offices this Friday: http://cananian.livejournal.com/64747.html It will all be live-streamed at: http://www.ustream.tv/channel/cscottnet We're all done with Narrative Interfaces day now, and I've uploaded video from all of the talks. There's a blog post at: http://blog.printf.net/articles/2011/06/18/narrative-interfaces or if you're super-impatient, you can jump straight to the videos at: http://www.dailymotion.com/user/sugarlabs/ Thanks! - Chris. -- Chris Ball c...@laptop.org http://printf.net/ One Laptop Per Child ___ 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
''Narrative Interfaces'' at OLPC
Hi I did some work on writing a text based dungeon program. The dungeon file is purposefully plain text and can be easily edited by kids in Write. http://wiki.sugarlabs.org/go/User:Tonyforster#Text_dungeon The idea was that kids develop literacy and numeracy skills by creating dungeons and 'cheating' on existing dungeons. Playing the game visualise 2D spaces (could extend to 3D or even 4D) navigate compass directions N E S W and relationship to right, left text literacy can include subject related content problem solving Making/editing/reading a dungeon file all the above plus Cartesian coordinates variables word processing skills programming like skills create in any language The next step is to Sugarise it. The code so far is published. If anybody wants to take it on thats OK with me. Tony ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
[Server-devel] XS server struggles
G'Day all, I am trying to setup up an XS server to support a deployment we have of XO 1.5's in Timor Leste. I have setup a USB boot and have worked through David Leeming's XS installation instructions and I appear to have a working XS server, I can ping and access the yum repos via eth0 (I used xsau-testing for my update). I am not using a wireless access point, I was figuring I could just use the wireless of the small netbook to communicate with the XOs (although I note that the wireless port of the XS server has no IP allocated). Is this a bad assumption ? - is there something I should be reading about how get the XOs using the XS - I want to be able to use the XS mainly for software distribution, so as to avoid the folks in Timor having to insert a flash drive into each XO ..is this possible if so how and what do I read to find out how to do this ? thanks for any pointers/help regards Tom Daly ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XS server struggles
On Sat, 2011-06-18 at 18:34 +0930, Tom Daly wrote: G'Day all, I am trying to setup up an XS server to support a deployment we have of XO 1.5's in Timor Leste. I have setup a USB boot and have worked through David Leeming's XS installation instructions and I appear to have a working XS server, I can ping and access the yum repos via eth0 (I used xsau-testing for my update). I am not using a wireless access point, I was figuring I could just use the wireless of the small netbook to communicate with the XOs (although I note that the wireless port of the XS server has no IP allocated). Is this a bad assumption ? Well, kind of, I don't have a quick how-to on how to do that, and not all wifi card can act as an AP. Your in uncharted waters here but you would need to have in your wifi card's ifcfg-device file: DEVICE=device edit this to be the same as ifcfg-device ONBOOT=yes TYPE=Wireless MODE=ad-hoc CHANNEL=1change to suit ESSID=school-mesh-0 change to suit MASTER=lanbond0 SLAVE=yes NM_CONTROLLED=no HOTPLUG=yes This will place your wifi device as a slave of lanbond0 and should be bonded to it, picking up the ip info from it. - is there something I should be reading about how get the XOs using the XS The XS model assumes 2 network cards, not nic card and one wifi. - I want to be able to use the XS mainly for software distribution, so as to avoid the folks in Timor having to insert a flash drive into each XO ..is this possible if so how and what do I read to find out how to do this ? Once the XO's can use the XS's dhcp server everything should just work. thanks for any pointers/help regards Tom Daly Good luck, Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel