Re: Linux input event extending tool exist?
From: Vojtech Pavlik
Date: Thu Dec 16 2004 - 03:39:17 EST
On Wed, Dec 15, 2004 at 11:41:38PM -0500, Eric Lammerts wrote:
> Vojtech Pavlik wrote:
> >You can use evtest (attached). It's often found in the joystick RPMs.
> >It's also in the linuxconsole.sf.net CVS repository. On recent kernels
> >it'll show the scancodes as well as the generated keycodes.
> Vojtech, are you aware that this doesn't work well with 32-bit apps on
> x86-64 kernels? The ioctls don't work (no compat definitions), and
> struct input_event is 24 bytes instead of 16.
Yes, I'm aware of that, and I don't have a solution for it yet, since
adding compat ioctls is easy, but using the right input_event size is
next to impossible.
The problem is with the difference in size of struct timeval.
SuSE Labs, SuSE CR
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/