On Thu, Dec 9, 2010 at 1:30 PM, Chris Bagwell <[email protected]> wrote:
>> Event if we set absinfo.resolution properly in the kernel driver, we
>> can not pass them to the user land. There is no ioctl to support it
>> yet. I have raised this question last month. No one followed that RFC.
>
> Maybe I missed that part of your emails.  Resolution is returned as
> apart of EVIOCGABS that we are querying today.  Its returning zero
> today I guess.

The EVIOCGABS ioctl does not report resolution since the corresponding
kernel function: input_set_abs_params() does not have a room for
resolution. My email to linux-input is attached below for your
reference.

On Sun, Nov 14, 2010 at 12:40 PM, Ping Cheng <[email protected]> wrote:
> I have thought about the resolution issue for a while. I didn't want
> to tocuh it since it affects all HID drivers. Resolution has been
> added to absinfo since kernel 2.6.31. But no kernel driver has passed
> resolution to the userland yet. We (linuxwacom project) still keep a
> resolution table in the X driver. Passing resolution to the userland
> from the kernel can get rid of those tables and avoid retrieving that
> information from HID descriptor.
>
> One simple way to support resolution is to add "int res" to
> input_set_abs_params(...). This means an interface change. All HID
> drivers that call input_set_abs_params() have to be updated. We could
> introduce a new input_set_abs_something so only those drivers that
> want to pass the resolution switch to the new routine. Maybe you guys
> have other suggestions?
>
> Ping
>

------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to