On Sat, Aug 16, 2003 at 05:57:41PM +1000, Neil Brown wrote: > On Friday August 15, vojtech@suse.cz wrote: > > On Fri, Aug 15, 2003 at 03:52:48PM +0200, Andries Brouwer wrote: > > > On Fri, Aug 15, 2003 at 10:46:07PM +1000, Neil Brown wrote: > > > > > > > It seems to work (though some of the keys actually generate 'down' > > > > events for both the down and up transitions, so it seems that the key > > > > is pressed twice. > > > > > > Maybe it really is as you say. But your description sounds fishy. > > > It would be nice to know what really happens. > > > (And it would be nice to know which scancodes are involved.) > > > > Indeed. Neil, please enable DEBUG in i8042.c ... both with and without the > > i8042_direct=1 and atkbd_set=3 options from my previous e-mail. > > > > And for Andries, if you can, do the showkey -s test on 2.4, too ... > > Well... > > For my purposes, I need to use an "ioctl" to set a keycode for each > scancode, so adding an ioctl to set the no-keyup status is no hassle > for me. However the suggest approach of auto-detecting keys which > have no up event would probably a good idea. How about this patch? It tries to be a bit clever, but hopefully not too much ... -- Vojtech Pavlik SuSE Labs, SuSE CR