[PATCH 1/2] ALSA: hda - Configure XO-1.5 microphones at capture time

2010-01-07 Thread Daniel Drake
, fixing the behaviour of the LED. Signed-off-by: Daniel Drake d...@laptop.org --- sound/pci/hda/patch_conexant.c | 125 +++- 1 files changed, 85 insertions(+), 40 deletions(-) diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index

[PATCH 2/2] ALSA: hda - support OLPC XO-1.5 DC input

2010-01-07 Thread Daniel Drake
The XO's audio hardware is wired up to allow DC sensors (e.g. light sensors, thermistors, etc) to be plugged in through the microphone jack. Add sound mixer controls to allow this mode to be enabled and tweaked. Signed-off-by: Daniel Drake d...@laptop.org --- sound/pci/hda/patch_conexant.c

Re: Sugar window managing UI (was: Re: Android, OLPC, and native hosting)

2010-01-06 Thread Daniel Drake
On Wed, 2010-01-06 at 11:49 +0100, Sascha Silbe wrote: a) is harder as every window switch currently involves saving current state to the DS (which resides on an abysmally slow SD card in my case), usually done synchronously. It also generates log messages, right? In which case, a fix for

Re: olpc-os-builder [PATCH] add a Quick Start to README and reformat

2010-01-05 Thread Daniel Drake
On Tue, 2010-01-05 at 13:50 +1100, James Cameron wrote: Tested olpc-os-builder on Fedora 11, and documented the steps required to produce a build in a Quick Start section of the README. Thanks, but I'm not so sure about getting users to run make install since that will put things in /usr rather

Re: olpc-os-builder [PATCH] add a Quick Start to README and reformat

2010-01-05 Thread Daniel Drake
On Wed, 2010-01-06 at 07:24 +1100, James Cameron wrote: On Tue, Jan 05, 2010 at 10:45:10AM +, Daniel Drake wrote: Thanks, but I'm not so sure about getting users to run make install since that will put things in /usr rather than /usr/local. make apparently does nothing, and the README

Re: [Sugar-devel] Ticket 8104

