Solved

Sending commands to keyboard

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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Upper back Pain: My back hurt for months. Upper back, mostly my neck, spine and across my shoulder blades. I was getting headaches too, that felt like they were caused by tension in my shoulders, but now I feel fine! I'm sharing this hoping someone…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 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

13 Experts available now in Live!

Get 1:1 Help Now