mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] HID: Merge duplicated documentation for Lenovo Legion
@ 2026-08-31 11:12 Ricardo Ribalda
  2026-11-02 12:40 ` Ricardo Ribalda
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Ribalda @ 2026-08-31 11:12 UTC (permalink / raw)
  To: Derek J. Clark, Mark Pearson, Jiri Kosina
  Cc: linux-input, linux-kernel, stable, Ricardo Ribalda

Lenovo Legion Go and Lenovo Legion Go S share some definitions. Merge them in
sysfs-driver-hid-lenovo-go to avoid this warning:

WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:364; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:234
[WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:373; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:243
[WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:636; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:252
[WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:645; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:261

Cc: stable@vger.kernel.org
Fixes: 168c91839139 ("HID: Add documentation for Lenovo Legion Go drivers")
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
 .../ABI/testing/sysfs-driver-hid-lenovo-go         | 11 +++----
 .../ABI/testing/sysfs-driver-hid-lenovo-go-s       | 35 ----------------------
 2 files changed, 6 insertions(+), 40 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
index c8221373ef76..f3ba3504939d 100644
--- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
+++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
@@ -364,11 +364,12 @@ Description:	This displays the available options for the mode attribute.
 What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
 Date:		April 2026
 Contact:	linux-input@vger.kernel.org
-Description:	This controls the behavior of built in chord combinations.
+Description:	This controls the behavior of built-in chord combinations.
+		For the Legion Go S, this controls the touchpad's operating mode.
 
 		Values are windows or linux.
 
-		Applies to Lenovo Legion Go and Go 2 line of handheld devices.
+		Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
 
 What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
 Date:		April 2026
@@ -377,7 +378,7 @@ Description:	This displays the available options for the os_mode attribute.
 
 		Values are windows or linux.
 
-		Applies to Lenovo Legion Go and Go 2 line of handheld devices.
+		Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
 
 What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/product_version
 Date:		April 2026
@@ -640,7 +641,7 @@ Description:	This controls enabling or disabling the touchpad.
 
 		Values are true, false.
 
-		Applies to Lenovo Legion Go and Go 2 line of handheld devices.
+		Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
 
 What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
 Date:		April 2026
@@ -649,7 +650,7 @@ Description:	This displays the available options for the touchpad/enabled attrib
 
 		Values are true, false.
 
-		Applies to Lenovo Legion Go and Go 2 line of handheld devices.
+		Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
 
 What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/vibration_enabled
 Date:		April 2026
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
index 4d317074bb7e..218164cfe544 100644
--- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
+++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
@@ -231,41 +231,6 @@ Description:	This displays the available options for the mouse/step attribute.
 
 		Applies to Lenovo Legion Go S line of handheld devices.
 
-What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
-Date:		April 2026
-Contact:	linux-input@vger.kernel.org
-Description:	This controls which value is used for the touchpads operating mode.
-
-		Values are windows or linux.
-
-		Applies to Lenovo Legion Go S line of handheld devices.
-
-What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
-Date:		April 2026
-Contact:	linux-input@vger.kernel.org
-Description:	This displays the available options for the os_mode attribute.
-
-		Values are windows or linux.
-
-		Applies to Lenovo Legion Go S line of handheld devices.
-
-What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled
-Date:		April 2026
-Contact:	linux-input@vger.kernel.org
-Description:	This controls enabling or disabling the built-in touchpad.
-
-		Values are true or false.
-
-		Applies to Lenovo Legion Go S line of handheld devices.
-
-What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
-Date:		April 2026
-Contact:	linux-input@vger.kernel.org
-Description:	This displays the available options for the touchpad/enabled attribute.
-
-		Values are true or false.
-
-		Applies to Lenovo Legion Go S line of handheld devices.
 
 What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/linux_mode
 Date:		April 2026

---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20260831-lenovo-go-7b4ec4bf0cd5

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] HID: Merge duplicated documentation for Lenovo Legion
  2026-08-31 11:12 [PATCH] HID: Merge duplicated documentation for Lenovo Legion Ricardo Ribalda
@ 2026-11-02 12:40 ` Ricardo Ribalda
  2026-11-02 17:48   ` Mark Pearson
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Ribalda @ 2026-11-02 12:40 UTC (permalink / raw)
  To: Derek J. Clark, Mark Pearson, Jiri Kosina
  Cc: linux-input, linux-kernel, stable

Friendly ping...

On Mon, 31 Aug 2026 at 13:12, Ricardo Ribalda <ribalda@chromium.org> wrote:
>
> Lenovo Legion Go and Lenovo Legion Go S share some definitions. Merge them in
> sysfs-driver-hid-lenovo-go to avoid this warning:
>
> WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:364; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:234
> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:373; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:243
> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:636; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:252
> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:645; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:261
>
> Cc: stable@vger.kernel.org
> Fixes: 168c91839139 ("HID: Add documentation for Lenovo Legion Go drivers")
> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
> ---
>  .../ABI/testing/sysfs-driver-hid-lenovo-go         | 11 +++----
>  .../ABI/testing/sysfs-driver-hid-lenovo-go-s       | 35 ----------------------
>  2 files changed, 6 insertions(+), 40 deletions(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
> index c8221373ef76..f3ba3504939d 100644
> --- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
> +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
> @@ -364,11 +364,12 @@ Description:      This displays the available options for the mode attribute.
>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
>  Date:          April 2026
>  Contact:       linux-input@vger.kernel.org
> -Description:   This controls the behavior of built in chord combinations.
> +Description:   This controls the behavior of built-in chord combinations.
> +               For the Legion Go S, this controls the touchpad's operating mode.
>
>                 Values are windows or linux.
>
> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>
>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
>  Date:          April 2026
> @@ -377,7 +378,7 @@ Description:        This displays the available options for the os_mode attribute.
>
>                 Values are windows or linux.
>
> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>
>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/product_version
>  Date:          April 2026
> @@ -640,7 +641,7 @@ Description:        This controls enabling or disabling the touchpad.
>
>                 Values are true, false.
>
> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>
>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
>  Date:          April 2026
> @@ -649,7 +650,7 @@ Description:        This displays the available options for the touchpad/enabled attrib
>
>                 Values are true, false.
>
> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>
>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/vibration_enabled
>  Date:          April 2026
> diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
> index 4d317074bb7e..218164cfe544 100644
> --- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
> +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
> @@ -231,41 +231,6 @@ Description:       This displays the available options for the mouse/step attribute.
>
>                 Applies to Lenovo Legion Go S line of handheld devices.
>
> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
> -Date:          April 2026
> -Contact:       linux-input@vger.kernel.org
> -Description:   This controls which value is used for the touchpads operating mode.
> -
> -               Values are windows or linux.
> -
> -               Applies to Lenovo Legion Go S line of handheld devices.
> -
> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
> -Date:          April 2026
> -Contact:       linux-input@vger.kernel.org
> -Description:   This displays the available options for the os_mode attribute.
> -
> -               Values are windows or linux.
> -
> -               Applies to Lenovo Legion Go S line of handheld devices.
> -
> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled
> -Date:          April 2026
> -Contact:       linux-input@vger.kernel.org
> -Description:   This controls enabling or disabling the built-in touchpad.
> -
> -               Values are true or false.
> -
> -               Applies to Lenovo Legion Go S line of handheld devices.
> -
> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
> -Date:          April 2026
> -Contact:       linux-input@vger.kernel.org
> -Description:   This displays the available options for the touchpad/enabled attribute.
> -
> -               Values are true or false.
> -
> -               Applies to Lenovo Legion Go S line of handheld devices.
>
>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/linux_mode
>  Date:          April 2026
>
> ---
> base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
> change-id: 20260831-lenovo-go-7b4ec4bf0cd5
>
> Best regards,
> --
> Ricardo Ribalda <ribalda@chromium.org>
>


-- 
Ricardo Ribalda

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] HID: Merge duplicated documentation for Lenovo Legion
  2026-11-02 12:40 ` Ricardo Ribalda
