Slashdot Mirror


Dongles to Fake Presence of a Keyboard?

An anonymous reader asks: "I have a Compaq IPAQ desktop system (legacy free) that will not boot headless. (Yes I did try to tell the BIOS to not generate a no keyboard error, but there is no such setting for the BIOS of this system.) Since I would like to use it such and don't wish to waste a keyboard just to keep it from complaining, I'd like to come up with a small dongle that would fake the system into thinking that there is a keyboard attached. This is the same basic thing that KVM's do, so the circuit shouldn't be that difficult to find. Has anyone heard of such a thing? Can anyone provide or point to somewhere where I can find the basic circuit for this?" How hard would it be to take the connector part from a old non-working keyboard and wiring something like this up?

123 comments

  1. Not terribly helpful, but ... by iMMersE · · Score: 5, Insightful

    I can't imagine such a dongle could be cheaper than picking up a really cheap and nasty keyboard. Here in the UK, you can regularly get keyboards for 2GBP at computer fairs.

    You'll also have the added advantage of having a keyboard attached to machine, just in case.

    --
    codegolf.com - smaller *is* better.
    1. Re:Not terribly helpful, but ... by fuzzybunny · · Score: 4, Funny

      Yeah, but with the flight ticket to the UK and all the travel expenses it'd still come out to a pretty hefty price, no?

      --
      Cole's Law: Thinly sliced cabbage
    2. Re:Not terribly helpful, but ... by iMMersE · · Score: 3, Funny

      I'm sure the UK doesn't have a monopoly on cheap computer peripherals.

      --
      codegolf.com - smaller *is* better.
    3. Re:Not terribly helpful, but ... by manavendra · · Score: 1

      you can find lots of cheap keyboards here

      --
      http://efil.blogspot.com/
    4. Re:Not terribly helpful, but ... by TheWanderingHermit · · Score: 3, Informative

      In the U.S. I've seen new keyboards for as little as $10.00 (I think I've seen them for $5.00, but that might have been for a cheap mouse.)

      I checked online (imagine that -- using Google instead of "Ask Slashdot"), and found this link to PCParts Leader for a list of keyboards, including a THREE DOLLAR keyboard. Even after paying shipping, you're still paying almost nothing.

      Do you really think, by the time you pay for the PS2 connector (assuming it's that recent, or the older connector if it isn't), and any pieces that you'll spend less than $5-$10?

      If you can't afford an el-cheapo keyboard, then how are you going to buy the connector and whatever else you need?

      Sheesh. An "Ask Slashdot" to replace a $3 item with something else so you don't waste that $3 item? Now I see why so many people think it's become "Ask Slashgoogle."

    5. Re:Not terribly helpful, but ... by override11 · · Score: 2, Insightful

      thats all fine and good, but who wants to have a nice sleek looking PC in their living room, and a big honkin white crappy keyboard just sitting there?

      --
      No I didnt spell check this post...
    6. Re:Not terribly helpful, but ... by Anonymous Coward · · Score: 1, Informative
      I can't imagine such a dongle could be cheaper than picking up a really cheap and nasty keyboard.

      We had the misfortune of buying about 20 similar systems (they have PS/2 ports) that are workstation class motherboards in rackmount cases and they will not boot without a keyboard attached. Since all we want is serial console access to them (we rarely even visit the site where they're installed) we don't want to waste a couple of KVMs hooking them up nor the rack space and clutter for keyboards. Seriously, we just need a simple loopback dongle.

    7. Re:Not terribly helpful, but ... by mjpaci · · Score: 4, Insightful

      Isn't his machine 'legacy free'? That means no serial (RS-232), no PS/2. He is looking for a USB solution.

      --Mike

    8. Re:Not terribly helpful, but ... by sigxcpu · · Score: 3, Funny

      I don't think you could find a Keyboard for 2GBP in the US, could you?

      --
      As of Postgres v6.2, time travel is no longer supported.
    9. Re:Not terribly helpful, but ... by filenabber · · Score: 1

      Go to your local thrift store - get a used keyboard for $1.

      --
      Are you a Candy Addict?
    10. Re:Not terribly helpful, but ... by FubarPA · · Score: 1

      Well, converting 2 GBP to US nets you about $3.72. I've seen keyboards for $1 before, so theoretically, yes, you can find a keyboard in the US for about 2GBP or less.

      --
      "Well, I am mad, and I'm a crazy fucka when it comes to tea"
    11. Re:Not terribly helpful, but ... by alatesystems · · Score: 3, Informative

      There's no two wires you can just connect on a ps2 plug to create a "loopback" that would work. The ps2 protocol is a two way protocol that involves the transfer of data back and forth. It doesn't simply detect a keyboard by seeing if a circuit is completed; in fact, the computer doesn't even generate the clock for the ps2 device. They keyboard itself is generating the clock.

      Here is my recommendation if you are sending the keyboard to be colo'd or something. Do what I do. Take apart a real keyboard, dremel a small hole in the back of the case, use packing tape to tape the small chip inside a real(new) keyboard inside the case and run the ps2 cable outside to plug into the ps2 port.

      Read more about the ps2 protocol here.

      Chris Benard

    12. Re:Not terribly helpful, but ... by Anonymous Coward · · Score: 0

      Wooosh

      (the sound of a joke going over your head)

    13. Re:Not terribly helpful, but ... by magefile · · Score: 1

      2 GBP != US$3.72, just as (some amount of gold) != (some amount of silver). They are equivalent in one sense, but not another. That was the joke.

    14. Re:Not terribly helpful, but ... by magefile · · Score: 1

      Well, assuming that you're not using the keyboard, how hard could it be to cut it down to size (cut off the ends, make it "foldable", etc) and put it inside the case somewhere? And if it's a $5.00 keyboard like we've been talking about, who cares if you break one or two figuring out what is and isn't essential?

    15. Re:Not terribly helpful, but ... by Anonymous Coward · · Score: 0


      Shurely you mean: (the sound of a piss poor joke going over your head)

    16. Re:Not terribly helpful, but ... by Anonymous Coward · · Score: 0

      Wow, I really hate people that use != when writing. I don't know why, must be a personal prejudice of mine. It's just stupid.

    17. Re:Not terribly helpful, but ... by nocomment · · Score: 1

      I can't imagine such a dongle could be cheaper than picking up a really cheap and nasty keyboard. Here in the UK, you can regularly get keyboards for 2GBP

      And if you STILL don't want a keyboard I'm sure you could figure out how to make your own "dongle" by hacking off the ps/2 connector from the keyboard and shorting out the wires. That way when the BIOS tests it, it sees something there.

      I'd test this by plugging a mouse into the keyboard port and seeing is it still boots. If so just build your own. This has the added benefit of being about $20 cheaper than any adapter I've ever seen.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    18. Re:Not terribly helpful, but ... by dissy · · Score: 1


      The keyboard is a serial device, and the BIOS sends commands to it to set key repeat rate and other default settings. When the BIOS see's no reply, it assumes the keyboard is not there.

      Crossing wires in a PS2 cable will no more fool this than shorting wires on your serial port will make the computer see a modem reply to an AT command.

    19. Re:Not terribly helpful, but ... by FLEB · · Score: 1

      I know what you mean. They're equivalent, but not the same type... shoulda' used !==.

      --
      Information wants to be free.
      Entertainment wants to be paid.
      You just want to be cheap.
    20. Re:Not terribly helpful, but ... by vbrtrmn · · Score: 1

      ..but they all want $30 for shipping.

      --
      it's a sig, wtf?
    21. Re:Not terribly helpful, but ... by Suppafly · · Score: 1

      Crossing wires in a PS2 cable will no more fool this than shorting wires on your serial port will make the computer see a modem reply to an AT command.

      Then why does it work?

    22. Re:Not terribly helpful, but ... by dissy · · Score: 1

      > Then why does it work?

      Seeing as AT and PS2 are serial ports, and crossing wires, without a resister will short the power lead to ground and fry something, and with a resisitor would simply register as zeros with no clock signal, I can safely say it does not work.

      When you send binary data down a serial line, and the other end of the line is shorted out, you will Not get a reply back. Its as simple as that.

    23. Re:Not terribly helpful, but ... by jerde · · Score: 1

      Then why does it work?

      With most RS232 (and even RS422) serial ports, if you short the tx and rx pins, you wind up with a loop-back, where you receive a copy of every byte you transmit.

      The parent poster wrote: Crossing wires in a PS2 cable will no more fool this than shorting wires on your serial port will make the computer see a modem reply to an AT command

      This is true for two reasons:

      1. Simply providing a loopback will not convince the computer that a modem is there, because a modem should reply with "OK" in response to "AT", whereas a loopback makes it look like the modem replied "AT". I'm sure something similar happens with a computer sending a status request to the keyboard, and expecting a proper response.

      2. But regardless, the PS2 interface doesn't have separate tx and rx pins, so there's nothing to short... it's a bi-directional bus, with the host and device signaling each other with a pattern of pulses on the clock and data lines. No passive loopback is possible with that arrangement.

      - Peter

      --
      INsigNIFICANT
    24. Re:Not terribly helpful, but ... by Cyno01 · · Score: 1

      I doubt its that legacy free, probably no serial or parallel ports, but i bet it still has PS/2 ports.

      --
      "Sic Semper Tyrannosaurus Rex."
    25. Re:Not terribly helpful, but ... by unitron · · Score: 1
      Keyboards don't really use the PS2 protocol though. They use pretty much the same thing they did back before the PS2 came out when they had full size 5 pin DIN plugs. That's why you can interchange them with the proper (completely passive) adapter and sometimes even hot swap.

      Now that spawn of Satan, the PS2 mouse, on the other hand...

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

  2. Might not be so easy by The+Flying+Guy · · Score: 3, Insightful

    The keyboard has a small microcontroller and the protocol the keyboard uses with the PC is quite tricky and usually the check to see if a keyboard is plugged in (PS/2 and AT) includes protocol checks
    so you might aswell solder the chip free from a keyboard and stick it with a plug in a housing. BTW, if you are asking this correctly the system is NOT legacy-free, legacy-free would mean no PS/2 plugs.

    1. Re:Might not be so easy by Anonymous Coward · · Score: 0
      BTW, if you are asking this correctly the system is NOT legacy-free, legacy-free would mean no PS/2 plugs.

      Uhh...you've just invalidated your answer, not his question.

    2. Re:Might not be so easy by zoloto · · Score: 1

      not true too much.
      he never specified that there was PS2 is on a system. the bios will check even for usb keyboards and complain of one not being there. the fact that he says it's an old IPAQ is enough for me to believe in common sence that there are ps2 ports and no usb.

      but that's just be being a nit-pick.

      just take an old keyboard and take out everything and leave the circuitry encased in a RadioShack platic box (very small, palm sized) and leave it in the back of the computer.

      done

    3. Re:Might not be so easy by Anonymous Coward · · Score: 0

      I have no idea if USB keyboards are actually checked for, but if they are you might just use the same trick of cutting out/soldering the chip, but quite often USB keyboards are far more complicated (including things like USB hubs and such)

    4. Re:Might not be so easy by Anonymous Coward · · Score: 0

      the fact that he says it's an old IPAQ is enough for me to believe in common sence that there are ps2 ports and no usb.

      The iPaq is notable because it was one of the first Legacy Free systems on the market. (You could get an adapter with the legacy ports for an extra $100 or so.)

  3. Too simple by Bob+Cat+-+NYMPHS · · Score: 4, Insightful

    Open old KB. Cut away everything except the controller chip and the traces between it and where the cable enters.

    1. Re:Too simple by dasunt · · Score: 4, Informative

      Let me expand on this -- since I've investigated keyboards for a related project.

      If you take apart a keyboard, there is usually a small circuitboard/chip in the upper right/middle of the keyboard, near where the cable comes in. This is the keyboard encoder. Its roughly, oh, say about 2"x1".

      The rest of the keyboard is the casing and a few plastic membranes with traces for the keys. The keys on a keyboard form a matrix or grid, with, say, 13 inputs on each side. The top of the grid may be inputs A-M, and the side of the grid may be inputs 1-13. When a key is pressed, the two membranes meet at a junction of the grid, bridging the inputs. So pressing the 'b' key might bridge F-2, pressinig 'o' might bridge A-12. Rather nifty.

      The encoder transates the grid junctions (A-12, F2, whatever) into key codes for the computer. When no keys are pressed, there are no grid junctions (ergo, none of the inputs are bridged/closed)

      Therefore, to make a home-made dongle, take apart the keyboard, throw away the plastic membranes and casing, and put the circuit-board and most of the cord in a project-box from radioshack. Ergo, one keyboard dongle, no soldering.

      If you are feeling adventurous, cut the cable down to 2" or so and resolder the keyboard.

      If you have more money then time, why not google for "keyboard encoder". The KE18 model is $45 dollars, and is about 3"x2".

  4. It exists by bwulf · · Score: 4, Informative
    http://www.danbit.dk/produkter/1614.phtml

    (link in Danish. Product #2.

  5. Standard answer: Google/Froogle by DrFatal · · Score: 5, Informative
    1. Re:Standard answer: Google/Froogle by DrFatal · · Score: 1

      And behold, I made an ass out of myself by not even bothering to read the whole story.

    2. Re:Standard answer: Google/Froogle by zoloto · · Score: 1

      that's ok. you'll fit in with the rest of those that don't comment back to their own posts. they're the "kneejerk" crowd.

      crap, did I just do that?

    3. Re:Standard answer: Google/Froogle by silicon+not+in+the+v · · Score: 1

      Yeah, it's informative, but geez! $39 for that thing. That's exactly what he's looking for, but is it in his price range? I think he'd rather do the cutting apart a keyboard project. I guess this does fall into the more money than time category.

      I've found this to be the case with unusual items. If there's some obscure thing you want, odds are there is some place that sells exactly what you're looking for, but the price will be about 5 times what you feel it's worth.

      --
      We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
  6. RTFI by KDan · · Score: 2, Insightful

    Read The Fucking Internet? Have you actually done some research before coming and asking us here? Or is slashdot just some general first-line helpdesk for your computer needs?

    Daniel

    --
    Carpe Diem
    1. Re:RTFI by LordLucless · · Score: 2, Funny

      Right - get back to me when you finish it.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    2. Re:RTFI by Prowl · · Score: 1

      depends whether you're one of Cliff's mates i suppose...

      --
      That man tried to kill mah Daddy
    3. Re:RTFI by octover · · Score: 1

      The funniest thing is about the time to get an answer. Even if say I phrased my search term wrong, I know in seconds that I'm not getting what I was looking for. So I can adjust it to get what I am looking for. Then Google also won't give me advice about parenting, etc. It'll just give me the answer. Maybe the editors can just let Ask Slashdot submissions be handled by sending the submitter to Google.

      Which isn't to say there isn't good Ask Slashdot's, they are just so few and far between these days.

    4. Re:RTFI by arb · · Score: 1

      Right - get back to me when you finish it.

      I took me a while, but I finally worked my way to the end. Can I go outside now?

  7. Uhh by PhysicsGenius · · Score: 0
    How hard would it be to take the connector part from a old non-working keyboard and wiring something like this up?

    How hard would it be to just use the old non-working keyboard itself?

  8. Replace the BIOS by AmiMoJo · · Score: 1

    Replace the BIOS with Linux BIOS or with Open BIOS. There might even be an update from Compaq/HP.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  9. Get a cheap keyboard by Slugworth01 · · Score: 1
    If your time is worth anything, you are better off just buying a cheap keyboard than trying to make something. Is $4 (plus $5 shipping) too much to spend on a keyboard? Otherwise, find one of those computer shows that comes into town periodically and pick up a used one.

    I'm usually one of the first in line when it comes time to try and make something, but this request seems like too much bother compared to the alternatives.

  10. Did you try a bios upgrade? by dasunt · · Score: 4, Informative

    I have run into the no-keyboard-present error when trying to convert an old desktop machine into a headless file server.

    A bios upgrade gave me the ability to ignore the keyboard error.

    Perhaps you should investigate that first.

    1. Re:Did you try a bios upgrade? by Alizarin+Erythrosin · · Score: 1

      Even my semi-new Tyan K8S gave me no keyboard errors. It required a BIOS update to add a "don't care" option to the keyboard setting.

      --
      There are only 10 kinds of people in this world... those who understand binary and those who don't
  11. I had a similar problem once by Vilim · · Score: 3, Insightful

    I had a similar problem when I was given a computer, although it had to have a mouse also. Nevermind the fact that I was putting OpenBSD on the machine to be a dedicated web/mail server and didn't have any plans to install anything that needed a mouse

    What I ended up doing was just getting a cheap mouse, coiling it up around itself, and throwing it behind the tower

    --
    History will be kind to me, for I intend to write it - Sir Winston Churchill
  12. Cheap keyboards by dpilot · · Score: 1

    Saw one at Staples this weekend for $9.88.

    A few years back I bought a brand new, 15 year old IBM keyboard for around $20. (original, sealed, old box) I wish I'd bought more, because nothing beats the feel of the old IBM keyboards.

    --
    The living have better things to do than to continue hating the dead.
    1. Re:Cheap keyboards by duffbeer703 · · Score: 1

      You're ignoring the question... the poster obviously doesn't want keyboards dangling around at a remote site.

      He wants a box to sit there and do its thing without being disturbed by users.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    2. Re:Cheap keyboards by Anonymous Coward · · Score: 0

      what you said brother! I'm typing this on a laptop membrainless keyboard having to check the screen constantly to confirm that my keypresses have registered

      -ThaWhat - If you can see this, dillo is being difficult...

  13. Simple Circuit by Ratbert42 · · Score: 5, Informative
    I've had this bit of text sitting around for years but never bothered to try it (bought some KVMs instead). Buyer beware.
    • Most systems detect a keyboard connection by monitoring the current flow through the connector. To trick it, simple wire a 10K ohm resistor between GND (pin 4) and +5V (pin 5). This is on a standard PC/AT style connector (the larger 5 pin one). If you have a PS/2 keyboard, you can either use an adapter to change it to an AT connector, or use the resistor between pins 3 and 4 of the PS/2 adapter. Note that the pinout isn't simply clockwise or counter clockwise:
    • PC/AT:
      n
      1 3
      4 5
      2

      PS/2:
      n
      5 6
      3 4
      1 2
      as viewed looking into the connector on the keyboard, not the PC. where 'n' is the notch in the shield.
    1. Re:Simple Circuit by Tux2000 · · Score: 1

      I doubt this will work. The PC "Keyboard BIOS" is really a small microcontroller (some 8XXX CPU, embedded into the chipset in "modern" machines), that communicates with another microcontroller inside the keyboard (often also an 8XXX or 6502, or a special chip in "modern" keyboards). Both microcontrollers use a crude semi-bidirectional serial protocol with a clock and a data line (For the ugly details, ask IBM or Google).

      +5V is usually supplied to the keyboard trough a fuse (rated with up to 2A, often using a self-healing semiconductor fuse) directly from the power supply, ground is ground. Adding a resistor between +5V and ground will slightly increase the power usage of the system, and make your room a little bit warmer. But it won't tell the microcontroller inside the PC that a working keyboard is present.

      I've seen these instructions before, but I doubt anyone had success with this. Maybe some other computer once monitored the power drained by the keyboard, but the IBM PC, XT, AT and PS/2 series never did this. They use the clock and data line to check the presence and type of a keyboard.

      Tux2000

      --
      Denken hilft.
  14. Using old parts ... by Tux2000 · · Score: 4, Informative

    Way 1:

    Get a working receiver for a cordless keyboard. You do not need the actual keyboard, or a mouse. It also does not matter wheater it works with infrared or radio. Plug it into the computer. Finished. (If you are paranoid, you wrap a radio receiver into grounded tin foil to build a faraday cage, thus eleminating all incoming transmissions from wireless keyboards around. For infrared, some layers of duct tape across the infrared receiver should be sufficient, but tin foil will also do the job.)

    Way 2:

    Get a really, really, really cheep, but working keyboard (at least one key should work as expected). Open the case. Use brute force if needed. You should find a small printed circuit board (PCB) with one chip and three (or more) LEDs, it should be connected to a keyboard matrix made mostly of transparent foil. Rip off the keyboard matrix, throw away everything except the PCB and the keyboard cable. Place the PCB in a small case, or wrap it into duct tape. Connect the keyboard cable to the computer. Finished.

    (Note: If you are really out of luck, the entire keyboard IS a PCB, or even worse, the entire keyboard is made of plastic foil, including the part carrying the chip and LEDs. In this case, getting another keyboard is the easiest way.)

    Tux2000

    --
    Denken hilft.
    1. Re:Using old parts ... by Anonymous Coward · · Score: 0

      why in the f would you wrap ANYTHING electronical in duct tape?

      For the love of god and your electronic componants, spend the 50cents for a roll of good quality black electrical tape.

  15. simple by prewashedironman · · Score: 2, Insightful

    1. Plug in any old keyboard.
    2. Boot computer
    3. Whip out keyboard
    4. Don't turn computer off

    1. Re:simple by Anonymous Coward · · Score: 0

      5. Pray that you never, ever have to reboot or suffer a prolonged power outage.

    2. Re:simple by prewashedironman · · Score: 1

      6. if this happens repeat steps 1-4

  16. Alternative idea... by polyp2000 · · Score: 1

    Howabout flashing with a new bios ?

    http://www.linuxbios.org/

    That might be a fun thing to do ...

    Nick...

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
    1. Re:Alternative idea... by Atzanteol · · Score: 1

      Would probably be very cool, but the number of machines actually supported by Linux BIOS is very small. And usually the machines are quite new...

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
  17. Read another way... by stevef · · Score: 4, Funny

    How can I spend more money and time to fabricate a fake keyboard dongle rather than "waste" a $5 USB keyboard bought on ebay? What a geek. And I mean that in the best sense of the word :)

    1. Re:Read another way... by tongue · · Score: 1

      You may realize this already and just be karmawhoring (and i mean this in the best sense of the word ;) ) but in all seriousness, a dongle like this is kind of useful for those of us trying to turn an old less-than-useful computer with a sketchy bios into a router or single-purpose server. nothing's worse than having to have a keyboard plugged in to your home-entertainment system (when you use such a computer for an mp3 server) just because the bios sucks.

  18. Open source BIOS. by gmiller123456 · · Score: 1

    There are several open source BIOSs floating around now (Google returns a plethora). If there is no BIOS upgrade for your system, you might try finding an open one which works with your system.

    Personally I've never tried it, so I'd like to hear how it goes.

  19. Keyboard Emulator cheap by stinkydog · · Score: 1, Redundant

    Get one of these super cheap keyboards. A few screws hold this together and the intenals are just printed on plastic sheets. The PCB with the controller is about 2" x 3". Wrap it in electrical tape and just stick it to the back ot the case (or hide it inside). One warning, these keyboards suck, so don't try to actually type on them.

    SD

    --
    âoeWho knew something as harmless as willful ignorance could end up having real consequences?â
  20. If you're an electronics hobbyist... by Jepler · · Score: 1

    You can get a small microcontroller (such as an 8-pin AVR AT90S2323) and create a firmware that speaks enough of the PS/2 protocol to be recognized as a keyboard. The parts count should be fairly low, probably just the PS/2 plug, the microcontroller, and a ceramic resonator. The micrcontroller I mentioned has an internal I/O pullups.

    You're likely to end up with a spare I/O port on that 8-pin microcontroller, so you could expand the design to include a button that sends ctrl+alt+del (or, for linux, alt+sysrq sequences to unmount and reboot), or an LED caps-lock indicator that you could control from software on the PC. With the AT90S2343 you would get rid of the external clock and get 2 additional I/O ports

    Here's an existing project with source (license unclear) that uses AVR and emulates the PS2 keyboard protocol:

    http://www.avrfreaks.net/Freaks/freakshow.php?keyw ord_is_id=1&keywords=46

    http://members.rogers.com/nlange/avrStuff.html

    AVR microcontrollers are great. Few external parts, lots of documentation, develop with the GNU toolchain (including a fairly complete C library), and easy-to-build "SPI" programming hardware

  21. Clueless moderator abuse by Anonymous Coward · · Score: 0

    Why on earth was this deemed Flamebait? Other people have mentioned the open-source and Linux BIOS projects available.

  22. rip apart a key board by Anonymous Coward · · Score: 0

    I use a headless box when I DJ. I run remote desktop on my laptop so I don't have to haul my huge ass monitor with me.

    I had a keyboard go bad so I pulled the controller out, cut the cord short and soldered it all together. Works great.

  23. Re:Replace the BIOS by GreenHell · · Score: 1

    While it's nice to say that, it's generally not doable.

    LinuxBIOS has one Compaq machine in their list. Not only is it not the one that the person posting has (it's an Alpha), it's also unsupported.

    OpenBIOS's main page includes the following quote: "Jens Axboe wrote an IDE driver for OpenBIOS. This will help OpenBIOS to boot on real hardware soon."
    That's from January of this year, so I wouldn't hold your breath.

    --
    "I won't mod you down - I feel the need to call you a twit explicitly, rather than by implication."
  24. Strip a keyboard by peu · · Score: 2, Informative

    Look for the cheapest keyboard around or use one with malfunctioning keys and strip the controller board, toss away the keys and voila!

    Just a little cable hanging in the back of the pc.

  25. Cheap and easy solution by Anonymous Coward · · Score: 0

    Just by the least expensive wireless keyboard (or at least the part that connects to the PC either by USB or PS/2) you can find. You can pick up one here from eBay. Becareful, those $0.01 priced keyboards come with $18 or $35 of shipping. You got to love the honest sellers on eBay. :D

    1. Re:Cheap and easy solution by Anonymous Coward · · Score: 0

      Nevermind about those guys (losers) on eBay I mentioned earlier. I have a wireless keyboard I'll sell you for $7 shipped to the lower 48 states. Leave an email and I'll get back to you.

      LPS

  26. USB to PS/2 Adaptor by bluedream · · Score: 0

    I would guess just plugging in a adaptor that allows you to use a old PS/2 keyboard via USB would work just great. Probably not too expensive either.

    --
    Open Source Government - http://www.technocracy.ca

    --
    savethedollhouse.com
  27. No one has mentioned yard sales? by silicon+not+in+the+v · · Score: 2, Insightful

    Here's another suggestion. Check out some garage sales. This is summer, so they'll be going on every weekend. Just check your local paper. Probably about half the garage sales I've been to have some computer parts there--mouse for a buck, keyboard for a buck, etc. I just ran a fundraising garage sale at our church this past weekend. There were several mice, computer speakers, monitors, joystick, Gravis gamepad. I sold a whole computer I was downgrading because of a better one I got.
    My cool story on that was that someone brought an 18.1 inch flat panel monitor with the suggestion, "Maybe someone can fix it." I wasn't going to put a known broken monitor out there for sale, so I took it home and checked it out. It would power on, but it looked like nothing going on, until I shined a flashlight on it--burned out backlight. So I'll be putting in some money to get that replaced and have cheap LCD display.

    --
    We may experience some slight turbulence and then...explode. -Capt. Mal Reynolds
  28. Similar Question by MikeDawg · · Score: 1

    I was thinking about a similiar idea, that involves USB. I've been looking for information on how the computer recognizes USB devices. Is there a circuit in there that sends some unique identifier to the system? Where is it, and what do the strings look like that it sends to the computer? Does anyone have any information on this sort of thing? I have tried google searches BTW, but I can't find anything specific regarding to the identification of USB hardware.

    --

    YOU'RE WINNER !
    Another lame blog

  29. No one has mentioned stealing one? by jhunsake · · Score: 1

    Here's a better suggestion. Go over to a friend's house and take his or her's. Keyboards fit nicely underneath a coat.

    1. Re:No one has mentioned stealing one? by vbrtrmn · · Score: 1

      Is that a keyboard in your pocket or are you just glad to see me?

      --
      it's a sig, wtf?
  30. bios patch by The_Candyman · · Score: 2, Informative

    There is a bios patch called no_f1 that compaq put out for some of their systems to allow for headless operation, I've used it on some of my older machines. google it and good luck!

    1. Re:bios patch by The_Candyman · · Score: 4, Informative

      OK, I went a step further, I scoured the internet and found a link to the file that you need.

      I found this on the ipcop website.

      ftp://ftp.compaq.com/pub/softpaq/sp0501-1000/sp0 66 7.zip

      "Some Compaq machines allow the user to select this mode of operation by selecting "Network Server" mode in their setup program. For those that do not have this option, NO_F1.COM is a DOS based program that is run one time which sets a bit in CMOS that instructs the BIOS not to wait for a keystroke after displaying the "Press [F1] to continue" message."

      "May the schwartz be with you!"

    2. Re:bios patch by Tux2000 · · Score: 1

      Right, this tool sometimes works. Especially if you own an ancient 386 or 486 Compaq that does not offer the user interface to set the network server mode flag. But it won't help you with modern Compaqs, they lack the matching BIOS. Quoting the embedded documentation:

      SP0667.EXE - NO_F1.COM

      Patch Instructions
      Introduction:

      All Compaq 386 and 486 based machines have the ability to run without a
      keyboard attached. Some Compaq machines allow the user to select this mode
      of operation by selecting "Network Server" mode in their setup program.
      For those that do not offer this option NO_F1.COM is a DOS based program
      that is run one time which sets a bit in CMOS that instructs the BIOS not
      to wait for a keystroke after displaying the "Press [F1] to continue"
      message.

      This Softpaq (SP0667.EXE) replaces SP0378.EXE which is an older
      version of NO_F1.COM which does not properly support Prolinea MT and
      Presario 800 models.

      System Requirements:

      Any Compaq 386 or 486 based system that does not support "Network Server"
      mode in it's setup utility program.

      Installation instructions:

      From a DOS prompt run the program NO_F1.COM

      If you subsequently run your setup/configuration program, it may be
      necessary to run NO_F1.COM in order to run without a keyboard.

      Tux2000

      --
      Denken hilft.
  31. Easy solution by dissy · · Score: 1


    http://www.solutions-cubed.com/solutions%20cubed /M EMKEY2003.htm

    $30. Connect to keyboard port (These are AT, so you may need a $2 PS2->AT adaptor)

    These units are designed to take input from a 4x4 matrix keypad, and you program them to send keycodes. Just skip that step. It will handle pretending to be a keyboard that never sends anything.

    You can also wire up a keypad to perform 'shutdown' 'reboot' etc features if that would be handy and not a security issue for you.

    1. Re:Easy solution by Nonesuch · · Score: 1
      http://www.solutions-cubed.com/solutions%20cubed/M EMKEY2003.htm

      $30. Connect to keyboard port (These are AT, so you may need a $2 PS2->AT adaptor)

      These units are designed to take input from a 4x4 matrix keypad, and you program them to send keycodes. Just skip that step. It will handle pretending to be a keyboard that never sends anything.

      You can also wire up a keypad to perform 'shutdown' 'reboot' etc features if that would be handy and not a security issue for you.

      Neat.

      Does that mean that this is finally a reality?

  32. simply a bad idea by oldosadmin · · Score: 1

    Not a good idea. On a lot of old boxes, unplugging the keyboard when the system is on zaps the keyboard port, effectively RUINING the motherboard.

    --
    Jay | http://oldos.org
    1. Re:simply a bad idea by Anonymous Coward · · Score: 0

      Please... Did you learn that from Bazooka Joe? In 20 years, I've never seen a running PC get zapped when unplugging the keyboard.

    2. Re:simply a bad idea by vbrtrmn · · Score: 2, Funny

      He said that it is non-legacy, USB shouldn't care in a modern system .. though he is using COMPAQ for some gawd awful reason, so removing a USB keyboard may format the hard drives.

      --
      it's a sig, wtf?
    3. Re:simply a bad idea by oldosadmin · · Score: 1

      I've been working on computers for 10 years, and I've seen it happen three times.

      It quite sucks.

      --
      Jay | http://oldos.org
  33. CueCat by Anonymous Coward · · Score: 0

    Wouldn't a PS/2 CueCat look like a keyboard?
    Not only does this look somewhat like a dongle, but you get another red LED for the server room.

    1. Re:CueCat by ebonkyre · · Score: 1

      No, or more accurately, only if it was continously scanning bar codes.

      While reader devices like this do speak the protocol, they are intended not to interfere with normal keyboard operation, and thus disconnect themselves from the data line when not active. When you scan something, it cuts the real keyboard loose, attaches itself, transmits the scanned data as if you were typing it out, then disconnects and reattaches the upstream device. This also allows you to A) stack multiple readers (ie. barcode + creditcard swiper), and B) use these devices without an OS dependant driver (the :Cuecat driver is just to "decrypt" the scambling they hoped would prevent their use as cheap general-purpose barcode readers).

      Although, one could probably break the 'cat open and cut the appropriate select line on the 4066 (the switch chip) and rig it to keep the internal circuits permanently switched in.

      --
      "Time is an abstract concept devised by carbon-based lifeforms to monitor their ongoing decay." - Thundercleese
  34. Look in the Bios? by LWATCDR · · Score: 1

    Several machines around here have the option in the bios to not look for the keyboard on startup.
    Since most rackmount systems now are just ATX boards in a rackmount case I would not think this is all that of an uncommon option. Look and you may have a no charge fix for your problem

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    1. Re:Look in the Bios? by Anonymous Coward · · Score: 0

      from the SECOND LINE of--no, not the article, but the SLASHDOT BLURB: "Yes I did try to tell the BIOS to not generate a no keyboard error, but there is no such setting for the BIOS of this system" good god.

  35. A handy tool. by n0tWorthy · · Score: 1

    I think this would be a good idea/product! It could make servers in a public are more secure. Without the keyboard the users can't use that old PC acting as a printserver (or whatever) as a workstation. Even if I booted Knoppix or NT recovery console I wouldn't be able to do anything until I found a keyboard.

    --
    "Be kind, for everyone you meet is facing a great battle." - Philo of Alexandria -
    1. Re:A handy tool. by dave420 · · Score: 1

      and it stops people removing it and plugging in a keyboard how? :-P

    2. Re:A handy tool. by n0tWorthy · · Score: 1

      I didn't say it would. It's just a handy tool to get a machine up and running in a confined space without the users having access to a keyboard. It's a bit more secure that way since the hackers have to come prepared. Lets face it, if you have physical access you own the machine. I used to use Network General remote sniffers and they had no attached keyboard or monitor. You attached via an X session. It was cool, no keyboard or cables in the rack taking up space just ethernet and power. I think a keyboard fakeout dongle would be a handy tool.

      --
      "Be kind, for everyone you meet is facing a great battle." - Philo of Alexandria -
  36. aadfsf by vbrtrmn · · Score: 1

    You could probably make one pretty cheap, I was using a KVM on my secondary monitor. Two PCs with two monitors. The problem I had was the KVM didn't have an external power source, it got the power from the keyboard port.

    Get a USB to PS/2 converter and stick a resistor into one or more of the PS/2 holes, that will probably trick the computer into thinking there's a keyboard there. Though I may be totally wrong :)

    --
    it's a sig, wtf?
  37. PC Weasel card by marquis111 · · Score: 1

    http://www.realweasel.com/intro.html
    Nothing to hang out of the back. Been around for awhile and is well thought of.

  38. IR works for me by ttfkam · · Score: 1

    Many wireless keyboards come with a fully functional PS/2 (or USB) base. Whether the keyboard is present or not, the simple presence of the base is sufficient to get past the BIOS.

    I picked up one from CompUSA a few years ago for about $20. The keyboard has since died, but the base still works fine for my server. Remember, the keyboard quality doesn't matter here. Who cares if the wireless has a range of two feet if you don't want it for its wireless abilities?

    IR has the advantage of allowing keyboard access when you want it too. Or, if you absolutely don't want it, duct tape on the photoreceptor works wonders.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  39. Easy solution. by Eneff · · Score: 1

    Too bad the person who posted it first was AC and so the answer may never be seen.

    To recap, buy a cheap wireless keyboard. If you do it Eeeeeeeee-bay, watch for shipping charges.

  40. Keyboards and Dongles are cheap sometimes by Simonetta · · Score: 3, Interesting

    Our local Portland Oregon USA computer recycler FreeGeek is selling used PS2 keyboards for about a dollar each.

    However that doesn't really address the issue of avoiding having to have a keyboard inserted to boot the PC. I have been looking into this issue recently and found that an inexpensive microcontroller can reproduce keyboard signals quite easily. The Atmel AVR Tiny11 sells at DigiKey for $0.41 each in quantity 25 and $0.56 in quantity one. It's an 8 pin DIP that runs at 1 MHz with no external parts. Its Flash memory holds 512 instructions and it has 32 registers. The companion chip, the AVR Tiny 12, sells for $1.10 quantity 25 and can be programmed directly from the PC parallel port. The PIC controllers from Microchip Inc. have devices in the same price/performance range, but they are more difficult to develop software for and they need external programmers to write the code into their Flash memory.

    It's necessary to know what bytes the PC sends to the keyboard on power-up and what the keyboard sends back to the PC. Then these bytes can be formatted by the dongle and sent to the PC to mimic a keyboard.

    The PC keyboard has weird programming. Each key sends at least one byte when pressed and some send two or more. When released the same byte set is resent preceeded by the byte 0xf0.

    Now any Slashdotter, when given the job of encoding a keyboard with less than 128 individual keys, would assign a 7-bit scan code to each key with the high bit either set or clear depending on whether the key was pressed or released. Simple and elegant. But the standard PC keyboard has this strange multibyte configuration that makes it difficult to decode the keypresses. Not to mention that there is no way to turn off the auto-repeat for the entire keyboard.

    Nevertheless, the keyboard scancodes are standardized throughout the world. And there are hundreds of millions of keyboards out there. The newer ones only use about 13 milliAmps of power.

    I developed an AVR program to take the PS2 keypresses and mimic a MIDI keyboard by sending note on/off messages according to the keypresses. I'm surprised at how well it works. Except for a few key combinations that don't register together, the PS2 keyboard can function like a MIDI music keyboard (without velocity and aftertouch detection, of course). For a few dollars, I have a small light portable keyboard that plugs into a tone module and adds hundreds of musical instrument sounds to small music group jams. This application is posted on www.avrfreaks.org in the user projects section of the Academy forum.

  41. A Wireless Keyboard/Mouse is the Answer! by GuanoBoy · · Score: 2, Interesting
    I, too, was looking for a keyboard/mouse emulator for a machine that's being housed in a colo facility. I'm using PS2 components, as well, and cringe at the thought of plugging and unplugging PS2 devices into a running machine.

    Then, I strolled into CompUSA and saw this Wireless Keyboard and Mouse Combo. The PS2 connectors stay plugged into the machine and the (nice, UFO-shaped, blinking-light) receiver stays duct-taped to the top of the machine.

    All I need to do is remember to take the keyboard and mouse along with me to the colo facility when I need to make a personal visit.

    --
    WWW
  42. A historic note by Maljin+Jolt · · Score: 1

    That lovely BIOS error message, "Keyboard not found, press [F1] to continue" is sitting in many BIOSes since the PC-XT times up to this day. Perhaps, because it is copyrighted?

    --
    There you are, staring at me again.
  43. Motherboard Wiring by zaphodchak · · Score: 1

    I'm not sure if this would be practical for you, especially considering that small form-factor cases like the iPaq are hard to manuever inside anyway, but there may be a way to rewire the PS/2 port so that it is shorted into thinking that there is a keyboard there. That may be too permanent for you, but I work on a robotics team, and we have some plugs that we have shorted temporarily with a paperclip. That might look a little weird, and isn't necessarily the best or safest idea, but it is dirt cheap. Finding which pins to jam it in would be the hard part, best to check a wiring diagram for PS/2 ports on Google, rather than the ol' guess-and-check on a computer.

  44. :google: by ickna · · Score: 0, Troll

    :google:

    --
    - ickna http://www.ickna.com
  45. My god by Cyclone66 · · Score: 1

    My god man, a keyboard can be had for less than $5! Do you know how much a similar dongle would cost?!?!?

  46. use a microcontroller by SirTwitchALot · · Score: 1

    Just use a cheap microcontroller, perhaps a PIC. They are pretty simple to get the hang of, just a handful of RISC instructions, and they're cheap. All the protocol information is available readily

    --
    Go away, or I will replace you with a very small shell script.
  47. KVM dungles by Yuan-Lung · · Score: 1

    Some KVM Switches have KVM dungles that you can buy seperately. This is what we are currently using, and you can get the dungle here . Although the dungles are much more expansive then actual keyboards.

    I also found this on a good old google search. The APKME adapter seems to be exactly what you are looking for.

    A Desktop KVM switch is a lot cheaper, but it might be a bit unsightly.

  48. Cheap ass way by Otto · · Score: 1

    Buy a PS/2 to AT style keyboard adapter. Take a 10K ohm resistor. Shove it into pin-holes 4 and 5 on the AT side of the connection (these are the two "middle" pins when looking at it vertically). Plug it into the system. Boot.

    Works on most motherboards. Occassionally you'll find one it won't work with, but with the vast majority of them it works fine.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  49. Just buy a keyboard and mod (with pics) by oliverthered · · Score: 1


    Buy a couple of $5 keyboards, a really crap, silent one will probably be the best, no extra lights or anything like that.

    Take them apart (there one IC and some plastic crap inside, with horrible contacts and a circuit board)

    There's usually just flat strip with a few contact on one corner of the plastic crap that connect to the circuit board, you should be able to pull them apart.

    A page with some good pics

    Now you've got a smallish circuitboard, that you can probably tape up and house inside your pc.

    --
    thank God the internet isn't a human right.
  50. USB - PS2 keyboard adaptor by eviljav · · Score: 1

    Wouldn't a USB to PS2 adaptor (without a keyboard attached to it) be enough to fool the BIOS that there's a keyboard present? Those can be fairly small, not quiet dongle sized, but maybe close enough for you?

  51. All I ever needed to know... by benjamindees · · Score: 1
    I learned from "Spies Like Us" :

    Austin Milbarge: Find a rock! Go the the SatScram terminal! Smash that thing!
    [Fitz-Hume smashes terminal]

    Emmitt Fitz-Hume: It's broken.

    Austin Milbarge: Bring it here.
    [Fitz-Hume shrugs and walks towards Milbarge holding rock instead of the terminal]

    Austin Milbarge: Not the rock.
    --
    "I assumed blithely that there were no elves out there in the darkness"
  52. I confirmed this evening that this does not work by millisa · · Score: 1

    I saw this post and thought "Hey! I could use one of these" and a 6 post mini din with a 10k resistor is less than 3 bucks.

    I stopped by Frys on the way home and picked up a baggy of 10k's and a pair of 6 pin mini dins and gave it a shot. I made two of them (just in case I flubbed the soldering in my excitement for cheap keyboard fakers). Neither one worked on systems that I turned on the 'halt on all errors' option in the bios. I tried turning off the 'turn on numlock on boot' options and this didn't make a difference. It looks like the systems are a little smarter than all that. The packet came with 4 resistors in it so I'll probably stop by again tomorrow and try this with an AT connector hooked to a ps2-AT converter and see how it goes.

    Would have been nice if it worked though . . . If anyone has confirmed this to work (and proving once and for all that Stevie Wonder could do a better job at soldering than me) please post!

  53. Troll? by Anonymous Coward · · Score: 0

    Maybe not, but the page is marked "Copyright 2000, Middle Digital Incorporated." If it is a troll site, it's remarkably well done.

    1. Re:Troll? by bhtooefr · · Score: 1

      Netcraft has been logging it since 2000, and they seem to be real products, but the site does mention that you can't prove the demo's not fake...

  54. Just tear up an old keyboard for the driver chip by Nonesuch · · Score: 1
    My god man, a keyboard can be had for less than $5! Do you know how much a similar dongle would cost?!?!?
    A couple of times i've just taken a power screwdriver to an old keyboard, pulled out the little circuit board with the LEDs and driver chip (usually these are a bit smaller than a 3x5 index card) sandwiched between two of the aformentioned index cards with a couple of holes for the LEDS, and wrapped the whole sucker in clear packaging tape.

    This gives all of the benefits of a dongle, plus you can use a program like ixbiff to flash the LEDs when you have new mail waiting.

    More often I'll just take an old keyboard (the one with the missing spacebar and the keycaps worn to bare plastic), plug it in, and shove it behind the PC where it's unlikely anything will accidentally hit the keys. Big plus is you can still drag it out when a "three finger salute" is needed.

  55. Sometimes, you don't WANT a keyboard by Webmoth · · Score: 1

    So, everybody on here seems to be shouting "just get a cheapo keyboard," and it's true you can find one for 10 bucks or less (USB, remeber the post said "legacy free"). There are keyboard emulators out there for $40-$50, definitely more than even a decent quality keyboard.

    However, there are circumstances where you don't WANT a keyboard hooked up: to prevent keys from being pressed inadvertently or by unauthorized people; to save space; because mgt. won't accept a homebrew project; or maybe to prevent keyboard theft.

    The best idea I've heard so far (props to another poster) is to use a wireless keyboard and mouse; the receiver stays on the server, plugged in and you take the keyboard and mouse away with you. If security is a concern, get a set that connects via IR instead of radio, and put black tape over the eyes.

    Now this is off topic, but Avocent makes wireless KVM switch components, to allow you to KVM to distant computers without the mess of wires.

    --
    Give me my freedom, and I'll take care of my own security, thank you.
  56. Compaq CAN be keyboardless! by _mArk · · Score: 3, Interesting

    Hope this still reaches the original requestor, but...
    There is a hidden setting in most compaq bioses that lets you boot headless.
    Take the following steps:
    - go into the bios
    - set a power-on password
    - a new option will appear, probably "password options"
    - here you can set "Network Server Mode" to enabled
    - reboot, remove keyboard and behold!

    Good luck.

  57. You've completely missed the point by MrResistor · · Score: 1

    Having a keyboard attached to a system is not always an advantage. In fact, for a HEADLESS system, which is what the article writer wants, having a keyboard attached is a huge liability with zero benefits.

    The point is not to be cheap. The point is to prevent local access.

    --
    Under capitalism man exploits man. Under communism it's the other way around.
    1. Re:You've completely missed the point by iMMersE · · Score: 1

      "Since I would like to use it such and don't wish to waste a keyboard just to keep it from complaining, ..."

      Where does he say he wants to prevent local access?

      --
      codegolf.com - smaller *is* better.
  58. Use for old PS/2 Mice by Crudely_Indecent · · Score: 1

    Take an old ps/2 mouse and a ps/2 to AT adapter (if you need that type of connector) and attach it to the keyboard port.

    Maybe it's not the answer you were looking for, but at least you get to put that old ball-mouse to use again.

    --


    "Lame" - Galaxar
    1. Re:Use for old PS/2 Mice by unitron · · Score: 1

      Keyboards and mice (mouses?) don't speak the same language even if they do use the same connector so if the computer is expecting to get a reply back (on the data line) "spoken" in "keyboard" when it applies +5V to the appropriate pin on the keyboard socket it will get one "spoken" in "mouse" instead.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

    2. Re:Use for old PS/2 Mice by Crudely_Indecent · · Score: 1

      My comment was made from experience, don't knock it 'til you've tried it.

      I've got at least 3 of my old ps/2 mice still sitting in server rooms in california on old systems that won't boot without a keyboard.

      If you'd like to know how this works, take a look here http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/ PS2/ps2.htm

      +5V is applied on pin 4 (5 for AT style) and data is returned on pin 1 (2 for AT style). Upon booting, the bios doesn't care if the peripheral 'speaks' mouse or keyboard, it's looking for a return signal on the data line to determine if something is attached.

      Like I said......try it, I didn't make this up.

      --


      "Lame" - Galaxar
    3. Re:Use for old PS/2 Mice by unitron · · Score: 1

      My point remains valid. If the computer is looking for a reply spoken in "keyboard", it won't get it from a mouse. If it just wants a 5 volt pulse that's a different situation. Of course in that case you don't even need a mouse, it's just a convenient way of passing current.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

  59. Been there did that by Anonymous Coward · · Score: 0

    I spent last December doing Vac work at a company doing just that. I'd never touched hardware before, but between a friend that I suckered into joining me and myself, we put together an emulator that could not only fake being a keyboard, but also was fully hot-pluggable etc.

    The annoying part is that your mouse runs on the same lines as your keyboard - you need to watch for that so that you can abort if it's pulling lines low etc.

    All that being said though, your best bet is just ripping out the chip in an old keyboard - it's guaranteed to work.