You are not logged in.

#1 2021-08-15 05:33:12

darris
Member
Registered: 2012-04-29
Posts: 23

Trackpad sometimes does not work on startup

Laptop: Acer Nitro 5 AN515-42-R5ED (the AMD one)

$ uname -a
Linux darris-nitroan51542 5.13.6-zen1-1-zen #1 ZEN SMP PREEMPT Thu, 29 Jul 2021 00:21:08 +0000 x86_64 GNU/Linux

Issue: Sometimes when I boot into the desktop, my mouse is stuck in the bottom right corner and nothing I have tried will let my trackpad work again. I have been working around the issue by just restarting my laptop until the mouse works.


I have libinput.
I have edited /etc/X11/xorg.conf.d/30-touchpad.conf so it says this now:

    Section "InputClass" 

            Identifier "touchpad" 

            Driver "libinput" 

            MatchIsTouchpad "on" 

            Option "Tapping" "on" 

            Option "TappingButtonMap" "lmr" 

            Option "ClickMethod" "buttonareas"

    EndSection

But that does not solve my issue.

Offline

#2 2021-08-15 19:48:16

xerxes_
Member
Registered: 2018-04-29
Posts: 1,064

Re: Trackpad sometimes does not work on startup

Try this config:

Section "InputClass"
        Identifier "libinput touchpad catchall"
        Driver "libinput"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "Tapping" "True"
        Option "TappingDrag" "True"
        Option "ScrollMethod" "Edge"
#       Option "AccelProfile" "linear"
#       Option "AccelSpeed" "0.4"
        Option "DisableWhileTyping" "False"
EndSection

It works for me great, but I have different laptop. If it don't work for you then post full output of command 'sudo journalctl -b' in "code" tags here.

Also did you tried standard linux distro kernel (linux package)?

Last edited by xerxes_ (2021-08-15 19:52:27)

Offline

#3 2021-08-15 20:22:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,959

Re: Trackpad sometimes does not work on startup

I'm not convinced that this isn't related to windows boots, but justto be sure: does Fn+F7 effectively toggle the touchpad?
Post a system journal for a good and a bad boot as well as your xorg log.
(eg. "sudo journalctl -b -1" for the previous boot)

Offline

#4 2021-09-02 08:19:56

VanillaBase1lb
Member
Registered: 2021-09-02
Posts: 5

Re: Trackpad sometimes does not work on startup

Same problem here on Acer Nitro 5, found any fix?

Offline

#5 2021-09-08 00:50:29

darris
Member
Registered: 2012-04-29
Posts: 23

Re: Trackpad sometimes does not work on startup

VanillaBase1lb wrote:

Same problem here on Acer Nitro 5, found any fix?

No, no fix, sorry
I previously tried this:

i8042.nomux=1 i8042.reset

to my boot parameters according to this question I stumbled on: https://unix.stackexchange.com/question … -of-ubuntu
Add it to the default linux line in /etc/default/grub and run

# grub-mkconfig -o /boot/grub/grub.cfg 

Edit: By the way, I lost my tap-to-click when I was messing around with this and I never really figured out why, but if you have that issue, you can get it back with xinput:

 libinput list-devices 

Find your touchpad (should be the same as mine, I guess)

xinput list-props "ELAN0504:01 04F3:3091 Touchpad"

To see all the properties available on our touchpad

xinput set-prop "ELAN0504:01 04F3:3091 Touchpad" "Synaptics Tap Action" 0, 0, 0, 0, 1, 0, 0

To make the tap-to-click happen. You can read what all the other properties do, along with what the other 0s in this command do, at https://manpages.ubuntu.com/manpages//a … ics.4.html

Edit 2: Just by chance, I just rebooted and the problem persists. Sorry. No solution. This error is in my journal now:

 
Sep 07 20:09:24 darris-nitroan51542 kernel:kernel: i2c_hid_acpi i2c-ELAN0504:01: HID over i2c has not been provided an Int IRQ
Sep 07 20:09:24 darris-nitroan51542 kernel: i2c_hid_acpi: probe of i2c-ELAN0504:01 failed with error -22

and the wiki's solution at https://wiki.archlinux.org/title/Laptop#Elantech didn't work either.

Last edited by darris (2021-09-08 01:21:02)

Offline

#6 2021-09-08 06:08:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,959

Re: Trackpad sometimes does not work on startup

Offline

#7 2021-11-15 17:50:47

developeriname
Member
Registered: 2021-11-15
Posts: 1

Re: Trackpad sometimes does not work on startup

xerxes_ wrote:

Try this config:

Section "InputClass"
        Identifier "libinput touchpad catchall"
        Driver "libinput"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "Tapping" "True"
        Option "TappingDrag" "True"
        Option "ScrollMethod" "Edge"
#       Option "AccelProfile" "linear"
#       Option "AccelSpeed" "0.4"
        Option "DisableWhileTyping" "False"
EndSection

It works for me great, but I have different laptop. If it don't work for you then post full output of command 'sudo journalctl -b' in "code" tags here.

Also did you tried standard linux distro kernel (linux package)?

+1 for this config. Working on ElanTech touchpad. HP Model-0502sa.
On Kernal 5.14.8 It would usually work after a reboot. However it broke completely on newest release. Kernal 5.14.15.

Offline

Board footer

Powered by FluxBB