Kdrive - linux/keyboard.c

Harald Radke harryrat at postnuklear.de
Sun Dec 23 04:19:11 PST 2007


Hi there!

I am looking to get Xfbdev working with the keyboard driver, using "-keybd 
keyboard" option

Some strange behaviour of the Xserver led me to do some superficial debugging.
It looks like the keyboard driver also reacts on touchscreen events! This is 
really wierd...

The initial problem is: when using above driver, and closing an X app, the 
display turns black with underscore cursor in the left corner, starting X 
apps doesn't do anything...when tapping the touchscreen, it finally returns 
to the checkered X background or started X app and operation state is back 
normal...

when terminating an X app following keyboard function sequence is processed:

- keyboard disable
- keyboard init
- keyboard enable

and here is where X "hangs", inside the enable function the keyboard driver 
waits for input, flushing the input buffer with read() ... actually it 
doesn't react on keyboard input at that stage, only touchscreen


Any ideas? Or am I totally missing something?

Greez,

Harry



More information about the xorg mailing list