You are not logged in.

#1 2017-09-28 17:41:14

kralyk
Member
Registered: 2009-04-27
Posts: 73

[Solved] Input problems on Linux 4.13 "^@"

Hi,
  after updating the kernel to 4.13 I'm experiencing problems with the keyboard and touchpad of my Lenovo laptop.
After the update, keyboard key repetition no longer works and touchpad response is sort of jittery / unreliable.

Any clue as to what might be the problem?

Thanks!

Last edited by kralyk (2017-09-29 19:06:56)

Offline

#2 2017-09-28 18:12:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Input problems on Linux 4.13 "^@"

What modules are loaded under a working kernel v .13? What input driver? What else was upgraded? etc
See How To Ask Questions The Smart Way.



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-09-28 18:57:37

kralyk
Member
Registered: 2009-04-27
Posts: 73

Re: [Solved] Input problems on Linux 4.13 "^@"

I'm not sure what else was updated, but downgrading linux back to 4.12 resolves the problem. The downgrade also involves downgrade of nvidia drivers and bbswitch as they are tied with kernel versions.

There were no errors in dmesg that I know of.

I can't reboot the machine right now, but I'll get a lsmod diff later...

Offline

#4 2017-09-28 22:51:44

amb
Member
Registered: 2004-10-27
Posts: 24

Re: [Solved] Input problems on Linux 4.13 "^@"

Having exactly the same problem here with a desktop.
Could not login on command line because there are   ^@  characters issued sporadically on the screen, polluting username and passwords.
The characters appear even when I disconnect the keyboard.

I've used an entry on Grub to boot directly on graphical interface.
There is none of that character pair on graphical terminal, but keyboard repeating doesn't work (to be fair, sometimes it repeats some key, but just a few times).
Rebooting resulted in the same behavior.


Armando

Offline

#5 2017-09-29 08:24:16

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,651

Re: [Solved] Input problems on Linux 4.13 "^@"

@kralyk What are your synaptic settings like?

Last edited by d_fajardo (2017-09-29 08:24:38)

Offline

#6 2017-09-29 10:04:31

kralyk
Member
Registered: 2009-04-27
Posts: 73

Re: [Solved] Input problems on Linux 4.13 "^@"

@amb I am seeing exactly the same symptoms. Including the "^@" appearing on the console regularly. Thanks for reporting, it's good to know this isn't limited to laptops.

@jasonwryan

This is the diff of the lsmod output (sorted unique):

--- modules.4.12	2017-09-28 22:04:55.123336443 +0200
+++ modules.4.13	2017-09-29 12:10:03.652527054 +0200
@@ -56,6 +56,7 @@
 industrialio
 industrialio_triggered_buffer
 input_leds
+input_polldev
 intel_cstate
 intel_gtt
 intel_lpss
@@ -71,8 +72,6 @@
 iwlmvm
 iwlwifi
 i2c_algo_bit
-i2c_designware_core
-i2c_designware_platform
 i2c_hid
 i2c_i801
 i8042
@@ -99,6 +98,9 @@
 mousedev
 pcbc
 pci_stub
+peaq_wmi
+pinctrl_intel
+pinctrl_sunrisepoint
 psmouse
 rfkill
 r8169
@@ -135,9 +137,6 @@
 sysfillrect
 sysimgblt
 thermal
-tpm
-tpm_tis
-tpm_tis_core
 usb_common
 usbcore
 usbhid
@@ -154,6 +153,7 @@
 videodev
 wdat_wdt
 wmi
+wmi_bmof
 xfs
 xhci_hcd
 xhci_pci

input_polldev looks kind of suspicious. I'll try out whether blacklisting it helps.

@d_fajardo

cat /etc/X11/xorg.conf.d/10-synaptics.conf:

Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
	Option "SHMConfig" "1"

	Option "MinSpeed" "1.1"  # speed factor for low pointer movement
	Option "MaxSpeed" "1.1"  # maximum speed factor for fast pointer movement

	Option "TapButton1" "1"
	Option "TapButton2" "2"
	Option "TapButton3" "3"
	Option "VertEdgeScroll" "1"
	Option "HorizEdgeScroll" "1"

	Option "CircularScrolling" "0"

	Option "VertTwoFingerScroll" "0"
	Option "HorizTwoFingerScroll" "0"
	Option "EmulateTwoFingerMinZ" "30"
EndSection

Offline

#7 2017-09-29 10:19:37

kralyk
Member
Registered: 2009-04-27
Posts: 73

Re: [Solved] Input problems on Linux 4.13 "^@"

Ok, blacklisting the input_polldev removes the issues.
Note that the module needs to be install-blacklisted, because it's a dependency of another module:

cat /etc/modprobe.d/input_polldev.conf:

blacklist input_polldev
install input_polldev /bin/false

Should this be reported upstream?

Last edited by kralyk (2017-09-29 10:19:55)

Offline

#8 2017-09-29 18:31:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Input problems on Linux 4.13 "^@"

I'd say so.

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2017-09-29 23:15:40

amb
Member
Registered: 2004-10-27
Posts: 24

Re: [Solved] Input problems on Linux 4.13 "^@"

