You are not logged in.

#1 2014-08-19 18:29:04

carbohydrates
Member
Registered: 2014-07-19
Posts: 12

psmouse - TrackPoint and TouchPad both enabled adds ~6s to boot time

I've done a lot of searching on this issue - others have had this problem, but it looks like nobody has ever figured this out.

The problem presents as a 6-10s period of time after starting X where everything works except the touchpad/trackpoint - keyboard input works fine, I just can't move the mouse for 6-10 seconds.

This triples the amount of time it takes to get to a fully working system vs. just having one or the other enabled in BIOS.

----------

Here are the relevant logs; this is always at the very end of the boot process, so I grabbed logs with "dmesg | tail -n30 > ~/log/name.txt" and edited them to include only the relevant parts. Everything not included here is more or less identical between boots.  I can include more if anyone thinks it would help.

----------

TrackPoint disabled in BIOS, TouchPad only; ~3.5s to full boot

...netctl stuff...
[ 2.951644] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd047b3/0xb40000/0xa0000, board id: 71, fw id: 578367
[ 2.951651] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[ 3.012185] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
[ 3.015465] mousedev: PS/2 mouse device common for all mice
...intel/usb stuff...

----------

TouchPad disabled in BIOS, TrackPoint only; ~3.3s to full boot

TouchPad disabled in BIOS, TrackPoint only
...usb/network stuff...
[ 2.295290] psmouse serio1: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64
...usb/clocksource stuff...
[ 2.675570] psmouse serio1: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 2.698825] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input7
[ 2.701618] mousedev: PS/2 mouse device common for all mice
...netctl/intel stuff...

----------

Both enabled in BIOS; 9.5s to full boot

...usb/netctl stuff...
[ 2.874471] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd047b3/0xb40000/0xa0000, board id: 71, fw id: 578367
[ 2.874477] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[ 2.935982] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
[ 2.938002] mousedev: PS/2 mouse device common for all mice
...intel stuff...
[ 7.270311] psmouse serio2: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64
[ 9.126101] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 9.465454] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input16

----------

Any ideas?

Offline

#2 2014-08-23 04:00:42

carbohydrates
Member
Registered: 2014-07-19
Posts: 12

Re: psmouse - TrackPoint and TouchPad both enabled adds ~6s to boot time

Here's a slightly more verbose log, from Xorg.0.log;

...[     3.301] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-3 (null)
[     3.371] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[     3.371] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[     3.371] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event15)
[     3.371] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[     3.371] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[     3.371] (II) LoadModule: "synaptics"
[     3.372] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[     3.372] (II) Module synaptics: vendor="X.Org Foundation"
[     3.372] 	compiled for 1.16.0, module version = 1.8.0
[     3.372] 	Module class: X.Org XInput Driver
[     3.372] 	ABI class: X.Org XInput driver, version 21.0
[     3.372] (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 27 paused 0
[     3.372] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[     3.372] (**) SynPS/2 Synaptics TouchPad: always reports core events
[     3.372] (**) Option "Device" "/dev/input/event15"
[     3.383] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[     3.383] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5888 (res 75)
[     3.383] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4820 (res 105)
[     3.383] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[     3.383] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[     3.383] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[     3.383] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[     3.383] (**) Option "TapButton1" "1"
[     3.383] (**) Option "TapButton2" "2"
[     3.383] (**) Option "TapButton3" "3"
[     3.383] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[     3.383] (**) SynPS/2 Synaptics TouchPad: always reports core events
[     3.383] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input15/event15"
[     3.383] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[     3.383] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[     3.383] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[     3.383] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.036
[     3.383] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[     3.383] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[     3.383] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[     3.383] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[     3.383] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    10.336] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event16)
[    10.336] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    10.336] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 40 paused 0
[    10.336] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[    10.336] (**) TPPS/2 IBM TrackPoint: always reports core events
[    10.336] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event16"
[    10.336] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[    10.336] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[    10.336] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[    10.336] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[    10.336] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[    10.337] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[    10.337] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    10.337] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input17/event16"
[    10.337] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 12)
[    10.337] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[    10.337] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[    10.337] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[    10.337] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    10.337] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    10.337] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[    10.337] (**) TPPS/2 IBM TrackPoint: Ignoring device from InputClass "touchpad ignore duplicates

...but that doesn't really help any more than the dmesg output.  Anyone have further troubleshooting suggestions for this?  I've tried just about everything I can think of, and I've been reading up on stuff related to this for the past two weeks - and I've made no progress.

Last edited by carbohydrates (2014-08-23 14:57:02)

Offline

#3 2014-08-23 16:11:57

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: psmouse - TrackPoint and TouchPad both enabled adds ~6s to boot time

Does it matter that they are TrackPoint and TouchPad? Or is this a general problem when udev has to detect two mice?

X might start faster without input device hotplugging. This would require you to add "InputDevice" sections to xorg.conf where you assign the driver "synaptics" to one and "evdev" to the other.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#4 2014-09-02 21:50:41

carbohydrates
Member
Registered: 2014-07-19
Posts: 12

Re: psmouse - TrackPoint and TouchPad both enabled adds ~6s to boot time

Hey, thanks for the response.  It does matter that they're a TrackPoint and Touchpad - if I disable one or the other, and attach an external mouse, it works perfectly.  No delay.

X starts plenty fast either way - it's just the detection/functionality of input devices that's slow.  I'll start looking into how to disable hotplugging, though, to see if it'll help.

Something new I've found - giving psmouse the option 'proto=bare' causes them both to be detected and function immediately on boot - but I lose some of the more advanced functions of both.  I'm looking into how to get some of that functionality back now, as well. 

The "pass through" aspect of these devices seems to be what's causing the delay.  With 'proto=bare', they're detected as a generic PS/2 mouse, with no pass-through.  When just one or the other is enabled, there's no pass-through.  With two or more separate mice, there's no pass-through.  But when they're both enabled - there is a pass-through, and there's also that delay.

Offline

#5 2014-09-02 22:34:49

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: psmouse - TrackPoint and TouchPad both enabled adds ~6s to boot time

 Could it be that both devices use the same physical communication bus? Does the hardware work as expected under Windows? Would it be possible to load the appropriate module for one device later? Or are there restrictions?

Offline

#6 2014-09-03 05:16:26

erykroom
Member
Registered: 2013-12-06
Posts: 25

Re: psmouse - TrackPoint and TouchPad both enabled adds ~6s to boot time

I have the same problem on my Thinkpad X220. Will keep an eye on this thread.

Offline

#7 2015-05-11 10:34:08

tillschaefer
Member
Registered: 2015-05-11
Posts: 3

Re: psmouse - TrackPoint and TouchPad both enabled adds ~6s to boot time

Hi,
i have the same problem on gentoo  (but with the trackpoint, not the touchpad) on a Thinkpad t440p. Disabling the Trackpoint reduces the kernel loading time from 6 sekonds to 1.5 seconds ...

as the dmesg line "psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3" was the part to blame, i disabled the kernel driver "CONFIG_MOUSE_PS2_TRACKPOINT" and the line disapeared. Interstingly the kernel was still slow booting. Therefore, removing the driver, does not help. only disabling the trackpoint in the uefi seems to work.

Offline

#8 2015-05-11 11:47:00

tillschaefer
Member
Registered: 2015-05-11
Posts: 3

Re: psmouse - TrackPoint and TouchPad both enabled adds ~6s to boot time

i have opened a bug report on kernel.org: https://bugzilla.kernel.org/show_bug.cgi?id=98071

Offline

Board footer

Powered by FluxBB