The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andres Salomon <dilinger@queued.net>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org
Cc: linux-input@vger.kernel.org, Daniel Drake <drake@endlessm.com>
Subject: Re: [PATCH] Input: hgpk - remove protocol support
Date: Tue, 10 Mar 2026 21:04:27 -0400	[thread overview]
Message-ID: <e5a1738e-1b19-453b-92fe-eb93fe74b6f4@queued.net> (raw)
In-Reply-To: <abC5U_JigA9TrGYu@google.com>

That seems fair. I haven't had access to OLPC hardware in just about as 
long. If you need it:

Acked-by: Andres Salomon <dilinger@queued.net>


On 3/10/26 20:43, Dmitry Torokhov wrote:
> The protocol flavor for ALPS touchpads found in OLPC laptops has been
> broken since 2015 commit c378b5119eb0 ("Input: psmouse - factor out
> common protocol probing code") that forgot to add hgpk_init() to HGPK
> entry in psmouse_protocols array.
> 
> Since nobody complained for 10 years let's remove it.
> 
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> ---
>   drivers/input/mouse/Kconfig        |   10 -
>   drivers/input/mouse/Makefile       |    1 -
>   drivers/input/mouse/hgpk.c         | 1063 ----------------------------
>   drivers/input/mouse/hgpk.h         |   61 --
>   drivers/input/mouse/psmouse-base.c |   21 +-
>   drivers/input/mouse/psmouse.h      |    2 +-
>   6 files changed, 2 insertions(+), 1156 deletions(-)
> 
> diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
> index 833b643f0616..30d119d4634b 100644
> --- a/drivers/input/mouse/Kconfig
> +++ b/drivers/input/mouse/Kconfig
> @@ -164,16 +164,6 @@ config MOUSE_PS2_TOUCHKIT
>   
>   	  If unsure, say N.
>   
> -config MOUSE_PS2_OLPC
> -	bool "OLPC PS/2 mouse protocol extension"
> -	depends on MOUSE_PS2 && OLPC
> -	help
> -	  Say Y here if you have an OLPC XO-1 laptop (with built-in
> -	  PS/2 touchpad/tablet device).  The manufacturer calls the
> -	  touchpad an HGPK.
> -
> -	  If unsure, say N.
> -
>   config MOUSE_PS2_FOCALTECH
>   	bool "FocalTech PS/2 mouse protocol extension" if EXPERT
>   	default y
> diff --git a/drivers/input/mouse/Makefile b/drivers/input/mouse/Makefile
> index a1336d5bee6f..137ed0c32d90 100644

      reply	other threads:[~2026-03-11  1:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-11  0:43 [PATCH] Input: hgpk - remove protocol support Dmitry Torokhov
2026-03-11  1:04 ` Andres Salomon [this message]

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=e5a1738e-1b19-453b-92fe-eb93fe74b6f4@queued.net \
    --to=dilinger@queued.net \
    --cc=dmitry.torokhov@gmail.com \
    --cc=drake@endlessm.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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