On Mon, 22 Jan 2001, suman wrote:

> Hi,
> 
> I am working on embedded systems.
> I have only serial ports to my embedded system.
> 
> I am trying to write a driver for ps/2 keyboard / ps/2 mouse to work with
> the serial port.
> I bought an adapter for ps/2 to 9-pin serial port.
> But I am unable to test as I am not getting any reponse through
> Hyperterminal.
> 
> Is there any way to connect ps/2 keyboard and ps/2 mouse through 9-pin
> serial port?
> Will it work?
> If it doesn't work, suggest me an alternative.
> 
> Thanks and Regards
> Suman
> 
You will need more then the ps/2 to 9-pin adapter.  The problem you are
running into is that the serial port works with +/- 3 to 35 volt signal
levels, where the keyboard and ps/2 mouse work on logic levels. (0 and ~5
volts.)  The serial-ps/2 combo mouse has extra circuits to handle this.  A
ps/2 only mouse does not.  The keyboard also does not.  What you may want
to look into is one of the keyboard they used to make for laptops that
would connect to the serial port.  I am not sure if they still make the
keyboards, or adapters, but it is worth looking into.

If you can not find a laptop adapter, you may have to build your own.  The
November issue of Nuts & Volts had a logic level to RS-232 project that
would be a good starting point.

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to