Skip to contentSkip to conversation

Initialization of TPPS/2 IBM TrackPoint in too slow

DISCUSSION Pali Rohár 2 participants 6 messages Jul 31, 2015 – Aug 21, 2015 HID

lore
Share & tools
lore
#0 lore raw

Hello,

here is output from dmesg for psmouse.ko

[  266.378751] psmouse: calling psmouse_init()
[  267.167150] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4758]
[  267.198416] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1096..]
[  267.260402] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xf002a3/0x943300/0x12e800, board 
id: 3072, fw id: 2560
[  267.260418] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[  267.299629] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input39
[  268.697333] psmouse serio4: cypress_ps2: send extension cmd 0x00, [0 0 0 0]
[  269.259351] psmouse serio4: cypress_ps2: Command 0x00 response data (0x): 00 00 14
[  269.562762] psmouse serio4: alps: E6 report: 00 00 64
[  269.825915] psmouse serio4: alps: E7 report: 10 00 64
[  270.086671] psmouse serio4: alps: EC report: 10 00 64
[  270.125866] psmouse serio4: alps: Likely not an ALPS touchpad: E7=10 00 64, EC=10 00 64
[  270.388147] psmouse serio4: elantech: unexpected magic knock result 0x00, 0x02, 0x64.
[  271.390241] psmouse serio4: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[  271.586156] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio4/input/input40

As you can see it takes about 5 seconds to initialize TrackPoint input device. And about 3 seconds from stage after synaptics export serio device. I think this is just because of trying to detect device type. Is there any way how to speed it up? Maybe for synaptics serio devices try to probe for TPPS/2 at first?

Signature · 2 lines
Pali Rohár
[email protected]
#1 lore raw
Quoted 21 lines · Pali Rohár

Hello,

here is output from dmesg for psmouse.ko

[  266.378751] psmouse: calling psmouse_init()
[  267.167150] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4758]
[  267.198416] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1096..]
[  267.260402] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xf002a3/0x943300/0x12e800, board 
id: 3072, fw id: 2560
[  267.260418] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[  267.299629] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input39
[  268.697333] psmouse serio4: cypress_ps2: send extension cmd 0x00, [0 0 0 0]
[  269.259351] psmouse serio4: cypress_ps2: Command 0x00 response data (0x): 00 00 14
[  269.562762] psmouse serio4: alps: E6 report: 00 00 64
[  269.825915] psmouse serio4: alps: E7 report: 10 00 64
[  270.086671] psmouse serio4: alps: EC report: 10 00 64
[  270.125866] psmouse serio4: alps: Likely not an ALPS touchpad: E7=10 00 64, EC=10 00 64
[  270.388147] psmouse serio4: elantech: unexpected magic knock result 0x00, 0x02, 0x64.
[  271.390241] psmouse serio4: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[  271.586156] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio4/input/input40
Quoted 5 lines

As you can see it takes about 5 seconds to initialize TrackPoint input device. And about 3 seconds from stage after synaptics export serio device. I think this is just because of trying to detect device type. Is there any way how to speed it up? Maybe for synaptics serio devices try to probe for TPPS/2 at first?

Did you abandon your trusty Dell with ALPS? ;)

Yes, I think we should limit the number of protocols that we probe on pass-through port to standard PS/2 flavors + TPPS/2 since I have never seen anything else there.

Thanks.

Signature · 1 line
Dmitry
#2 lore raw
Quoted 29 lines · On Friday 31 July 2015 19:08:49 Dmitry Torokhov wrote:
Quoted 28 lines · Pali Rohár

Hello,

here is output from dmesg for psmouse.ko

[  266.378751] psmouse: calling psmouse_init()
[  267.167150] psmouse serio1: synaptics: queried max coordinates:

x [..5676], y [..4758] [ 267.198416] psmouse serio1: synaptics:
queried min coordinates: x [1266..], y [1096..] [ 267.260402] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id:
0x1e2b1, caps: 0xf002a3/0x943300/0x12e800, board id: 3072, fw id:
2560

[  267.260418] psmouse serio1: synaptics: serio: Synaptics

pass-through port at isa0060/serio1/input0 [ 267.299629] input:
SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input39 [ 268.697333] psmouse serio4: cypress_ps2: send extension cmd 0x00, [0 0 0 0] [ 269.259351] psmouse serio4: cypress_ps2: Command 0x00 response data (0x): 00 00 14 [ 269.562762] psmouse serio4: alps: E6
report: 00 00 64

[  269.825915] psmouse serio4: alps: E7 report: 10 00 64
[  270.086671] psmouse serio4: alps: EC report: 10 00 64
[  270.125866] psmouse serio4: alps: Likely not an ALPS touchpad:

E7=10 00 64, EC=10 00 64 [ 270.388147] psmouse serio4: elantech:
unexpected magic knock result 0x00, 0x02, 0x64. [ 271.390241] psmouse serio4: trackpoint: IBM TrackPoint firmware: 0x0e,
buttons: 3/3 [ 271.586156] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio4/input/input40

Quoted 8 lines
Quoted 5 lines

As you can see it takes about 5 seconds to initialize TrackPoint input device. And about 3 seconds from stage after synaptics export serio device. I think this is just because of trying to detect device type. Is there any way how to speed it up? Maybe for synaptics serio devices try to probe for TPPS/2 at first?

Did you abandon your trusty Dell with ALPS? ;)

No, I'm not going to do that :-)

Quoted 5 lines

Yes, I think we should limit the number of protocols that we probe on pass-through port to standard PS/2 flavors + TPPS/2 since I have never seen anything else there.

Thanks.

And If not limiting, at least changing order and preferring TPPS/2.

Signature · 2 lines
Pali Rohár
[email protected]
#3 lore raw
Quoted 41 lines · Pali Rohár
Quoted 29 lines · On Friday 31 July 2015 19:08:49 Dmitry Torokhov wrote:
Quoted 28 lines · Pali Rohár

Hello,

here is output from dmesg for psmouse.ko

[  266.378751] psmouse: calling psmouse_init()
[  267.167150] psmouse serio1: synaptics: queried max coordinates:

x [..5676], y [..4758] [ 267.198416] psmouse serio1: synaptics:
queried min coordinates: x [1266..], y [1096..] [ 267.260402] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id:
0x1e2b1, caps: 0xf002a3/0x943300/0x12e800, board id: 3072, fw id:
2560

[  267.260418] psmouse serio1: synaptics: serio: Synaptics

pass-through port at isa0060/serio1/input0 [ 267.299629] input:
SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input39 [ 268.697333] psmouse serio4: cypress_ps2: send extension cmd 0x00, [0 0 0 0] [ 269.259351] psmouse serio4: cypress_ps2: Command 0x00 response data (0x): 00 00 14 [ 269.562762] psmouse serio4: alps: E6
report: 00 00 64

[  269.825915] psmouse serio4: alps: E7 report: 10 00 64
[  270.086671] psmouse serio4: alps: EC report: 10 00 64
[  270.125866] psmouse serio4: alps: Likely not an ALPS touchpad:

E7=10 00 64, EC=10 00 64 [ 270.388147] psmouse serio4: elantech:
unexpected magic knock result 0x00, 0x02, 0x64. [ 271.390241] psmouse serio4: trackpoint: IBM TrackPoint firmware: 0x0e,
buttons: 3/3 [ 271.586156] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio4/input/input40

Quoted 8 lines
Quoted 5 lines

As you can see it takes about 5 seconds to initialize TrackPoint input device. And about 3 seconds from stage after synaptics export serio device. I think this is just because of trying to detect device type. Is there any way how to speed it up? Maybe for synaptics serio devices try to probe for TPPS/2 at first?

Did you abandon your trusty Dell with ALPS? ;)

No, I'm not going to do that :-)

Quoted 7 lines
Quoted 5 lines

Yes, I think we should limit the number of protocols that we probe on pass-through port to standard PS/2 flavors + TPPS/2 since I have never seen anything else there.

Thanks.

And If not limiting, at least changing order and preferring TPPS/2.

Umm, that is not something I'll do lightly as it may lead to
regressions: some devices are confused by other's probes and assing even more psmouse_reset() calls will slow down boot even more.

Thanks.

Signature · 5 lines
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
Quoted 49 lines · On Friday 31 July 2015 19:30:34 Dmitry Torokhov wrote:
Quoted 48 lines · Pali Rohár
Quoted 30 lines · On Friday 31 July 2015 19:08:49 Dmitry Torokhov wrote:
Quoted 29 lines · Pali Rohár

Hello,

here is output from dmesg for psmouse.ko

[  266.378751] psmouse: calling psmouse_init()
[  267.167150] psmouse serio1: synaptics: queried max

coordinates: x [..5676], y [..4758] [ 267.198416] psmouse
serio1: synaptics: queried min coordinates: x [1266..], y [1096..] [ 267.260402] psmouse serio1: synaptics: Touchpad
model: 1, fw: 8.1, id: 0x1e2b1, caps:
0xf002a3/0x943300/0x12e800, board id: 3072, fw id: 2560

[  267.260418] psmouse serio1: synaptics: serio: Synaptics

pass-through port at isa0060/serio1/input0 [ 267.299629]
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input39 [ 268.697333] psmouse serio4: cypress_ps2: send extension cmd 0x00, [0 0 0 0]

[ 269.259351] psmouse serio4: cypress_ps2: Command 0x00
response data (0x): 00 00 14 [  269.562762] psmouse serio4:
alps: E6 report: 00 00 64
[  269.825915] psmouse serio4: alps: E7 report: 10 00 64
[  270.086671] psmouse serio4: alps: EC report: 10 00 64
[  270.125866] psmouse serio4: alps: Likely not an ALPS

touchpad: E7=10 00 64, EC=10 00 64 [ 270.388147] psmouse
serio4: elantech: unexpected magic knock result 0x00, 0x02, 0x64. [ 271.390241] psmouse serio4: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3 [ 271.586156] input:
TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio4/input/input40

Quoted 8 lines
Quoted 6 lines

As you can see it takes about 5 seconds to initialize TrackPoint input device. And about 3 seconds from stage after synaptics export serio device. I think this is just because of trying to detect device type. Is there any way how to speed it up? Maybe for synaptics serio devices try to probe for TPPS/2 at first?

Did you abandon your trusty Dell with ALPS? ;)

No, I'm not going to do that :-)

Quoted 5 lines

Yes, I think we should limit the number of protocols that we probe on pass-through port to standard PS/2 flavors + TPPS/2 since I have never seen anything else there.

Thanks.

Quoted 7 lines
Quoted 1 line

And If not limiting, at least changing order and preferring TPPS/2.

Umm, that is not something I'll do lightly as it may lead to
regressions: some devices are confused by other's probes and assing even more psmouse_reset() calls will slow down boot even more.

Thanks.

Ok, then limiting just to TPPS/2 and PS/2 protocols.

Signature · 2 lines
Pali Rohár
[email protected]
#5 lore raw
Quoted 52 lines · On Friday 31 July 2015 20:11:08 Pali Rohár wrote:
Quoted 51 lines · On Friday 31 July 2015 19:30:34 Dmitry Torokhov wrote:
Quoted 49 lines · Pali Rohár
Quoted 30 lines · On Friday 31 July 2015 19:08:49 Dmitry Torokhov wrote:
Quoted 29 lines · Pali Rohár

Hello,

here is output from dmesg for psmouse.ko

[  266.378751] psmouse: calling psmouse_init()
[  267.167150] psmouse serio1: synaptics: queried max

coordinates: x [..5676], y [..4758] [ 267.198416] psmouse
serio1: synaptics: queried min coordinates: x [1266..], y [1096..] [ 267.260402] psmouse serio1: synaptics: Touchpad
model: 1, fw: 8.1, id: 0x1e2b1, caps:
0xf002a3/0x943300/0x12e800, board id: 3072, fw id: 2560

[  267.260418] psmouse serio1: synaptics: serio: Synaptics

pass-through port at isa0060/serio1/input0 [ 267.299629]
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input39 [ 268.697333] psmouse serio4: cypress_ps2: send extension cmd 0x00, [0 0 0 0]

[ 269.259351] psmouse serio4: cypress_ps2: Command 0x00
response data (0x): 00 00 14 [  269.562762] psmouse serio4:
alps: E6 report: 00 00 64
[  269.825915] psmouse serio4: alps: E7 report: 10 00 64
[  270.086671] psmouse serio4: alps: EC report: 10 00 64
[  270.125866] psmouse serio4: alps: Likely not an ALPS

touchpad: E7=10 00 64, EC=10 00 64 [ 270.388147] psmouse
serio4: elantech: unexpected magic knock result 0x00, 0x02, 0x64. [ 271.390241] psmouse serio4: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3 [ 271.586156] input:
TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio4/input/input40

Quoted 8 lines
Quoted 6 lines

As you can see it takes about 5 seconds to initialize TrackPoint input device. And about 3 seconds from stage after synaptics export serio device. I think this is just because of trying to detect device type. Is there any way how to speed it up? Maybe for synaptics serio devices try to probe for TPPS/2 at first?

Did you abandon your trusty Dell with ALPS? ;)

No, I'm not going to do that :-)

Quoted 5 lines

Yes, I think we should limit the number of protocols that we probe on pass-through port to standard PS/2 flavors + TPPS/2 since I have never seen anything else there.

Thanks.

And If not limiting, at least changing order and preferring TPPS/2.

Quoted 8 lines
Quoted 5 lines

Umm, that is not something I'll do lightly as it may lead to
regressions: some devices are confused by other's probes and assing even more psmouse_reset() calls will slow down boot even more.

Thanks.

Ok, then limiting just to TPPS/2 and PS/2 protocols.

Dmitry, do you have some idea how to achieve this?

Modifying psmouse_extensions() function or extending max_proto variable?

Signature · 6 lines
Pali Rohár
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html