Re: input system: EVIOCSABS(abs) ioctl disabled, why?
From: Lee Revell
Date: Fri Jul 30 2004 - 22:49:41 EST
On Fri, 2004-07-30 at 22:31, Kristian Høgsberg wrote:
> Vojtech Pavlik wrote:
> > On Wed, Jul 28, 2004 at 03:41:28PM +0300, Olav Kongas wrote:
> >
> >
> >>When trying to feed calibration information to a touchscreen driver with
> >>the EVIOCSABS(abs) ioctl command, I noticed that this command is disabled
> >>in 2.6.7. Only after the modification given in the patch below it was
> >>possible to use this ioctl command.
> >>
> >>Why is the EVIOCSABS command disabled? I cannot imagine that nobody uses
> >
> >
> > It's a bug. I'll fix it.
>
> On a related note - shouldn't there also be a EVIOCSLED, or am I missing
> something obvious? How do you set keyboard LEDs?
>
Interesting you should mention keyboard LEDs. Here is a patch that was
recently posted to replace the old, broken method of setting keyboard
lights (issue a command an busy-wait until you get an ACK) with an
improved one (using work queues and a semaphore). It does not really
answer your question as such, but should be a good place to start.
http://lkml.org/lkml/2004/7/27/252
HTH,
Lee
-
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/