2023-10-08 08:08:36

by José Pekkarinen

[permalink] [raw]
Subject: [PATCH] Input: synaptics: enable InterTouch for ThinkPad L14 G1

Observed on dmesg of my laptop I see the following
output:

[ 19.898700] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
[ 19.936057] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[ 19.936076] psmouse serio1: synaptics: Your touchpad (PNP: LEN0411 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to [email protected].
[ 20.008901] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640
[ 20.008925] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[ 20.053344] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
[ 20.397608] mousedev: PS/2 mouse device common for all mice

This patch will add its pnp id to the smbus list to
produce the setup of intertouch for the device. After
applying, the ouput will look like:

[ 19.168664] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
[ 19.206311] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[ 19.206325] psmouse serio1: synaptics: Trying to set up SMBus access
[ 19.209545] psmouse serio1: synaptics: SMbus companion is not ready yet
[ 19.283845] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640
[ 19.283863] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[ 19.328959] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8
[ 19.706164] mousedev: PS/2 mouse device common for all mice

Signed-off-by: José Pekkarinen <[email protected]>
---
drivers/input/mouse/synaptics.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index ada299ec5bba..376a041c80b2 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -183,6 +183,7 @@ static const char * const smbus_pnp_ids[] = {
"LEN009b", /* T580 */
"LEN0402", /* X1 Extreme Gen 2 / P1 Gen 2 */
"LEN040f", /* P1 Gen 3 */
+ "LEN0411", /* L14 Gen 1 */
"LEN200f", /* T450s */
"LEN2044", /* L470 */
"LEN2054", /* E480 */
--
2.41.0


2023-10-16 16:11:47

by José Pekkarinen

[permalink] [raw]
Subject: Re: [PATCH] Input: synaptics: enable InterTouch for ThinkPad L14 G1

On 2023-10-08 11:01, José Pekkarinen wrote:
> Observed on dmesg of my laptop I see the following
> output:
>
> [ 19.898700] psmouse serio1: synaptics: queried max coordinates: x
> [..5678], y [..4694]
> [ 19.936057] psmouse serio1: synaptics: queried min coordinates: x
> [1266..], y [1162..]
> [ 19.936076] psmouse serio1: synaptics: Your touchpad (PNP: LEN0411
> PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi
> are not used, you might want to try setting
> psmouse.synaptics_intertouch to 1 and report this to
> [email protected].
> [ 20.008901] psmouse serio1: synaptics: Touchpad model: 1, fw:
> 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board
> id: 3471, fw id: 2909640
> [ 20.008925] psmouse serio1: synaptics: serio: Synaptics
> pass-through port at isa0060/serio1/input0
> [ 20.053344] input: SynPS/2 Synaptics TouchPad as
> /devices/platform/i8042/serio1/input/input7
> [ 20.397608] mousedev: PS/2 mouse device common for all mice
>
> This patch will add its pnp id to the smbus list to
> produce the setup of intertouch for the device. After
> applying, the ouput will look like:
>
> [ 19.168664] psmouse serio1: synaptics: queried max coordinates: x
> [..5678], y [..4694]
> [ 19.206311] psmouse serio1: synaptics: queried min coordinates: x
> [1266..], y [1162..]
> [ 19.206325] psmouse serio1: synaptics: Trying to set up SMBus access
> [ 19.209545] psmouse serio1: synaptics: SMbus companion is not ready
> yet
> [ 19.283845] psmouse serio1: synaptics: Touchpad model: 1, fw:
> 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board
> id: 3471, fw id: 2909640
> [ 19.283863] psmouse serio1: synaptics: serio: Synaptics
> pass-through port at isa0060/serio1/input0
> [ 19.328959] input: SynPS/2 Synaptics TouchPad as
> /devices/platform/i8042/serio1/input/input8
> [ 19.706164] mousedev: PS/2 mouse device common for all mice
>
> Signed-off-by: José Pekkarinen <[email protected]>
> ---
> drivers/input/mouse/synaptics.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/input/mouse/synaptics.c
> b/drivers/input/mouse/synaptics.c
> index ada299ec5bba..376a041c80b2 100644
> --- a/drivers/input/mouse/synaptics.c
> +++ b/drivers/input/mouse/synaptics.c
> @@ -183,6 +183,7 @@ static const char * const smbus_pnp_ids[] = {
> "LEN009b", /* T580 */
> "LEN0402", /* X1 Extreme Gen 2 / P1 Gen 2 */
> "LEN040f", /* P1 Gen 3 */
> + "LEN0411", /* L14 Gen 1 */
> "LEN200f", /* T450s */
> "LEN2044", /* L470 */
> "LEN2054", /* E480 */

Any comments here?

Thanks!

José.

2023-10-31 13:18:40

by José Pekkarinen

[permalink] [raw]
Subject: Re: [PATCH] Input: synaptics: enable InterTouch for ThinkPad L14 G1

On 2023-10-16 18:51, José Pekkarinen wrote:
> On 2023-10-08 11:01, José Pekkarinen wrote:
>> Observed on dmesg of my laptop I see the following
>> output:
>>
>> [ 19.898700] psmouse serio1: synaptics: queried max coordinates: x
>> [..5678], y [..4694]
>> [ 19.936057] psmouse serio1: synaptics: queried min coordinates: x
>> [1266..], y [1162..]
>> [ 19.936076] psmouse serio1: synaptics: Your touchpad (PNP: LEN0411
>> PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi
>> are not used, you might want to try setting
>> psmouse.synaptics_intertouch to 1 and report this to
>> [email protected].
>> [ 20.008901] psmouse serio1: synaptics: Touchpad model: 1, fw:
>> 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board
>> id: 3471, fw id: 2909640
>> [ 20.008925] psmouse serio1: synaptics: serio: Synaptics
>> pass-through port at isa0060/serio1/input0
>> [ 20.053344] input: SynPS/2 Synaptics TouchPad as
>> /devices/platform/i8042/serio1/input/input7
>> [ 20.397608] mousedev: PS/2 mouse device common for all mice
>>
>> This patch will add its pnp id to the smbus list to
>> produce the setup of intertouch for the device. After
>> applying, the ouput will look like:
>>
>> [ 19.168664] psmouse serio1: synaptics: queried max coordinates: x
>> [..5678], y [..4694]
>> [ 19.206311] psmouse serio1: synaptics: queried min coordinates: x
>> [1266..], y [1162..]
>> [ 19.206325] psmouse serio1: synaptics: Trying to set up SMBus
>> access
>> [ 19.209545] psmouse serio1: synaptics: SMbus companion is not ready
>> yet
>> [ 19.283845] psmouse serio1: synaptics: Touchpad model: 1, fw:
>> 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board
>> id: 3471, fw id: 2909640
>> [ 19.283863] psmouse serio1: synaptics: serio: Synaptics
>> pass-through port at isa0060/serio1/input0
>> [ 19.328959] input: SynPS/2 Synaptics TouchPad as
>> /devices/platform/i8042/serio1/input/input8
>> [ 19.706164] mousedev: PS/2 mouse device common for all mice
>>
>> Signed-off-by: José Pekkarinen <[email protected]>
>> ---
>> drivers/input/mouse/synaptics.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/input/mouse/synaptics.c
>> b/drivers/input/mouse/synaptics.c
>> index ada299ec5bba..376a041c80b2 100644
>> --- a/drivers/input/mouse/synaptics.c
>> +++ b/drivers/input/mouse/synaptics.c
>> @@ -183,6 +183,7 @@ static const char * const smbus_pnp_ids[] = {
>> "LEN009b", /* T580 */
>> "LEN0402", /* X1 Extreme Gen 2 / P1 Gen 2 */
>> "LEN040f", /* P1 Gen 3 */
>> + "LEN0411", /* L14 Gen 1 */
>> "LEN200f", /* T450s */
>> "LEN2044", /* L470 */
>> "LEN2054", /* E480 */
>
> Any comments here?
>
> Thanks!
>
> José.
> _______________________________________________
> Linux-kernel-mentees mailing list
> [email protected]
> https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

Ping.

José.