FS#69158 - [linux] psmouse module is built-in in 5.10.3

Attached to Project: Arch Linux
Opened by Evgeny Badin (basedtho) - Thursday, 31 December 2020, 16:25 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 06 February 2021, 12:17 GMT
Task Type General Gripe
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description:
and because of that i can't reload it when my trackpoint sometimes doesn't work after boot. with previous linux versions i would do

sudo modprobe -r psmouse && sudo modprobe psmouse

now it reports:

modprobe: FATAL: Module psmouse is builtin.

so i have to restart my laptop (this is happening on a T480s)

Additional info:
* package version(s)
linux 5.10.3
* config and/or log files etc.
`journalctl -b -1 | rg elan` (with non working psmouse) (elantech is the vendor of my trackpoint)
https://0x0.st/-rgE.txt
`dmesg | rg elan` (with working psmouse)
https://0x0.st/-rgI.json

* link to upstream bug report, if any
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 06 February 2021, 12:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 5.10.13.arch1-2
Comment by Max Resch (mxr) - Sunday, 03 January 2021, 09:57 GMT
I have a Lenovo T440p with a synaptics touchpad. I kind of have the same problem, here the synaptics driver runs the touchpad in serio emulation mode, which sometimes becomes unresponsive. The solution I divised in the past was to load psmouse (with paramter synaptics_intertouch=1) after rmi_smbus to force the touchpad to run in the vastly better smbus mode. The problem with a builtin psmouse is that this is not an option (maybe psmouse can be reinitialize the hardware from sysfs?).

Please revert the psmouse option to a module again. I looked at the github logs of the PKGBUILD and it seems that the change was only pushed with some other fedora kernel standard options.
Comment by loqs (loqs) - Monday, 04 January 2021, 01:55 GMT
@mxr Have you tried setting psmouse.synaptics_intertouch=1 on kernel command line [1]?

[1] https://wiki.archlinux.org/index.php/Kernel_module#Using_kernel_command_line
Comment by Max Resch (mxr) - Monday, 04 January 2021, 10:11 GMT
Adding psmouse.synaptics_intertouch=1 behaves exactly the same as loading psmouse before rmi_smbus:

(excerpt from kernel log)
psmouse serio1: synaptics: Trying to set up SMBus access
psmouse serio1: synaptics: SMbus companion is not ready yet
psmouse serio1: synaptics: quirked min/max coordinates: x [1024..5112], y [2024..4832]
psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x127c00/0x0, board id: 2939, fw id: 1586425
psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0

In the past I simply unloaded psmouse at the end of the boot processe and reinserted the module again, that seemed to work.
setting "softdep psmouse pre: rmi_smbus" in /etc/modprobe.d/ did nothing apearently smbus needs some time to settle before psmouse can access it. ideally psmouse would detect smbus at a later time and switches to it.
Comment by Steve King (sking) - Monday, 04 January 2021, 18:52 GMT
Similar here. Would be nice to regain full control of psmouse, considering it doesn't always just work with touchpads, trackpads and such. My touchpad requires a limited protocol in the console to keep it from acting up, whereas in Xorg with libinput I can get more out of it. Without runtime changes via modprobe, I'm limited to one or the other. Overall seems like the input modules with useful config parameters make good LKMs (psmouse, i8042), while others (libps2, serio) are for building in.
Comment by Steve King (sking) - Monday, 04 January 2021, 20:13 GMT
Similar here. Would be nice to regain full control of psmouse, considering it doesn't always just work with touchpads, trackpads and such. My touchpad requires a limited protocol in the console to keep it from acting up, whereas in Xorg with libinput I can get more out of it. Without runtime changes via modprobe, I'm limited to one or the other. Overall seems like the input modules with useful config parameters make good LKMs (psmouse, i8042), while others (libps2, serio) are for building in.
Comment by Ivan (vantu5z) - Monday, 11 January 2021, 11:39 GMT Comment by Ivan (vantu5z) - Tuesday, 12 January 2021, 10:45 GMT
"psmouse" module was build-in in kernel 5.10.2
Comment by Simon Reiser (simonfxr) - Saturday, 16 January 2021, 22:02 GMT
I'm also affected by this change. I have a Thinkpad P53 and the touchpad/trackpoint stops working after waking up from suspend, the only workaround was reloading the psmouse module, which does not work anymore after this change. There are many people affected by this bug, see e.g. here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1788928
Comment by marcin (mpsi) - Wednesday, 20 January 2021, 10:26 GMT
I'm likewise affected by this problem. Thinkpad T440s.
Comment by Michael (metanarrative) - Sunday, 31 January 2021, 13:15 GMT
Same here on Thinkpad T431s. Touchpad scrolling didn't work sometimes after waking up from suspend and I used to reload psmouse module to fix that.
Comment by bugalex (bugalex) - Sunday, 31 January 2021, 23:09 GMT
T440 for me. I added linux package to pacman IgnorePkg while waiting that psmouse become a module again.
Comment by Greg Minshall (minshall) - Monday, 01 February 2021, 02:52 GMT
ditto, Entroware Apollo (intermittently).
Comment by c0mpost (compost) - Tuesday, 02 February 2021, 15:39 GMT
Thinkpad X240 user with same issue here

The trackpad issue was easily solved by removing and readding the psmouse module. With it being built in it becomes a major annoyance.

Loading...