Page 1 of 2

numlock off default on USB keyboard?

Posted: Mon Feb 24, 2014 6:10 am
by my_pc_is_amiga
I have a keyboard that I would like to have the numlock off during boot in CFE and also in AmigaOS. I tried the hid.keyboard/numlockoff=1 env. variable in AmigaDOS but does seem to work. Is there any CFE command to do this?

Re: numlock off default on USB keyboard?

Posted: Wed Feb 26, 2014 4:23 am
by my_pc_is_amiga
Thanks. Yes, I have a KVM switch.

I did that procdure and this is the result.

a) Numlock LED light was still lit.
b) However,the function of the keys are now to use the arrow keys, del. etc. that are on a normal keyboard with a numberpad. That is, the numberpad 4 is a left arrow and numberpad 6 is right arrow. So looks like the numlock is using these key functions.

The keyboard I have, however, does not have numberpad. Instead, the letter on normal keyboard "u" is a 4 in numlock mode, "i" is 5 in numlock mode.


So in summary,
1) When setting numlockoff=1, this keyboard uses the arrow functions and numlock led is lit.
2) If I press numlock, numlock is still lit but it will now use the numbers
3) If I press numlock a 2nd time, numlock turns off and the keyboard will function with letters.

I cannot use the keyboard to get the above (1) state. Using the numlock itself on the keyboard will only toggle between (2) and (3).

Re: numlock off default on USB keyboard?

Posted: Thu Feb 27, 2014 5:58 am
by my_pc_is_amiga
I have a Belkin 4 port switch -- don't know the model number off hand. After the OS is loaded and with numlockoff=1 aleady set in envarc:, the keyboard is in state (1). When I unplug the the keyboard from the kvm and then re-attach, I'm still in state (1). This kvm switch has some kind of detection if a keyboard is connected or not ... when the keyboard is disonnected the kvm starts beeping.

A seperate thing I noticed on the X1000 CFE console is if I push capslock, LED is not lit on the keyboard but it does turn the capitals on....

Re: numlock off default on USB keyboard?

Posted: Sat Mar 01, 2014 2:31 pm
by broadblues
Reading through this I can't see what keyboard the OP is using (unless I can't see it for looking in which a case I apologise but could you repeat and perhaps post a photograph).

As his behaviour is somewhat odd, ie not just issues with the light be intially out of phase with the numlock state but a completely different key handling, it would help any dev to know.

With my keyboard a fairly basic Kensington keyboard with Numpad, when the numlockoff variable is set then numlock functionality is off *but* the light is on. I suspect the light is turned on either by UBoot or the bootkeyboard driver and that switching numlock off programatically doesn't by itself toggle the state of the light (might need a seperate command).

A simple work arround for this might be to buy a simpler more standard keyboard.

Re: numlock off default on USB keyboard?

Posted: Sat Mar 01, 2014 5:41 pm
by danbeaver
Occam's Razor -- the simplest solution is often the best.

Re: numlock off default on USB keyboard?

Posted: Sat Mar 01, 2014 7:17 pm
by my_pc_is_amiga
It kind of looks like this:

http://shop.goldtouch.com/collections/e ... atible-usb

If you zoom into the right-most portion of the keyboard you can see where the numlock keypad is part of the letters and not seperate keys


The model is different though; it is SKR-4200U

Re: numlock off default on USB keyboard?

Posted: Wed Mar 05, 2014 3:37 am
by danbeaver
Yes, you are right.