Solved

Sending commands to keyboard

Posted on 1998-07-10
3
206 Views
Last Modified: 2011-09-20
I have a program which requires access an IBM PS2 keyboard.  Specifically I need to command the keyboard to  change scan set to scan set 3 and also turn on and off the keyboard LEDs.  I have tried writing keyboard control codes to port 60, but the commands do not seem to get to the keyboard.  Are there some special commands  necessary to do this?
0
Comment
Question by:blatan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Author Comment

by:blatan
ID: 1137094
Edited text of question
0
 
LVL 7

Expert Comment

by:busuka
ID: 1137095
Maybe you forgot to update memory address: 0:417h
There you LED status lights and Cntrl/Alt/Shift states. Only
after this you write to port (don't remember right now its number).
0
 
LVL 2

Accepted Solution

by:
richrussell earned 200 total points
ID: 1137096
It's a while since I wrote any code that accesses the keyboard controller directly, but you will probably find some assistance from this page:

http://www.repairfaq.org/filipg/LINK/PORTS/F_Keyboard_FAQ.html#KEYBOARDFAQ_009

I found loads of information there which really helped.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question