Hi tcl_user5
OK, I think I see the problem. This is from the dmesg from your working distro::
[ 10.093957] i2c_hid i2c-ALPS0001:01: supply vdd not found, using dummy regulator
----- Snip -----
[ 10.466157] input: ALPS0001:01 0911:5288 Mouse as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-4/i2c-ALPS0001:01/0018:0911:5288.0002/input/input6
[ 10.466354] input: ALPS0001:01 0911:5288 Touchpad as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-4/i2c-ALPS0001:01/0018:0911:5288.0002/input/input7
[ 10.466478] hid-generic 0018:0911:5288.0002: input,hidraw1: I2C HID v1.00 Mouse [ALPS0001:01 0911:5288] on i2c-ALPS0001:01
----- Snip -----
[ 11.859628] input: ALPS0001:01 0911:5288 Mouse as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-4/i2c-ALPS0001:01/0018:0911:5288.0002/input/input18
[ 11.860172] input: ALPS0001:01 0911:5288 Touchpad as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-4/i2c-ALPS0001:01/0018:0911:5288.0002/input/input19
[ 11.860626] hid-multitouch 0018:0911:5288.0002: input,hidraw1: I2C HID v1.00 Mouse [ALPS0001:01 0911:5288] on i2c-ALPS0001:01
It looks like your working distro provides i2c_hid.ko (i2c_hid_acpi.ko after kernel 5.11) which is not enabled in our kernel:
# CONFIG_I2C_HID_ACPI is not set
It's possible this might need to be enabled too:
# CONFIG_I2C_DESIGNWARE_PCI is not set
I enabled the following in the kernel
CONFIG_I2C_HID_ACPI = y
CONFIG_HID_MULTITOUCH =y
CONFIG_HID_ALPS =y
Now the touchpad is working !
Thanks to members for their suggestions.
(In the standard TC kernel (v13.0), CONFIG_I2C_HID_ACPI is not set whereas CONFIG_HID_MULTITOUCH = m and CONFIG_HID_ALPS =m. Even after enabling I2C_HID_ACPI, the touchpad was not working with HID_MULTITOUCH and HID_ALPS set to m. Why it works with "y" and not with "m" is not clear to me. With both these parameters set to "m", only the Mouse part was getting recognized and not the touchpad.)