[PATCH evdev] Fail to set up devices that only have MT axes but no ABS_X/Y equivalents (#64029)
Benjamin Tissoires
benjamin.tissoires at gmail.com
Tue Apr 30 01:51:16 PDT 2013
On Mon, Apr 29, 2013 at 3:51 AM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> The kernel should give us ABS_X/Y for backwards compat but some devices
> don't. For now, ignore these devices as evdev is not suited to handle this
> yet and will crash if a device is set up without axes (i.e.
> pEvdev->vals == NULL) and later receives an event from an MT axis.
>
> X.Org Bug 64029 <http://bugs.freedesktop.org/show_bug.cgi?id=64029>
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
Thanks for the "fix" Peter :)
Cheers,
Benjamin
> ---
> not a solution, but it stops the crash
>
More information about the xorg-devel
mailing list