numlock off default on USB keyboard?
-
- Posts: 73
- Joined: Sat Dec 08, 2012 7:58 pm
numlock off default on USB keyboard?
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?
-
- Posts: 73
- Joined: Sat Dec 08, 2012 7:58 pm
Re: numlock off default on USB keyboard?
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).
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).
-
- Posts: 73
- Joined: Sat Dec 08, 2012 7:58 pm
Re: numlock off default on USB keyboard?
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....
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....
- broadblues
- AmigaOS Core Developer
- Posts: 600
- Joined: Sat Jun 18, 2011 3:40 am
- Location: Portsmouth, UK
- Contact:
Re: numlock off default on USB keyboard?
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.
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.
- danbeaver
- Posts: 368
- Joined: Thu Jan 19, 2012 9:58 pm
- Location: Someplace you'd rather not be
- Contact:
Re: numlock off default on USB keyboard?
Occam's Razor -- the simplest solution is often the best.
-
- Posts: 73
- Joined: Sat Dec 08, 2012 7:58 pm
Re: numlock off default on USB keyboard?
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
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
- danbeaver
- Posts: 368
- Joined: Thu Jan 19, 2012 9:58 pm
- Location: Someplace you'd rather not be
- Contact:
Re: numlock off default on USB keyboard?
Yes, you are right.