On Thu, Dec 9, 2010 at 4:03 PM, Peter Hutterer <[email protected]> wrote:
> Have a look at the drivers/input/mouse/synaptics.
> commit ec20a022aa24fc63d3ab59584cb1e5aa9a21d46c
> Refs: v2.6.30-36-gec20a02
>
>   Input: synaptics - add support for reporting x/y resolution

So, resolution was added to the driver in 2.6.30. But
input_abs_set_res() was only added in 2.6.35.

> the driver currently uses input_abs_set_res(), added in
> commit 987a6c0298260b7aa40702b349282554d6180e4b
> Refs: v2.6.35-rc3-59-g987a6c0
>
>    Input: switch to input_abs_*() access functions
>
>
> synaptics and evdev both get the resolution from the kernel, if the
> respective kernel driver sets it.

This means a valid resolution will be received if LINUX_VERSION_CODE
>= KERNEL_VERSION(2,6,35) instead of > 2.6.30.

This is still good news. Thank you, Peter, for the heads up.

Ping

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

Reply via email to