LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-30-2017, 05:53 AM   #121
ibart
LQ Newbie
 
Registered: Nov 2017
Posts: 5

Rep: Reputation: Disabled

Quote:
Originally Posted by bbaker6212 View Post
@ibart / @mogio, have a look at this. The date is recent and this dev is the same guy I think that made the previous patch and here he is talking a lot about left-button click. Maybe this patch can fix the touchpad click problem? I think one problem may be that the touchpad maker being used is different between our notebooks and/or maybe I have the same touchpad but it's being treated different due to my different BIOS version? How can we identify if our touchpads are exactly the same ones or different?

https://patchwork.kernel.org/patch/10070339/
Also you can see HERE that this guy is doing a lot of work on the touchpad driver.

Comments

Hans de Goede - Nov. 22, 2017, 11:57 a.m.
According to the Win8 Precision Touchpad spec, inside the HID_UP_BUTTON
usage-page usage 1 is for a clickpad getting clicked, 2 for an external
left button and 3 for an external right button. Since Linux uses
BTN_LEFT for a clickpad being clicked we end up mapping both usage 1
and 2 to BTN_LEFT and if a single report contains both then we ended
up always reporting the value of both in a single SYN, e.g. :
BTN_LEFT 1, BTN_LEFT 0, SYN. This happens for example with Hantick
HTT5288 i2c mt touchpads.

This commit fixes this by not immediately reporting left button when we
parse the report, but instead storing or-ing together the values and
reporting the result from mt_sync_frame() when we've a complete frame.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
---
Changes in v2:
-Rewrite of v1 of "HID: multitouch: Fix BTN_LEFT 0-1-0-1 events on Novatek
mt touchpad" to kill two birds with one stone

Changes in v3:
-Delay reporting for all buttons not just for BTN_LEFT

Changes in v4:
-Back to combining only the value for BTN_LEFT, the other issues are fixed
with the new "HID: multitouch: Only look at non touch fields in first
packet of a frame" patch
---
drivers/hid/hid-multitouch.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
Patch

Yeah, Hans de Goede is very kind. I mailed him, he replied but his patches don't solve the problem at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Booting Linux Distros With Windows 7 Pro Boot Loader harley51 General 0 12-09-2009 09:57 AM
Multi-boot XP Pro with several linux distros Rubicon244 Linux - Newbie 2 09-22-2008 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration