You are not logged in.

#1 2017-08-30 13:48:42

darnok
Member
Registered: 2017-08-30
Posts: 9

serioXX number changes after each suspend/resume

Hello.
My problem is that after each resume from suspend trackpoint in my T420 looses it's settings.  I managed to get around this problem by writing simple script binded to key that manually change trackpoint sensitivity value by simply: "echo 160 > /sys/devices/platform/i8042/serio1/serio2/sensitivity". Unfortunatelly after some last full system update the trackpoint sensitivity patch is changing after each suspend/resume giving it next number, for example now it is here: "/sys/devices/platform/i8042/serio1/serio3/sensitivity". I use suspend very often so, I'm getting realy high numbers here like "/sys/devices/platform/i8042/serio1/serio182/sensitivity".

Also I noticed that synaptics after resume complains about change in hardware (marked this and others in RED) dmesg output:

[ 8799.899075] ACPI: Waking up from system sleep state S3
[ 8800.451780] sdhci-pci 0000:0d:00.0: MMC controller base frequency changed to 50Mhz.
[ 8800.478669] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
[ 8800.478772] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
[ 8800.478920] PM: noirq resume of devices complete after 46.934 msecs
[ 8800.479621] PM: early resume of devices complete after 0.655 msecs
[ 8800.479774] e1000e 0000:00:19.0: System wakeup disabled by ACPI
[ 8800.480235] ACPI : EC: event unblocked
[ 8800.481007] rtc_cmos 00:02: System wakeup disabled by ACPI
[ 8800.490193] sd 0:0:0:0: [sda] Starting disk
[ 8800.518729] tpm tpm0: A TPM error (6) occurred attempting to read a pcr value
[ 8800.518733] tpm tpm0: TPM is disabled/deactivated (0x6)
[ 8800.715395] usb 1-1.3: reset full-speed USB device number 3 using ehci-pci
[ 8800.715398] usb 2-1.4: reset high-speed USB device number 3 using ehci-pci
[ 8800.812212] usb 2-1.4: device firmware changed
[ 8800.832076] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 8800.832236] ata4: SATA link down (SStatus 0 SControl 300)
[ 8800.832266] ata5: SATA link down (SStatus 0 SControl 300)
[ 8800.835001] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[ 8800.835421] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[ 8800.835426] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 8800.840177] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[ 8800.840402] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[ 8800.840406] ata2.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 8800.841916] ata2.00: configured for UDMA/66
[ 8800.885325] usb 2-1.5: reset full-speed USB device number 4 using ehci-pci
[ 8801.254227] psmouse serio1: synaptics: queried max coordinates: x [..5888], y [..4820]
[ 8801.334804] psmouse serio1: synaptics: hardware appears to be different: id(149271-149271), model(114865-114865), caps(d047b3-d047b1), ext(b40000-b40000). 

[ 8801.334931] PM: resume of devices complete after 855.311 msecs
[ 8801.388238] PM: Finishing wakeup.
[ 8801.388241] OOM killer enabled.
[ 8801.388243] Restarting tasks ...
[ 8801.388530] usb 2-1.4: USB disconnect, device number 3
[ 8801.390166] cdc_ncm 2-1.4:1.6 wwp0s29u1u4i6: unregister 'cdc_ncm' usb-0000:00:1d.0-1.4, Mobile Broadband Network Device
[ 8801.408597] done.
[ 8801.426917] video LNXVIDEO:00: Restoring backlight state
[ 8801.427379] video LNXVIDEO:01: Restoring backlight state
[ 8801.427852] bbswitch: disabling discrete graphics
[ 8801.427858] ACPI Warning: \_SB.PCI0.PEG.VID._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170303/nsarguments-95)
[ 8801.442765] thinkpad_acpi: EC reports that Thermal Table has changed
[ 8801.491986] usb 2-1.4: new high-speed USB device number 5 using ehci-pci
[ 8801.691398] e1000e: enp0s25 NIC Link is Down
[ 8801.692125] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[ 8801.928828] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[ 8801.929791] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 8801.931958] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 8801.932204] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 8801.932303] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 8801.991925] usb 2-1.4: device not accepting address 5, error -71
[ 8802.209080] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 8802.209489] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 8802.209588] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 8802.229761] psmouse serio1: synaptics: queried max coordinates: x [..5888], y [..4820]
[ 8802.288130] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 8802.295342] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 8802.295621] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 8802.295724] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 8802.312036] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd047b1/0xb40000/0xa0000/0x0, board id: 0, fw id: 578367
[ 8802.312041] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[ 8802.363187] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input17

[ 8802.475264] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 8802.573895] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 8802.574198] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
[ 8802.574295] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 8802.648002] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 8802.648007] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 8802.648009] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 8802.655580] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 8802.665267] usb 2-1.4: new high-speed USB device number 7 using ehci-pci
[ 8802.676936] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 8802.676939] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 8802.676940] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 8802.678413] ata1.00: configured for UDMA/133
[ 8802.714510] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 8802.800364] cdc_acm 2-1.4:1.1: ttyACM0: USB ACM device
[ 8802.801102] cdc_acm 2-1.4:1.3: ttyACM1: USB ACM device
[ 8802.803109] cdc_wdm 2-1.4:1.5: cdc-wdm0: USB WDM device
[ 8802.833046] cdc_ncm 2-1.4:1.6: MAC-Address: 02:80:37:ec:02:00
[ 8802.833392] cdc_ncm 2-1.4:1.6 wwan0: register 'cdc_ncm' at usb-0000:00:1d.0-1.4, Mobile Broadband Network Device,
[ 8802.833976] cdc_wdm 2-1.4:1.8: cdc-wdm1: USB WDM device
[ 8802.834216] cdc_acm 2-1.4:1.9: ttyACM2: USB ACM device
[ 8803.118518] psmouse serio3: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 8803.384524] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio3/input/input18

uname -a gives:

Linux T420 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux

What is causing this new serio numbers assignment for trackpoint, and how to fix this to constant number as it was previously?
Konrad.

Last edited by darnok (2017-08-30 13:51:30)

Offline

#2 2017-08-30 16:19:30

lx98
Member
Registered: 2017-08-30
Posts: 1

Re: serioXX number changes after each suspend/resume

I've got the same issue on my W530. Only noticed it today, so it must have been caused by a recent update.
This bug is particularly annoying since I use KDE settings to disable the touchpad. With this reassignment of numbers, that KDE setting breaks touchpad & trackpoint completely until I reboot. Hope this gets fixed soon.

Offline

#3 2017-08-31 10:51:40

darnok
Member
Registered: 2017-08-30
Posts: 9

Re: serioXX number changes after each suspend/resume

Well, this is not solution but a quick workaround:

#!/bin/bash
cd /sys/devices/platform/i8042/serio1/

serionbr=`ls |grep serio` 
echo $serionbr
sudo echo 190 > /sys/devices/platform/i8042/serio1/$serionbr/sensitivity
sudo echo 250 > /sys/devices/platform/i8042/serio1/$serionbr/speed
sudo echo 2 > /sys/devices/platform/i8042/serio1/$serionbr/drift_time

I binded this script to a shortcut key so I can quickly restore my settings. However this is not solution and it requires change in sudo config file for letting sudoer to acces tracpoint's parameters.
Im curious is this whole problem caused by some kernel module? If yes, then is it synaptics or other? How to check it? Another thing, where should we report this bug (if not here)?

Konrad

[EDIT]
In fact it is synaptics/psmouse module bug. More can be found here: https://patchwork.kernel.org/patch/9874667/

Last edited by darnok (2017-08-31 11:20:00)

Offline

Board footer

Powered by FluxBB