linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add a second working PNP_ID for a T470s
@ 2020-03-30 16:21  
  2020-04-24 12:54 `  
  2020-04-24 22:25 ` Dmitry Torokhov
  0 siblings, 2 replies; 10+ messages in thread
From:   @ 2020-03-30 16:21 UTC (permalink / raw)
  To: linux-input

The Lenovo Thinkpad T470s I own has a different touchpad with "LEN007a" instead of the already included PNP ID "LEN006c". However, my touchpad seems to work well without any problems using RMI. So this patch adds the other PNP ID.

Signed-off-by: Dennis Kadioglu <denk@eclipso.email>
---
 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 4d2036209b45d..758dae8d65006 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -170,6 +170,7 @@ static const char * const smbus_pnp_ids[] = {
 	"LEN005b", /* P50 */
 	"LEN005e", /* T560 */
 	"LEN006c", /* T470s */
+	"LEN007a", /* T470s */
 	"LEN0071", /* T480 */
 	"LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */
 	"LEN0073", /* X1 Carbon G5 (Elantech) */
---­

---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



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

* Re: Add a second working PNP_ID for a T470s
  2020-03-30 16:21 Add a second working PNP_ID for a T470s  
@ 2020-04-24 12:54 `  
  2020-04-24 22:25 ` Dmitry Torokhov
  1 sibling, 0 replies; 10+ messages in thread
From:   @ 2020-04-24 12:54 UTC (permalink / raw)
  To: linux-input

I'd like to ask, if my proposed small patch can be incorporated. Is there anything missing or to be improved?

Thanks and best
denk


--- Ursprüngliche Nachricht ---
Von: " " <denk@eclipso.email>
Datum: 30.03.2020 18:21:47
An: <linux-input@vger.kernel.org>
Betreff: Add a second working PNP_ID for a T470s

The Lenovo Thinkpad T470s I own has a different touchpad with "LEN007a"
instead of the already included PNP ID "LEN006c". However, my touchpad
seems to work well without any problems using RMI. So this patch adds the
other PNP ID.

Signed-off-by: Dennis Kadioglu <denk@eclipso.email>
---
 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 4d2036209b45d..758dae8d65006 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -170,6 +170,7 @@ static const char * const smbus_pnp_ids[] = {
 	"LEN005b", /* P50 */
 	"LEN005e", /* T560 */
 	"LEN006c", /* T470s */
+	"LEN007a", /* T470s */
 	"LEN0071", /* T480 */
 	"LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */

 	"LEN0073", /* X1 Carbon G5 (Elantech) */
---­

---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln
und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de


---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



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

* Re: Add a second working PNP_ID for a T470s
  2020-03-30 16:21 Add a second working PNP_ID for a T470s  
  2020-04-24 12:54 `  
@ 2020-04-24 22:25 ` Dmitry Torokhov
  2020-04-25  6:13   `  
  1 sibling, 1 reply; 10+ messages in thread
From: Dmitry Torokhov @ 2020-04-24 22:25 UTC (permalink / raw)
  To: denk; +Cc: linux-input

Hi Dennis,

On Mon, Mar 30, 2020 at 06:21:47PM +0200,   wrote:
> The Lenovo Thinkpad T470s I own has a different touchpad with
> "LEN007a" instead of the already included PNP ID "LEN006c". However,
> my touchpad seems to work well without any problems using RMI. So this
> patch adds the other PNP ID.

So there are no visible issues when running the touchpad in PS/2 mode
compared to RMI4? (Just trying to figure out if it needs to go into
stable releases).

Do you know what trackpoint does the device have? 

Thanks.

-- 
Dmitry

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

* Re: Re: Add a second working PNP_ID for a T470s
  2020-04-24 22:25 ` Dmitry Torokhov
@ 2020-04-25  6:13   `  
  2020-05-22 11:42     `  
  0 siblings, 1 reply; 10+ messages in thread
From:   @ 2020-04-25  6:13 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input

Hi Dmitry,

thanks for your reply. In the following I just add the content of my first email to this list:
#####
In dmesg I found the following:
psmouse serio1: synaptics: Your touchpad (PNP: LEN007a 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 linux-input@vger.kernel.org.

After setting psmouse.synaptics_intertouch=1, touchpad and trackpoint still work fine. Also no problems with suspending my laptop.

The only problem is the following error meesage on shutdown:
rmi4_physical rmi4-00: Failed to read irqs, code=-6

/proc/bus/input/devices:
I: Bus=001d Vendor=06cb Product=0000 Version=0000
N: Name="Synaptics TM3145-006"
P: Phys=rmi4-00/input0
S: Sysfs=/devices/rmi4-00/input/input26
U: Uniq=
H: Handlers=event18 mouse0
B: PROP=5
B: EV=b
B: KEY=e520 10000 0 0 0 0
B: ABS=6f3800001000003

I: Bus=0011 Vendor=0002 Product=000a Version=0000
N: Name="TPPS/2 IBM TrackPoint"
P: Phys=rmi4-00.fn03/serio0/input0
S: Sysfs=/devices/rmi4-00/rmi4-00.fn03/serio2/input/input27
U: Uniq=
H: Handlers=event19 mouse1
B: PROP=21
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3

Is there anything I can do, that the error messsage doesn't appear anymore? Should I not use RMI?
#####

As far as I can see, there is no issue running the touchpad with RMI4. The only difference to running it in PS/2 mode is the mentioned error message during shutdown. Is that error message only cosmetic, or a real issue? Can something be done to omit this error message?
Regarding the touchpad, is the above pasted information sufficient, or do you need anything else?

Thanks and best
Dennis


--- Ursprüngliche Nachricht ---
Von: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Datum: 25.04.2020 00:25:46
An: <denk@eclipso.email>
Betreff: Re: Add a second working PNP_ID for a T470s

Hi Dennis,

On Mon, Mar 30, 2020 at 06:21:47PM +0200,   wrote:
> The Lenovo Thinkpad T470s I own has a different touchpad with
> "LEN007a" instead of the already included PNP ID "LEN006c".
However,
> my touchpad seems to work well without any problems using RMI. So this

> patch adds the other PNP ID.

So there are no visible issues when running the touchpad in PS/2 mode
compared to RMI4? (Just trying to figure out if it needs to go into
stable releases).

Do you know what trackpoint does the device have? 

Thanks.

-- 
Dmitry



---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



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

* Re: Re: Re: Add a second working PNP_ID for a T470s
  2020-04-25  6:13   `  
@ 2020-05-22 11:42     `  
  2020-05-27  6:10       ` Dmitry Torokhov
  0 siblings, 1 reply; 10+ messages in thread
From:   @ 2020-05-22 11:42 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input

Hi Dmitry,

as far as I can see, there was no reply from you. If so, then I may have missed that, sorry for that.
As I said I am not aware of any issues when running the touchpad and trackpoint with RMI4. The only difference is the mentioned error message during shutdown, which I would like to get rid of, if possible.
Can the patch be merged? Anything missing for that?

Thanks and best
Dennis


--- Ursprüngliche Nachricht ---
Von: " " <denk@eclipso.email>
Datum: 25.04.2020 08:13:31
An: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
Betreff: Re: Re: Add a second working PNP_ID for a T470s

Hi Dmitry,

thanks for your reply. In the following I just add the content of my first
email to this list:
#####
In dmesg I found the following:
psmouse serio1: synaptics: Your touchpad (PNP: LEN007a 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 linux-input@vger.kernel.org.


After setting psmouse.synaptics_intertouch=1, touchpad and trackpoint still
work fine. Also no problems with suspending my laptop.

The only problem is the following error meesage on shutdown:
rmi4_physical rmi4-00: Failed to read irqs, code=-6

/proc/bus/input/devices:
I: Bus=001d Vendor=06cb Product=0000 Version=0000
N: Name="Synaptics TM3145-006"
P: Phys=rmi4-00/input0
S: Sysfs=/devices/rmi4-00/input/input26
U: Uniq=
H: Handlers=event18 mouse0
B: PROP=5
B: EV=b
B: KEY=e520 10000 0 0 0 0
B: ABS=6f3800001000003

I: Bus=0011 Vendor=0002 Product=000a Version=0000
N: Name="TPPS/2 IBM TrackPoint"
P: Phys=rmi4-00.fn03/serio0/input0
S: Sysfs=/devices/rmi4-00/rmi4-00.fn03/serio2/input/input27
U: Uniq=
H: Handlers=event19 mouse1
B: PROP=21
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3

Is there anything I can do, that the error messsage doesn't appear anymore?
Should I not use RMI?
#####

As far as I can see, there is no issue running the touchpad with RMI4. The
only difference to running it in PS/2 mode is the mentioned error message
during shutdown. Is that error message only cosmetic, or a real issue? Can
something be done to omit this error message?
Regarding the touchpad, is the above pasted information sufficient, or do
you need anything else?

Thanks and best
Dennis


--- Ursprüngliche Nachricht ---
Von: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Datum: 25.04.2020 00:25:46
An: <denk@eclipso.email>
Betreff: Re: Add a second working PNP_ID for a T470s

Hi Dennis,

On Mon, Mar 30, 2020 at 06:21:47PM +0200,   wrote:
> The Lenovo Thinkpad T470s I own has a different touchpad with
> "LEN007a" instead of the already included PNP ID "LEN006c".

However,
> my touchpad seems to work well without any problems using RMI. So this


> patch adds the other PNP ID.

So there are no visible issues when running the touchpad in PS/2 mode
compared to RMI4? (Just trying to figure out if it needs to go into
stable releases).

Do you know what trackpoint does the device have? 

Thanks.

-- 
Dmitry



---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln
und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de


---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



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

* Re: Re: Re: Add a second working PNP_ID for a T470s
  2020-05-22 11:42     `  
@ 2020-05-27  6:10       ` Dmitry Torokhov
  2020-05-27 12:28         `  
  2020-05-27 12:29         `  
  0 siblings, 2 replies; 10+ messages in thread
From: Dmitry Torokhov @ 2020-05-27  6:10 UTC (permalink / raw)
  To: denk; +Cc: linux-input

Hi Dennis,

On Fri, May 22, 2020 at 01:42:35PM +0200,   wrote:
> Hi Dmitry,
> 
> as far as I can see, there was no reply from you. If so, then I may have missed that, sorry for that.
> As I said I am not aware of any issues when running the touchpad and trackpoint with RMI4. The only difference is the mentioned error message during shutdown, which I would like to get rid of, if possible.
> Can the patch be merged? Anything missing for that?

Sorry, my fault as I have been busy lately and my patch queue grew
really long. The patch is applied, thank you for your work (and
patience).

Thanks.

-- 
Dmitry

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

* Re: Re: Re: Re: Add a second working PNP_ID for a T470s
  2020-05-27  6:10       ` Dmitry Torokhov
@ 2020-05-27 12:28         `  
  2020-05-27 12:29         `  
  1 sibling, 0 replies; 10+ messages in thread
From:   @ 2020-05-27 12:28 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input

Hi Dmitry,

thank you very much!
Regarding my additional question about the error message: Is it possible, to omit this error on shutdown?

Thanks and best
Dennis

--- Ursprüngliche Nachricht ---
Von: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Datum: 27.05.2020 08:10:19
An: <denk@eclipso.email>
Betreff: Re: Re: Re: Add a second working PNP_ID for a T470s

Hi Dennis,

On Fri, May 22, 2020 at 01:42:35PM +0200,   wrote:
> Hi Dmitry,
> 
> as far as I can see, there was no reply from you. If so, then I may
have missed that, sorry for that.
> As I said I am not aware of any issues when running the touchpad and
trackpoint with RMI4. The only difference is the mentioned error message
during shutdown, which I would like to get rid of, if possible.
> Can the patch be merged? Anything missing for that?

Sorry, my fault as I have been busy lately and my patch queue grew
really long. The patch is applied, thank you for your work (and
patience).

Thanks.

-- 
Dmitry



---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



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

* Re: Re: Re: Re: Add a second working PNP_ID for a T470s
  2020-05-27  6:10       ` Dmitry Torokhov
  2020-05-27 12:28         `  
@ 2020-05-27 12:29         `  
  2020-06-08  9:05           `  
  1 sibling, 1 reply; 10+ messages in thread
From:   @ 2020-05-27 12:29 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input

Hi Dmitry,

thank you very much!
Regarding my additional question about the error message: Is it possible, to omit this error on shutdown?

Thanks and best
Dennis


--- Ursprüngliche Nachricht ---
Von: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Datum: 27.05.2020 08:10:19
An: <denk@eclipso.email>
Betreff: Re: Re: Re: Add a second working PNP_ID for a T470s

Hi Dennis,

On Fri, May 22, 2020 at 01:42:35PM +0200,   wrote:
> Hi Dmitry,
> 
> as far as I can see, there was no reply from you. If so, then I may
have missed that, sorry for that.
> As I said I am not aware of any issues when running the touchpad and
trackpoint with RMI4. The only difference is the mentioned error message
during shutdown, which I would like to get rid of, if possible.
> Can the patch be merged? Anything missing for that?

Sorry, my fault as I have been busy lately and my patch queue grew
really long. The patch is applied, thank you for your work (and
patience).

Thanks.

-- 
Dmitry



---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



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

* Re: Re: Re: Re: Re: Add a second working PNP_ID for a T470s
  2020-05-27 12:29         `  
@ 2020-06-08  9:05           `  
  2020-11-02 11:28             `  
  0 siblings, 1 reply; 10+ messages in thread
From:   @ 2020-06-08  9:05 UTC (permalink / raw)
  To: denk; +Cc: dmitry.torokhov, linux-input

Hi again,

is there anything I can do to omit the error message (rmi4_physical rmi4-00: Failed to read irqs, code=-6) on shutdown?

Thanks and best
Dennis


--- Ursprüngliche Nachricht ---
Von: " " <denk@eclipso.email>
Datum: 27.05.2020 14:29:24
An: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
Betreff: Re: Re: Re: Re: Add a second working PNP_ID for a T470s

Hi Dmitry,

thank you very much!
Regarding my additional question about the error message: Is it possible,
to omit this error on shutdown?

Thanks and best
Dennis


--- Ursprüngliche Nachricht ---
Von: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Datum: 27.05.2020 08:10:19
An: <denk@eclipso.email>
Betreff: Re: Re: Re: Add a second working PNP_ID for a T470s

Hi Dennis,

On Fri, May 22, 2020 at 01:42:35PM +0200,   wrote:
> Hi Dmitry,
> 
> as far as I can see, there was no reply from you. If so, then I may

have missed that, sorry for that.
> As I said I am not aware of any issues when running the touchpad and

trackpoint with RMI4. The only difference is the mentioned error message

during shutdown, which I would like to get rid of, if possible.
> Can the patch be merged? Anything missing for that?

Sorry, my fault as I have been busy lately and my patch queue grew
really long. The patch is applied, thank you for your work (and
patience).

Thanks.

-- 
Dmitry



---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln
und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de


---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



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

* Re: Re: Re: Re: Re: Re: Add a second working PNP_ID for a T470s
  2020-06-08  9:05           `  
@ 2020-11-02 11:28             `  
  0 siblings, 0 replies; 10+ messages in thread
From:   @ 2020-11-02 11:28 UTC (permalink / raw)
  To: linux-input

Hi again,

as I never got any reply, I would like to ask again, if there is anything I can do to omit the error message (rmi4_physical rmi4-00:
Failed to read irqs, code=-6) on shutdown?

Thank you very much and best
Dennis


--- Ursprüngliche Nachricht ---
Von: " " <denk@eclipso.email>
Datum: 08.06.2020 11:05:54
An: <denk@eclipso.email>
Betreff: Re: Re: Re: Re: Re: Add a second working PNP_ID for a T470s

Hi again,

is there anything I can do to omit the error message (rmi4_physical rmi4-00:
Failed to read irqs, code=-6) on shutdown?

Thanks and best
Dennis


--- Ursprüngliche Nachricht ---
Von: " " <denk@eclipso.email>
Datum: 27.05.2020 14:29:24
An: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
Betreff: Re: Re: Re: Re: Add a second working PNP_ID for a T470s

Hi Dmitry,

thank you very much!
Regarding my additional question about the error message: Is it possible,

to omit this error on shutdown?

Thanks and best
Dennis


--- Ursprüngliche Nachricht ---
Von: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Datum: 27.05.2020 08:10:19
An: <denk@eclipso.email>
Betreff: Re: Re: Re: Add a second working PNP_ID for a T470s

Hi Dennis,

On Fri, May 22, 2020 at 01:42:35PM +0200,   wrote:
> Hi Dmitry,
> 
> as far as I can see, there was no reply from you. If so, then I may


have missed that, sorry for that.
> As I said I am not aware of any issues when running the touchpad and


trackpoint with RMI4. The only difference is the mentioned error message


during shutdown, which I would like to get rid of, if possible.
> Can the patch be merged? Anything missing for that?

Sorry, my fault as I have been busy lately and my patch queue grew
really long. The patch is applied, thank you for your work (and
patience).

Thanks.

-- 
Dmitry



---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln

und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de


---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln
und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de


---

________________________________________________________
Ihre E-Mail-Postfächer sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de



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

end of thread, other threads:[~2020-11-02 11:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 16:21 Add a second working PNP_ID for a T470s  
2020-04-24 12:54 `  
2020-04-24 22:25 ` Dmitry Torokhov
2020-04-25  6:13   `  
2020-05-22 11:42     `  
2020-05-27  6:10       ` Dmitry Torokhov
2020-05-27 12:28         `  
2020-05-27 12:29         `  
2020-06-08  9:05           `  
2020-11-02 11:28             `  

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).