Here occurred the same, the diff between the modules list (nice trick) pointed to input_polldev (and peaq_wmi that depends on it).
Blacklisting input_polldev fixed the command line and keyboard repeating.

This option CONFIG_INPUT_POLLDEV, seems to be present on earlier versions of kernel, but never had been used on Arch Linux (or only in the most recent version it break things to me and kralyk, but I don't think this is the case).

Thank you kralyk, jasonwryan.


Armando

Offline

#10 2017-09-30 09:01:49

kralyk
Member
Registered: 2009-04-27
Posts: 73

Re: [Solved] Input problems on Linux 4.13 "^@"

The peaq_wmi thing seems to be new in 4.13, maybe the problems is caused by this one instead...

Offline

#11 2017-10-02 14:42:56

william81
Member
Registered: 2017-09-29
Posts: 6

Re: [Solved] Input problems on Linux 4.13 "^@"

I wonder if this bug will be handled gracefully in the next version than just blacklisting the input_polldev.

Last edited by william81 (2017-10-02 14:46:05)

Offline

#12 2017-10-08 19:32:08

apexjcl
Member
Registered: 2017-10-08
Posts: 2

Re: [Solved] Input problems on Linux 4.13 "^@"

kralyk wrote:

The peaq_wmi thing seems to be new in 4.13, maybe the problems is caused by this one instead...

Indeed this module it's the "faulty one"

I have a Lenovo 700ISK that suddenly began with the symptoms that the OP mentions, key repetition didn't work nor touchpad. If I switched to a TTY, the characters ^@ were appearing periodically.
I traced it to PEAQ_WMI_HOTKEYS constantly emitting an input (keycode 221).

I unloaded the PEAQ_WMI module and everything began to work alright.

Offline

#13 2017-10-08 19:40:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Input problems on Linux 4.13 "^@"


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#14 2017-10-08 19:51:05

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

Re: [Solved] Input problems on Linux 4.13 "^@"

Please see if the issue has been reported upstream and if not consider reporting it so the issue can be resolved.

Offline

#15 2017-10-08 19:56:32

progandy
Member
Registered: 2012-05-17
Posts: 5,259

Re: [Solved] Input problems on Linux 4.13 "^@"

Here is a related bug report with a patch: https://bugzilla.redhat.com/show_bug.cgi?id=1497861


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#16 2017-10-08 20:15:49

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

Re: [Solved] Input problems on Linux 4.13 "^@"

@progandy thanks for finding the report pity it is not yet in mainline https://git.kernel.org/pub/scm/linux/ke … peaq-wmi.c
or tip https://git.kernel.org/pub/scm/linux/ke … peaq-wmi.c so may be a while until it makes it to stable.

Offline

#17 2017-10-08 20:33:08

progandy
Member
Registered: 2012-05-17
Posts: 5,259

Re: [Solved] Input problems on Linux 4.13 "^@"

loqs wrote:

@progandy thanks for finding the report pity it is not yet in mainline https://git.kernel.org/pub/scm/linux/ke … peaq-wmi.c
or tip https://git.kernel.org/pub/scm/linux/ke … peaq-wmi.c so may be a while until it makes it to stable.

Well, yesterday the patch was confirmed working on lkml [1], so it should be in 4.14. I'm not sure if it will be included in the 4.13 stable tree, since a precursor patch was rejected [2]

[1] https://lkml.org/lkml/2017/10/7/140
[2] https://patchwork.kernel.org/patch/9980211/


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#18 2017-11-10 08:28:30

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [Solved] Input problems on Linux 4.13 "^@"

progandy wrote:

Well, yesterday the patch was confirmed working on lkml [1], so it should be in 4.14. I'm not sure if it will be included in the 4.13 stable tree, since a precursor patch was rejected [2]

[1] https://lkml.org/lkml/2017/10/7/140
[2] https://patchwork.kernel.org/patch/9980211/

I have had the same problem and I've solved it with the blacklist method. My hardware components are all Intel, except the LAN card:

$ lspci               
00:00.0 Host bridge: Intel Corporation Intel Kaby Lake Host Bridge (rev 05)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO UART #0 (rev 31)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

I've tested the mainline linux kernel, few days ago, in AUR (linux-mainline) and the version 4.14rc8-1 still has this problem.

Offline

#19 2019-07-27 16:47:19

Ferdi265
Member
Registered: 2015-11-17
Posts: 4

Re: [Solved] Input problems on Linux 4.13 "^@"

I'm having partly similar symptoms on Kernel 5.2.2: I'm seeing random nulls on the Linux Console (mostly after logging out of X / Wayland), but with a waaaaaaaay lower frequency.

It's not even something I have ever caught happening, since the frequency is so low. I haven't investigated it much, and I don't know anymore when it started happening, so I have no idea where it comes from.

Offline

#20 2019-07-27 18:26:52

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,402
Website

Re: [Solved] Input problems on Linux 4.13 "^@"

Please do not necrobump, Ferdi265, particularly when you have nothing to add and the thread is marked as solved.

https://wiki.archlinux.org/index.php/Co … bumping%22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB