[PATCH xf86-input-synaptics] Fix product ID cutoff for MODEL_APPLETOUCH/MODEL_UNIBODY_MACBOOK

Peter Hutterer peter.hutterer at who-t.net
Tue Apr 29 18:34:31 PDT 2014


On Tue, Apr 29, 2014 at 07:47:17PM -0500, Clinton Sprain wrote:
> Some Macbooks are being tagged as MODEL_UNIBODY_MACBOOKs when they should not be. This causes the default sensitivity to be very low for them, making the touchpad almost unusable. This change puts those devices into the correct bucket again.
> 
> Signed-off-by: Clinton Sprain <clintonsprain at gmail.com>

merged, thanks.

Cheers,
   Peter

> ---
>  src/eventcomm.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/eventcomm.c b/src/eventcomm.c
> index 858efeb..a7cfa7f 100644
> --- a/src/eventcomm.c
> +++ b/src/eventcomm.c
> @@ -306,7 +306,9 @@ static struct model_lookup_t model_lookup_table[] = {
>      {0x0002, 0x0007, 0x0007, MODEL_SYNAPTICS},
>      {0x0002, 0x0008, 0x0008, MODEL_ALPS},
>      {0x05ac, PRODUCT_ANY, 0x222, MODEL_APPLETOUCH},
> -    {0x05ac, 0x223, PRODUCT_ANY, MODEL_UNIBODY_MACBOOK},
> +    {0x05ac, 0x223, 0x228, MODEL_UNIBODY_MACBOOK},
> +    {0x05ac, 0x229, 0x22b, MODEL_APPLETOUCH},
> +    {0x05ac, 0x22c, PRODUCT_ANY, MODEL_UNIBODY_MACBOOK},
>      {0x0002, 0x000e, 0x000e, MODEL_ELANTECH},
>      {0x0, 0x0, 0x0, 0x0}
>  };
> -- 
> 1.9.1
> 


More information about the xorg-devel mailing list