2009-12-28 Thread Daniel Drake
On Mon, 2009-12-28 at 09:46 +0100, Martin Langhoff wrote: - Daniel Drake (cc'd) suspects the bug has not been fixed upstream (the latest NM/dbus pairing seems to have similar issues). So a similar issue may exist in the F11 images. I don't know if he's filed a corresponding ticket

Re: possible progress on XO-1 camera issues

2009-12-23 Thread Daniel Drake
On Wed, 2009-12-23 at 14:28 -0300, César D. Rodas wrote: Hello Everybody, After hard debugging with Raul, we've realized that the problem was in the Geode driver. I've changed a line within the memory buffer, and it seems to work now. Looking forward to get feedback (please don't be

Re: Testing OS64 on XO1.5

2009-12-22 Thread Daniel Drake
On Tue, 2009-12-22 at 12:05 +, Ahmed MANSOUR wrote: The network was working but after my upgrade to OS64, I can no longer get connected so it is more a software issue and not only releasted to B2 hardware. What type of network are you trying to connect to? What is the failure condition?

Re: XO-1.5 video rendering not always smooth

2009-12-20 Thread Daniel Drake
2009/12/20 Mikus Grinbergs mi...@bga.com: In the new snow-1.xo Activity, the falling white spots are noticeably jerkier in os64 (XO-1.5) than in os10 (XO-1). Also, on os64 the (software?) cursor sometimes flickers annoyingly. It is always noticeable in the google-chrome browser (on Sugar),

Re: secure boot- Can't mount root filesystem. Was: Problem with dracut-modules-olpc-0.2.4

2009-12-18 Thread Daniel Drake
On Thu, 2009-12-17 at 11:40 -0200, Esteban Bordón wrote: Hi Daniel, I'm testing secure boot in F11-XO1 (os10). Something else to keep in mind if you are working on this... http://dev.laptop.org/ticket/9916 ___ Devel mailing list

Re: secure boot- Can't mount root filesystem. Was: Problem with dracut-modules-olpc-0.2.4

2009-12-17 Thread Daniel Drake
On Thu, 2009-12-17 at 11:40 -0200, Esteban Bordón wrote: Hi Daniel, I'm testing secure boot in F11-XO1 (os10). When XO boots in secure boot the lease file doesn't read from USB key. I disabled the activation in dracut and I reinstalled dracut-olpc-modules and kernel and I signed them.

Re: possible progress on XO-1 camera issues

2009-12-17 Thread Daniel Drake
On Thu, 2009-12-17 at 15:11 +, Peter Robinson wrote: And we'll see where we need to go from there. If the problem appears to be in the geode driver, one thing you might consider doing is going back to the version that was shipped in 8.2. After 8.2, a new release was made with various

Re: New F11 for XO-1.5 build 62

2009-12-17 Thread Daniel Drake
On Mon, 2009-12-14 at 19:54 -0500, Chris Ball wrote: (Not sure why this build lost 3MB compared to the last one without any package changes -- we should diff the tarball to find out.) Uncompressed, os61.tree.tar has identical size to os62.tree.tar So this is just a LZMA compression thing, no

a trac milestone for F11-for-XO1 work

2009-12-14 Thread Daniel Drake
Hi, Just wanted to point out that there is a new 1.0-software-future milestone in trac. I encourage those of you who are working on F11-for-XO1 to use that to coordinate on the outstanding issues. The disclaimer is that if someone puts a ticket there which additionally applies to XO-1.5, we

Re: [support-gang] Problems with build 59

2009-12-13 Thread Daniel Drake
On Sat, 2009-12-12 at 23:43 -0800, Caryl Bigenho wrote: Hi... Downloaded Build 59 this evening and tried to flash the XO-1.5. It appeared to work perfectly, but could not complete restart at the end. The outline of the XO man appears and dots slowly begin to surround him, but it stalls

updated olpc.fth for XO-1.5

2009-12-13 Thread Daniel Drake
Hi Richard, Sorry to turn around on this -- we no longer want the XO-1.5-specific kernel parameters in olpc.fth since we are now building them into the kernel. For future XO-1.5 bootfw releases please replace olpc.fth with the one included here This isn't critical - everything still works fine

possible progress on XO-1 camera issues

2009-12-12 Thread Daniel Drake
Hi, Jon Corbet's been working on the XO-1.5 camera driver for us, and while doing so he found a V4L2 bug which is probably one of the reasons that we're having problems with XO-1 camera on all post-8.2 builds. The workaround is to build the sensor driver into the kernel, and the camera driver as

Re: RPM trees frozen for XO-1.5 software release

2009-12-11 Thread Daniel Drake
On Thu, 2009-12-10 at 10:54 +, Daniel Drake wrote: Hi, This probably only applies for a couple of days while we tie up development for our initial XO-1.5 software release: Sounds like it will apply for a bit longer. RPM trees are now frozen as of os56 contents - including public_rpms

RPM trees frozen for XO-1.5 software release

2009-12-10 Thread Daniel Drake
Hi, This probably only applies for a couple of days while we tie up development for our initial XO-1.5 software release: RPM trees are now frozen as of os56 contents - including public_rpms If you've fixed something important and you'd like a new/updated package included in the build, assign

runin runs X before it has been configured

2009-12-10 Thread Daniel Drake
Hi Richard, I just tried to do a factory-simulation of your runin code. It failed because during boot when it launched X, the screen went a funny and then everything froze. I think this is because your script is launching X before X has been configured. Ordinarily, X is configured by the

Re: 1.5 - gnome-packagekit?

2009-12-09 Thread Daniel Drake
On Wed, 2009-12-09 at 14:54 +0100, Martin Langhoff wrote: On Tue, Dec 8, 2009 at 10:52 AM, Daniel Drake d...@laptop.org wrote: 2009/12/8 Reuben K. Caron reu...@laptop.org: -Should we include gnome-packagekit to provide such functionality? -Or would including it increase the complexities

Re: 1.5 - gnome-packagekit?

2009-12-08 Thread Daniel Drake
2009/12/8 Reuben K. Caron reu...@laptop.org: -Should we include gnome-packagekit to provide such functionality? -Or would including it increase the complexities of managing deployments? One disadvantage of doing this is that it would harm the use of olpc-update -- pristine updates would fail.

Re: Alternative to Create a new wireless network

2009-12-08 Thread Daniel Drake
2009/12/8 Reuben K. Caron reu...@laptop.org: -Create three faux Mesh Channel # icons in the Network view -When the child wants to join a mesh network they will select one of the networks -Upon selection: the XO will: 1. Scan to see if that ad-hoc network already exists and 2. if it does not

Re: GSM/CDMA Modems support

2009-12-03 Thread Daniel Drake
2009/12/3 Hal Murray hmur...@megapathdsl.net: Thanks. I think that you also need a driver for the specific device you want to use. In this case that is CONFIG_USB_SERIAL_OPTION. Daniel ___ Devel mailing list Devel@lists.laptop.org

Re: XO 1.5 - CONTENTION WINDOW

2009-12-02 Thread Daniel Drake
On Wed, 2009-12-02 at 09:33 -0200, Franco Miceli wrote: What I was expecting was to have CWmax closer to 1024. What I think happens when you set CWmax to 31 is that -as you have more and more machines trying to compete for the medium- you could be having more colisions -since they would wait

Re: XO 1.5 - CONTENTION WINDOW

2009-12-02 Thread Daniel Drake
On Wed, 2009-12-02 at 10:06 -0200, Franco Miceli wrote: Now, this are the four queues I've read, and they have the values: CWmax = 31 CWmin = 7 The eight registers that follow this ones have the exact same pattern (7 31 7 31). That's why I mentioned eight queues (but I might be

Re: 3D acceleration

2009-11-28 Thread Daniel Drake
2009/11/28 Tiago Marques tiago...@gmail.com: Well... it seems VIA has people working on 3D support but no one seems to want to review the code... http://sourceforge.net/mailarchive/forum.php?thread_name=62692B81D079DA49BA9287A3CDF6B41C9FD818%40exchtp12.taipei.via.com.twforum_name=dri-devel I

Re: 3D acceleration

2009-11-28 Thread Daniel Drake
On Sat, 2009-11-28 at 15:51 +, Tiago Marques wrote: It seems to be DRM code necessary to support 3D in the actual driver. Am I wrong? It looks like small fixes to a standard video playback acceleration path to me. The mails even talk about an MPEG application that prompted the patches.

Re: sensors and bias

2009-11-27 Thread Daniel Drake
On Fri, 2009-11-27 at 09:10 +, Daniel Drake wrote: On Fri, 2009-11-27 at 01:38 -0500, John Watlington wrote: 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. Ok

Re: OFW RPM packaging

2009-11-26 Thread Daniel Drake
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

Re: OFW RPM packaging

2009-11-26 Thread Daniel Drake
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

sensors and bias

2009-11-26 Thread Daniel Drake
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

OFW RPM packaging

2009-11-25 Thread Daniel Drake
Hi, How did RPM packaging of OpenFirmware work in previous OLPC OS release cycles? Who did it, and how? We need to restart this process for http://dev.laptop.org/ticket/9573 http://dev.laptop.org/ticket/9628 I'm happy to help out, but knowing what happened previously would be useful. Daniel

Recent olpc-utils fixes

2009-11-25 Thread Daniel Drake
Hi Martin, Thanks for looking at olpc-utils. 2 comments: olpc-configure: use /etc/olpc-configure/devkey.html as template if exists (dlo#9731) Just curious, why is a .tmp file used here? olpc-configure: separate upg from firstboot, trigger activity upg (#9747) To fix #9747 I was planning

Re: [Sugar-devel] GSM/CDMA Modems support (part II)

2009-11-25 Thread Daniel Drake
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

olpc-update server selection

2009-11-25 Thread Daniel Drake
Hi Martin, Going back to recent olpc-update changes... The current logic of choosing which server(s) to query is not really suitable for places where the OATS server is not the school server, but there are school servers online too. In these situations there will be a responsive OATS server on

Re: olpc-update server selection

2009-11-25 Thread Daniel Drake
On Wed, 2009-11-25 at 17:09 +0100, Martin Langhoff wrote: Ummm. Reading the current code in query(), both in master and in 8.2-fixes, it will try the local XS and the configured OATS server -- in that order. If the request to the local XS errors out or returns an invalid response (non 200) it

Re: olpc-update server selection

2009-11-25 Thread Daniel Drake
Another approach that I think would work for everyone: Build the URL list with up to 3 URLs, in this order. 1. Value from ANTITHEFT_SERVER_FILE if it exists 2. schoolserver 3. antitheft.laptop.org Daniel ___ Devel mailing list

Re: some os9 impressions

2009-11-24 Thread Daniel Drake
On Mon, 2009-11-23 at 20:16 -0500, Mikus Grinbergs wrote: I'm a Terminal user - and I had to install Terminal myself. Some other popular (my opinion) activities not included were: irc, maze, and tamtam_mini. Speak speaks; Record records audio. Yeah, activities.sugarlabs.org seems to be

Customization stick for XO-1.5

2009-11-24 Thread Daniel Drake
I wrote a dracut module that can produce an initramfs for a customization stick. It's based on Michael's code for the currently-available customization stick. Released in dracut-modules-olpc-0.3.0. Build instructions here: http://wiki.laptop.org/go/Customization_stick_development We should build

updates.laptop.org now serves F11-for-XO1.5 builds

2009-11-24 Thread Daniel Drake
Hi, updates.laptop.org now serves F11-for-XO1.5 builds through olpc-update. However, olpc-update is a little broken in the latest OS release. So, once os45 is released (today) you will have to install it using the usual reflash methods. From that point, you can upgrade to os46 and onwards using

Re: updates.laptop.org now serves F11-for-XO1.5 builds

2009-11-24 Thread Daniel Drake
2009/11/24 Mikus Grinbergs mi...@bga.com: updates.laptop.org now serves F11-for-XO1.5 builds through olpc-update Long ago I was able to run olpc-update using an USB stick as input.  Does the current olpc-update still support that mode ? Yes, as long as you have a usb image in the right shape.

Re: slimming icon theme caches

2009-11-23 Thread Daniel Drake
On Mon, 2009-11-23 at 13:32 -0500, C. Scott Ananian wrote: Yeah, I still think they're unnecessary for a flash device. Is it important enough to be worth maintaining a fork? Depends on whether small updates via something like the update-system are still important. Thanks for your input. As

more on trac

2009-11-20 Thread Daniel Drake
Hi, Here are some changes to trac that I suggest. I know that this is still work in progress. 1. Retriage the 11 open tickets in 1.5-hardware-B and close that milestone. We've already gone into B-production. 2. We recently closed some old milestones like 8.2.0 but there are still many tickets

Re: more on trac

2009-11-20 Thread Daniel Drake
On Fri, 2009-11-20 at 21:50 +1100, James Cameron wrote: 2. We recently closed some old milestones like 8.2.0 but there are still many tickets open in them. Move all those open tickets to Not triaged. I'm unsure about this one. If the problems can be reproduced on XO-1.5 with F11, yes.

Re: New F11 for XO-1.5 build 43

2009-11-20 Thread Daniel Drake
On Fri, 2009-11-20 at 09:49 +0100, Christoph Derndorfer wrote: I was wondering whether it was possible to upgrade the software on XO-1.5s without having to completely reflash the machine (which as I understand it is what fs-update does)? So basically I'd be looking for something similar to

Re: more on trac

2009-11-20 Thread Daniel Drake
One more: I think 1.5-software-future should be renamed to 1.5-future. We can't put a date on this milestone and I don't think theres a value of splitting our medium-term goals into hardware/software/firmware as we already do that with the component field. And I propose this description for the

Re: more on trac

2009-11-20 Thread Daniel Drake
On Fri, 2009-11-20 at 13:12 +0100, Martin Langhoff wrote: Yes, please. I am planning to open a '8.2.3' milestone with all the bugs using keyword 'ml8.2.3' currently. Maintenance of old releases is important for very large deployments. Great! What happened to 8.2.2? We actually already have a

Re: New F11 for XO-1.5 build 43

2009-11-20 Thread Daniel Drake
On Fri, 2009-11-20 at 15:54 +0100, Martin Langhoff wrote: Not sure whar Daniel means when he'ssaying we have no server. Maybe just that we're not running one :-) Yeah, that's what I mean. Daniel ___ Devel mailing list Devel@lists.laptop.org

[PATCH] Input: psmouse - Fix a synaptics protocol detection mistake

2009-11-19 Thread Daniel Drake
earlier it then causes psmouse_reconnect() to fail and a full reprobe happens. Fix this by tweaking the set_properties=0 codepath in psmouse_extensions() to be more careful about offering PSMOUSE_SYNAPTICS extensions. Signed-off-by: Daniel Drake d...@laptop.org --- drivers/input/mouse/psmouse

Re: image-builder updates...

2009-11-19 Thread Daniel Drake
On Thu, 2009-11-19 at 14:14 +0100, Martin Langhoff wrote: - build.py: now adds a custom identifier (pass --buildid) to olpc_build, and stores logs of the customisation and a copy of the customisation script in /var/log/olpc_build /var/log is not accessible on a booted XO (a tmpfs is mounted on

Re: image-builder updates...

2009-11-19 Thread Daniel Drake
On Thu, 2009-11-19 at 14:14 +0100, Martin Langhoff wrote: - build.py now passes the full path of the internal root to the customization script, so you no longer need to hardcode /pristine/802 everywhere. - build.py: now adds a custom identifier (pass --buildid) to olpc_build, and stores

Re: Problem with dracut-modules-olpc-0.2.4

2009-11-19 Thread Daniel Drake
On Thu, 2009-11-19 at 13:17 -0200, Esteban Bordón wrote: great! With the new version of dracut-modules-olpc (0.2.8) works fine, but XO boot only if I hold down the ckeck button ('✓') What happens if you don't hold it down? Daniel ___ Devel

Re: Problem with dracut-modules-olpc-0.2.4

2009-11-19 Thread Daniel Drake
On Thu, 2009-11-19 at 14:06 -0200, Esteban Bordón wrote: Screen shows the first point arround X and get stuck The icon in the center of the screen, is it an XO, or is it the O with only half the X (sort of like an arrow pointing downwards)? Daniel

Re: Problem with dracut-modules-olpc-0.2.4

2009-11-18 Thread Daniel Drake
On Wed, 2009-11-18 at 10:42 -0200, Esteban Bordón wrote: Hi, I have a problem with dracut-modules-olpc-0.2.4, I generated the file initrd-20091109... , I did an upgrade of kernel and I signed the files (initrd-20091109... and vmlinuz-20091109). If I try secure boot the firmware check the

Re: Problem with dracut-modules-olpc-0.2.4

2009-11-18 Thread Daniel Drake
On Wed, 2009-11-18 at 11:12 -0200, Esteban Bordón wrote: The last messages that screen show is Trying nand:\boot\actrd.zip RD found -Signature valid then get stuck... I suspect you are either hitting #9100 or that there is something wrong in the way that you are generating the

Re: /boot/olpc_build - who reads it on our F9 builds?

2009-11-18 Thread Daniel Drake
On Wed, 2009-11-18 at 17:52 +0100, Martin Langhoff wrote: Exactly as stated. If a local team builds a slightly customised version, is it safe sane to write 802+nic001 in there? It's read from sugar, olpc-pwr-log, etc. Yes you can write anything there. For example the joyride builds would say

Re: XO-1.5 slow disk writes

2009-11-17 Thread Daniel Drake
On Tue, 2009-11-17 at 18:56 +0100, Sean DALY wrote: as a former audio engineer, I was surprised recently to see a unit like the Samson R16 for sale: http://www.samsontech.com/products/productpage.cfm?prodID=2009 which uses an SD Card as its main memory. 8 track linear PCM audio record, 16

Re: Mounting jffs2 images on F11 / kernel 2.6.31?

2009-11-17 Thread Daniel Drake
On Tue, 2009-11-17 at 19:11 +0100, Martin Langhoff wrote: Has this been seen before? Background: Turns out that using block2mtd, a loop device and some elbow grease, it is reasonably easy to mount jffs2 images on a normal linux host. (This is helping me simplify image-builder...) I saw this

Re: OS40 feedback

2009-11-16 Thread Daniel Drake
On Sun, 2009-11-15 at 22:48 -0500, Richard A. Smith wrote: I tried. It crashed on me when I both upgraded to Q3A16 and to OS40 at the same time. USB keyboard worked fine. The battery tricked made everything work fine again. So are either of you able to duplicate the the loss of keyboard

Re: [Sugar-devel] Rationale behind the JSON - CJSON switch in Sugar codebase?

2009-11-13 Thread Daniel Drake
On Fri, 2009-11-13 at 10:14 +0100, Martin Langhoff wrote: On Thu, Nov 12, 2009 at 4:40 PM, Tomeu Vizoso to...@sugarlabs.org wrote: Right now just using the json module in python 2.6 may be best as the parser is a C module (AFAIR). Is because of a bug in cjson why those files aren't being

Re: OLPC developers in Tampa FL area?

2009-11-13 Thread Daniel Drake
On Fri, 2009-11-13 at 04:37 -0500, Justin Petro wrote: Thank you for finding this link... However, it indicates on that page that it can only be used if the lcd/backlight powers up. Mine sounds more like symptom 1. can that method be done blind (without a display)? or does it only work in

Re: [Sugar-devel] Rationale behind the JSON - CJSON switch in Sugar codebase?

2009-11-13 Thread Daniel Drake
On Fri, 2009-11-13 at 10:53 +0100, Martin Langhoff wrote: After a few tries, I did find that the same problem was reported in Debian, a patch proposed, and upstream rejected it: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534709 As Tomeu mentions, Python 2.6 reduces the cjson/json

Re: [Sugar-devel] Rationale behind the JSON - CJSON switch in Sugar codebase?

2009-11-13 Thread Daniel Drake
On Fri, 2009-11-13 at 11:50 +0100, Tomeu Vizoso wrote: For past stable releases, deployers are the ones who should know best. If you are talking about 0.82, then we should go back to use simplejson. If this is 0.84 on F11, then we can use what python 2.6 provides. 0.82 doesn't have this bug -

Re: yum has problem with F11 repositories

2009-11-13 Thread Daniel Drake
On Thu, 2009-11-12 at 23:43 -0500, Mikus Grinbergs wrote: Both yesterday and today, I'm getting an error message about filelists.xml.gz on http://xs-dev.laptop.org/~dsd/repos/, from both the f11 and f11-xo1 repositories: [Errno -1] Metadata file does not match checksum Can't reproduce

Re: versioned fs and /boot minor issues

2009-11-11 Thread Daniel Drake
On Tue, 2009-11-10 at 09:11 +, Daniel Drake wrote: Hi, I implemented the partitioned /boot layout based on the wiki notes and the end result is as follows: Code here: http://dev.laptop.org/git/projects/bitfrost/tree/bitfrost/update/setup.py frob_symlink_partitioned: http

manual SD OS install not working / hal crashing on boot

2009-11-11 Thread Daniel Drake
Hi Richard, I think I remember you talking about this exact problem on IRC a while back. Or maybe it was someone else. Either way, for the record: I installed os39 on a SD card by creating 2 partitions (ext2 32mb, ext3 ~3.5gb). I extracted the os39 tree tarball onto the big partition then

Re: Newer sugar package?

2009-11-10 Thread Daniel Drake
On Tue, 2009-11-10 at 18:41 +0100, Martin Langhoff wrote: The Sugar rpm on our F11 images is 0.84.5 (and updates/updates-testing doesn't seem to carry anything newer). SL has in the interim released 0.84.6 with some bugfixes and translation. Additionally there are several unreleased bugfixen

[PATCH] ALSA: hda - Tweak OLPC XO-1.5 microphone bias

2009-11-09 Thread Daniel Drake
Our contacts at Conexant suggested that we reduce the external microphone bias to 50% in order to center the input signal with the DC input range of the codec. This is because the microphone port is DC coupled for potential use with sensors. Signed-off-by: Daniel Drake d...@laptop.org --- sound

Fedora 12 build for XO-1.5

2009-11-07 Thread Daniel Drake
I built a F12 image based off our F11 distro in order to help diagnose one of our video problems. Here it is incase it's useful for any other efforts: http://dev.laptop.org/~dsd/f12-xo1.5/ ___ Devel mailing list Devel@lists.laptop.org

versioned partitioned upgrading: safety boot configuration

2009-11-04 Thread Daniel Drake
Hi Michael, I'm working on updating olpc-update and the initramfs to be able to work with a partitioned layout where /boot is separate from the rest of the system. Thanks for the good documentation at http://wiki.laptop.org/go/Early_boot This means I will probably be troubling you with a few

versioned partitioned upgrading: clean up / config creation

2009-11-04 Thread Daniel Drake
Hi Michael, Last question for now: http://wiki.laptop.org/go/Early_boot#Clean_Up This part of the page seems to suggest that you only create a /versions/configs entry for systems where an unpartitioned layout is being used, and no config would be created for a partitioned layout. Am I reading

Re: [Server-devel] xs-activation and OS update info

2009-11-04 Thread Daniel Drake
2009/11/4 Martin Langhoff martin.langh...@gmail.com: Hi Daniel, Working on unrelated code, I found that the iniparse module, which we ship on our F9 and F11 OSs, knows the ordering of the sections. Cool, indeed, their site makes it pretty clear that preserving order is a feature. Daniel

Re: crond disabled?

2009-11-04 Thread Daniel Drake
2009/11/4 Hal Murray hmur...@megapathdsl.net: Do we really want to be running something like update which (I assume) takes significant resources without consulting with the user? Yes! Remember, these are not designed as normal laptops. They are for young children and for use in schools. The

public_rpms system for F11 builds

2009-11-03 Thread Daniel Drake
Hi, I've revived the old public_rpms system for the new F11 builds. For anyone that doesn't know, this is a way of making custom RPMs available for OLPC OS builds. Normally, RPMs come from regular Fedora repositories, but this system allows us to throw in RPMs from other sources. We aim to keep

Re: wlan interface (was: first play with new XO 1.5 machines)

2009-10-29 Thread Daniel Drake
2009/10/26 Albert Cahalan acaha...@gmail.com: The issue is that A and B are both hosting their own networks, they are both beacon masters, spewing beacons based off their own clocks. How is this any different than the mesh situation? Exactly how the XO-1 mesh functions on this level is

Re: [Server-devel] xs-activation and OS update info

2009-10-29 Thread Daniel Drake
2009/10/27 Martin Langhoff martin.langh...@gmail.com: Right... makes sense. I am a bit intrigued with the custom config file parser / writer (that is 3x the sloc of the whole xs-activation ;-) ). It's not really a custom config file parser. It's a trivial change to Python's own ConfigParser

Re: [Server-devel] xs-activation and OS update info

2009-10-29 Thread Daniel Drake
2009/10/30 Martin Langhoff martin.langh...@gmail.com: It is about avoiding maintaining a bespoke lib. If you say it is a variant on a python standard lib, do you think we can subclass it? Or is there a reason not to? Yeah it can probably be subclassed. It is needed up until Python 3.0,

Re: [Server-devel] PolicyKit dependency chain for headless machines

2009-10-25 Thread Daniel Drake
2009/10/23 Martin Langhoff martin.langh...@gmail.com: Working on the OLPC XS rebase to F11 -- I end up with random bits of gnome and kde, brought in by PolicyKit, which wants a PolicyKit-authentication-agent. Yum only seems to know of KDE and Gnome authentication-agents. How does PK handle

[Server-devel] minor xs-activation-httphandler bug

2009-10-23 Thread Daniel Drake
xs-activation-httphandler.py does: lease = myoat.get_lease(sn, 300) if lease is not None: myoat.mark_served_lease(sn) resp[lease] = lease However, get_lease doesn't look like it will ever return None. Instead, it returns False if there is no lease. So we

Re: [Server-devel] Nepal XS customizations

2009-10-23 Thread Daniel Drake
2009/10/23 Martin Langhoff martin.langh...@gmail.com:  - a script to simplify eth0 configuration How does that work? http://hg.olenepal.org/NEXS_scripts/file/tip/netsetup.sh Notes on self test:  - 32 tests performed, to check that: hostname has been set, both ethernet interfaces present,

Re: [Testing] first play with new XO 1.5 machines

2009-10-22 Thread Daniel Drake
2009/10/22 Martin Langhoff martin.langh...@gmail.com: On Thu, Oct 22, 2009 at 4:03 AM, Daniel Drake d...@laptop.org wrote: We already discussed this a lot in another thread. It should not be automatic. The thread is titled [Sugar-devel] [Design] Ad-hoc networks - New Icons Yep -- I did read

Re: [Testing] first play with new XO 1.5 machines

2009-10-22 Thread Daniel Drake
2009/10/22 Daniel Drake d...@laptop.org: Ok, but if they are close enough it will work. The question is: if we tell all our nodes to use the same ESSID (or a set of 3 ESSIDs, one per freq), will independently created networks join and split reasonably well? No - ad-hoc is so simple

Re: [Testing] first play with new XO 1.5 machines

2009-10-22 Thread Daniel Drake
2009/10/22 Martin Langhoff martin.langh...@gmail.com: That's my guess too. But the hard-to-answer question is how much more reliable? So we can answer is it worth the big effort? I think both the beaconing and the forwarding will have a big effect on the reliability of the network, but it still

tap-to-click feedback

2009-10-22 Thread Daniel Drake
Just wanted to communicate an experience from the deployment here: A while back, we (OLPC + community) discussed the behaviour of the new XO touchpads which have tap-to-click on by default. We debated including the fairly large software changes to be able to disable this functionality with the

Re: tap-to-click feedback

2009-10-22 Thread Daniel Drake
2009/10/22 Chris Ball c...@laptop.org: I might be wrong, but I think we just need the X driver -- yum install xorg-x11-drv-synaptics.  Xorg drivers are generally not layered on top of kernel drivers, outside of the case of DRI. Didn't work for me:

[Server-devel] Nepal XS customizations

2009-10-22 Thread Daniel Drake
Here are the customizations we're making on top of XS-0.6 here in Nepal. This version will start being distributed to the field on Monday. Kickstart file modifications: - no GUI, just use text mode - auto reboot at the end of installation - no interactivity during installation - timezone and

Re: [Testing] first play with new XO 1.5 machines

2009-10-21 Thread Daniel Drake
2009/10/21 Tabitha Roder tabi...@hrdnz.com: 2009/10/21 Mitch Bradley w...@laptop.org: /boot/olpc_version usually contains the right number. no such file or directory Maybe you don't have /boot mounted, or maybe there is a bug in the build system now that we moved to a separate boot partition.

Re: [Testing] first play with new XO 1.5 machines

2009-10-21 Thread Daniel Drake
2009/10/21 Martin Langhoff martin.langh...@gmail.com: On Wed, Oct 21, 2009 at 8:37 AM, Daniel Drake d...@laptop.org wrote: Maybe you don't have /boot mounted, or maybe there is a bug in the build system now that we moved to a separate boot partition. We should probably write the version

Re: [Testing] first play with new XO 1.5 machines

2009-10-21 Thread Daniel Drake
2009/10/22 Martin Langhoff martin.langh...@gmail.com: They are -- but it's pretty awkward to activate. I am arguing that ad-hoc networking with a preset ESSID, and Salut should be the transparent fallback. Just like the mesh was on earlier releases. We already discussed this a lot in another

Re: [Testing] first play with new XO 1.5 machines

2009-10-21 Thread Daniel Drake
2009/10/22 Tabitha Roder tabi...@hrdnz.com: No mesh: Just checking this scenario I am a teacher and have just been handed 5 XOs for my students. I am told you can have a child start writing a story and then have the other children join in to write together. How does the teacher do this -

Re: [Testing] first play with new XO 1.5 machines [#9343]

2009-10-21 Thread Daniel Drake
2009/10/22 James Cameron qu...@laptop.org: You can manually establish an Ad-Hoc network between several XO-1.5's in build os32 using the following temporary procedure: 1.  start Terminal and become root, eek! no need to get dirty; you can create an ad-hoc network from a single click in the

Re: [Sugar-devel] incremental activity update

2009-10-15 Thread Daniel Drake
2009/10/15 Martin Langhoff martin.langh...@gmail.com: Would be interesting to know more on concrete issues (that lead to the feeling part :-) ). I guess the turning point in my thinking was when I realised that I had to update the .contents file inside the image after making non-activity

incremental activity update

2009-10-14 Thread Daniel Drake
Hi, At OLE Nepal we have difficulties with updating activities because our main educational activity is so huge. Aayush Poudel implemented an incremental activity update which I have now merged with the standard software updater. When updating activities and content, the updater now only

Re: [Sugar-devel] incremental activity update

2009-10-14 Thread Daniel Drake
2009/10/14 Tomeu Vizoso to...@sugarlabs.org: Wonder how we could make it easier for other deployments to benefit from these changes. Do you have plans to push the changes to the sugar-update-control repo and spin new F9 rpms? No - my time is too tight and at least for Paraguay and Nepal it's

MANIFEST experiments

2009-10-14 Thread Daniel Drake
Today I ran a quick experiment on OLPC OS v8.2.1, based on the question: what are the activity MANIFEST files used for? I see sugar frequently complaining about MANIFEST inconsistencies in the logs, but I don't recall seeing it act on these inconsistencies in any way. I noticed that it even logs

Re: [Sugar-devel] incremental activity update

2009-10-14 Thread Daniel Drake
2009/10/15 Martin Langhoff martin.langh...@gmail.com: For the F9 series (8.2.1) my current plan is to work to polish the imagecreator scripts so that it is easier for deployents to  - prepare a custom image (mostly covered)  - base on an existing image (in place, even if the tar isn't

[Server-devel] create_user and re-registration

2009-10-12 Thread Daniel Drake
Hi, If an XO re-registers with the XS, its key is once again appended to .ssh/authorized_keys. Since introducing automatic registration in nepal we end up with many duplicate copies of the keys... any chance this small patch could be added? or that we could overwrite instead of append to the

Re: [Server-devel] create_user and re-registration

2009-10-12 Thread Daniel Drake
2009/10/12 Martin Langhoff martin.langh...@gmail.com: Hi Daniel, Reasonable request... I reviewed the patch, expecting you'd be running `sort -u` over a tmp copy of authorized_keys, but it does nothing like that. How does it help, then? What does sort -u do? The man page doesn't make it

Re: [Server-devel] XS-0.6 -

2009-10-08 Thread Daniel Drake
2009/10/7 Martin Langhoff martin.langh...@gmail.com: 65d0816e002fe83f4e0130b6a92577377b9fd2e3  OLPC-School-Server-0.6-i386.iso c872907f1f696ea7bb1bb6e95319fa27e62ce76c  OLPC-School-Server-0.6-i386.img.gz Great! What's changed since 0.6d5? Daniel ___

<    4   5   6   7   8   9   10   11   12   13   >