From: "Eray Orçunus" <erayorcunus@gmail.com>
To: hdegoede@redhat.com
Cc: andy@kernel.org, arnavr3@illinois.edu, erayorcunus@gmail.com,
felix@eckhofer.com, g_goessel@outlook.com, ike.pan@canonical.com,
jiaxun.yang@flygoat.com, kai.heng.feng@canonical.com,
kelly@xilka.com, limanyi@uniontech.com, markgross@kernel.org,
maxtram95@gmail.com, p.jungkamp@gmx.net,
platform-driver-x86@vger.kernel.org, pobrn@protonmail.com,
whenov@gmail.com
Subject: Re: [PATCH 0/3] platform/x86: ideapad-laptop: Rework touchpad control code
Date: Wed, 16 Nov 2022 19:08:25 +0300 [thread overview]
Message-ID: <20221116160825.16120-1-erayorcunus@gmail.com> (raw)
In-Reply-To: <20221116152448.698707-1-hdegoede@redhat.com>
Hi,
On Thu, 16 Nov 2022 at 18:25, Hans de Goede <hdegoede@redhat.com> wrote:
> Hi All,
>
> Here are my proposed changes from the "ideapad-laptop touchpad handling
> problems, request for help" email thread as proper patches:
> https://lore.kernel.org/platform-driver-x86/bc1202d1-d85d-4173-5979-237bb1ee9254@redhat.com/
>
> Note this applies on top of my review-hans branch which has seen a bunch
> of other ideapad-laptop changes land recently:
> https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
>
> As suggested by Maxim, the third patch now has a module parameter to
> allow users to easily re-enable the i8042 aux-port enabling/disabling
> on models other then the Z570.
>
> Eray, you mentioned in another email that you have some concerns about
> the approach in this series?
Yes, thanks for mentioning. My concerns are these:
- Users of laptops with ELAN0634 (like Yoga 14s and 720s), Lenovo
Yoga 3 Pro 1370 and ZhaoYang K4e-IML will start to see non-working
"touchpad" sysfs attribute on their ideapad-laptop driver. I see this
as a regression. Also it's easy to fix; we can just test for if
VPCCMD_W_TOUCHPAD works at the boot - with sending 0 first and verify the
VPCCMD_R_TOUCHPAD result, and then sending 1 and again verify the
VPCCMD_R_TOUCHPAD result. Later we can remove "touchpad" attribute if it
doesn't work, with the exception of devices with ctrl_ps2_aux_port,
since these laptops have working VPCCMD_R_TOUCHPAD.
- You removed sending 1 to VPCCMD_W_TOUCHPAD at the boot, are we sure
there are no laptops needing that? I don't think we talked about that
in previous e-mail thread.
- There is no i8042 cmd on touchpad_store, which may make the function
ineffective on laptops with ctrl_ps2_aux_port.
- r_touchpad_val isn't set at touchpad_store and/or touchpad_read, which
can make it out of sync when "touchpad" attr is accessed.
Best,
Eray
next prev parent reply other threads:[~2022-11-16 16:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 15:24 [PATCH 0/3] platform/x86: ideapad-laptop: Rework touchpad control code Hans de Goede
2022-11-16 15:24 ` [PATCH 1/3] platform/x86: ideapad-laptop: Refactor ideapad_sync_touchpad_state() Hans de Goede
2022-11-16 15:24 ` [PATCH 2/3] platform/x86: ideapad-laptop: Do not send KEY_TOUCHPAD* events on probe / resume Hans de Goede
2022-11-16 15:24 ` [PATCH 3/3] platform/x86: ideapad-laptop: Rework touchpad control code Hans de Goede
2022-11-16 16:08 ` Eray Orçunus [this message]
2022-11-17 9:56 ` [PATCH 0/3] " Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221116160825.16120-1-erayorcunus@gmail.com \
--to=erayorcunus@gmail.com \
--cc=andy@kernel.org \
--cc=arnavr3@illinois.edu \
--cc=felix@eckhofer.com \
--cc=g_goessel@outlook.com \
--cc=hdegoede@redhat.com \
--cc=ike.pan@canonical.com \
--cc=jiaxun.yang@flygoat.com \
--cc=kai.heng.feng@canonical.com \
--cc=kelly@xilka.com \
--cc=limanyi@uniontech.com \
--cc=markgross@kernel.org \
--cc=maxtram95@gmail.com \
--cc=p.jungkamp@gmx.net \
--cc=platform-driver-x86@vger.kernel.org \
--cc=pobrn@protonmail.com \
--cc=whenov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox