Bug 53936

Summary: Bad dimensions on Alps pad, edge scrolling/movement broken
Product: xorg Reporter: JR <zorael>
Component: Input/synapticsAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer, zorael
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0001-eventcomm-add-ALPS-model-0x9-53936.patch none

Description JR 2012-08-22 14:34:41 UTC
Kubuntu 12.10 quantal alpha 3 (amd64), xserver-xorg-input-synaptics package is version 1.6.2-1ubuntu4, kernel is 3.5.0-11-generic, both from the main repo. The machine is a Dell Latitude E6520 and xinput reports its touchpad as an Alps.

I recently wiped my 12.04 system, installed 12.10a3 fresh, and promptly noticed that edge-scrolling wasn't working anymore. It turns out the calculated physical pad dimensions is off by just enough to put the edges out of reach.

Xorg.0.log bits;
>synaptics: AlpsPS/2 ALPS DualPoint TouchPad: x-axis range 0 - 2000
>synaptics: AlpsPS/2 ALPS DualPoint TouchPad: y-axis range 0 - 1400
>synaptics: AlpsPS/2 ALPS DualPoint TouchPad: Vendor 0x2 Product 0x9

...and the sysfs entries in /sys/class/input/input*/id agree;
>bustype 0011
>product 0009
>vendor  0002
>version 7326

Dimensions as reported by xinput list-props;
>Synaptics Edges (306):  80, 1920, 75, 1325

Dimensions from whatever driver version I was running at 120320 (distro then was likely 12.04b, whose current package version is now 1.5.99.902-0ubuntu5 for comparison);
>Synaptics Edges (280):  300, 1700, 210, 1190

The numbers make sense if priv->MODEL != MODEL_ALPS (synaptics.c:298).

MODEL_ALPS edge modifiers: width 0.15, height 0.15
>2000 * 0.15 = 300
>1400 * 0.15 = 210
Generic edge modifiers: width .04, height 0.54
>2000 * 0.04  = 80
>1400 * 0.054 = 75.6


There are several factors here (new kernel, new xorg, new synaptics driver, new udev, even new BIOS but unsure how that affects touchpad vendor/product id), so this may just be a NOTOURBUG.

Let me know what else I can do to troubleshoot.
Comment 1 Peter Hutterer 2012-09-17 16:45:13 UTC
Created attachment 67290 [details] [review]
0001-eventcomm-add-ALPS-model-0x9-53936.patch

should be a simple fix, can you give this patch a try please?
Comment 2 Timo Aaltonen 2012-09-21 11:32:45 UTC
I think a kernel update should have fixed this, edge-scrolling was broken for all alps devices for a moment, working fine now.
Comment 3 Peter Hutterer 2012-10-04 03:15:53 UTC
JR, is this still an issue? If so, does the patch address it?
Comment 4 JR 2012-10-06 13:33:35 UTC
Apologies, I have not had access to the machine for a while. I'll see if I can get it done during the weekend.
Comment 5 JR 2012-11-08 23:21:52 UTC
Curiously enough, with a 3.6 kernel the device is (again?) reported as Vendor 0x2 Product 0x8. xinput now lists the appropriate edge dimensions and scrolling works nicely.

Kernel bug after all? *shrug*
Comment 6 Peter Hutterer 2016-11-28 04:39:44 UTC
This is a mass change of bugs. Bugs assigned to me that haven't been updated in the last 3 years are closed as WONTFIX, because, well, let's at least be honest about it.

Please do not re-open unless you have a really good reason to do so (e.g. you're fixing it yourself). If it hasn't been fixed in the last 3 years, it probably won't be fixed anytime soon either. Sorry.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.