Solved

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

Posted on 2006-07-10
2
251 Views
Last Modified: 2013-12-15
Ok:

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!
0
Comment
Question by:pugdog_fan
2 Comments
 
LVL 43

Expert Comment

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

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.
0
 
LVL 24

Accepted Solution

by:
slyong earned 500 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.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

810 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