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
252 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware Tools Install On Linux Problem 3 82
maybe no no httpd.conf 6 62
I NEED A "BARE" LINUX ... 9 56
Disabling security updates Ubuntu 3 29
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

840 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