Importing images in Write documents makes file huge
Hi all, We would like the students to create simple html-documents with text and images and upload them to the schoolserver for a simple homepage. The Write activity (we are using version 60 on build 802) has a feature Keep as Hypertext (HTML), but when images are inserted into the document the files get huge (10 times bigger than original image). If I check the file size in the datastore, an image created with Record (file size 38kB, mimetype image/jpg) inserted in a html document containing nothing else than the image, the html file is 554kB (mimetype text/html). The image is saved in the html-document with: img ... src=data:image/png;base64,{image data} I can do the same thing with Abiword 2.8.1 and the html file is just 52kB, probably because it is using jpg: img ... src=data:image/jpeg;base64,{image data} There is an old ticket for that (last modified 2 years ago): Ticket #1442 non-PNG image support for Abiword Any suggestions for a workaround? Is there an other activity we could use to create html pages? Best regards, Philipp PS: other document types created with Write have the same problem: image/jpg: 38kB (created with Record activity) application/rtf:821kB (created with Write activity) text/html: 554kB (created with Write activity) application/vnd.oasis.opendocument.text: 406kB (created with Write activity, default) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: OFW RPM packaging
On Wed, 2009-11-25 at 15:36 -0500, Richard A. Smith wrote: The person who build/releases the firmware (me or mitch) would modify the spec files we have for the firmware and then build the rpm. Editing the spec file is manual but I have some scripts that automate making and releasing the rpms. OK, thanks for the info. Would you be able to start that process again? The resultant RPMs should go in your ~/public_rpms/f11-xo1.5 on dev.laptop.org. Thanks, Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: OFW RPM packaging
On Thu, 2009-11-26 at 08:40 +, Daniel Drake wrote: On Wed, 2009-11-25 at 15:36 -0500, Richard A. Smith wrote: The person who build/releases the firmware (me or mitch) would modify the spec files we have for the firmware and then build the rpm. Editing the spec file is manual but I have some scripts that automate making and releasing the rpms. OK, thanks for the info. Would you be able to start that process again? The resultant RPMs should go in your ~/public_rpms/f11-xo1.5 on dev.laptop.org. Here is a new olpc.fth you can use. It's like the one for XO-1, but the kernel params are updated for XO-1.5 and the stuff that tried to determine and pass root= has been removed. Daniel \ OLPC boot script [ifndef] do-firmware-update : do-firmware-update ( img$ -- ) \ Keep .error from printing an input sream position report \ which makes a buffer@address show up in the error message ['] noop to show-error visible tuck flash-buf swap move ( len ) ['] ?image-valid catch ?dup if( ) visible red-letters . Bad firmware image file - .error . Continuing with old firmware cr black-letters exit then true to file-loaded? d# 12,000 wait-until \ Wait for EC to notice the battery ['] ?enough-power catch ?dup if visible red-letters . Unsafe to update firmware now - .error . Continuing with old firmware cr black-letters exit then Updating firmware ?lease-debug-cr ec-indexed-io-off? if visible . Restarting to enable SPI FLASH writing. cr d# 3000 ms ec-ixio-reboot security-failure then \ Latch alternate? flag for next startup alternate? if [char] A h# 82 cmos! then reflash \ Should power-off and reboot show-x Reflash returned, unexpectedly .security-failure ; [then] [ifndef] ?ofw-reflash \ Check for new firmware. : ?ofw-reflash ( -- ) ${DN}${PN}\bootfw.zip expand$ ['] (boot-read) catch if 2drop exit then img$ firmware-up-to-date? if exit then img$ do-firmware-update ; [then] : set-path-macros ( -- ) button-o game-key? if \boot-alt else \boot then pn-buf place /chosen find-package if ( phandle ) bootpath rot get-package-property 0= if ( propval$ ) get-encoded-string ( bootpath$ ) [char] \ left-parse-string 2nip( dn$ ) dn-buf place( ) then then ; : olpc-fth-boot-me set-path-macros ?ofw-reflash console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22 video=viafb:viafb_mode=1200x900,viafb_bpp=24,viafb_active_dev=LCD,viafb_lcd_panel_id=23 no_console_suspend reboot=acpi selinux=0 expand$ to boot-file ${DN}${PN}\vmlinuzexpand$ to boot-device ${DN}${PN}\initrd.img expand$ to ramdisk boot ; olpc-fth-boot-me ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Power LED not switching to green even when fully charged
On Thu, Nov 26, 2009 at 5:51 AM, Richard A. Smith rich...@laptop.orgwrote: Hi all, I just noticed that even after a night of charging an XO-1.5 the power LED is still orange and hasn't switched to green (as it did with the XO-1 when the battery was fully charged). I know this is only a tiny detail but I was wondering whether this happens on purpose or if this might point to some low-level fault or something? Its certainly not on purpose and does not happen on my 1.5's. Odd, after running down the battery yesterday I again charged the machine overnight and this time the power LED was green in the morning. The only difference between those two charging sessions was the yesterday I had used the black generic AC adapter whereas tonight I accidently used the normal green XO-1 adapter. I'm sorry that I can't provide more accurate information at this point but will try keep an eye out for this behaviour and use olpc-pwr-log if it happens again. Thanks for your support and answers, Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Power LED not switching to green even when fully charged
On Thu, Nov 26, 2009 at 9:12 AM, Daniel Drake d...@laptop.org wrote: On Thu, 2009-11-26 at 09:08 +, Christoph Derndorfer wrote: Odd, after running down the battery yesterday I again charged the machine overnight and this time the power LED was green in the morning. The only difference between those two charging sessions was the yesterday I had used the black generic AC adapter whereas tonight I accidently used the normal green XO-1 adapter. That's a big difference. Maybe you could re-run the test again another night using the black adapter. Okay, will do:-) Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Importing images in Write documents makes file huge
The conversion to PNG was a general Abiword feature, but it got solved last July with Abiword 2.7.6 (see link below). On my XO libabiword-2.6.4-6.olpc3 is installed (build 802). Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer? http://planet.abisource.com/: July 04, 2009 Marc Maurer: Impressive AbiWord release We just released AbiWord 2.7.6, which is an awesome release in my opinion! It for example adds native JPEG support, so we don’t convert every JPEG internally to PNG anymore. This will be of great benefit on the OLPC laptop, where kids use built-in camera to produce photos in JPEG format and add them to their document. This will greatly reduce the filesize of their document. It will also be a lot less bandwidth intensive when collaborating on such a document. On 11/26/2009 03:01 PM, Philipp Kocher wrote: Hi all, We would like the students to create simple html-documents with text and images and upload them to the schoolserver for a simple homepage. The Write activity (we are using version 60 on build 802) has a feature Keep as Hypertext (HTML), but when images are inserted into the document the files get huge (10 times bigger than original image). If I check the file size in the datastore, an image created with Record (file size 38kB, mimetype image/jpg) inserted in a html document containing nothing else than the image, the html file is 554kB (mimetype text/html). The image is saved in the html-document with: img ... src=data:image/png;base64,{image data} I can do the same thing with Abiword 2.8.1 and the html file is just 52kB, probably because it is using jpg: img ... src=data:image/jpeg;base64,{image data} There is an old ticket for that (last modified 2 years ago): Ticket #1442 non-PNG image support for Abiword Any suggestions for a workaround? Is there an other activity we could use to create html pages? Best regards, Philipp PS: other document types created with Write have the same problem: image/jpg: 38kB (created with Record activity) application/rtf: 821kB (created with Write activity) text/html:554kB (created with Write activity) application/vnd.oasis.opendocument.text: 406kB (created with Write activity, default) ___ 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
LogFS for F11-XO-1?
LogFS is getting merged into linux-next - http://lwn.net/Articles/363572/ - . The author claims 60ms mount time on our XO-1 - http://lwn.net/Articles/234441/ - and it has several nice things (ie: compression is per file / directory, set with chattr). This used to be very hard -- but we now have partitioned image support in our build toolchain and boot process, so as long as we can get the right kmods in the initramfs, we can boot (and experiment) with filesystems without having to implement FS support in OFW. Would be interesting to see what the performance stability is. If it works, buried in the patchseries announcement there is a hint at support for async ops. Hard to know how it'd interact with the timings of our CaFe, but it could be interesting to retry the async patch. 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: New F11 for the XO-1 Build 9
On Wed, Nov 25, 2009 at 10:32:20AM -0800, Hal Murray wrote: I just tried it. The UI hangs in the startup sequence showing the whole little man with one dot below him. It works if I hold down the check-key when booting. [...] That sounds like the kernel doesn't have DCON support or doesn't find it. Does this build use a dev.laptop.org kernel? If so, it probably misses the fix for #9687 [1] (attached to the ticket, but not committed yet). [1] https://dev.laptop.org/ticket/9687 CU Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: Digital signature ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 8.2.x, touchpads and papercuts
On Thu, Nov 26, 2009 at 12:03 AM, Richard A. Smith rich...@laptop.org wrote: On Wed, Nov 25, 2009 at 9:24 PM, Richard A. Smith rich...@laptop.org wrote: = CL1A New touchpad users I've not had the opportunity to do a lot of testing on a bank of CL1A machines but based on all the work I've been doing on 1.5 I suspect that CL1A users are going to run into the no keyboard (trac #9453). Interesting. We have a large number of CL1As with 8.2.1 deployed -- have we heard of anything from the field that sounds like this issue? For both CL1 and CL1A firmwares are you interested in the auto power up manufacturing tag? Probably not. OTOH, yes I am interested in that firmware for an XS release :-) and is probably a good idea to add it to the F11/XO-1 release. 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: LogFS for F11-XO-1?
On Thu, 26 November 2009 10:54:58 +0100, Martin Langhoff wrote: Would be interesting to see what the performance stability is. I'd love to see results. If it works, buried in the patchseries announcement there is a hint at support for async ops. Hard to know how it'd interact with the timings of our CaFe, but it could be interesting to retry the async patch. I wouldn't expect spectacular results for the X0. Iirc it has a single flash chip and the controller can queue a total of one command at a time. Jörn -- Joern's library part 7: http://www.usenix.org/publications/library/proceedings/neworl/full_papers/mckusick.a ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: LogFS for F11-XO-1?
On Thu, Nov 26, 2009 at 12:37 PM, Jörn Engel jo...@logfs.org wrote: On Thu, 26 November 2009 10:54:58 +0100, Martin Langhoff wrote: Would be interesting to see what the performance stability is. I'd love to see results. We are currently making F11-based builds, I think w 2.6.30. Does logfs Just Work there if we apply the patches? If it works, buried in the patchseries announcement there is a hint at support for async ops. Hard to know how it'd interact with the timings of our CaFe, but it could be interesting to retry the async patch. I wouldn't expect spectacular results for the X0. Iirc it has a single flash chip and the controller can queue a total of one command at a time. Thanks for the hint. For the record -- and in case anyone wonders -- this threads records the proposed patch to our CaFe driver and the results http://lists.laptop.org/pipermail/devel/2008-December/021677.html 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: LogFS for F11-XO-1?
On Thu, 26 November 2009 12:46:35 +0100, Martin Langhoff wrote: On Thu, Nov 26, 2009 at 12:37 PM, Jörn Engel jo...@logfs.org wrote: On Thu, 26 November 2009 10:54:58 +0100, Martin Langhoff wrote: Would be interesting to see what the performance stability is. I'd love to see results. We are currently making F11-based builds, I think w 2.6.30. Does logfs Just Work there if we apply the patches? Assuming the patches apply or you massage them properly to apply, logfs (the kernel code) should Just Work. You will also have to create the filesystem, using mklogfs. Source can be found here: http://logfs.org/git?p=logfsprogs/.git;a=summary I haven't written an image generator. If I were sufficiently motivated to write one (I'm not), I'd propably resurrect my userspace vfs http://logfs.org/git?p=testlogfs;a=summary and just call the fake_creat and fake_pwrite functions to fill the image. Or you could loop-mount on the development host, fill a filesystem and use that as an image. If it works, buried in the patchseries announcement there is a hint at support for async ops. Hard to know how it'd interact with the timings of our CaFe, but it could be interesting to retry the async patch. I wouldn't expect spectacular results for the X0. Iirc it has a single flash chip and the controller can queue a total of one command at a time. Thanks for the hint. For the record -- and in case anyone wonders -- this threads records the proposed patch to our CaFe driver and the results http://lists.laptop.org/pipermail/devel/2008-December/021677.html With my device (sorry, driver is not available just yet), tasklets performed significantly better than workqueues. When implementing the asynchronous fio_* methods you don't have to deal with wait_event at all, which is nice. But you still need wrapper functions for the synchronous methods. Most likely those wrappers can be identical to those in my driver. I really should clean it up and see that I can publish the thing. Jörn -- Simplicity is prerequisite for reliability. -- Edsger W. Dijkstra ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Importing images in Write documents makes file huge
On Thu, Nov 26, 2009 at 09:32, Philipp Kocher philipp.koc...@gmx.net wrote: The conversion to PNG was a general Abiword feature, but it got solved last July with Abiword 2.7.6 (see link below). On my XO libabiword-2.6.4-6.olpc3 is installed (build 802). Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer? I guess it depends on how many technical resources you have, but it's definitely possible. Though maybe the best way forward is helping with the effort of making F11 work well on the XO-1s. http://wiki.laptop.org/go/F11_for_XO-1 Regards, Tomeu http://planet.abisource.com/: July 04, 2009 Marc Maurer: Impressive AbiWord release We just released AbiWord 2.7.6, which is an awesome release in my opinion! It for example adds native JPEG support, so we don’t convert every JPEG internally to PNG anymore. This will be of great benefit on the OLPC laptop, where kids use built-in camera to produce photos in JPEG format and add them to their document. This will greatly reduce the filesize of their document. It will also be a lot less bandwidth intensive when collaborating on such a document. On 11/26/2009 03:01 PM, Philipp Kocher wrote: Hi all, We would like the students to create simple html-documents with text and images and upload them to the schoolserver for a simple homepage. The Write activity (we are using version 60 on build 802) has a feature Keep as Hypertext (HTML), but when images are inserted into the document the files get huge (10 times bigger than original image). If I check the file size in the datastore, an image created with Record (file size 38kB, mimetype image/jpg) inserted in a html document containing nothing else than the image, the html file is 554kB (mimetype text/html). The image is saved in the html-document with: img ... src=data:image/png;base64,{image data} I can do the same thing with Abiword 2.8.1 and the html file is just 52kB, probably because it is using jpg: img ... src=data:image/jpeg;base64,{image data} There is an old ticket for that (last modified 2 years ago): Ticket #1442 non-PNG image support for Abiword Any suggestions for a workaround? Is there an other activity we could use to create html pages? Best regards, Philipp PS: other document types created with Write have the same problem: image/jpg: 38kB (created with Record activity) application/rtf: 821kB (created with Write activity) text/html: 554kB (created with Write activity) application/vnd.oasis.opendocument.text: 406kB (created with Write activity, default) ___ 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 -- «Sugar Labs is anyone who participates in improving and using Sugar. What Sugar Labs does is determined by the participants.» - David Farning ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] GSM/CDMA Modems support (part II)
On Wed, Nov 25, 2009 at 14:47, Daniel Drake d...@laptop.org wrote: On Wed, 2009-11-25 at 09:36 -0500, Martin Abente wrote: Would a patch that extends the allowed connection types be accepted in the 0.84 branch (that will be shipped with F11) ? Depends on the patch, but in general one requirement I've been putting on patches for OLPCs 0.84 fork is that the patches must already be in sugar master. So this should be your first port of call... I'll be happy to work with Martin (and whoever else) on this. From looking at http://trac.paraguayeduca.org/browser/nmbridge , Paraguay Educa has already the required skills to do a great work there. Regards, Tomeu -- «Sugar Labs is anyone who participates in improving and using Sugar. What Sugar Labs does is determined by the participants.» - David Farning ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
sensors and bias
Hi, On XO-1, we had an ALSA switch that enabled mic bias. This was used by measure when being put into resistance sensor mode. However, on XO-1.5, when Mitch Bradley suggested how to implement sensor mode, his advice was disable bias, enable the DC port and select it as input Also, our DC input port does not seem to have any bias options. http://dev.laptop.org/~dsd/20090713/codec0.txt It is NID 0x1e. The only nodes that have bias options are 0x1a and 0x1b (the analog microphone inputs). Not knowing much about this area, I'm confused. Is bias useful or not when dealing with sensors? Have we excluded the possibility to control it on XO-1.5? (The current XO-1.5 kernel has a switch to control DC Input Bias but this was an oversight, it doesn't do anything because NID 0x1e has no bias settings.) Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Problem with dracut-modules-olpc-0.2.8 (was: Problem with dracut-modules-olpc-0.2.4)
On Wed, Nov 25, 2009 at 12:44 PM, Esteban Bordón ebordon...@gmail.com wrote: When I try boot the XO using signed initrd and kernel, initrd doesn't mount the filesystem. The screen displays the message mouont: you must specify the filesystem type several times and then shows Can't mount root filesystem Boot has failed, sleeping forever . Can you confirm that it boots in insecure mode, but does not boot in secure mode? 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: 8.2.x, touchpads and papercuts
martin wrote: We are both trolling. teach a man to fish, and... :-) Now - changing to productive topics... give me some things we can do on a 8.2.2 release for the 2 groups of users I mention: = CL1 Alps users - better kmod? - pgf proposed an xset command to tweak responsiveness? both of the above points are covered here: http://wiki.laptop.org/go/Touchpad_driver_changes folks in the field in both rwanda and paraguay have done some testings. we would love to get more feedback from anyone having CL1 (i.e., original) touchpad issues regularly, to let us know if this is enough better to be worth deploying. i/we believe it is, but it's been quite difficult to get good feedback. there's an rpm here: http://wiki.laptop.org/go/Touchpad_driver_changes#Trial_Kernel_with_new_driver (it's inside the tarball, along with a script that applies the mouse accelleration change.) = CL1A New touchpad users - split off psmouse kmod? - kmod or xorg option to disable tapping? when we first got the new CL1A touchpads, and enabled the synaptics protocol in the psmouse driver, it didn't work very well at all. we were under release pressure, so we disabled that support in the kernel, until another day. daniel recently pointed out to me that we could build in the synaptics protocol, but explicitly not choose it (i.e., override auto-detection) by using a module parameter. this would let deployments and others experiment with ways to make tap-to-click go away while keeping everything else working. i believe the full solution will require changes in addition to kernel work -- configuration of the driver and X, and possibly changes to the X11 driver. (note that we have the same issue on XO-1.5 laptops, which all have CL1A touchpads. the issue is being tracked in #9101. i did propose splitting off the psmouse module, so that it could be released independently of the kernel. i still think this is probably the right thing to do, though not necessary -- it's always possible to build and install a full kernel RPM. paul =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 8.2.x, touchpads and papercuts
i wrote: martin wrote: ... = CL1 Alps users - better kmod? - pgf proposed an xset command to tweak responsiveness? both of the above points are covered here: http://wiki.laptop.org/go/Touchpad_driver_changes folks in the field in both rwanda and paraguay have done some testings. we would love to get more feedback from anyone having CL1 (i.e., original) touchpad issues regularly, to let us know if this is enough better to be worth deploying. i/we believe it is, but it's been quite difficult to get good feedback. there's an rpm here: http://wiki.laptop.org/go/Touchpad_driver_changes#Trial_Kernel_with_new_driver (it's inside the tarball, along with a script that applies the mouse accelleration change.) i forgot to also mention that i believe anyone using an XO-1 with a recent (last couple of months) 2.6.30 kernel, as provided with an F11-or-SoaS-on-XO-1 release, is already running this driver. i haven't heard negative feedback from that group of users -- but i actually haven't gotten any feedback at all. so maybe the new driver isn't an improvement at all. or you're all using external mice. :-) paul =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Importing images in Write documents makes file huge
On 11/26/2009 07:06 PM, Tomeu Vizoso wrote: On Thu, Nov 26, 2009 at 09:32, Philipp Kocherphilipp.koc...@gmx.net wrote: The conversion to PNG was a general Abiword feature, but it got solved last July with Abiword 2.7.6 (see link below). On my XO libabiword-2.6.4-6.olpc3 is installed (build 802). Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer? I guess it depends on how many technical resources you have, but it's definitely possible. Though maybe the best way forward is helping with the effort of making F11 work well on the XO-1s. http://wiki.laptop.org/go/F11_for_XO-1 What about 8.2.x? At the moment the write activity is not really responsive when a few pictures are in the document. I expect that would improve as well. It looks like abiword 2.8.1 is already part of F11 for XO 1, which should solve the problem. But I don't expect F11 being installed on the student XOs very soon, is there an alternative solution like another activity that can create simple html files with pictures? Regards, Tomeu http://planet.abisource.com/: July 04, 2009 Marc Maurer: Impressive AbiWord release We just released AbiWord 2.7.6, which is an awesome release in my opinion! It for example adds native JPEG support, so we don’t convert every JPEG internally to PNG anymore. This will be of great benefit on the OLPC laptop, where kids use built-in camera to produce photos in JPEG format and add them to their document. This will greatly reduce the filesize of their document. It will also be a lot less bandwidth intensive when collaborating on such a document. On 11/26/2009 03:01 PM, Philipp Kocher wrote: Hi all, We would like the students to create simple html-documents with text and images and upload them to the schoolserver for a simple homepage. The Write activity (we are using version 60 on build 802) has a feature Keep as Hypertext (HTML), but when images are inserted into the document the files get huge (10 times bigger than original image). If I check the file size in the datastore, an image created with Record (file size 38kB, mimetype image/jpg) inserted in a html document containing nothing else than the image, the html file is 554kB (mimetype text/html). The image is saved in the html-document with: img ... src=data:image/png;base64,{image data} I can do the same thing with Abiword 2.8.1 and the html file is just 52kB, probably because it is using jpg: img ... src=data:image/jpeg;base64,{image data} There is an old ticket for that (last modified 2 years ago): Ticket #1442 non-PNG image support for Abiword Any suggestions for a workaround? Is there an other activity we could use to create html pages? Best regards, Philipp PS: other document types created with Write have the same problem: image/jpg: 38kB (created with Record activity) application/rtf: 821kB (created with Write activity) text/html:554kB (created with Write activity) application/vnd.oasis.opendocument.text: 406kB (created with Write activity, default) ___ 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: Importing images in Write documents makes file huge
Philipp Kocher wrote: Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer? Note that this represents a flag day change. Users with version below and above will not be able to collaborate, at least when trying to share documents containing jpeg images. --Ben signature.asc Description: OpenPGP digital signature ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Haiti OLPCs - some news
Hello On Thu, Nov 26, 2009 at 04:55, Edward Cherlin echer...@gmail.com wrote: On the data entry, what medical software is in use? There's no data entry for the moment. The first part of the project is to provide access to html content, with a strong focus on drugs information, but anything can be put on the SD or USB key. The olpc are set to use a fullscreen browser with a minimal debian based distribution. Using medical entry software is an interesting idea, but I believe trying to adapt an existing solution instead of creating something based on the local needs is wasteful. Are people thinking about how to network from village to town to city for such purposes? The debian is set up so that when olpcs are near eachother, the homepage of the fullscreen browser shows the list of near olpcs, with an hyperlink. The content of the SD and USB keys are shared by default - therefore if there's no SD or USB key, it shows nothing. I purchased SD card with USB interface (sandisk) for each olpc. The idea is to let it inside the olpc, using the USB port to access its content on another computer if needed. SD are small enough to be easily exchanged The idea is to ease the propagation of any html content (the LCD of text information) between the users. Is there any thought about telemedicine using the camera, video chat, and data acquisition functions of the XO? Hopefully - I did some tests, aiming for something simple (saving jpg files on the USB/SD, to be shared wirelessly). But for now I want to get the devices in the hard of the users and let them tell me what they need. -- Dr. Guylhem Aznar, MD PhD Unité d'Analyse Médico-Économique Service de Santé Publique et d'Économie de la Santé Pôle SPSSR CHU de Fort de France BP 632 97261 Fort De France Cedex Martinique, France Tel : 05 96 55 23 47 Fax : 05 96 75 84 57 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11 for the XO-1 Build 9
sascha-ml-ui-sugar-olpc-de...@silbe.org said: On Wed, Nov 25, 2009 at 10:32:20AM -0800, Hal Murray wrote: I just tried it. The UI hangs in the startup sequence showing the whole little man with one dot below him. It works if I hold down the check-key when booting. [...] That sounds like the kernel doesn't have DCON support or doesn't find it. Does this build use a dev.laptop.org kernel? If so, it probably misses the fix for #9687 [1] (attached to the ticket, but not committed yet). It works if I boot with the check-key, so I assume the kernel knows how to talk to the DCON. In case it matters, I was using the kernel (and everything else) that Steven M. Parrish announced on Mon, 23 Nov. http://dev.laptop.org/~smparrish/XO-1/builds/OS9 -- These are my opinions, not necessarily my employer's. I hate spam. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11 for the XO-1 Build 9
On Thu, Nov 26, 2009 at 09:47:24AM -0800, Hal Murray wrote: It works if I boot with the check-key, so I assume the kernel knows how to talk to the DCON. When you boot with check-key OFW already unfreezes then DCON, so the kernel doesn't need to do it anymore. Brightness setting - which you reported as non-working - is also done using the DCON, so from my side it's still looking like a DCON driver issue. Can you post the output of dmesg |grep -i dcon, please? If the DCON driver works, it should say something like: [4.213218] olpc-dcon: Discovered DCON version 2 If it doesn't output anything at all, there's either no DCON driver present or it doesn't get invoked, the latter of which would be #9687. CU Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: Digital signature ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [IAEP] Sunflower for Science on XO
On Wed, Nov 25, 2009 at 17:16, Danny Kodicek da...@sunflowerlearning.com wrote: Hi there I just wanted to write to let people know we've been experimenting with some success with getting our Sunflower for Science product (www.sunflowerlearning.com) running on an XO. It's a Windows/Mac product but I've got it running through SugaredWine and it's looking very promising. I have a few questions that I wondered if anyone might be able to help with: 1) Screen resolution The biggest problem we have is that the screen res of the XO seems unnecessarily high and can't be changed. This leads to two big problems, one of readibility (which we can fix with a bit of work) and one of performance. Given the low spec of the machines, running full-screen animations, some of them in 3d, is pretty hard work for them at that resolution. Does anyone have any suggestions for ways to get round this issue? For example, I've been thinking about whether we could run the software at half-res and then use a screen magnifier app to bring it back to fullscreen That approach has been discussed and I think that someone got it to work up to some point, I recommend you to search in the devel@lists.laptop.org archives for the keyword scaling, zoom, etc. I'm cc'ing that list in the hope that someone will reply. 2) Launching and packaging Although SugaredWine is great, it would seem that a more sensible option would be to package the software together with Wine as a single activity that can be launched directly from a stick or installed as a .xo. Our product doesn't have an installer, although it does write to the Registry - anyone tried anything like this? I recommend you to make an .xo that contains both wine and you binary, when the activity is launched, wine would be called with your binary as an argument. I think there was a good example running around some time ago, which did just that with an excel viewer or similar. I'm afraid I'm a total Linux novice, so any advice would be welcome, but if you could talk to me like a small child that would be very helpful :) Sorry I cannot give you more precise instructions, I'm really short of time these days. I would suggest you to google around, patiently ask here and in other fora, and go step by step towards your goal, learning on the way. That's what small children do, right? :p Regards and good luck, Tomeu Thanks Danny ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- «Sugar Labs is anyone who participates in improving and using Sugar. What Sugar Labs does is determined by the participants.» - David Farning ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11 for the XO-1 Build 9
sascha-ml-ui-sugar-olpc-de...@silbe.org said: When you boot with check-key OFW already unfreezes then DCON, so the kernel doesn't need to do it anymore. Brightness setting - which you reported as non-working - is also done using the DCON, so from my side it's still looking like a DCON driver issue. Ahh. I missed that part. Can you post the output of dmesg |grep -i dcon, please? If the DCON driver works, it should say something like: Nope, nothing about DCON there. If it doesn't output anything at all, there's either no DCON driver present or it doesn't get invoked, the latter of which would be #9687. Thanks. Looks right to me. No dcon in /sys/devices/platform/ either. -- These are my opinions, not necessarily my employer's. I hate spam. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New F11 for the XO-1 Build 9
On Thu, Nov 26, 2009 at 12:01:12PM -0800, Hal Murray wrote: If it doesn't output anything at all, there's either no DCON driver present or it doesn't get invoked, the latter of which would be #9687. Thanks. Looks right to me. No dcon in /sys/devices/platform/ either. If you want to be sure it's #9687 you can check whether /sys/module/olpc_dcon exists (it should). But I doubt that F11 for the XO-1 ships a kernel without a DCON driver. CU Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: Digital signature ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: updates.laptop.org now serves F11-for-XO1.5 builds
olpc-update f11_xo1.5-46 ... worked fine for me on os45 at a conference venue. Took a while, but that was probably latency. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 8.2.x, touchpads and papercuts
Hi Paul, On 26 Nov 2009, at 13:45, Paul Fox wrote: i wrote: martin wrote: ... = CL1 Alps users - better kmod? - pgf proposed an xset command to tweak responsiveness? both of the above points are covered here: http://wiki.laptop.org/go/Touchpad_driver_changes folks in the field in both rwanda and paraguay have done some testings. we would love to get more feedback from anyone having CL1 (i.e., original) touchpad issues regularly, to let us know if this is enough better to be worth deploying. i/we believe it is, but it's been quite difficult to get good feedback. there's an rpm here: http://wiki.laptop.org/go/Touchpad_driver_changes#Trial_Kernel_with_new_driver (it's inside the tarball, along with a script that applies the mouse accelleration change.) i forgot to also mention that i believe anyone using an XO-1 with a recent (last couple of months) 2.6.30 kernel, as provided with an F11-or-SoaS-on-XO-1 release, is already running this driver. i haven't heard negative feedback from that group of users -- but i actually haven't gotten any feedback at all. so maybe the new driver isn't an improvement at all. or you're all using external mice. :-) Sorry for not pinging before on this, but I'm not noticing a significant change in trackpad behaviour (certainly does not seem to have deteriorated so could be a mild improvement). I need to sit down and do side by side comparisons while not being distracted by other tasks (just got back to Edinburgh tonight so I have a 0.82 XO-1 and F11-on-XO-1 handy again). A good test I used to try when the trackpad was being hacked on before was using Paint (same version) to draw spirals, you: 1) try to keep it reasonably tight 2) stop if you collide or get sloppy 3) count the number of cycles 4) try again N times 5) use the average cycles as a measure Will give this a shot in the next few days. Regards, --Gary ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: updates.laptop.org now serves F11-for-XO1.5 builds
olpc-update to xo1.5-46 worked for me on my B2 Thanks Daniel Drake! I had trouble downloading in full the zd file for 46 from cjb's directory in my Ubuntu machine, not sure why. So I stepped back to OS45 and followed the suggestions above and on reboot it works This combination of Q3a16 and OS45 and 46 seem to run OK and the screen color errors at boot up have not appeared again that I had at Qa311 and release 11 ( my testing starting point) Sandy http://wiki.laptop.org/go/User:Culseg ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: sensors and bias
The bias for port B is used for port F (the DC input). Port F has no bias generator, and would have to use another port's, regardless of whether it was DC coupled or not. wad On Nov 26, 2009, at 7:18 AM, Daniel Drake wrote: Hi, On XO-1, we had an ALSA switch that enabled mic bias. This was used by measure when being put into resistance sensor mode. However, on XO-1.5, when Mitch Bradley suggested how to implement sensor mode, his advice was disable bias, enable the DC port and select it as input Also, our DC input port does not seem to have any bias options. http://dev.laptop.org/~dsd/20090713/codec0.txt It is NID 0x1e. The only nodes that have bias options are 0x1a and 0x1b (the analog microphone inputs). Not knowing much about this area, I'm confused. Is bias useful or not when dealing with sensors? Have we excluded the possibility to control it on XO-1.5? (The current XO-1.5 kernel has a switch to control DC Input Bias but this was an oversight, it doesn't do anything because NID 0x1e has no bias settings.) Daniel ___ 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
[Server-devel] Development state
Greetings, I am Ulises Arias from the OLPC MINED El Salvador team, I read in the wiki that the XS server its still on development and not all the software is fully functional. My question is, How convenient is to use an XS server for production work in the current state? , and in how many time will a stable be released? Thanks beforehand. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel