On Fri, 2006-05-12 at 15:51 +0200, Martin Pitt wrote: > Thank you! BTW, do you happen to have any pointer about documentation > of that ioctl?
linux sources :) drivers/input/evdev.c lines 308 to 369 contain the code copying the bitmap to userspace I've looked into it and I'm pretty sure my patch is correct. On little endian 32-bit systems, the code simply copies the kernel bitmap which is long (32bit) based, on 64-bit systems and 64-bit clients the same happens as far as I can tell, although longs are then 64-bit based. Only on 64-bit kernel with 32-bit userland things may need fixing up (only in the big endian case though, since on little-endian all the things are equivalent anyway!), which is done in the kernel. johannes
signature.asc
Description: This is a digitally signed message part