Re: Linux input event extending tool exist?

From: Vojtech Pavlik
Date: Sun Feb 06 2005 - 13:46:14 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 do. It's a bug, and will be a hard one to solve. The ioclt()s are
easy, but the event size difference is pretty nasty.

--
Vojtech Pavlik
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/