Ubuntu 24.04, the mouse touchpad is not responding

Fn + F9 on and off also did not respond, Redmi notebook model: XMA1903-DA.
the mouse touchpad is not responding.
Env: ubuntu desktop 24.04

postgres@ubuntu:~$ modinfo psmouse
filename:       /lib/modules/6.8.0-51-generic/kernel/drivers/input/mouse/psmouse.ko.zst
license:        GPL
description:    PS/2 mouse driver
author:         Vojtech Pavlik <vojtech@suse.cz>
srcversion:     5A7754A048AEB65E758303D
alias:          serio:ty05pr*id*ex*
alias:          serio:ty01pr*id*ex*
depends:        
retpoline:      Y
intree:         Y
name:           psmouse
vermagic:       6.8.0-51-generic SMP preempt mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        29:0D:80:5A:E0:B3:D6:D4:D4:D3:D0:EF:AB:48:F3:DB:73:58:2F:63
sig_hashalgo:   sha512
signature:      7D:81:40:5B:24:2F:05:B3:8B:55:B4:EE:0B:6D:5B:96:5C:4E:03:2B:
                59:24:87:1D:73:A3:47:65:BE:68:93:8F:66:ED:A8:C9:35:6D:92:AF:
                3F:7F:9C:2B:A3:D2:88:16:99:86:20:90:7F:25:E3:89:F0:AA:A7:80:
                1C:32:43:1C:30:80:E9:16:01:F9:24:24:47:7C:F3:8E:6E:82:98:23:
                40:6A:B7:4D:2D:9F:C5:DD:1E:8D:47:AF:74:FE:07:9C:85:73:31:CB:
                84:B7:3A:7E:23:ED:95:4B:38:A6:D0:9C:AD:3E:DA:EE:F3:EB:20:6B:
                C4:86:39:EA:65:70:A8:58:92:BF:AF:05:51:AD:C0:F3:1E:EA:41:DA:
                5F:C8:FB:6E:7A:82:BB:25:BF:CC:33:8A:D3:0D:85:F5:BB:45:06:97:
                A7:CD:6B:7D:81:09:B3:F1:A4:C5:1E:BD:EF:27:A0:AC:1E:C5:4E:37:
                E8:DC:7E:0A:B5:5B:24:4A:E7:0F:64:D2:E0:97:72:DA:76:25:43:17:
                23:3F:B6:46:42:58:9F:E6:46:1A:54:99:17:FC:3A:AA:60:5C:2D:68:
                97:3F:52:2B:AF:F9:26:FD:9B:67:58:FF:89:38:3B:D4:2F:B2:14:B8:
                EB:87:91:78:B9:31:1D:B0:1F:F6:3B:CC:13:2B:AF:31:DC:C8:18:A8:
                81:CB:72:2C:48:9B:AE:7C:E4:CB:09:83:9F:89:E0:0D:20:50:D2:B8:
                4B:A7:6D:72:5E:46:39:F9:B5:93:49:50:AC:2A:FA:DD:5C:CD:34:24:
                F1:77:07:30:B6:09:FC:94:43:9D:63:21:EE:3A:BF:72:AB:67:5D:08:
                86:C8:E2:D2:89:C7:D4:D9:A2:26:FE:FA:00:5F:6F:69:C8:E0:87:65:
                79:70:F4:16:C9:D2:03:D2:A5:28:E2:82:EF:4E:57:60:39:80:D9:AA:
                B0:09:C4:EA:31:7C:21:7A:CD:5D:CF:4C:B6:C3:E1:5E:1F:71:28:84:
                98:96:34:77:61:C5:E4:E9:12:66:83:65:5B:F6:20:77:A6:E3:9C:D5:
                9D:DC:E1:3D:EC:D7:17:63:BC:D1:37:A8:2F:87:94:18:1F:B4:27:3D:
                FD:B7:9B:E0:A5:2B:27:ED:0E:76:E1:3D:A5:E3:E6:04:F4:37:9F:D7:
                B8:0C:3A:C0:E7:CF:A4:7D:EE:39:44:3E:EF:7F:5C:62:02:C7:EB:0F:
                83:80:16:0B:26:83:40:92:C0:66:A5:00:60:01:9D:E0:8D:33:2B:25:
                B2:AD:A1:D6:48:8E:3B:97:DF:BD:D5:F1:1C:10:0B:B6:F9:FA:51:03:
                03:70:1D:8A:E1:AE:42:85:FB:29:02:0A
parm:           elantech_smbus:Use a secondary bus for the Elantech device. (int)
parm:           synaptics_intertouch:Use a secondary bus for the Synaptics device. (int)
parm:           proto:Highest protocol extension to probe (bare, imps, exps, any). Useful for KVM switches. (proto_abbrev)
parm:           resolution:Resolution, in dpi. (uint)
parm:           rate:Report rate, in reports per second. (uint)
parm:           smartscroll:Logitech Smartscroll autorepeat, 1 = enabled (default), 0 = disabled. (bool)
parm:           a4tech_workaround:A4Tech second scroll wheel workaround, 1 = enabled, 0 = disabled (default). (bool)
parm:           resetafter:Reset device after so many bad packets (0 = never). (uint)
parm:           resync_time:How long can mouse stay idle before forcing resync (in seconds, 0 = never). (uint)
postgres@ubuntu:~$ 
postgres@ubuntu:~$ 
postgres@ubuntu:~$ 
postgres@ubuntu:~$ lsmod
Module                  Size  Used by
xt_nat                 12288  46
veth                   45056  0
nf_conntrack_netlink    57344  0
xfrm_user              61440  1
xfrm_algo              16384  1 xfrm_user
xt_addrtype            12288  2
br_netfilter           32768  0
ccm                    20480  6
rfcomm                 98304  16
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
xt_CHECKSUM            12288  1
xt_MASQUERADE          16384  23
xt_conntrack           12288  3
ipt_REJECT             12288  2
nf_reject_ipv4         12288  1 ipt_REJECT
xt_tcpudp              16384  0
nft_compat             20480  77
nft_chain_nat          12288  18
nf_nat                 61440  3 xt_nat,nft_chain_nat,xt_MASQUERADE
nf_conntrack          196608  5 xt_conntrack,nf_nat,xt_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         12288  1 nf_conntrack
nf_tables             376832  1006 nft_compat,nft_chain_nat
libcrc32c              12288  3 nf_conntrack,nf_nat,nf_tables
bridge                421888  1 br_netfilter
stp                    12288  1 bridge
llc                    16384  2 bridge,stp
overlay               212992  7
qrtr                   53248  2
cmac                   12288  2
algif_hash             12288  1
algif_skcipher         16384  1
af_alg                 32768  6 algif_hash,algif_skcipher
bnep                   32768  2
binfmt_misc            24576  1
intel_rapl_msr         20480  0
nls_iso8859_1          12288  1
intel_rapl_common      40960  1 intel_rapl_msr
amdgpu              17108992  12
snd_sof_amd_acp63      16384  0
snd_sof_amd_vangogh    16384  0
snd_sof_amd_rembrandt    16384  0
snd_sof_amd_renoir     16384  0
snd_sof_amd_acp        53248  4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_pci            24576  4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_xtensa_dsp     12288  1 snd_sof_amd_acp
snd_hda_codec_realtek   200704  1
snd_sof               380928  2 snd_sof_amd_acp,snd_sof_pci
edac_mce_amd           28672  0
snd_sof_utils          16384  1 snd_sof
snd_hda_codec_generic   122880  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     94208  1
snd_soc_core          438272  1 snd_sof
kvm_amd               208896  0
snd_hda_intel          61440  2
snd_intel_dspcfg       36864  2 snd_hda_intel,snd_sof
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_hda_codec         204800  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_compress           28672  1 snd_soc_core
ac97_bus               12288  1 snd_soc_core
ath10k_pci             61440  0
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_core          139264  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
kvm                  1404928  1 kvm_amd
amdxcp                 12288  1 amdgpu
drm_exec               12288  1 amdgpu
snd_hwdep              20480  1 snd_hda_codec
snd_pci_ps             24576  0
ath10k_core           757760  1 ath10k_pci
gpu_sched              61440  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_suballoc_helper    16384  1 amdgpu
irqbypass              12288  1 kvm
btusb                  77824  0
crct10dif_pclmul       12288  1
snd_seq_midi           24576  0
snd_rpl_pci_acp6x      16384  0
btrtl                  32768  1 btusb
drm_ttm_helper         12288  1 amdgpu
polyval_clmulni        12288  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_acp_pci            12288  0
polyval_generic        12288  1 polyval_clmulni
btintel                57344  1 btusb
ttm                   110592  2 amdgpu,drm_ttm_helper
ath                    40960  1 ath10k_core
snd_acp_legacy_common    16384  1 snd_acp_pci
ghash_clmulni_intel    16384  0
btbcm                  24576  1 btusb
snd_rawmidi            57344  1 snd_seq_midi
snd_pci_acp6x          16384  0
sha256_ssse3           32768  0
btmtk                  12288  1 btusb
sha1_ssse3             32768  0
mac80211             1720320  1 ath10k_core
drm_display_helper    237568  1 amdgpu
snd_seq               118784  9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
snd_pcm               192512  12 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
aesni_intel           356352  7
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
bluetooth            1028096  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_pci_acp5x          16384  0
crypto_simd            16384  1 aesni_intel
snd_timer              49152  3 snd_seq,snd_hrtimer,snd_pcm
snd_rn_pci_acp3x       16384  0
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
cec                    94208  1 drm_display_helper
snd_acp_config         20480  9 snd_rn_pci_acp3x,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir
ecdh_generic           16384  1 bluetooth
sparse_keymap          12288  0
snd                   143360  20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
rc_core                73728  1 cec
rapl                   20480  0
ecc                    45056  1 ecdh_generic
ccp                   143360  1 kvm_amd
wmi_bmof               12288  0
snd_soc_acpi           16384  2 snd_sof_amd_acp,snd_acp_config
platform_profile       12288  0
soundcore              16384  1 snd
cfg80211             1327104  3 ath,mac80211,ath10k_core
i2c_algo_bit           16384  1 amdgpu
snd_pci_acp3x          16384  0
libarc4                12288  1 mac80211
k10temp                16384  0
i2c_piix4              32768  0
amd_pmc                45056  0
joydev                 32768  0
input_leds             12288  0
serio_raw              20480  0
mac_hid                12288  0
sch_fq_codel           24576  1
msr                    12288  0
parport_pc             53248  0
ppdev                  24576  0
lp                     28672  0
parport                73728  3 parport_pc,lp,ppdev
efi_pstore             12288  0
nfnetlink              20480  5 nft_compat,nf_conntrack_netlink,nf_tables
dmi_sysfs              24576  0
ip_tables              32768  0
x_tables               65536  9 xt_conntrack,nft_compat,xt_tcpudp,xt_addrtype,xt_CHECKSUM,xt_nat,ipt_REJECT,ip_tables,xt_MASQUERADE
autofs4                57344  2
nvme                   61440  5
nvme_core             212992  6 nvme
hid_multitouch         36864  0
video                  73728  1 amdgpu
hid_generic            12288  0
crc32_pclmul           12288  0
xhci_pci               24576  0
ahci                   49152  0
xhci_pci_renesas       20480  1 xhci_pci
nvme_auth              28672  1 nvme_core
libahci                53248  1 ahci
i2c_hid_acpi           12288  0
i2c_hid                40960  1 i2c_hid_acpi
wmi                    28672  2 video,wmi_bmof
hid                   180224  3 i2c_hid,hid_multitouch,hid_generic

Hi @tianyazi

I have seen reports that the touchpad device on these Xiaomi notebooks is problematic.

What’s the output of the following commands, to find out what’s inside your notebook:

# Install libinput and i2cdetect
sudo apt install libinput-tools i2c-tools
# Find out what's inside the laptop
sudo libinput list-devices
sudo dmesg | grep -i touch
sudo i2cdetect -l

Please paste the output you get from the above. Thanks!

正在处理用于 libc-bin (2.39-0ubuntu8.3) 的触发器 ...
Device:           Power Button
Kernel:           /dev/input/event3
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Video Bus
Kernel:           /dev/input/event7
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Power Button
Kernel:           /dev/input/event2
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Lid Switch
Kernel:           /dev/input/event0
Group:            4
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Sleep Button
Kernel:           /dev/input/event1
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:            USB OPTICAL MOUSE
Kernel:           /dev/input/event8
Group:            6
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

Device:           ELAN2305:00 04F3:3122 Touchpad
Kernel:           /dev/input/event6
Group:            7
Seat:             seat0, default
Size:             104x52mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles:   flat *adaptive custom
Rotation:         n/a

Device:           ELAN2305:00 04F3:3122 Mouse
Kernel:           /dev/input/event5
Group:            7
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event4
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

[    1.310256] input: ELAN2305:00 04F3:3122 Touchpad as /devices/platform/AMDI0010:03/i2c-0/i2c-ELAN2305:00/0018:04F3:3122.0001/input/input7
[    1.354696] input: ELAN2305:00 04F3:3122 Touchpad as /devices/platform/AMDI0010:03/i2c-0/i2c-ELAN2305:00/0018:04F3:3122.0001/input/input11
[    1.354765] hid-multitouch 0018:04F3:3122.0001: input,hidraw0: I2C HID v1.00 Mouse [ELAN2305:00 04F3:3122] on i2c-ELAN2305:00
i2c-0   i2c             Synopsys DesignWare I2C adapter         I2C adapter
i2c-1   smbus           SMBus PIIX4 adapter port 0 at 0b00      SMBus adapter
i2c-2   smbus           SMBus PIIX4 adapter port 2 at 0b00      SMBus adapter
i2c-3   smbus           SMBus PIIX4 adapter port 1 at 0b20      SMBus adapter
i2c-4   i2c             AMDGPU DM i2c hw bus 0                  I2C adapter
i2c-5   i2c             AMDGPU DM i2c hw bus 1                  I2C adapter
i2c-6   i2c             AMDGPU DM aux hw bus 0                  I2C adapter