Re: [PATCH v2 0/6] platform/x86: ideapad-laptop: Rework touchpad control code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 Nov 2022 at 13:02, Hans de Goede <hdegoede@xxxxxxxxxx> wrote:
>
> Hi All,
>
> Here is v2 of my series to rework the ideapad-laptop touchpad control code.
>
> New in v2:
> - Split patch 3/3 in to 3 patches (3-5/6) since it was doing to much at once
>   - Update r_touchpad_val on sysfs read/writes
>   - Drop the write(VPCCMD_W_TOUCHPAD, 1) call at probe in a separate patch
>     and document why this is done in the commit msg
> - Add a new patch (6/6) to hide the touchpad sysfs attribute behind a
>   module-parameter which is disabled by default, see the commit message
>   for why this is done.

I'll try to take a look at this series and test it on Z570 over the
weekend (I've had major issues with electricity supply for the last
few days...)

>
> 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
>
> Regards,
>
> Hans
>
>
> Hans de Goede (6):
>   platform/x86: ideapad-laptop: Refactor ideapad_sync_touchpad_state()
>   platform/x86: ideapad-laptop: Do not send KEY_TOUCHPAD* events on
>     probe / resume
>   platform/x86: ideapad-laptop: Only toggle ps2 aux port on/off on
>     select models
>   platform/x86: ideapad-laptop: Send KEY_TOUCHPAD_TOGGLE on some models
>   platform/x86: ideapad-laptop: Stop writing VPCCMD_W_TOUCHPAD at probe
>     time

IIRC, the touchpad gets enabled on boot on Z570 if it was disabled
before rebooting. I'll test if it's still the case after this patch
(given that VPCCMD_W_TOUCHPAD seems to be a no-op).

>   platform/x86: ideapad-laptop: Make touchpad_ctrl_via_ec a module
>     option
>
>  drivers/platform/x86/ideapad-laptop.c | 98 +++++++++++++++++----------
>  1 file changed, 61 insertions(+), 37 deletions(-)
>
> --
> 2.38.1
>



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux