Fix numlock again?

I had trouble with numlock on boot but finally got it fixed in 11.X.

Now it’s deja vu all over again. No matter what I do now the boot login screen comes up with numlock off. Tried everything, BIOS, Configure Desktop, YAST, sysconfig. Everything is set correctly but it doesn’t work.

Anybody know why it suddenly stopped working like it did in 11.4 and how to fix it?

New: Num Lock not preserved during boot - opensuse-bugs.opensuse.org - ArchiveOrange
add
“touch /var/run/numlock-on” to /etc/init.d/boot.local
as a workaround

On 2011-12-17 17:26, BobTheBull wrote:
> Now it’s deja vu all over again. No matter what I do now the boot login
> screen comes up with numlock off. Tried everything, BIOS, Configure
> Desktop, YAST, sysconfig. Everything is set correctly but it doesn’t
> work.

Try using systemV. F5 at boot.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Since boot.local is a shell script, don’t you want to add the line

exit

And, yes it does work. And cool, didn’t know about the local.boot script file. Suggests other possibilities.

That’s the really good/really bad news about linux. There’s always something new to learn, and those new things often suggest a way to do something you always wanted to do but couldn’t. There’s always something else you have to learn to make the **** thing work!

Me, I like to always be challenged by having to learn new things. But, most people don’t. Hopefully we can continue to develop linux to be better and better at accommodating both.

FYI, the complete file (if you have the default) is:

#! /bin/sh

Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. All rights reserved.

Author: Werner Fink, 1996

Burchard Steinbild, 1996

/etc/init.d/boot.local

script with local commands to be executed from init on system startup

Here you should add things, that should happen directly after booting

before we’re going to the first run level.

touch /var/run/numlock-on

exit

Curiously enough, the numlock-on file is empty, nada. So how does it work? Looks like I have something else to learn. Touch updates the update and modification of the name file to the current time. If the file does not exist is is created. Anyone want to explain how this works?