@ 2026-11-02 17:48   ` Mark Pearson
  2026-11-26 14:09     ` Ricardo Ribalda
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Pearson @ 2026-11-02 17:48 UTC (permalink / raw)
  To: Ricardo Ribalda, Derek J . Clark, Jiri Kosina
  Cc: linux-input, linux-kernel, stable

On Mon, Nov 2, 2026, at 7:40 AM, Ricardo Ribalda wrote:
> Friendly ping...
>
> On Mon, 31 Aug 2026 at 13:12, Ricardo Ribalda <ribalda@chromium.org> wrote:
>>
>> Lenovo Legion Go and Lenovo Legion Go S share some definitions. Merge them in
>> sysfs-driver-hid-lenovo-go to avoid this warning:
>>
>> WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:364; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:234
>> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:373; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:243
>> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:636; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:252
>> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:645; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:261
>>
>> Cc: stable@vger.kernel.org
>> Fixes: 168c91839139 ("HID: Add documentation for Lenovo Legion Go drivers")
>> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
>> ---
>>  .../ABI/testing/sysfs-driver-hid-lenovo-go         | 11 +++----
>>  .../ABI/testing/sysfs-driver-hid-lenovo-go-s       | 35 ----------------------
>>  2 files changed, 6 insertions(+), 40 deletions(-)
>>
>> diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
>> index c8221373ef76..f3ba3504939d 100644
>> --- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
>> +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
>> @@ -364,11 +364,12 @@ Description:      This displays the available options for the mode attribute.
>>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
>>  Date:          April 2026
>>  Contact:       linux-input@vger.kernel.org
>> -Description:   This controls the behavior of built in chord combinations.
>> +Description:   This controls the behavior of built-in chord combinations.

