LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-27-2007, 01:52 AM   #1
actsby
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
Problem Using PS/2 Keyboard Port


I have designed small circuit using PS/2 port for communication with PC. Its easy to send data from my circuit to application(the data is treated as normal keypress)

but I don't know, How to send data from application (using C language) to PS/2 keyboard port ?
 
Old 08-14-2007, 08:52 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Here is some basic information that might help.
The IO keyboard address is 0x60 for writing and reading, The status/command address is 0x64.

This website appears to be a very good reference on how the PS/2 host to keyboard interface works.

http://www.computer-engineering.org/ps2keyboard/

BTW just curious what is the function of your circuit?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB keyboard and mouse through serial port (old computer) meiqur Linux - Hardware 9 01-22-2005 06:22 PM
Dell Insprion 4000 with Port Replicator - how to FN-F8 with external keyboard? oddiofile Linux - Hardware 0 09-03-2004 11:30 AM
HTTP port and Proxy port problem AZIMBD03 Linux - Networking 3 04-15-2004 09:20 PM
Installed new kernel 2.6.2: Keyboard only works on USB port and scroll doesn't work objorkum Linux - General 2 02-11-2004 09:59 AM
can red hat 7.2 kernel 2.4.5 recognize rs232 to work as its keyboard port beena Linux - Software 2 06-26-2002 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration