Input: ALPS - fix DualPoint flag for 74 03 28 devices
Subsystems (3)
PATCH 1/1 Input: ALPS - fix DualPoint flag for 74 03 28 devices
There is a regression of commit 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:
psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data 0xCE after commit 4a646580f793, after restore the OTP reading order, it becomes to 0x10 as before and reports the right flag.
--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/input/mouse/alps.c +2 -2
@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;alps_update_device_area_ss4_v2 (otp, priv);
Signature · 1 line
2.13.6
Quoted 21 lines · On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote:
There is a regression of commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data
0xCEafter commit4a646580f793, after restore the OTP reading order, it becomes to0x10as before and reports the right flag.Fixes 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage")Cc <[email protected]>Signed-off-by Aaron Ma <[email protected]>--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/input/mouse/alps.c +0
-0
drivers/input/mouse/alps.c static int alps_set_defaults_ss4_v2(struct psmouse *psmouse, · line 2569
Quoted 10 lines
drivers/input/mouse/alps.c +2
-2@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;alps_update_device_area_ss4_v2 (otp, priv);
Masaki Ota, please look at this patch as it partially revert your commit 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage"). Something smells here.
Signature · 2 lines
Pali Rohár [email protected]
Hi, Pali, Aaron,
Current code is correct device setting, previous code is wrong.
If the trackstick does not work(DUALPOINT flag disable), Device Firmware setting is wrong.
But recently I received the same report from Thinkpad L570 user, and I checked this device and found this device Firmware setting is wrong. Sorry for our mistake. Is your laptop L570 ?
I will add code that supports the trackstick for this device.
Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Wednesday, November 15, 2017 5:35 PM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devices
Quoted 32 lines · On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote:
There is a regression of commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data
0xCEafter commit4a646580f793, after restore the OTP reading order, it becomes to0x10as before and reports the right flag.Fixes 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage")Cc <[email protected]>Signed-off-by Aaron Ma <[email protected]>--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/input/mouse/alps.c +2
-2@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;
Quoted 1 line
alps_update_device_area_ss4_v2(otp, priv);
Masaki Ota, please look at this patch as it partially revert your commit 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage"). Something smells here.
--
Pali Rohár
[email protected]
Hi Masaki Ota:
Yes, the laptop is L570.
If your code is right, the workaround code for L570 must be done.
Please fix it ASAP.
Regards,
Aaron
Quoted 61 lines · Masaki Ota
Hi, Pali, Aaron,
Current code is correct device setting, previous code is wrong.
If the trackstick does not work(DUALPOINT flag disable), Device Firmware setting is wrong.But recently I received the same report from Thinkpad L570 user, and I checked this device and found this device Firmware setting is wrong. Sorry for our mistake. Is your laptop L570 ?
I will add code that supports the trackstick for this device.
Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Wednesday, November 15, 2017 5:35 PM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devicesQuoted 32 lines · On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote:
There is a regression of commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data
0xCEafter commit4a646580f793, after restore the OTP reading order, it becomes to0x10as before and reports the right flag.Fixes 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage")Cc <[email protected]>Signed-off-by Aaron Ma <[email protected]>--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/input/mouse/alps.c +2
-2@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;Quoted 1 line
alps_update_device_area_ss4_v2(otp, priv);Masaki Ota, please look at this patch as it partially revert your commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"). Something smells here.--
Pali Rohár
[email protected]
[email protected]
maintainerHi,
Quoted 9 lines · Masaki Ota
Hi, Pali, Aaron,
Current code is correct device setting, previous code is wrong.
If the trackstick does not work(DUALPOINT flag disable), Device Firmware setting is wrong.But recently I received the same report from Thinkpad L570 user, and I checked this device and found this device Firmware setting is wrong. Sorry for our mistake. Is your laptop L570 ?
I will add code that supports the trackstick for this device.
Sorry for resurrecting this old thread, I am just trying to understand what went wrong here. Is the sequence of "f0 f0 e9" and "ea ea e9" is important in getting the correct OTP data and we originally got this order wrong? It is not clear from the original patch and discussion that this change was intentional.
Thanks.
Quoted 51 lines
Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Wednesday, November 15, 2017 5:35 PM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devicesQuoted 32 lines · On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote:
There is a regression of commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data
0xCEafter commit4a646580f793, after restore the OTP reading order, it becomes to0x10as before and reports the right flag.Fixes 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage")Cc <[email protected]>Signed-off-by Aaron Ma <[email protected]>--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/input/mouse/alps.c +2
-2@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;Quoted 1 line
alps_update_device_area_ss4_v2(otp, priv);Masaki Ota, please look at this patch as it partially revert your commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"). Something smells here.--
Pali Rohár
[email protected]
Signature · 1 line
Dmitry
Dmitry Torokhov
maintainerQuoted 11 lines · On Mon, Jan 29, 2018 at 2:51 PM, [email protected]…
Hi,
Quoted 8 lines · Masaki Ota
Hi, Pali, Aaron,
Current code is correct device setting, previous code is wrong.
If the trackstick does not work(DUALPOINT flag disable), Device Firmware setting is wrong.But recently I received the same report from Thinkpad L570 user, and I checked this device and found this device Firmware setting is wrong. Sorry for our mistake. Is your laptop L570 ?
Quoted 7 lines
Quoted 1 line
I will add code that supports the trackstick for this device.
Sorry for resurrecting this old thread, I am just trying to understand what went wrong here. Is the sequence of "f0 f0 e9" and "ea ea e9" is important in getting the correct OTP data and we originally got this order wrong? It is not clear from the original patch and discussion that this change was intentional.
Could I please get an answer to my question?
Thanks!
Quoted 57 lines
Thanks.
Quoted 43 lines
Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Wednesday, November 15, 2017 5:35 PM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devicesQuoted 32 lines · On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote:
There is a regression of commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data
0xCEafter commit4a646580f793, after restore the OTP reading order, it becomes to0x10as before and reports the right flag.Fixes 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage")Cc <[email protected]>Signed-off-by Aaron Ma <[email protected]>--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/input/mouse/alps.c +2
-2@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;Quoted 8 lines
Quoted 1 line
alps_update_device_area_ss4_v2(otp, priv);Masaki Ota, please look at this patch as it partially revert your commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"). Something smells here.--
Pali Rohár
[email protected]--
Dmitry
Signature · 1 line
Dmitry
Quoted 21 lines · On Tuesday 20 March 2018 11:47:26 Dmitry Torokhov wrote:
Quoted 11 lines · On Mon, Jan 29, 2018 at 2:51 PM, [email protected]…
Hi,
Quoted 8 lines · Masaki Ota
Hi, Pali, Aaron,
Current code is correct device setting, previous code is wrong.
If the trackstick does not work(DUALPOINT flag disable), Device Firmware setting is wrong.But recently I received the same report from Thinkpad L570 user, and I checked this device and found this device Firmware setting is wrong. Sorry for our mistake. Is your laptop L570 ?
Quoted 7 lines
Quoted 1 line
I will add code that supports the trackstick for this device.
Sorry for resurrecting this old thread, I am just trying to understand what went wrong here. Is the sequence of "f0 f0 e9" and "ea ea e9" is important in getting the correct OTP data and we originally got this order wrong? It is not clear from the original patch and discussion that this change was intentional.
Quoted 3 lines
Could I please get an answer to my question?
Thanks!
Masaki, this question is for you ↑↑↑
Quoted 60 lines
Quoted 57 lines
Thanks.
Quoted 43 lines
Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Wednesday, November 15, 2017 5:35 PM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devicesQuoted 32 lines · On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote:
There is a regression of commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data
0xCEafter commit4a646580f793, after restore the OTP reading order, it becomes to0x10as before and reports the right flag.Fixes 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage")Cc <[email protected]>Signed-off-by Aaron Ma <[email protected]>--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/input/mouse/alps.c +2
-2@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;Quoted 8 lines
Quoted 1 line
alps_update_device_area_ss4_v2(otp, priv);Masaki Ota, please look at this patch as it partially revert your commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"). Something smells here.--
Pali Rohár
[email protected]--
Dmitry
Signature · 2 lines
Pali Rohár [email protected]
Hi,
We can get OTP page 0 value by EA EA E9 commands, but we cannot get it by EA EA EA E9. As far as I remember, Device initialization finish at EA command, then sends EA EA E9 commands. In this case we cannot get correct OTP page 0 value.
So I changed this order. (We can get OTP page 1 value by both of EA F0 F0 E9 and F0 F0 E9.)
Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Monday, March 26, 2018 6:26 AM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: Dmitry Torokhov <[email protected]>; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devices
Quoted 21 lines · On Tuesday 20 March 2018 11:47:26 Dmitry Torokhov wrote:
Quoted 11 lines · On Mon, Jan 29, 2018 at 2:51 PM, [email protected]…
Hi,
Quoted 8 lines · Masaki Ota
Hi, Pali, Aaron,
Current code is correct device setting, previous code is wrong.
If the trackstick does not work(DUALPOINT flag disable), Device Firmware setting is wrong.But recently I received the same report from Thinkpad L570 user, and I checked this device and found this device Firmware setting is wrong. Sorry for our mistake. Is your laptop L570 ?
Quoted 7 lines
Quoted 1 line
I will add code that supports the trackstick for this device.
Sorry for resurrecting this old thread, I am just trying to understand what went wrong here. Is the sequence of "f0 f0 e9" and "ea ea e9" is important in getting the correct OTP data and we originally got this order wrong? It is not clear from the original patch and discussion that this change was intentional.
Quoted 3 lines
Could I please get an answer to my question?
Thanks!
Masaki, this question is for you ↑↑↑
Quoted 56 lines
Quoted 56 lines
Thanks.
Quoted 53 lines
Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Wednesday, November 15, 2017 5:35 PM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devicesQuoted 34 lines · On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote:
There is a regression of commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data
0xCEafter commit4a646580f793, after restore the OTP reading order, it becomes to0x10as before and reports the right flag.Fixes 4a646580f793 ("Input: ALPS - fix two-finger scrollbreakage")
Cc <[email protected]>Signed-off-by Aaron Ma <[email protected]>--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0
b/drivers/input/mouse/alps.cindex579b899add26..c59b8f7ca2fc100644drivers/input/mouse/alps.c +2
-2@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;Quoted 1 line
alps_update_device_area_ss4_v2(otp, priv);Masaki Ota, please look at this patch as it partially revert your commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"). Something smells here.
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
--
Pali Rohár
[email protected]--
Dmitry
--
Pali Rohár
[email protected]
Ideally this information should be put as a comment into the code. It is really not obvious.
Quoted 113 lines · On Tuesday 27 March 2018 04:37:19 Masaki Ota wrote:
Hi,
We can get OTP page 0 value by EA EA E9 commands, but we cannot get it by EA EA EA E9. As far as I remember, Device initialization finish at EA command, then sends EA EA E9 commands. In this case we cannot get correct OTP page 0 value.
So I changed this order. (We can get OTP page 1 value by both of EA F0 F0 E9 and F0 F0 E9.)Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Monday, March 26, 2018 6:26 AM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: Dmitry Torokhov <[email protected]>; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devicesQuoted 21 lines · On Tuesday 20 March 2018 11:47:26 Dmitry Torokhov wrote:
Quoted 11 lines · On Mon, Jan 29, 2018 at 2:51 PM, [email protected]…
Hi,
Quoted 8 lines · Masaki Ota
Hi, Pali, Aaron,
Current code is correct device setting, previous code is wrong.
If the trackstick does not work(DUALPOINT flag disable), Device Firmware setting is wrong.But recently I received the same report from Thinkpad L570 user, and I checked this device and found this device Firmware setting is wrong. Sorry for our mistake. Is your laptop L570 ?
Quoted 7 lines
Quoted 1 line
I will add code that supports the trackstick for this device.
Sorry for resurrecting this old thread, I am just trying to understand what went wrong here. Is the sequence of "f0 f0 e9" and "ea ea e9" is important in getting the correct OTP data and we originally got this order wrong? It is not clear from the original patch and discussion that this change was intentional.
Quoted 3 lines
Could I please get an answer to my question?
Thanks!
Masaki, this question is for you ↑↑↑
Quoted 56 lines
Quoted 56 lines
Thanks.
Quoted 53 lines
Best Regards,
Masaki Ota
-----Original Message-----
From: Pali Rohár [mailto:[email protected]]
Sent: Wednesday, November 15, 2017 5:35 PM
To: 太田 真喜 Masaki Ota <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Aaron Ma <[email protected]>
Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devicesQuoted 34 lines · On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote:
There is a regression of commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"), ALPS device fails with log:psmouse serio1: alps: Rejected trackstick packet from non DualPoint device
ALPS device with id "74 03 28" report OTP[0] data
0xCEafter commit4a646580f793, after restore the OTP reading order, it becomes to0x10as before and reports the right flag.Fixes 4a646580f793 ("Input: ALPS - fix two-finger scrollbreakage")
Cc <[email protected]>Signed-off-by Aaron Ma <[email protected]>--- drivers/input/mouse/alps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0
b/drivers/input/mouse/alps.cindex579b899add26..c59b8f7ca2fc100644drivers/input/mouse/alps.c +2
-2@@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct psmouse *psmouse,memset (otp,0 ,sizeof (otp)); -if (alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]) || -alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ])) +if (alps_get_otp_values_ss4_v2 (psmouse,0 , &otp[0 ][0 ]) || +alps_get_otp_values_ss4_v2 (psmouse,1 , &otp[1 ][0 ]))return -1 ;Quoted 1 line
alps_update_device_area_ss4_v2(otp, priv);Masaki Ota, please look at this patch as it partially revert your commit
4a646580f793("Input: ALPS - fix two-finger scroll breakage"). Something smells here.Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
--
Pali Rohár
[email protected]--
Dmitry--
Pali Rohár
[email protected]
Signature · 2 lines
Pali Rohár [email protected]