Discussion:
Turmvilla scenario keyboard input stuck in a subsystem
Duss Pirmin
2016-02-12 10:27:34 UTC
Permalink
Hello

I'm playing around with the Turmvilla scenario as Norman provides it.

Sometimes the keyboard input will be stuck in one of the started
subsystems. Mostly this is the case with the linux subsystem (I only
recognize this when I shut down linux and want to close the nit_fb),
but I also had the case where it was stuck in the noux subsystem.

Is there a way to unstuck the keyboard, or a way how I could debug
what happens?

Best Regards Pirmin
Norman Feske
2016-02-13 23:45:49 UTC
Permalink
Hi Pirmin,
Post by Duss Pirmin
I'm playing around with the Turmvilla scenario as Norman provides it.
great to hear that you are experimenting with the scenario!
Post by Duss Pirmin
Sometimes the keyboard input will be stuck in one of the started
subsystems. Mostly this is the case with the linux subsystem (I only
recognize this when I shut down linux and want to close the nit_fb),
but I also had the case where it was stuck in the noux subsystem.
Is there a way to unstuck the keyboard, or a way how I could debug
what happens?
I also noticed this sporadic behavior, which mystifies me quite a bit.
Sometimes there is either a superficial press event (for which no
release event is generated) or a release event goes missing. I notice
this when using a USB HID keyboard. The problem in this situation is
that nitpicker assumes that a key is kept pressing and behaves
differently. For example, unless the number of pressed keys is zero
(tracked by nitpicker's key_cnt variable), nitpicker won't switch the
keyboard focus when clicking with the mouse.

As a workaround - just to regain control over the situation - my
turmvilla branch has the commit "nitpicker: hack to reset key_cnt via
F9". Each time when releasing F9, the key_cnt is hard reseted to zero.
However, this is of course just a messy workaround until we find the
actual problem.

Just out of curiosity, are you using a USB or PS/2 keyboard?

Cheers
Norman
--
Dr.-Ing. Norman Feske
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Duss Pirmin
2016-02-14 07:33:18 UTC
Permalink
Hi Norman
Post by Norman Feske
As a workaround - just to regain control over the situation - my
turmvilla branch has the commit "nitpicker: hack to reset key_cnt via
F9". Each time when releasing F9, the key_cnt is hard reseted to zero.
However, this is of course just a messy workaround until we find the
actual problem.
I will try this the next time I encounter the Problem.
Post by Norman Feske
Just out of curiosity, are you using a USB or PS/2 keyboard?
This happens with the integrated Keyboard of my lenovo X201.
It's possible, that this is connected as a HID via USB.

Best regards Pirmin

Loading...