You are not logged in.

#1 2021-09-02 04:03:14

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

Touchpad does not work every 2nd or 3rd boot

I have had this problem every since I first installed linux on Acer Nitro 5. Had this same problem on Arch for 1 year, got frustrated and deleted linux partition and just installed EndeavourOS a week ago. This problem seems to be specific to linux(I am dual booting with windows 10). Linux does not seem to recognize touchpad at all sometimes, it does not show up in "xinput", "libinput list-devices".
Output of "xinput" when touchpad is working:

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ ELAN0504:01 04F3:312A Mouse             	id=12	[slave  pointer  (2)]
⎜   ↳ ELAN0504:01 04F3:312A Touchpad          	id=13	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Acer Wireless Radio Control             	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Lid Switch                              	id=9	[slave  keyboard (3)]
    ↳ Power Button                            	id=10	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=11	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
    ↳ Acer WMI hotkeys                        	id=15	[slave  keyboard (3)]

vs when it is not working: (not exact output, I just edited out mouse and touchpad from virtual core pointer)

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Acer Wireless Radio Control             	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Lid Switch                              	id=9	[slave  keyboard (3)]
    ↳ Power Button                            	id=10	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=11	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
    ↳ Acer WMI hotkeys                        	id=15	[slave  keyboard (3)]

my output of "journalctl -b" (touchpad working):

my output of "journalctl -b -1" (touchpad not working):

Also my /etc/default/grub: (I added i8042.reset and psmouse.synaptics_intertouch=0 to kernel parameters because others with similar issue on different forums suggested it)

# GRUB boot loader configuration

GRUB_DEFAULT="saved"
GRUB_TIMEOUT="8"
GRUB_DISTRIBUTOR="EndeavourOS"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 nowatchdog"
GRUB_CMDLINE_LINUX="i8042.reset psmouse.synaptics_intertouch=0"
GRUB_DISABLE_OS_PROBER="false"

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK="y"

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE="menu"

# Uncomment to use basic console
GRUB_TERMINAL_INPUT="console"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="auto"

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX="keep"

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME="/boot/grub/themes/EndeavourOS/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
GRUB_SAVEDEFAULT="true"

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU="y"
GRUB_DISABLE_SUBMENU="y"

Please let me know if any other info is required, im posting in this forum for the first time.

Offline

#2 2021-09-02 09:17:12

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

Re: Touchpad does not work every 2nd or 3rd boot

Technically not solved, but I wrote this script which you can put to autostart on login:

#!/usr/bin/sh

echo "yourpassword" | sudo -S rmmod i2c_hid_acpi
echo "yourpassword" | sudo -S rmmod i2c_hid
echo "yourpassword" | sudo -S modprobe i2c_hid
echo "yourpassword" | sudo -S modprobe i2c_hid_acpi

Offline

#3 2021-09-02 21:23:32

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: Touchpad does not work every 2nd or 3rd boot

1- don't use your sudo password in a plain text script file like this
2- https://forum.endeavouros.com/

Offline

Board footer

Powered by FluxBB