[git pull] Input updates for v4.12-rc4

Started by Dmitry Torokhov on Jun 10, 2017 · 6 messages from 2 authors · Last reply Jun 26, 2017

open the first message on its own page

Message details and related content
Hi Linus,

Please pull from:

	git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus

to receive updates for the input subsystem:

- mark "guest" RMI device as pass-through port to avoid "phantom" ALPS
  toouchpad on newer Lenovo Carbons

- add 2 more laptops to the Elantech's lists of devices using CRC mode

Changelog:
---------

Dmitry Torokhov (1):
      Input: synaptics-rmi4 - register F03 port as pass-through serio

Ulrik De Bie (1):
      Input: elantech - add Fujitsu Lifebook E546/E557 to force crc_enabled

Diffstat:
--------

 drivers/input/mouse/elantech.c | 16 ++++++++++++++++
 drivers/input/rmi4/rmi_f03.c   |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

Thanks.


-- 
Dmitry
Message details and related content
- mark "guest" RMI device as pass-through port to avoid "phantom" ALPS
  toouchpad on newer Lenovo Carbons
What's the end game for supporting these devices?

With the latest HEAD of Linus, first I get:
» Jun 10 12:19:17 cambrian kernel: psmouse serio1: synaptics: Your
touchpad (PNP: LEN0072 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.

Then if I patch drivers/input/mouse/synaptics.c and add "LEN0072" to
smbus_pnp_ids, this strange thing happens:

[    8.526635] psmouse serio1: synaptics: queried max coordinates: x
[..5676], y [..4760]
[    8.555746] psmouse serio1: synaptics: queried min coordinates: x
[1266..], y [1094..]
[    8.555750] psmouse serio1: synaptics: Trying to set up SMBus access
[    8.615774] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer:
Synaptics, product: TM3289-002, fw id: 2492434
[    8.679863] input: Synaptics TM3289-002 as /devices/rmi4-00/input/input18
[    8.682660] mousedev: PS/2 mouse device common for all mice
… snipped …
[  107.225549] input: ImPS/2 Generic Wheel Mouse as
/devices/rmi4-00/rmi4-00.fn03/serio2/input/input20

Notice how the trackpoint only appeared 100 seconds after boot (X was
already started and initially the trackpoint was not listed in xinput)



-- 
damjan
Message details and related content
On Sat, Jun 10, 2017 at 12:42:13PM +0200, Damjan Georgievski wrote:
quoted
- mark "guest" RMI device as pass-through port to avoid "phantom" ALPS
  toouchpad on newer Lenovo Carbons
What's the end game for supporting these devices?

With the latest HEAD of Linus, first I get:
» Jun 10 12:19:17 cambrian kernel: psmouse serio1: synaptics: Your
touchpad (PNP: LEN0072 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.

Then if I patch drivers/input/mouse/synaptics.c and add "LEN0072" to
smbus_pnp_ids, this strange thing happens:

[    8.526635] psmouse serio1: synaptics: queried max coordinates: x
[..5676], y [..4760]
[    8.555746] psmouse serio1: synaptics: queried min coordinates: x
[1266..], y [1094..]
[    8.555750] psmouse serio1: synaptics: Trying to set up SMBus access
[    8.615774] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer:
Synaptics, product: TM3289-002, fw id: 2492434
[    8.679863] input: Synaptics TM3289-002 as /devices/rmi4-00/input/input18
[    8.682660] mousedev: PS/2 mouse device common for all mice
… snipped …
[  107.225549] input: ImPS/2 Generic Wheel Mouse as
/devices/rmi4-00/rmi4-00.fn03/serio2/input/input20

Notice how the trackpoint only appeared 100 seconds after boot (X was
already started and initially the trackpoint was not listed in xinput)
100 seconds is quire ridiculous. Could you please post your entire boot
log so we can understand what happened there.

Thanks.

-- 
Dmitry
Message details and related content
On 20 June 2017 at 04:55, Dmitry Torokhov [off-list ref] wrote:
On Sat, Jun 10, 2017 at 12:42:13PM +0200, Damjan Georgievski wrote:
quoted
quoted
- mark "guest" RMI device as pass-through port to avoid "phantom" ALPS
  toouchpad on newer Lenovo Carbons
What's the end game for supporting these devices?

With the latest HEAD of Linus, first I get:
» Jun 10 12:19:17 cambrian kernel: psmouse serio1: synaptics: Your
touchpad (PNP: LEN0072 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.

Then if I patch drivers/input/mouse/synaptics.c and add "LEN0072" to
smbus_pnp_ids, this strange thing happens:

[    8.526635] psmouse serio1: synaptics: queried max coordinates: x
[..5676], y [..4760]
[    8.555746] psmouse serio1: synaptics: queried min coordinates: x
[1266..], y [1094..]
[    8.555750] psmouse serio1: synaptics: Trying to set up SMBus access
[    8.615774] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer:
Synaptics, product: TM3289-002, fw id: 2492434
[    8.679863] input: Synaptics TM3289-002 as /devices/rmi4-00/input/input18
[    8.682660] mousedev: PS/2 mouse device common for all mice
… snipped …
[  107.225549] input: ImPS/2 Generic Wheel Mouse as
/devices/rmi4-00/rmi4-00.fn03/serio2/input/input20

Notice how the trackpoint only appeared 100 seconds after boot (X was
already started and initially the trackpoint was not listed in xinput)
100 seconds is quire ridiculous. Could you please post your entire boot
log so we can understand what happened there.
Sorry for the delay, I was travelling and couldn't put more time into it …

There was nothing happening in-between (at least nothing in the logs).
Just to make this clear,
I'm running the lastest linus 4.12 tree, with this[1] one-liner patch
to add the X1 Carbon to smbus_pnp_ids.

The behaviour is that after boot, xinput only shows "Synaptics
TM3289-002", and evemu-describe too.
I'm not sure how the trackpoint appeared previously, but just testing
now, and the trackpoint device did *not* appear for an hour at all.

But after rmmod-ing the psmouse module and loading it again it did show up.

Jun 25 15:59:32 cambrian kernel: psmouse serio1: synaptics: queried
max coordinates: x [..5676], y [..4760]
Jun 25 15:59:32 cambrian kernel: psmouse serio1: synaptics: queried
min coordinates: x [1266..], y [1094..]
Jun 25 15:59:32 cambrian kernel: psmouse serio1: synaptics: Trying to
set up SMBus access
Jun 25 15:59:32 cambrian kernel: rmi4_smbus 6-002c: registering
SMbus-connected sensor
Jun 25 15:59:32 cambrian kernel: rmi4_f01 rmi4-00.fn01: found RMI
device, manufacturer: Synaptics, product: TM3289-002, fw id: 2492434
Jun 25 15:59:32 cambrian kernel: input: Synaptics TM3289-002 as
/devices/rmi4-00/input/input18
...
Jun 25 17:16:39 cambrian sudo[5770]:   damjan : TTY=pts/1 ;
PWD=/home/damjan ; USER=root ; COMMAND=/usr/bin/rmmod psmouse
Jun 25 17:16:45 cambrian sudo[5786]:   damjan : TTY=pts/1 ;
PWD=/home/damjan ; USER=root ; COMMAND=/usr/bin/modprobe psmouse
Jun 25 17:16:46 cambrian kernel: psmouse serio1: synaptics: queried
max coordinates: x [..5676], y [..4760]
Jun 25 17:16:46 cambrian kernel: psmouse serio1: synaptics: queried
min coordinates: x [1266..], y [1094..]
Jun 25 17:16:46 cambrian kernel: psmouse serio1: synaptics: Trying to
set up SMBus access
Jun 25 17:16:46 cambrian kernel: rmi4_smbus 6-002c: registering
SMbus-connected sensor

16 more lines

Message details and related content
On 25 June 2017 at 17:23, Damjan Georgievski [off-list ref] wrote:
On 20 June 2017 at 04:55, Dmitry Torokhov [off-list ref] wrote:
quoted
On Sat, Jun 10, 2017 at 12:42:13PM +0200, Damjan Georgievski wrote:
quoted
quoted
- mark "guest" RMI device as pass-through port to avoid "phantom" ALPS
  toouchpad on newer Lenovo Carbons
What's the end game for supporting these devices?

With the latest HEAD of Linus, first I get:
» Jun 10 12:19:17 cambrian kernel: psmouse serio1: synaptics: Your
touchpad (PNP: LEN0072 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.

Then if I patch drivers/input/mouse/synaptics.c and add "LEN0072" to
smbus_pnp_ids, this strange thing happens:

[    8.526635] psmouse serio1: synaptics: queried max coordinates: x
[..5676], y [..4760]
[    8.555746] psmouse serio1: synaptics: queried min coordinates: x
[1266..], y [1094..]
[    8.555750] psmouse serio1: synaptics: Trying to set up SMBus access
[    8.615774] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer:
Synaptics, product: TM3289-002, fw id: 2492434
[    8.679863] input: Synaptics TM3289-002 as /devices/rmi4-00/input/input18
[    8.682660] mousedev: PS/2 mouse device common for all mice
… snipped …
[  107.225549] input: ImPS/2 Generic Wheel Mouse as
/devices/rmi4-00/rmi4-00.fn03/serio2/input/input20

Notice how the trackpoint only appeared 100 seconds after boot (X was
already started and initially the trackpoint was not listed in xinput)
100 seconds is quire ridiculous. Could you please post your entire boot
log so we can understand what happened there.
Sorry for the delay, I was travelling and couldn't put more time into it …

There was nothing happening in-between (at least nothing in the logs).

3 more quoted lines

after suspend and resume the trackpoint device does show up.

[   40.124861] input: ImPS/2 Generic Wheel Mouse as
/devices/rmi4-00/rmi4-00.fn03/serio2/input/input20


-- 
damjan
Message details and related content
On 25 June 2017 at 20:04, Damjan Georgievski [off-list ref] wrote:
On 25 June 2017 at 17:23, Damjan Georgievski [off-list ref] wrote:
quoted
On 20 June 2017 at 04:55, Dmitry Torokhov [off-list ref] wrote:
quoted
On Sat, Jun 10, 2017 at 12:42:13PM +0200, Damjan Georgievski wrote:
quoted
quoted
- mark "guest" RMI device as pass-through port to avoid "phantom" ALPS
  toouchpad on newer Lenovo Carbons
What's the end game for supporting these devices?

With the latest HEAD of Linus, first I get:
» Jun 10 12:19:17 cambrian kernel: psmouse serio1: synaptics: Your
touchpad (PNP: LEN0072 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.

Then if I patch drivers/input/mouse/synaptics.c and add "LEN0072" to
smbus_pnp_ids, this strange thing happens:

[    8.526635] psmouse serio1: synaptics: queried max coordinates: x
[..5676], y [..4760]
[    8.555746] psmouse serio1: synaptics: queried min coordinates: x
[1266..], y [1094..]
[    8.555750] psmouse serio1: synaptics: Trying to set up SMBus access
[    8.615774] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer:
Synaptics, product: TM3289-002, fw id: 2492434
[    8.679863] input: Synaptics TM3289-002 as /devices/rmi4-00/input/input18
[    8.682660] mousedev: PS/2 mouse device common for all mice
… snipped …
[  107.225549] input: ImPS/2 Generic Wheel Mouse as
/devices/rmi4-00/rmi4-00.fn03/serio2/input/input20

Notice how the trackpoint only appeared 100 seconds after boot (X was
already started and initially the trackpoint was not listed in xinput)
100 seconds is quire ridiculous. Could you please post your entire boot
log so we can understand what happened there.
Sorry for the delay, I was travelling and couldn't put more time into it …

9 more quoted lines

and one more data point, kernel 4.12-rc7 (with the afore mentioned
patch), the trackpoint appeared spontaneuosly at the  ~155 seconds
mark,
full dmesg follows:

[    0.000000] Linux version 4.12.0-rc7+ (damjan@archless) (gcc
version 7.1.1 20170528 (GCC) ) #1 SMP PREEMPT Mon Jun 26 10:03:41 CEST
2017
[    0.000000] Command line: initrd=\intel-ucode.img
initrd=\initramfs-linux.img
cryptdevice=UUID=7b411dfd-9d7f-48bb-95fa-1ca52d67de57:root:allow-discards
root=/dev/mapper/root rw quiet

[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating
point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.000000] x86/fpu: Enabled xstate features 0x1f, context size is
960 bytes, using 'compacted' format.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000059000-0x000000000009cfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009d000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000050b2efff] usable
[    0.000000] BIOS-e820: [mem 0x0000000050b2f000-0x0000000050b2ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000050b30000-0x0000000050b30fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000050b31000-0x000000005a472fff] usable
[    0.000000] BIOS-e820: [mem 0x000000005a473000-0x000000005b52bfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000005b52c000-0x000000005b54cfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000005b54d000-0x000000005b54dfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000005b54e000-0x000000005b599fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000005b59a000-0x000000005b5fefff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000005b5ff000-0x000000005b5fffff] usable

1076 more lines

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help