Nit - this minor change is not part of the patch description.

>> +               For the Legion Go S, this controls the touchpad's operating mode.
>>
>>                 Values are windows or linux.
>>
>> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
>> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>>
>>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
>>  Date:          April 2026
>> @@ -377,7 +378,7 @@ Description:        This displays the available options for the os_mode attribute.
>>
>>                 Values are windows or linux.
>>
>> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
>> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>>
>>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/product_version
>>  Date:          April 2026
>> @@ -640,7 +641,7 @@ Description:        This controls enabling or disabling the touchpad.
>>
>>                 Values are true, false.
>>
>> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
>> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>>
>>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
>>  Date:          April 2026
>> @@ -649,7 +650,7 @@ Description:        This displays the available options for the touchpad/enabled attrib
>>
>>                 Values are true, false.
>>
>> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
>> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>>
>>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/vibration_enabled
>>  Date:          April 2026
>> diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
>> index 4d317074bb7e..218164cfe544 100644
>> --- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
>> +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
>> @@ -231,41 +231,6 @@ Description:       This displays the available options for the mouse/step attribute.
>>
>>                 Applies to Lenovo Legion Go S line of handheld devices.
>>
>> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
>> -Date:          April 2026
>> -Contact:       linux-input@vger.kernel.org
>> -Description:   This controls which value is used for the touchpads operating mode.
>> -
>> -               Values are windows or linux.
>> -
>> -               Applies to Lenovo Legion Go S line of handheld devices.
>> -
>> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
>> -Date:          April 2026
>> -Contact:       linux-input@vger.kernel.org
>> -Description:   This displays the available options for the os_mode attribute.
>> -
>> -               Values are windows or linux.
>> -
>> -               Applies to Lenovo Legion Go S line of handheld devices.
>> -
>> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled
>> -Date:          April 2026
>> -Contact:       linux-input@vger.kernel.org
>> -Description:   This controls enabling or disabling the built-in touchpad.
>> -
>> -               Values are true or false.
>> -
>> -               Applies to Lenovo Legion Go S line of handheld devices.
>> -
>> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
>> -Date:          April 2026
>> -Contact:       linux-input@vger.kernel.org
>> -Description:   This displays the available options for the touchpad/enabled attribute.
>> -
>> -               Values are true or false.
>> -
>> -               Applies to Lenovo Legion Go S line of handheld devices.
>>
>>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/linux_mode
>>  Date:          April 2026
>>
>> ---
>> base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
>> change-id: 20260831-lenovo-go-7b4ec4bf0cd5
>>
>> Best regards,
>> --
>> Ricardo Ribalda <ribalda@chromium.org>
>>
>
>
> -- 
> Ricardo Ribalda

