Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sending commands to keyboard

Posted on 1998-07-10
3
Medium Priority
?
211 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 600 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

Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

Question has a verified solution.

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

In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

972 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