USB keyboard
Graham Stabler
Posts: 2,510
Lets just say for instance that someone had a really nice micro attache case and the mini keyboard provided by Parallax didn't fit in it. So this person bought a micro keyboard that was even smaller and even though it was USB was sure an adapter could be used. Lets just say for instance that this person was so sure they built an MDF frame to hold the demoboard, micro keyboard and tiny TV screen. They were so sure in fact that they cut the USB cable off the end of the keyboard, shortened the lead and added a PS/2 plug following the pinout of a USB-PS/2 adapter.
Then lets say the same person after hours of work and after even painting his creation actually bothered to try the keyboard and found it didn't work and on investigation discovered that it is probably a USB only keyboard without legacy support.
Suppose that person was me.
Well.....
It was.
So before I jump in the canal, is there any chance of me creating a USB version of the keyboard driver or is that just talking silly?
Graham
Then lets say the same person after hours of work and after even painting his creation actually bothered to try the keyboard and found it didn't work and on investigation discovered that it is probably a USB only keyboard without legacy support.
Suppose that person was me.
Well.....
It was.
So before I jump in the canal, is there any chance of me creating a USB version of the keyboard driver or is that just talking silly?
Graham
Comments
I don't have an answer for you, but plenty of empathy. I can't count the number of times I've "painted the trim before pouring the foundation". It's refreshing to know I'm not alone!
-Phil
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
cheers ... brian riley, n1bq, underhill center, vermont
See the K107 Serial LCD Controller at
www.wulfden.org/k107/
Mike, I'm not spending any more money on this even if it is cheap.
There MAY be light at the end of the tunnel, I was perusing the usb.org site and it seems that most USB keyboards should support a boot mode which allows the lowly bios to talk to the usb keyboard. It seems you just need to tell the keyboard to enter boot mode. Then you get 7-byte-packets containing the key strokes. I haven't read anything about how to send the command or receive the data but I'm thinking this might be the best bet. Do away with any worries about the special features and just key keystrokes.
Graham
Are you SURE that there is no additional converters in the adapter that comes with the USB keyboards? I always assumed that there was more to it than changing the pin-outs.
Seth
In other words, the unused pins in the PS/2 provide a second pathway and set of connections to the USB. That is where the adapter comes in. To day I have only seen PS/2 going to USB and never seen USB going to PS/2.
If that is the case, purely USB would not be backwardly compatible.
Is USB allow synchronous serial, like the PS/2 OR is it asynchronous?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
I have only seen USB-->PS2 adapter for mice(green dongle), but not for keyboards
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I have a couple of them that I purchased because the most recent Microsoft Keyboard I purchased didn't come with one - and I quickly found out why! The keyboard is a USB ONLY keyboard. Will not work with the adapter on any system I tried it on.
Thanks Micro$oft.......
Mike is right but there are still keyboards that come with an adapter.
reading the usb specs, I think it might be doable with a bit of help.
Graham
Graham
I am using two smaller keyboards. One is a Wintek and the other is a Krone. Both are PS/2 interface.
Of course, I bought these locally in Taiwan and while there are not that small [noparse][[/noparse]1 foot [noparse][[/noparse]300mm] x 5 3/4 inches [noparse][[/noparse]140mm], they cost about $10US.
I still prefer PS/2, RS-232, and Parallel interface as the USB is a huge road-block to quickly deploying most of my digital projects.
I had a girl friend that worked at an advertising agency and she dumped me for being too honest and too generic.
In fact, I am wondering about using a PS/2 Bar Code Reader with the Propeller.
Has anyone been involved in such?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who says you have to have knowledge to use it?
I've killed a fly with my bare mind.
·· Are you in the states?· My understanding was that Packard Bell didn't operate in the States anymore.· Not since back in the early 90's.· It's been a long time since I've seen a Packard Bell computer.· Last one I saw was a Pentium 233 MHz.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Chris, I'm in the UK
Graham
p.s. I'm aiming at making something that will send/receive commands over USB, that's only half the story but good enough for the boot-mode. Someone could then work on some of the higher level stuff that is the real sticking point of USB, the basic encoding looks "OK".
Nico