Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Compare cell phone plans using Wirefly's innovative plan comparison tool ×
IBM Hardware

Modding a Thinkpad Keyboard for External Use? 47

Rinisari asks: "I've recently acquired a working keyboard from a IBM Thinkpad. It has ~87 keys, mousestick with left, right, and rocker buttons, and five other buttons: IBM, volume up/down/mute, and a power button (part number 08K4785). I want to make an interface cable, preferably USB but PS/2 will suffice, to be able to use this on my desktop. Has anyone ever tried something like this?"
This discussion has been archived. No new comments can be posted.

Modding a Thinkpad Keyboard for External Use?

Comments Filter:
  • by df200 ( 577345 ) on Thursday March 04, 2004 @07:52AM (#8461721)
    Have you checked if this thing has a keyboard controller chip built in? Normal PC keyboards have their own logic but laptop keyboards AFAIK don't, the logic may be somewhere on the laptop's mainboard.
  • by _hAZE_ ( 20054 ) on Thursday March 04, 2004 @07:54AM (#8461727) Homepage
    Are you aware you can buy keyboards from IBM that are pretty close to what you want? In fact, this is slightly cooler, just because it comes with the number-pad, too.. C= 461017

    Or, if you really want the number-pad-less version, try this: C= 170470
  • by apocamok ( 196093 ) on Thursday March 04, 2004 @07:56AM (#8461734) Homepage
    Available from IBM:
    88-Key Space Saver II Keyboard (Business Black) []

    Link is to the danish model.
  • by shadowxtc ( 561058 ) <> on Thursday March 04, 2004 @08:23AM (#8461796) Homepage
    Granted, you already have a keyboard and thus it's free. But I've got one of these (blue lights, black frame) and it's wonderful. Just like a notebook keyboard - perfect for coding: /5c3f/ []
  • It may not be easy. (Score:5, Informative)

    by munpfazy ( 694689 ) on Thursday March 04, 2004 @08:36AM (#8461840)
    I spent some time pondering something similar while putting together a home-made vertical split keyboard.

    Didn't come across anything with IBM's name on it, but among the salvage laptop keyboards that I found in parts stores, none were easy to turn into a working keyboard. They not only lacked a controller, but they seemed to have entirely unique path layouts, making the prospect of finding a suitable ready-built controller unlikely. That's based solely on the three I explored - perhaps there are standards among some manufacturers.

    The only suitable solution I could see was to cut every single circuit path on the keyboard and then wire them up *by hand* to a keyboard controller ripped out of a desktop keyboard, after carefully tracing out every path from the original desktop keyboard. Needless to say, it didn't seem worth the time required. But, with a DMM, a dozen dremel cutting disks, a half pound of solder, a weekend, and a whole lot of patience you could do it.

    If you're willing to spend 100 bucks or more, you can find programmable controllers, and you might get lucky and find one compatible with the existing laptop keyboard. But, for that price, you can probably buy a keyboard to suit your needs right off the shelf.

    If by some chance you find a nifty solution, please post it here. I'd love to see it.

    I guess the silliest answer would be to attach it to an ibm laptop and write a program to mimic a keyboard on the usb port. (I suspect you'd run into latency problems - but it could be fun just for the shear absurdity of it.)
    • Yeah, chopping in half the circuit paths seems like a bad idea. Perhaps if you started with two keyboards, you could cut the faces apart and fold over the circuits, then combine the cables with a PS/2 splitter. Signals for one half of the keyboard would be generated by left keyboards and the other from the right keyboard.
  • Sell it (Score:5, Insightful)

    by cybermace5 ( 446439 ) <> on Thursday March 04, 2004 @09:32AM (#8462064) Homepage Journal
    Just put it up on eBay and let it go. Someone will want it for spare parts. That's all it's really good for; laptop keyboards are very nonstandard and the odds are very good that you won't ever figure it out. This is a project involving large amounts of reverse engineering, development of custom circuitry, and microcontroller programming.
  • Here.. (Score:5, Funny)

    by Frequanaut ( 135988 ) on Thursday March 04, 2004 @09:49AM (#8462163)
    Here kid, here's 5 bucks, go get yourself a real keyboard.
  • by mewyn ( 663989 ) on Thursday March 04, 2004 @10:08AM (#8462395) Homepage
    In order to pull this off, you will need to figure out how the keyboard's matrix is set up, then hook it up properly to a microcontroller, and then program said microcontroller to work with PS/2 (forget USB). Simply put no easy task. And then there's the trackpoint. With that, you will have to find a microcontroller with analog inputs, and figure out how the thing behaves electrically. Just give it up and buy a new keyboard. This thing is a task only for someone who knows a lot about EE, and has the time to do it.

    Mewyn Dy'ner
    • Making a USB HID device isn't that complicated. The EZ-USB chips from Cypress would be able to do it easily. It would involve learning how to use the EZ-USB chips though and probably buying the devkit.

      As for the trackpoint, yeah that won't be easy to do. You'd have to do a lot of stuff on calibrating it and then detecting how hard you're pushing etc...
  • by Bushcat ( 615449 ) on Thursday March 04, 2004 @10:36AM (#8462683)
    Check out the 28L3644 [], but beware of sticker shock. If it's the compact keyboard idea that attracts you, check out any of the Happy Hacker keyboards, which used to be at but now appears to be dead.
  • I was actually looking for a way to mod a laptop to put on a rack shelf to take inputs (VGA/KBD/Mouse) from a server also in that rack. Essentially I want to make a cheap kbd/mouse/monitor 1u shelf, without spending $2000 on a real one. Is there any easy way to use the monitor/mkb/scrollpad from an old laptop to do this?

    Thank for all suggestions...I was gonna "ask slashdot" but after this ques mine will never be accepted. Thx.
  • Try this one [], its $50 (might be cheaper elsewhere) and has a touch-pad.
    Granted its PS/2. Other than that, it should work fine. Unless, you really have to have the Thinkpad style pointing device.
  • I once extracted a keyboard from an old labtop, and now I use it as a decoration on the wall. Just an advice, it's pretty neat.
  • Is it possible to remove the LCD from a notebook pc and generate a functional monitor?
  • Good Luck! (Score:2, Interesting)

    by shepd ( 155729 )
    It's likely wired so that each key generates an X/Y position on the ribbon cable, so it won't be useful by itself.

    However, combining it with a project like this [] might be a possibility. I hope you like soldering (I do! :-)
  • by Polo ( 30659 ) * on Thursday March 04, 2004 @03:23PM (#8466626) Homepage
    Why not get A keyboard for $3.59 [] instead.
  • well... (Score:4, Insightful)

    by gooru ( 592512 ) on Thursday March 04, 2004 @03:27PM (#8466672)
    If you're really intent on doing this (and I don't recommend it; just buy one of the previously posted products), then I recommend asking IBM first for specs. You might find a tech or engineer who's willing to release them to you. Then, you'll probably want to learn some stuff about PIC chips. Take a look around at the numerous one-handed keyboards and whatnot for ideas. There are a lot of people who have done similar projects.
  • Not exactly the kind of responses I was looking for, but I think I'll start by calling IBM and seeing if I can get specs/pin layout. I'm not afraid of soldering, as I was prepared to do some soldering to make an antenna (I don't remember the need for it, but it was cheap anyways) for my router.
  • by cr0sh ( 43134 ) on Thursday March 04, 2004 @04:04PM (#8467244) Homepage
    ...but the question is, is it worth your time?

    If the answer to that is "yes", then be prepared for a possible long haul. If you have never done this sort of reverse engineer, prepare for a very steep learning curve. Finally, if you have never wielded a soldering iron (though why you would contemplate this sort of project if you haven't is beyond me - it isn't a beginner's project), forget it.

    Ok, with that out of the way - take a very good look at the keyboard. If you have to, remove the backplate (if it has one, and you can without damaging or disabling anything - sometimes this is impossible to know before doing it - if in doubt, don't do it). See if anywhere on the keyboard is a controller chip/circuit. If there is, write down all the numbers/info you can about each part, and about the board in general. Find out assembly numbers, revision numbers, part number. Finally, write down the part number/rev/version/assembly numbers for the keyboard itself.

    If you didn't see any circuitry (though I would expect maybe some for the trackmouse thingie - maybe not), then you are in luck - it is a keyboard matrix. Now, all you have to do is figure out the matrix.

    If it is such a keyboard, the best way is to look up on DigiKey the kind of connector you need for the keyboard ribbon cable (as it is likely to be a simple flexible cable with little or no connector). If you know what the connector looked like on the laptop, it would help. Basically, you are going to need to take some mesurements of the cable/connector and such, and try to find the proper DigiKey part. You may need to take some pics and get in contact with someone at DigiKey for info regarding this.

    Regardless of whether it is such a keyboard or not - have you tried contacting IBM and asking them about it? Don't send you email to sales or whatnot - be polite in the email, state you have purchased the item used (or whatever), and are interested in researching the feasibility of using the device in a custom application. State that you are an electronics hobbyist, and that you are looking for pinout information for the keyboard. Ask to be forwarded to an engineer. Go a couple of rounds of email with them (don't be discouraged - but don't get angry, either - you will likely get exasperated easily) - sometimes if you are persistent it pays off. They might actually outsource the keyboards from a foreign manufacturer. It gets tricky if it goes that direction (because of language barriers), but it isn't impossible. Hopefully they can give you an email address.

    If they do tell you they outsource from a foreign manufacturer, politely ask if they would refer to you who the manufacturer is - likely it will be an asian source. With that in name in hand, you might try googling on it, or checking out (I think that is right). Basically, you are going to lead yourself down a strange and difficult path, but not an impossible one.

    Hopefully, you will get someone on this end that will know what you are trying to do, and won't try to sell you another product.

    Once you determine (however) what kind of interface you have (ie, matrix or on-board controller mediated), and once you figure out its layout (the purpose of finding the proper connector from DigiKey is so you can build the interface and hook it up to experiment easily), you can then work on the interface. You can either hook it up to the standard keyboard connector or USB - USB is more difficult, but it has become easier lately for hobbyists (check out recent back issues of Nuts and Volts magazine for info on USB interfacing). Basically, you are going to need a micro-controller of some sort in between the keyboard and the interface, to translate what comes from the keyboard into what your interface is expecting. I would use either a PIC of some sort or if you want easier development, a BASIC Stamp (essentially a PIC with memory and custom software - there are clones available as well). I suppose you could go with an Atmel uController, but it might be overkill. A simple PIC wo

  • Unicomp "Mighty Mouse" keyboard []

    Order the black one. It's basically a thinkpad laptop keyboard in an external case. It has connectors for both keyboard and mouse (the finger-stick thing and two buttons).

    It's expensive though, $99.

    Personally, though, I prefer either my Happy Hacking Keyboard (small, original, non-Lite) or my Sun Type 6 USB keyboard.

  • 2
    for an example
    small, touchpad, I've seen them recently in use with some SFF shuttle PC's by the AV guys at a convention
  • Now that all the hardware specialists are focused on an input related Ask Slashdot question, I'll pose my somewhat related question :-)

    Is it possible to plug in a spare USB keyboard and reprogram ALL the keys to do custom things: launch programs, launch scripts, emulate menu selects for specific programs, etc. I have several spare keyboards lying around and would love to put them to use. (I'm envisioning some sort of multi-keyboard array mounted on various surfaces that make my home desk look like a cockp

    • If you can find a 2nd hand Gateway AnyKey keyboard on eBay, that's fully macro-able (any key can launch a macro). Plug it into the PS/2 slot, your regular keyboard into USB, and you should be set I think.

      Sadly, some of the keys on mine have died :(
      • Thanks for the AnyKey recommendation!

        I bid on a couple at ebay, but they were going for over $30, which I think is a bit high for a used keyboard.

        Today I read a review of the Belkin's Nostromo Game Controller n52 []. It looks to be programmable and can emulate over 100 keys

        It is going for $26 (free ship) at at the moment: here []

        I'd report back here on how I like it in a few days, but I fear slashdot will have archived this story by then. I'll post my experience here [], if anyone is curious how it

  • Torsion would be a problem on that thing, seems to me. You'd need some kind of backing on it to keep it stable and on your desk. It weighs what, 4-6 oz?

    You might do better going back several models. Thinkpads all have pretty similar keyboards, and one or two may have a specced pinout and controller chip.

Air pollution is really making us pay through the nose.