Finishing the Job: Installing a USB Keyboard into an OLPC XO Laptop, Phase II

 by labelreader
IMG_1476.JPG
IMG_1470.JPG
comparison.jpg
IMG_1439.JPG
IMG_1440.JPG
IMG_1441.JPG
IMG_1442.JPG
IMG_1443.JPG
IMG_1444.JPG
IMG_1445.JPG
IMG_1449.JPG
IMG_1452.jpg
IMG_1453.jpg
IMG_1466.JPG
IMG_1468.JPG
IMG_1455.JPG
IMG_1456.JPG
IMG_1459.JPG
IMG_1461.JPG
IMG_1462.JPG
IMG_1464.JPG
it_works.jpg
For a guy who's spent most of his life with his fingers connected to the home row, adding this USB keyboard that I can really touch-type on has made a huge difference in the usability of the XO. This is "phase II" -- putting the cable inside the case and hard-wiring it into one of the XO's USB ports. The instructions for this phase should work for adding any USB device to your XO.

Even though I extirpated it from my OLPC laptop and yeah, I poked a little fun at it in Phase I, I really love the design of the XO's soft green keyboard. There's no Caps Lock key, which is brilliant, it gives you access to all kinds of useful (and fun) extended characters, and the Sugar interface keys simply look cool. I will probably have mine framed, now that I'm not using it.

This part of the project is relatively benign compared with Phase I; there's no dremeling, no squeezing of parts together, just a little solder that should be pretty easy to undo later if you really need to. That said, you have to be very careful in this phase for other reasons: this time, you're working with the heart of your XO laptop. It would be very easy to cause a short circuit with some stray strands of wire or to melt a PC board with the soldering iron if you're not careful. One worry I didn't have going into this was that I might bump the clock backup battery. I should have been worried about it! Turns out that Firmware version q2d06 will never boot again if the clock battery is dislodged while you're poking around in your XO, so upgrade to q2d07 before proceeding! Thanks, eden!

Things you'll need:

1. A jeweler's large phillips screwdriver (hopefully you haven't lost yours since Phase I)
2. The needliest needle-nosed pliers you can find
3. A pair of wire cutters or very small tin snips
4. A wire stripper set one notch below "angel hair"
5. A pair of scissors
6. A multimeter or a battery soldered to two wires and an LED, for continuity testing
7. One piece of cellophane tape (sorry cello fans)
8. A soldering iron
9. Solder (preferably lead-free)
10. Something to block the USB port your new keyboard will now permanently occupy, or a good memory for which port never, ever to use again
11. An OLPC XO laptop, preferably one that has an unsightly USB cable hanging out the back
 
Remove these adsRemove these ads by Signing Up

Step 1: Skull Saw, Nurse

Luckily for me, I don't have to write any instructions on how to take apart your XO; all you need to do is visit the OLPC wiki:

http://wiki.laptop.org/go/Manual/Insides

You're trying to get to the USB ports, which are at the back of the XO's "head." Unfortunately, you can't just pop the back off and start digging, because the screws that keep the back panel from falling off are underneath the LCD. Follow the instructions through the third page. When I got to the LCD, I just removed it from the machine and set it aside on my desk on some of these things for safekeeping while I did the rest of the work.

Once you get the back cover off, though, you'll see that the geeks at OLPC must have wanted you to hack your XO this way; one of the USB ports is not like the others -- instead of being mounted perpendicularly to the motherboard, it's flat along it, which means that the pins are all visible and practically screaming out to be soldered to something: a hub? a 3G modem? Maybe my next project should be an internal USB aquarium...
swmcd says: Oct 28, 2009. 3:06 PM
It may be easier to just plug stumpy into the USB port and then test continuity directly from the stripped wire ends to the solder pads on the PC board.

GorillazMiko says: Feb 10, 2008. 2:48 PM
Cool job. Is this going to be the last Phase? These laptops are really cool, I could have one in my room on my table, then I could Instructable anytime I want!
Yerboogieman in reply to GorillazMikoFeb 24, 2008. 6:53 PM
you dont have your own computer?
GorillazMiko in reply to YerboogiemanFeb 25, 2008. 3:10 PM
I have 2 computers. No laptop.
Yerboogieman in reply to GorillazMikoFeb 25, 2008. 8:28 PM
why dont you put yours in your room?
GorillazMiko in reply to YerboogiemanFeb 25, 2008. 8:35 PM
Parents won't let me.
Kasm279 in reply to GorillazMikoApr 8, 2009. 5:59 PM
lol, i have 2 desktop computers (a MicronPC monster running XP Pro and a Compaq running ubuntu , 1.7Ghz Pentium4, 20 GB HDs in each, neither one plugged in), a G3 tray-loader iMac (333Mhz, runs Jaguar (10.2) excellently, beats my laptop in speed) and my HP laptop that i got for free because it didnt work. I fixed it and it runs perfectly now (2.8Ghz Celeron) :P :D
IW5 Industries in reply to Kasm279Aug 13, 2009. 2:31 PM
Me too, i have the computer i'm typing on now, my custom built computer... lol i love that word i finally bribed my parents into getting me a CUSTOM BUILT COMPUTER running xp pro as my room computer (but i had to pay the bill when it broke....) :'( , and my 10 year old datel running windows98 as my workshop computer! lol
Warlrosity in reply to Kasm279Aug 2, 2009. 11:34 PM
OMG!!!!!!!!!!! I ALSO HAVE THE SLOT LOADER< FIRST MAXC!!
Yerboogieman in reply to GorillazMikoFeb 25, 2008. 9:08 PM
that sucks, i think i know whats going through their mind, PORNO! PORNO! PORNO! like a siren, not trying to be mean or anything
jayman1310 in reply to YerboogiemanOct 22, 2008. 10:30 PM
my parents won't let me for that reason. but then again, theyre right...
=SMART= in reply to YerboogiemanSep 12, 2008. 2:50 PM
na man that's whats going through my mind
Yerboogieman in reply to =SMART=Sep 12, 2008. 3:29 PM
Errrr...for GM? thats a little weird..
=SMART= in reply to YerboogiemanSep 13, 2008. 12:12 AM
no lol for me hahaha jk
labelreader (author) in reply to GorillazMikoFeb 10, 2008. 3:51 PM
I guess there could be one more phase, if I really wanted to stretch it; I have been pondering some keyboard remappings...but that's probably not as interesting. =)
dov says: Feb 22, 2008. 12:15 AM
Great instructions! I wonder if it is necessary to use one of the external USB ports though? I thought I saw somewhere that the OLPC motherboard has 4 USB ports, 3 of which are connected externally. I actually thought of trying to add a bluetooth adapter to the 4th one, if it exists that is...
micronxd in reply to dovDec 26, 2008. 6:36 PM
There IS an unused 4 pin connector on the mobo near the upper right corner of the south bridge. I can't find documentation on it ANYWHERE. I really want to soldier a USB drive to it and lay it over the codec chip if that is in fact a USB port in disguise..
labelreader (author) in reply to dovFeb 22, 2008. 8:00 AM
Thanks!

Yeah, I looked into that before I went ahead with this, and it turns out that the USB host controller in the XO does support four ports, but if I understood correctly, one of those is used by the Wi-Fi interface.

OTOH, it would be pretty easy to fit a small hub into the machine to handle multiple internal peripherals. Bluetooth would be nice for a mouse -- it would be cool to build-in one of those bluetooth fabric keyboards and dispense with routing the keyboard cable altogether. =)
dov in reply to labelreaderFeb 23, 2008. 10:08 AM
Always using bluetooth for the keyboard sounds would probably drain the battery a bit faster. Are you sure about the fourth port being used for the WiFi interface? Any references? Another question. Are you still able to close the lid of the OLPC with the new keyboard? When you do, are any keys being pressed? If there are keys pressed, it might interfer with the ability to use the OLPC in tablet mode.
labelreader (author) in reply to dovFeb 23, 2008. 2:37 PM
Pretty sure...my reference was a PDF (maybe from laptop.org?), but I can't find it again now...should've del.icio'ed it. In tablet mode, the screen does hit the keyboard. That's because the back of the "head" of the XO is convex, vs. the concave front. So, if you use tablet mode, you're probably better off simply disconnecting your stuck keyboard and always using an external USB model. Of course, one of those fabric bluetooth keyboards would not have this problem, but from playing with one, I don't think the feel of those is as good as the basic XO keyboard. However, the lid does close and latch; not as readily as before, granted. I have noticed that keys are often pressed while closing it, but as far as I can tell, they don't stay pressed while it's closed. Hopefully, the upcoming suspend mode software update will make closing the XO useful. *grin*
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!