I am new to Linux and I just installed Ubuntu on a new ASUS TUF F15 FX506HM, and I had a couple of problems regarding the Wi-Fi adapter and the touchpad. In order to solve the Wi-Fi problem I updated the kernel to the latest version, but that did not solve the trackpad issue (did not solve the Wi-Fi problem completely either, apparently there are no drivers yet for the Wi-Fi adapter I have mt7921e, but this is a different discussion for another time).
To solve the trackpad issue I followed a couple of tutorials on YouTube and discussions on different forums and the solutions found were to edit the grub file in /etc/default/grub and to modify the two lines containing "GRUB_CMDLINE_LINUX_DEFAULT" and "GRUB_CMDLINE_LINUX" introducing different values for those two fields. No solution worked.
Please help me, I do not know what to do next. This is the output from the xinput command:
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:17 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:17 id=7 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:17 id=8 [slave keyboard (3)]
I am running Ubuntu 21.04 with the kernel 5.12.10. Thank you for your help and attention!