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

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!
LVL 1
pugdog_fanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ravenplCommented:
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
slyongCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.