Solved

Sending commands to keyboard

Posted on 1998-07-10
3
199 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
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now