All looks good to me.
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>

Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] HID: Merge duplicated documentation for Lenovo Legion
  2026-11-02 17:48   ` Mark Pearson
@ 2026-11-26 14:09     ` Ricardo Ribalda
  2026-11-26 14:27       ` Mark Pearson
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Ribalda @ 2026-11-26 14:09 UTC (permalink / raw)
  To: Mark Pearson
  Cc: Derek J . Clark, Jiri Kosina, linux-input, linux-kernel, stable

Hi Mark

Thanks for your review. Do you know if this is going to land in the tree?

Thanks!

On Mon, 2 Nov 2026 at 18:48, Mark Pearson <mpearson-lenovo@squebb.ca> wrote:
>
> On Mon, Nov 2, 2026, at 7:40 AM, Ricardo Ribalda wrote:
> > Friendly ping...
> >
> > On Mon, 31 Aug 2026 at 13:12, Ricardo Ribalda <ribalda@chromium.org> wrote:
> >>
> >> Lenovo Legion Go and Lenovo Legion Go S share some definitions. Merge them in
> >> sysfs-driver-hid-lenovo-go to avoid this warning:
> >>
> >> WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:364; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:234
> >> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:373; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:243
> >> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:636; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:252
> >> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:645; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:261
> >>
> >> Cc: stable@vger.kernel.org
> >> Fixes: 168c91839139 ("HID: Add documentation for Lenovo Legion Go drivers")
> >> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
> >> ---
> >>  .../ABI/testing/sysfs-driver-hid-lenovo-go         | 11 +++----
> >>  .../ABI/testing/sysfs-driver-hid-lenovo-go-s       | 35 ----------------------
> >>  2 files changed, 6 insertions(+), 40 deletions(-)
> >>
> >> diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
> >> index c8221373ef76..f3ba3504939d 100644
> >> --- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
> >> +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
> >> @@ -364,11 +364,12 @@ Description:      This displays the available options for the mode attribute.
> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
> >>  Date:          April 2026
> >>  Contact:       linux-input@vger.kernel.org
> >> -Description:   This controls the behavior of built in chord combinations.
> >> +Description:   This controls the behavior of built-in chord combinations.
>
> Nit - this minor change is not part of the patch description.
>
> >> +               For the Legion Go S, this controls the touchpad's operating mode.
> >>
> >>                 Values are windows or linux.
> >>
> >> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
> >> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
> >>
> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
> >>  Date:          April 2026
> >> @@ -377,7 +378,7 @@ Description:        This displays the available options for the os_mode attribute.
> >>
> >>                 Values are windows or linux.
> >>
> >> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
> >> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
> >>
> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/product_version
> >>  Date:          April 2026
> >> @@ -640,7 +641,7 @@ Description:        This controls enabling or disabling the touchpad.
> >>
> >>                 Values are true, false.
> >>
> >> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
> >> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
> >>
> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
> >>  Date:          April 2026
> >> @@ -649,7 +650,7 @@ Description:        This displays the available options for the touchpad/enabled attrib
> >>
> >>                 Values are true, false.
> >>
> >> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
> >> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
> >>
> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/vibration_enabled
> >>  Date:          April 2026
> >> diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
> >> index 4d317074bb7e..218164cfe544 100644
> >> --- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
> >> +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
> >> @@ -231,41 +231,6 @@ Description:       This displays the available options for the mouse/step attribute.
> >>
> >>                 Applies to Lenovo Legion Go S line of handheld devices.
> >>
> >> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
> >> -Date:          April 2026
> >> -Contact:       linux-input@vger.kernel.org
> >> -Description:   This controls which value is used for the touchpads operating mode.
> >> -
> >> -               Values are windows or linux.
> >> -
> >> -               Applies to Lenovo Legion Go S line of handheld devices.
> >> -
> >> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
> >> -Date:          April 2026
> >> -Contact:       linux-input@vger.kernel.org
> >> -Description:   This displays the available options for the os_mode attribute.
> >> -
> >> -               Values are windows or linux.
> >> -
> >> -               Applies to Lenovo Legion Go S line of handheld devices.
> >> -
> >> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled
> >> -Date:          April 2026
> >> -Contact:       linux-input@vger.kernel.org
> >> -Description:   This controls enabling or disabling the built-in touchpad.
> >> -
> >> -               Values are true or false.
> >> -
> >> -               Applies to Lenovo Legion Go S line of handheld devices.
> >> -
> >> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
> >> -Date:          April 2026
> >> -Contact:       linux-input@vger.kernel.org
> >> -Description:   This displays the available options for the touchpad/enabled attribute.
> >> -
> >> -               Values are true or false.
> >> -
> >> -               Applies to Lenovo Legion Go S line of handheld devices.
> >>
> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/linux_mode
> >>  Date:          April 2026
> >>
> >> ---
> >> base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
> >> change-id: 20260831-lenovo-go-7b4ec4bf0cd5
> >>
> >> Best regards,
> >> --
> >> Ricardo Ribalda <ribalda@chromium.org>
> >>
> >
> >
> > --
> > Ricardo Ribalda
>
> All looks good to me.
> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
>
> Mark



-- 
Ricardo Ribalda

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] HID: Merge duplicated documentation for Lenovo Legion
  2026-11-26 14:09     ` Ricardo Ribalda
