Martin Kajdas
2007-09-26 20:30:52 UTC
: TTYKBD = N // was Y
: NOKBD = Y // was N
: And now the timer events happen when nano-X is started at boot time.
I: NOKBD = Y // was N
: And now the timer events happen when nano-X is started at boot time.
: even start the app at boot time at it gets the timer events.
Amazing. And I'm glad you've got it working. This has got to do
with the kbd init code or select() in nanox/srvmain.c I think.
I have the same problem (timers not working) but in my case the keyboardAmazing. And I'm glad you've got it working. This has got to do
with the kbd init code or select() in nanox/srvmain.c I think.
is optional.
Because the keyboard is USB, it is hot-plugged and has to work anytime.
It is not required at boot time and without it the problem occurred.
Because nano-X had to be configured with TTYKBD=Y, I fixed it by
changing nanox/srvmain.c
GsSelect(0L);
to:
GsSelect(1L);
inside main().
This way, GsSelect does not hang waiting for keyboard and processes all
timers when needed.
I do not see any reason why the timeout parameter should be zero.
Martin