Solved

Sending commands to keyboard

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Does your iMac really need a hardware upgrade? Will upgrading RAM speed-up your computer? If yes, then how can you proceed? Upgrading RAM in your iMac is not as simple as it may seem. This article will help you in getting and installing right RA…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

820 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