Keyboard (NUM LOCKS) very frustrating ... (is it the PC, the keyboard, the OS, or a combination of all) ...

Posted on 2006-07-10
Medium Priority
Last Modified: 2013-12-15

So, I've tried to find an answer/solution to this in the past, but I had no luck.

I have a Mandrake 2006 system (and this same concern happend to me with all my RH distro roll-outs as well).

When I turn on the PC, and it completes POST, the numlock KEY NEVER comes on (I set this in the PC BIOS) ... I know for certain that NUM LOCKS to the BIOS is OFF.

Now, when I start the Mandrake OS, the NUM LOCK is still OFF UNTIL the 'start' of the INIT process (I see it turn ON).  

After I turn it off (so I can log into the system as the ROOT user) ... I then see it TURN back ON again (on its own) after I have finished the root user authenication process (so I think the num locks is being invoked again during the script for the login to the root user).

So, how can I do this:

#1:  Turn off the NUM lock during the INIT process
#2:  TAKE out the NUM lock statements from the root user scripts

Any other tips suggestions would be greatly apprecaited!
Question by:pugdog_fan
LVL 43

Expert Comment

ID: 17076412
there is a command which sets it on/off
setleds -num
echo "Activating Numlock ..."
for i in 1 2 3 4 5 6; do
/usr/bin/setleds +num < /dev/tty${i} > /dev/null

However I'm not familiar with mandriva init scripts, so I will not help here...
However I heard there is a 'numlock' service - try turning it off.
LVL 24

Accepted Solution

slyong earned 1500 total points
ID: 17078343
Look into /etc/profile.d/numlock.sh and /etc/rc.d/init.d/numlock and find setleds as ravenpl described. -num to set the numlock off +num is to get the numlock on.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

619 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