I love you guys!!! Thank you everyone. I was so scared. But atlast the problem got solved. I learnt a lot today. I read many things rather than youtubing. Thank you so much guys for helping me grow. learn as well as fix my own problem mentality giving.
so if anyone other than me faces the same problem-
sudo nano /etc/default/grub
Edit GRUB_CMDLINE_LINUX_DEFAULT= "quiet splash"
don’t touch others
to GRUB_CMDLINE_LINUX_DEFAULT="quiet i8042.nopnp=1 pci=nocrs"
Now save and exit.
Run
sudo update-grub
The next steps will be to patch the kernel
Now run git clone https://github.com/pavlepiramida/elan_i2c_dkms.git
After that install make and dkms, so run
sudo pacman -S make dkms
Now run
cd elan_i2c_dkms
After that run
sudo dkms install .
Finally, run
reboot