Re: input system: EVIOCSABS(abs) ioctl disabled, why?

From: Vojtech Pavlik
Date: Sat Jul 31 2004 - 04:34:27 EST


On Sat, Jul 31, 2004 at 04:31:34AM +0200, 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?

You write() an LED event to the device. EVIOCSABS is intended for
modifying the absolute valuator range, not the value itself.

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