Touchpad not working in Asus ROG Strix g15
5 Attachment(s)
Hi,
I'm trying to get my touchpad to work for a while now and I don't understand what I'm doing wrong. I'm using the latest LFS build with kernel 5.16.9. I also have an initramfs setup to load the modules and firmware. I've attached some outputs from a Devaun Chimaera live (with "-devuan.txt") and my LFS (with "-lfs.txt"). Also I've attached my config file for my kernel. Any help would be appreciated. |
So the driver from devuan dmesg:
Code:
[ 7.119460] input: ASUE120A:00 04F3:319B Mouse as /devices/platform/AMDI0010:00/i2c-0/i2c-ASUE120A:00/0018:04F3:319B.0001/input/input16 In the LFS dmesg there is a warning: Code:
[ 0.245126] ------------[ cut here ]------------ It's unable to get the i2c clock rate from the driver. In the Devuan code it gets it from the platform code and doesn't call this routine. You may be missing some patch in your platform code. |
Interesting. In 5.18.16 version they removed that err check.
I'll try upgrading the kernel and see if that fixes anything. EDIT: I meant on line 480, but that seems irrelevant. |
Upgrading the kernel didn't fix the problem.
EDIT: I even added some i2c_designware modules (like what was done in Archlinux config: https://github.com/archlinux/svntogi...x/trunk/config ) and it didn't really fix it. |
Please add the output of dmidecode.
|
2 Attachment(s)
Sorry for the late reply.
@smallpond, I've attached the dmidecode output. It looks like it says that PS/2 type touchpad. I've tried building the mouse PS/2 and hid-multitouch as a module and built-in but neither seemed to solve the problem. EDIT: attached is my latest kernel config file. |
Breakthrough guys!
I managed to get my mouse working! Here is an outline of the steps: 0. Login to your host system, mount your partitions and make the necessary links before you chroot and chroot into your LFS system. 1. I downloaded the generic config file (the .x64 version for me depending on your architecture) from: https://mirrors.slackware.com/slackw...ernel-configs/ 2. Ran Code:
make menuconfig Note: you may get some warnings saying that 'm' is not a valid module which is fine if it's not a module that you need (which was the case for me). This happens because kernel configs get updated all the time from version to version. 3. Build and install the package (the usual make, make modules_install, etc.) (See: https://www.linuxfromscratch.org/lfs...10/kernel.html ) 4. Downloaded all of the files from: https://mirrors.slackware.com/slackw...ce/a/mkinitrd/ (a recursive wget may be useful here, like Code:
wget -r l6 -np -nc --reject "index.html*" -e robots=off 5. Make some changes to the 'Slackbuild" script depending on your package manager (if you have one). 6. Build and install the mkinitrd package. 7. Read the README.initrd. Tip: If you need to add extra nodules other than ext4 (for example), do: Code:
mkinitrd -c -k @KERNEL_VERSION@ -m ext4:<module 1>:<module 2>:... Code:
# lsmod Code:
# dmesg | grep 'i2c' # for example Some of the modules that I listed in the mkinitrd were Code:
i2c-hid 9. cd'd into /boot and decompressed the initrd.gz file. 10. Updated my grub.cfg file to include the initrd file (see: https://www.linuxfromscratch.org/blf...initramfs.html ) 11. Exited chroot, unmounted the partitions and rebooted. It almost feels like cheating that I had to use a config file and a mkinitrd from another distro like Slackware, but I figured that they got a working config file so why not use it. Now it's late for me so I'm going to bed (happy) now that I finally put this to bed after weeks of racking my head on this. |
All times are GMT -5. The time now is 09:44 AM. |