Bug 1085582 - Unexpected touchpad area on Lenovo T431s after upgrade
Summary: Unexpected touchpad area on Lenovo T431s after upgrade
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-synaptics
Version: 20
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-09 00:49 UTC by Shichao An
Modified: 2014-05-06 03:30 UTC (History)
4 users (show)

Fixed In Version: kernel-3.13.11-100.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-18 15:35:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Shichao An 2014-04-09 00:49:53 UTC
Description of problem:
The 40% touchpad area to the bottom does not respond to any touch behavior. In other word, only the top 60% area is working. Modifying parameters using synclient does not seem to work.


Version-Release number of selected component (if applicable):
xorg-x11-drv-synaptics-1.7.4-5.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. yum install xorg-x11-drv-synaptics  # updates to 1.7.4-5
2. reboot

Actual results:
Only the top 60% touchpad area works

Expected results:
100% touchpad area should work

Additional info:
Tested some parameters using synclient, such as BottomEdge, but no expected results.
Previous releases such as 1.7.1-6.fc20 and 1.7.4-1.fc20 were working versions.
By downgrading to 1.7.4-1.fc20 (yum downgrade xorg-x11-drv-synaptics), the problem disappeared.

Comment 1 Peter Hutterer 2014-04-09 02:59:55 UTC
I need the output of grep "" /sys/devices/virtual/dmi/id/*  please, and the min/max range from your touchpad. Easiest way to get the latter is to grab libevdev from git://git.freedesktop.org/git/libevdev, build it and run sudo ./tools/touchpad-edge-detector /dev/input/eventX (with the right event node of course).

Comment 2 Shichao An 2014-04-09 21:43:35 UTC
I tested on both the 1.7.1-5.fc20 and 1.7.4-5.fc20 pakcages, the results are essentially the same:

$ sudo grep "" /sys/devices/virtual/dmi/id/*
/sys/devices/virtual/dmi/id/bios_date:06/13/2013
/sys/devices/virtual/dmi/id/bios_vendor:LENOVO
/sys/devices/virtual/dmi/id/bios_version:GHET22WW (1.07 )
/sys/devices/virtual/dmi/id/board_asset_tag:Not Available
/sys/devices/virtual/dmi/id/board_name:20AACTO1WW
/sys/devices/virtual/dmi/id/board_serial:1ZSFT38C1LH
/sys/devices/virtual/dmi/id/board_vendor:LENOVO
/sys/devices/virtual/dmi/id/board_version:Not Defined
/sys/devices/virtual/dmi/id/chassis_asset_tag:No Asset Information
/sys/devices/virtual/dmi/id/chassis_serial:R90016FN
/sys/devices/virtual/dmi/id/chassis_type:10
/sys/devices/virtual/dmi/id/chassis_vendor:LENOVO
/sys/devices/virtual/dmi/id/chassis_version:Not Available
/sys/devices/virtual/dmi/id/modalias:dmi:bvnLENOVO:bvrGHET22WW(1.07):bd06/13/2013:svnLENOVO:pn20AACTO1WW:pvrThinkPadT431s:rvnLENOVO:rn20AACTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
grep: /sys/devices/virtual/dmi/id/power: Is a directory
/sys/devices/virtual/dmi/id/product_name:20AACTO1WW
/sys/devices/virtual/dmi/id/product_serial:R90016FN
/sys/devices/virtual/dmi/id/product_uuid:817A7AC2-C652-CB11-864F-B130B8A68038
/sys/devices/virtual/dmi/id/product_version:ThinkPad T431s
grep: /sys/devices/virtual/dmi/id/subsystem: Is a directory
/sys/devices/virtual/dmi/id/sys_vendor:LENOVO
/sys/devices/virtual/dmi/id/uevent:MODALIAS=dmi:bvnLENOVO:bvrGHET22WW(1.07):bd06/13/2013:svnLENOVO:pn20AACTO1WW:pvrThinkPadT431s:rvnLENOVO:rn20AACTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:

$ sudo ./touchpad-edge-detector /dev/input/event3 > touchpad-edge.txt
$ cat touchpad-edge.txt 
Touchpad SynPS/2 Synaptics TouchPad on /dev/input/event3
Move one finger around the touchpad to detect the actual edges
Kernel says:	x [1472..5112], y [1408..3834]
Touchpad sends:	x [1038..5113], y [2021..4832] \

Comment 3 Hans de Goede 2014-04-10 10:00:49 UTC
Hi Shichao,

Thanks for the bug report and for the info. It seems that the T431s has the same touchpad as the T440s. One of the issues with the T440s touchpad is that it reports the wrong min/max values as your
touchpad-edge-detector test clear shows.

Since version 1.7.4-4 synaptics ignores touches starting in the bottom button area, this avoids
accidental movement of the cursor before clicking when putting down a finger to click in the bottom button area, and the wrong min/max values for your touchpad cause this area where movement is ignored if it *starts* there to become quite large on your laptop.

I've prepared a scratch kernel build which adds a quirk for your laptop to fix the min/max area, you can find it here, please install this kernel and give things a try with the latest synaptics driver:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6723184

Note it is still building atm.

Also I would like to know the pnp id for your touchpad, as we plan to switch to using pnp ids for the quirks for these touchpads in the future, so can you please do:
cat /sys/devices/pnp0/*/id

and paste the output here?

Last, to get the synaptics driver to also activate the top button area for your touchpad you need to edit a udev-rule (I'll create an updated package for this as soon as you can confirm everything works as it should) , for now please edit:
/lib/udev/rules.d/70-touchpad-quirks.rules

And then find this line:
ATTR{[dmi/id]product_version}=="*T440*", ENV{ID_INPUT.tags}="T440"

And change it into the following 2 lines (copy it and edit the 2nd line):
ATTR{[dmi/id]product_version}=="*T440*", ENV{ID_INPUT.tags}="T440"
ATTR{[dmi/id]product_version}=="*T431*", ENV{ID_INPUT.tags}="T440"

Note that the T440 at the end of the 2nd line is not a mistake, this tells the synaptics driver to use the T440 settings for your laptop.

Thanks for your help with this, and please let me know if the kernel-build + udev rule update makes the touchpad work properly including the top button area (which is intended for use with the trackstick).

Regards,

Hans

Comment 4 Shichao An 2014-04-11 21:07:05 UTC
Hi Hans,

I installed your kernel build, updated the package to 1.7.4-5.fc20, and modified /lib/udev/rules.d/70-touchpad-quirks.rules as instructed. I think everything works as expected. As you said "1.7.4-4 synaptics ignores touches starting in the bottom button area", currently the touchpad ignores touches only a tiny area from the bottom, which I think is functioning correctly. Thanks!

$ cat /sys/devices/pnp0/*/id
PNP0c01
PNP0c02
PNP0103
PNP0200
PNP0800
PNP0c04
PNP0b00
LEN0071
PNP0303
LEN0034
PNP0f13
SMO1200
PNP0c31

Comment 5 Hans de Goede 2014-04-12 11:37:01 UTC
Hi Shichao An,

Thanks for testing! It seems that everything works as it should now, which is great.

Can you please install this build of the xorg-x11-drv-synaptics package? It will replace your modified /lib/udev/rules.d/70-touchpad-quirks.rules with a new one, which has been updated to support your laptop: http://koji.fedoraproject.org/koji/taskinfo?taskID=6728782

And then after installing this package, reboot and check that everything still works ?

Thanks & Regards,

Hans

Comment 6 Shichao An 2014-04-13 21:55:32 UTC
Hi Hans,

I installed your build of xorg-x11-drv-synaptics and confirmed everything still works. Thanks!

Shichao

Comment 7 Hans de Goede 2014-04-14 13:47:24 UTC
Hi Shichao An,

Thanks for testing! I'm currently preparing an official update to the xorg-x11-drv-synaptics package with the necessary changes. I've also commit the necessary changes to the kernel package, so that these will get picked up with the next build.

Regards,

Hans

Comment 8 Fedora Update System 2014-04-14 13:50:40 UTC
xorg-x11-drv-synaptics-1.7.4-7.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/xorg-x11-drv-synaptics-1.7.4-7.fc20

Comment 9 Fedora Update System 2014-04-15 03:35:43 UTC
kernel-3.13.10-200.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.13.10-200.fc20

Comment 10 Fedora Update System 2014-04-15 03:44:44 UTC
kernel-3.13.10-100.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/kernel-3.13.10-100.fc19

Comment 11 Fedora Update System 2014-04-15 15:52:44 UTC
Package xorg-x11-drv-synaptics-1.7.4-7.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xorg-x11-drv-synaptics-1.7.4-7.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5184/xorg-x11-drv-synaptics-1.7.4-7.fc20
then log in and leave karma (feedback).

Comment 12 Hans de Goede 2014-04-17 12:08:59 UTC
Hi all,

I would like to have one bit more info from your systems for future reference, can you please do:

dmesg | grep synaptics

And copy and paste the output here ?

Thanks & Regards,

Hans

Comment 13 Fedora Update System 2014-04-18 15:35:20 UTC
kernel-3.13.10-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Kartik Somani 2014-04-20 13:21:49 UTC
I'm having similar problem with my lenovo thinkpad edge e431, only the top 20% of the touchpad area works. I updated synaptics, nothing changed.

Comment 15 Hans de Goede 2014-04-21 15:27:30 UTC
Hi Kartik,

(In reply to Kartik Somani from comment #14)
> I'm having similar problem with my lenovo thinkpad edge e431, only the top
> 20% of the touchpad area works. I updated synaptics, nothing changed.

Please file a new bug for this, in this new bug, please include the following unformation:

1) Please download both libevdev and libevdev-utils for your arch from here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=506786

And then install them both with:
rpm -ivh libevdev*.rpm

Note it is important to use rpm -i not -U (unless you're running rawhide), so as to keep the old libevdev which is used by a lot of other apps on your system.

And then run "touchpad-edge-detector /dev/input/event#" where # is the number for your touchpad (see dmesg or Xorg.0.log) and run your finger along the outer edge of the touchpad to detect the proper min/max values. Please copy and paste the output of the program into the new bug.

2) Please run the following commands and copy and paste the output into the new bug:
cat /sys/class/dmi/id/product_version
cat /sys/devices/pnp0/*/id

Thanks,

Hans

Comment 16 Fedora Update System 2014-04-22 03:57:42 UTC
xorg-x11-drv-synaptics-1.7.4-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2014-04-24 18:15:55 UTC
kernel-3.13.11-100.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/kernel-3.13.11-100.fc19

Comment 18 Fedora Update System 2014-05-06 03:30:59 UTC
kernel-3.13.11-100.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.