@ 2026-11-26 14:27       ` Mark Pearson
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Pearson @ 2026-11-26 14:27 UTC (permalink / raw)
  To: Ricardo Ribalda
  Cc: Derek J . Clark, Jiri Kosina, linux-input, linux-kernel, stable

On Thu, Nov 26, 2026, at 9:09 AM, Ricardo Ribalda wrote:
> Hi Mark
>
> Thanks for your review. Do you know if this is going to land in the tree?
>
> Thanks!
>

That's up to the maintainer I'm afraid - not me :)

I think you should probably have cc'd Jonathan Corbet <corbet@lwn.net> and linux-doc@vger.kernel.org on the patch (I missed that). Maybe resend and add them so it's in their inbox? (Jiri - please correct me if I'm wrong)

Mark

> On Mon, 2 Nov 2026 at 18:48, Mark Pearson <mpearson-lenovo@squebb.ca> wrote:
>>
>> On Mon, Nov 2, 2026, at 7:40 AM, Ricardo Ribalda wrote:
>> > Friendly ping...
>> >
>> > On Mon, 31 Aug 2026 at 13:12, Ricardo Ribalda <ribalda@chromium.org> wrote:
>> >>
>> >> Lenovo Legion Go and Lenovo Legion Go S share some definitions. Merge them in
>> >> sysfs-driver-hid-lenovo-go to avoid this warning:
>> >>
>> >> WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:364; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:234
>> >> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:373; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:243
>> >> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:636; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:252
>> >> [WARNING] /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index is defined 2 times: ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go:645; ./Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s:261
>> >>
>> >> Cc: stable@vger.kernel.org
>> >> Fixes: 168c91839139 ("HID: Add documentation for Lenovo Legion Go drivers")
>> >> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
>> >> ---
>> >>  .../ABI/testing/sysfs-driver-hid-lenovo-go         | 11 +++----
>> >>  .../ABI/testing/sysfs-driver-hid-lenovo-go-s       | 35 ----------------------
>> >>  2 files changed, 6 insertions(+), 40 deletions(-)
>> >>
>> >> diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
>> >> index c8221373ef76..f3ba3504939d 100644
>> >> --- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
>> >> +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go
>> >> @@ -364,11 +364,12 @@ Description:      This displays the available options for the mode attribute.
>> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
>> >>  Date:          April 2026
>> >>  Contact:       linux-input@vger.kernel.org
>> >> -Description:   This controls the behavior of built in chord combinations.
>> >> +Description:   This controls the behavior of built-in chord combinations.
>>
>> Nit - this minor change is not part of the patch description.
>>
>> >> +               For the Legion Go S, this controls the touchpad's operating mode.
>> >>
>> >>                 Values are windows or linux.
>> >>
>> >> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
>> >> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>> >>
>> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
>> >>  Date:          April 2026
>> >> @@ -377,7 +378,7 @@ Description:        This displays the available options for the os_mode attribute.
>> >>
>> >>                 Values are windows or linux.
>> >>
>> >> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
>> >> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>> >>
>> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/product_version
>> >>  Date:          April 2026
>> >> @@ -640,7 +641,7 @@ Description:        This controls enabling or disabling the touchpad.
>> >>
>> >>                 Values are true, false.
>> >>
>> >> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
>> >> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>> >>
>> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
>> >>  Date:          April 2026
>> >> @@ -649,7 +650,7 @@ Description:        This displays the available options for the touchpad/enabled attrib
>> >>
>> >>                 Values are true, false.
>> >>
>> >> -               Applies to Lenovo Legion Go and Go 2 line of handheld devices.
>> >> +               Applies to Lenovo Legion Go, Go 2, and Go S line of handheld devices.
>> >>
>> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/vibration_enabled
>> >>  Date:          April 2026
>> >> diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
>> >> index 4d317074bb7e..218164cfe544 100644
>> >> --- a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
>> >> +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s
>> >> @@ -231,41 +231,6 @@ Description:       This displays the available options for the mouse/step attribute.
>> >>
>> >>                 Applies to Lenovo Legion Go S line of handheld devices.
>> >>
>> >> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
>> >> -Date:          April 2026
>> >> -Contact:       linux-input@vger.kernel.org
>> >> -Description:   This controls which value is used for the touchpads operating mode.
>> >> -
>> >> -               Values are windows or linux.
>> >> -
>> >> -               Applies to Lenovo Legion Go S line of handheld devices.
>> >> -
>> >> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
>> >> -Date:          April 2026
>> >> -Contact:       linux-input@vger.kernel.org
>> >> -Description:   This displays the available options for the os_mode attribute.
>> >> -
>> >> -               Values are windows or linux.
>> >> -
>> >> -               Applies to Lenovo Legion Go S line of handheld devices.
>> >> -
>> >> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled
>> >> -Date:          April 2026
>> >> -Contact:       linux-input@vger.kernel.org
>> >> -Description:   This controls enabling or disabling the built-in touchpad.
>> >> -
>> >> -               Values are true or false.
>> >> -
>> >> -               Applies to Lenovo Legion Go S line of handheld devices.
>> >> -
>> >> -What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
>> >> -Date:          April 2026
>> >> -Contact:       linux-input@vger.kernel.org
>> >> -Description:   This displays the available options for the touchpad/enabled attribute.
>> >> -
>> >> -               Values are true or false.
>> >> -
>> >> -               Applies to Lenovo Legion Go S line of handheld devices.
>> >>
>> >>  What:          /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/linux_mode
>> >>  Date:          April 2026
>> >>
>> >> ---
>> >> base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
>> >> change-id: 20260831-lenovo-go-7b4ec4bf0cd5
>> >>
>> >> Best regards,
>> >> --
>> >> Ricardo Ribalda <ribalda@chromium.org>
>> >>
>> >
>> >
>> > --
>> > Ricardo Ribalda
>>
>> All looks good to me.
>> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
>>
>> Mark
>
>
>
> -- 
> Ricardo Ribalda

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-26 14:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 11:12 [PATCH] HID: Merge duplicated documentation for Lenovo Legion Ricardo Ribalda
2026-11-02 12:40 ` Ricardo Ribalda
2026-11-02 17:48   ` Mark Pearson
2026-11-26 14:09     ` Ricardo Ribalda
2026-11-26 14:27       ` Mark Pearson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®