You are not logged in.

#1 2018-04-15 09:28:08

gaelic
Member
Registered: 2010-08-01
Posts: 111

kernel 4.16.2 - no ps2 mouse available (thinkpad trackpoint)

After upgrading to kernel 4.16.2 (from 4.15.15) the integrated trackpoint of my thinkpad is not working anymore. Anyone else experiencing similar issues?

It looks similar to this:

https://forums.opensuse.org/showthread. … nel-4-16-1

So xinput doesn't list the mouse, I also can't find it in /dev

Offline

#2 2018-04-15 10:24:40

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: kernel 4.16.2 - no ps2 mouse available (thinkpad trackpoint)

Knowing the model of your thinkpad would help.

In this case it seems to be a regression in the driver, but you should check for and apply any bios/firmware updates that lenovo may have available. Sometimes updates contains changes/fixes for strange problems, not to mention that many of the updates include security fixes.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2018-04-15 12:59:36

loqs
Member
Registered: 2014-03-06
Posts: 18,123

Re: kernel 4.16.2 - no ps2 mouse available (thinkpad trackpoint)

Compare the output of lsmod under 4.16.2 vs 4.15.15 see which modules if any are missing and if there are any new modules being loaded.
Also check the dmesg output.  Which module under 4.15.15 was used for the trackpoint?

Offline

#4 2018-04-15 15:20:12

gaelic
Member
Registered: 2010-08-01
Posts: 111

Re: kernel 4.16.2 - no ps2 mouse available (thinkpad trackpoint)

Hi.

It is a Thinkpad T440s;

Using 4.15.15:

rmmod psmouse deactivates the trackpoint
modprobe psmouse activates it again

Using 4.16.2:

psmouse is loaded, but no device shows up in /dev/input/
it should usually be mouse0, mouse1, ...

rmmod psmouse does not work but hangs, even a ctrl-c does not work in the terminal window

Offline

#5 2018-04-15 15:27:08

loqs
Member
Registered: 2014-03-06
Posts: 18,123

Re: kernel 4.16.2 - no ps2 mouse available (thinkpad trackpoint)

Is there any output from dmesg when rmmod psmouse fails under 4.16.2?
Can you also post both the dmesg from 4.16.2 and 4.15.15 please.

Offline

#6 2018-04-15 19:24:34

gaelic
Member
Registered: 2010-08-01
Posts: 111

Re: kernel 4.16.2 - no ps2 mouse available (thinkpad trackpoint)

Here are both dmesg outputs. rmmod just hangs in console, no output and no dmesg entry.

4.15.15:

https://pastebin.com/5FhiVDU8

4.16.2:

https://pastebin.com/6NJu6qRf

I just noticed some weird trace calls with 4.16.2, something is definitely wrong.

Offline

#7 2018-04-15 19:41:04

loqs
Member
Registered: 2014-03-06
Posts: 18,123

Re: kernel 4.16.2 - no ps2 mouse available (thinkpad trackpoint)

[   14.352048] WARNING: CPU: 0 PID: 340 at drivers/media/v4l2-core/v4l2-dev.c:945 __video_register_device+0xce4/0x10e0 [videodev]
[   14.352050] Modules linked in: ecdh_generic rmi_smbus(+) rmi_core videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel arc4 kvm snd_hda_codec_generic irqbypass intel_cstate msr ofpart cmdlinepart iwlmvm intel_spi_platform intel_spi i915 spi_nor iTCO_wdt mtd iTCO_vendor_support mac80211 wmi_bmof ext4 iwlwifi crc16 mbcache jbd2 fscrypto i2c_algo_bit drm_kms_helper cfg80211 snd_hda_intel psmouse drm intel_uncore snd_hda_codec e1000e intel_rapl_perf input_leds pcspkr snd_hda_core mei_me rtsx_pci_ms thinkpad_acpi memstick i2c_i801 lpc_ich shpchp mei ptp snd_hwdep intel_gtt pps_core wmi snd_pcm nvram agpgart rfkill ac syscopyarea snd_timer rtc_cmos sysfillrect sysimgblt battery led_class
[   14.352107]  snd fb_sys_fops intel_smartconnect evdev soundcore mac_hid usbip_host usbip_core sg crypto_user ip_tables x_tables btrfs xor zstd_decompress zstd_compress xxhash raid6_pq algif_skcipher af_alg dm_crypt dm_mod sd_mod rtsx_pci_sdmmc serio_raw mmc_core atkbd libps2 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc ahci aesni_intel libahci aes_x86_64 crypto_simd glue_helper cryptd xhci_pci libata ehci_pci xhci_hcd ehci_hcd scsi_mod usbcore rtsx_pci usb_common i8042 serio
[   14.352147] CPU: 0 PID: 340 Comm: systemd-udevd Not tainted 4.16.2-1-ARCH #1
[   14.352148] Hardware name: LENOVO 20AQS00600/20AQS00600, BIOS GJET91WW (2.41 ) 09/21/2016
[   14.352157] RIP: 0010:__video_register_device+0xce4/0x10e0 [videodev]
[   14.352158] RSP: 0000:ffffb5374281f6c8 EFLAGS: 00010202
[   14.352160] RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000
[   14.352161] RDX: ffffffffc105cc80 RSI: ffffffffffffffff RDI: ffffffffc105cc80
[   14.352163] RBP: 0000000000000000 R08: ffffffffc109d900 R09: 0000000000000000
[   14.352164] R10: ffff9e3f72c03080 R11: 0000000000000000 R12: 0000000000000005
[   14.352165] R13: ffffffffc109d900 R14: ffff9e3f63ade1c0 R15: 0000000000000001
[   14.352167] FS:  00007fdde9b55d40(0000) GS:ffff9e3f7f200000(0000) knlGS:0000000000000000
[   14.352169] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   14.352170] CR2: 00007f2812ba86a0 CR3: 000000032e49a003 CR4: 00000000001606f0
[   14.352172] Call Trace:
[   14.352180]  ? _raw_spin_lock_irqsave+0x25/0x50
[   14.352186]  rmi_f54_probe+0x42f/0x470 [rmi_core]
[   14.352192]  rmi_function_probe+0x84/0xb0 [rmi_core]
[   14.352197]  driver_probe_device+0x30b/0x480
[   14.352201]  ? __driver_attach+0xe0/0xe0
[   14.352203]  bus_for_each_drv+0x66/0xb0
[   14.352206]  __device_attach+0xd9/0x150
[   14.352210]  bus_probe_device+0x8a/0xa0
[   14.352212]  device_add+0x463/0x6b0
[   14.352218]  rmi_register_function+0x5e/0xd0 [rmi_core]
[   14.352222]  rmi_create_function+0x113/0x1a0 [rmi_core]
[   14.352227]  ? rmi_irq_fn+0xd0/0xd0 [rmi_core]
[   14.352231]  rmi_scan_pdt+0xd6/0x1c0 [rmi_core]
[   14.352237]  rmi_init_functions+0x59/0x120 [rmi_core]
[   14.352242]  rmi_driver_probe+0x160/0x3d0 [rmi_core]
[   14.352246]  driver_probe_device+0x30b/0x480
[   14.352248]  ? __driver_attach+0xe0/0xe0
[   14.352250]  bus_for_each_drv+0x66/0xb0
[   14.352254]  __device_attach+0xd9/0x150
[   14.352257]  bus_probe_device+0x8a/0xa0
[   14.352259]  device_add+0x463/0x6b0
[   14.352264]  rmi_register_transport_device+0x7e/0xf0 [rmi_core]
[   14.352268]  rmi_smb_probe+0x1ca/0x275 [rmi_smbus]
[   14.352272]  ? rmi_smb_resume+0x70/0x70 [rmi_smbus]
[   14.352276]  i2c_device_probe+0x319/0x330
[   14.352280]  driver_probe_device+0x30b/0x480
[   14.352283]  __driver_attach+0xb8/0xe0
[   14.352285]  ? driver_probe_device+0x480/0x480
[   14.352288]  ? driver_probe_device+0x480/0x480
[   14.352290]  bus_for_each_dev+0x76/0xc0
[   14.352293]  bus_add_driver+0x161/0x260
[   14.352295]  ? 0xffffffffc10a9000
[   14.352298]  driver_register+0x57/0xc0
[   14.352300]  ? 0xffffffffc10a9000
[   14.352303]  i2c_register_driver+0x3d/0x90
[   14.352305]  ? 0xffffffffc10a9000
[   14.352308]  do_one_initcall+0x4e/0x190
[   14.352312]  ? free_unref_page_commit+0x66/0xf0
[   14.352315]  ? kmem_cache_alloc_trace+0x10f/0x1c0
[   14.352319]  do_init_module+0x5b/0x205
[   14.352322]  load_module+0x26e7/0x2b80
[   14.352325]  ? kmem_cache_alloc_node_trace+0x150/0x1d0
[   14.352330]  ? vmap_page_range_noflush+0x27b/0x380
[   14.352335]  ? SyS_init_module+0x163/0x1a0
[   14.352337]  SyS_init_module+0x163/0x1a0
[   14.352343]  do_syscall_64+0x74/0x190
[   14.352346]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[   14.352348] RIP: 0033:0x7fdde94996ca
[   14.352350] RSP: 002b:00007ffcd66a8528 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[   14.352352] RAX: ffffffffffffffda RBX: 000055fa3a7a67f0 RCX: 00007fdde94996ca
[   14.352353] RDX: 00007fdde8d4dcb5 RSI: 00000000000046f8 RDI: 000055fa3b0a1f40
[   14.352355] RBP: 00007fdde8d4dcb5 R08: 0000000000000005 R09: 00007ffcd66a6ab8
[   14.352356] R10: 0000000000000005 R11: 0000000000000246 R12: 000055fa3b0a1f40
[   14.352357] R13: 000055fa3a7b7270 R14: 0000000000020000 R15: 000055fa3a794090
[   14.352360] Code: 48 c7 c7 34 b6 04 c1 e8 d5 9c 0a db e9 be fb ff ff 0f 0b 41 bd ea ff ff ff e9 b1 fb ff ff 0f 0b 41 bd ea ff ff ff e9 a4 fb ff ff <0f> 0b e9 86 f4 ff ff 83 fa 01 0f 84 cb 02 00 00 48 83 78 68 00
[   14.352404] ---[ end trace 2409fc780aa0235e ]---
[   14.352409] BUG: unable to handle kernel NULL pointer dereference at 0000000000000499
[   14.352418] IP: __video_register_device+0x1c5/0x10e0 [videodev]
[   14.352419] PGD 0 P4D 0
[   14.352422] Oops: 0000 [#1] PREEMPT SMP PTI
[   14.352424] Modules linked in: ecdh_generic rmi_smbus(+) rmi_core videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel arc4 kvm snd_hda_codec_generic irqbypass intel_cstate msr ofpart cmdlinepart iwlmvm intel_spi_platform intel_spi i915 spi_nor iTCO_wdt mtd iTCO_vendor_support mac80211 wmi_bmof ext4 iwlwifi crc16 mbcache jbd2 fscrypto i2c_algo_bit drm_kms_helper cfg80211 snd_hda_intel psmouse drm intel_uncore snd_hda_codec e1000e intel_rapl_perf input_leds pcspkr snd_hda_core mei_me rtsx_pci_ms thinkpad_acpi memstick i2c_i801 lpc_ich shpchp mei ptp snd_hwdep intel_gtt pps_core wmi snd_pcm nvram agpgart rfkill ac syscopyarea snd_timer rtc_cmos sysfillrect sysimgblt battery led_class
[   14.352471]  snd fb_sys_fops intel_smartconnect evdev soundcore mac_hid usbip_host usbip_core sg crypto_user ip_tables x_tables btrfs xor zstd_decompress zstd_compress xxhash raid6_pq algif_skcipher af_alg dm_crypt dm_mod sd_mod rtsx_pci_sdmmc serio_raw mmc_core atkbd libps2 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc ahci aesni_intel libahci aes_x86_64 crypto_simd glue_helper cryptd xhci_pci libata ehci_pci xhci_hcd ehci_hcd scsi_mod usbcore rtsx_pci usb_common i8042 serio
[   14.352504] CPU: 0 PID: 340 Comm: systemd-udevd Tainted: G        W        4.16.2-1-ARCH #1
[   14.352505] Hardware name: LENOVO 20AQS00600/20AQS00600, BIOS GJET91WW (2.41 ) 09/21/2016
[   14.352512] RIP: 0010:__video_register_device+0x1c5/0x10e0 [videodev]
[   14.352513] RSP: 0000:ffffb5374281f6c8 EFLAGS: 00010202
[   14.352515] RAX: ffffffffc105cc80 RBX: 0000000000000005 RCX: ffffffffc105d480
[   14.352516] RDX: 0000000000000001 RSI: ffff9e3f63ade118 RDI: ffffffffc105cc80
[   14.352518] RBP: 0000000000000000 R08: ffffffffc109d900 R09: 0000000000000000
[   14.352519] R10: ffff9e3f72c03080 R11: 0000000000000000 R12: 0000000000000005
[   14.352520] R13: ffffffffc109d900 R14: ffff9e3f63ade1c0 R15: 0000000000000001
[   14.352522] FS:  00007fdde9b55d40(0000) GS:ffff9e3f7f200000(0000) knlGS:0000000000000000
[   14.352524] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   14.352525] CR2: 0000000000000499 CR3: 000000032e49a003 CR4: 00000000001606f0
[   14.352526] Call Trace:
[   14.352529]  ? _raw_spin_lock_irqsave+0x25/0x50
[   14.352535]  rmi_f54_probe+0x42f/0x470 [rmi_core]
[   14.352540]  rmi_function_probe+0x84/0xb0 [rmi_core]
[   14.352544]  driver_probe_device+0x30b/0x480
[   14.352546]  ? __driver_attach+0xe0/0xe0
[   14.352549]  bus_for_each_drv+0x66/0xb0
[   14.352552]  __device_attach+0xd9/0x150
[   14.352555]  bus_probe_device+0x8a/0xa0
[   14.352557]  device_add+0x463/0x6b0
[   14.352562]  rmi_register_function+0x5e/0xd0 [rmi_core]
[   14.352567]  rmi_create_function+0x113/0x1a0 [rmi_core]
[   14.352572]  ? rmi_irq_fn+0xd0/0xd0 [rmi_core]
[   14.352575]  rmi_scan_pdt+0xd6/0x1c0 [rmi_core]
[   14.352581]  rmi_init_functions+0x59/0x120 [rmi_core]
[   14.352586]  rmi_driver_probe+0x160/0x3d0 [rmi_core]
[   14.352589]  driver_probe_device+0x30b/0x480
[   14.352592]  ? __driver_attach+0xe0/0xe0
[   14.352594]  bus_for_each_drv+0x66/0xb0
[   14.352597]  __device_attach+0xd9/0x150
[   14.352600]  bus_probe_device+0x8a/0xa0
[   14.352602]  device_add+0x463/0x6b0
[   14.352607]  rmi_register_transport_device+0x7e/0xf0 [rmi_core]
[   14.352611]  rmi_smb_probe+0x1ca/0x275 [rmi_smbus]
[   14.352615]  ? rmi_smb_resume+0x70/0x70 [rmi_smbus]
[   14.352618]  i2c_device_probe+0x319/0x330
[   14.352622]  driver_probe_device+0x30b/0x480
[   14.352625]  __driver_attach+0xb8/0xe0
[   14.352627]  ? driver_probe_device+0x480/0x480
[   14.352629]  ? driver_probe_device+0x480/0x480
[   14.352631]  bus_for_each_dev+0x76/0xc0
[   14.352634]  bus_add_driver+0x161/0x260
[   14.352637]  ? 0xffffffffc10a9000
[   14.352639]  driver_register+0x57/0xc0
[   14.352641]  ? 0xffffffffc10a9000
[   14.352644]  i2c_register_driver+0x3d/0x90
[   14.352645]  ? 0xffffffffc10a9000
[   14.352648]  do_one_initcall+0x4e/0x190
[   14.352651]  ? free_unref_page_commit+0x66/0xf0
[   14.352654]  ? kmem_cache_alloc_trace+0x10f/0x1c0
[   14.352657]  do_init_module+0x5b/0x205
[   14.352660]  load_module+0x26e7/0x2b80
[   14.352663]  ? kmem_cache_alloc_node_trace+0x150/0x1d0
[   14.352667]  ? vmap_page_range_noflush+0x27b/0x380
[   14.352672]  ? SyS_init_module+0x163/0x1a0
[   14.352674]  SyS_init_module+0x163/0x1a0
[   14.352679]  do_syscall_64+0x74/0x190
[   14.352682]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[   14.352684] RIP: 0033:0x7fdde94996ca
[   14.352685] RSP: 002b:00007ffcd66a8528 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[   14.352688] RAX: ffffffffffffffda RBX: 000055fa3a7a67f0 RCX: 00007fdde94996ca
[   14.352689] RDX: 00007fdde8d4dcb5 RSI: 00000000000046f8 RDI: 000055fa3b0a1f40
[   14.352690] RBP: 00007fdde8d4dcb5 R08: 0000000000000005 R09: 00007ffcd66a6ab8
[   14.352691] R10: 0000000000000005 R11: 0000000000000246 R12: 000055fa3b0a1f40
[   14.352693] R13: 000055fa3a7b7270 R14: 0000000000020000 R15: 000055fa3a794090
[   14.352696] Code: c7 05 74 82 02 00 00 00 00 00 48 8d 88 00 08 00 00 eb 09 48 83 c0 08 48 39 c1 74 31 48 8b 10 48 85 d2 74 ef 49 8b b6 98 04 00 00 <48> 39 b2 98 04 00 00 75 df 48 63 92 f8 04 00 00 f0 48 0f ab 15
[   14.352743] RIP: __video_register_device+0x1c5/0x10e0 [videodev] RSP: ffffb5374281f6c8
[   14.352744] CR2: 0000000000000499
[   14.352746] ---[ end trace 2409fc780aa0235f ]---

https://bugs.archlinux.org/task/58205

Offline

#8 2018-04-16 05:03:21

gaelic
Member
Registered: 2010-08-01
Posts: 111

Re: kernel 4.16.2 - no ps2 mouse available (thinkpad trackpoint)

Ah, thanks. I'm a goof for not checking the bugs smile

Offline

Board footer

Powered by FluxBB