[PATCH keyboard 2/5] Removed function InitKBD

2011-02-17 Thread Alexandr Shadchin
Before calling InitKBD called KbdCtrl, which sets the LEDS in accordance with the ctrl->leds. Therefore, further manipulation InitKBD do not matter. Signed-off-by: Alexandr Shadchin --- src/kbd.c | 53 + 1 files changed, 1 insertions(+), 52 d

Re: [PATCH keyboard 2/5] Removed function InitKBD

2011-02-17 Thread Alan Coopersmith
Why have you decided to remove the functionality of initializing the state of things like NumLock based on the initial LED state? It was a bit of the hack to propogate things like "NumLock on by default" from the BIOS up through to the X server, but it worked.(At least it used to, I haven't c

Re: [PATCH keyboard 2/5] Removed function InitKBD

2011-02-18 Thread Alexandr Shadchin
But it does not work :-) DEVICE_INIT ... call InitKeyboardDeviceStruct() ... call KbdCtrl() set LEDS in accordance with the ctrl->leds I have not found yet a way to startup X so ctrl->leds were not zero ... call InitKBD() (LEDS has already repaid) manipulati