[Others] 键盘输入按键频繁重复问题
Tofloor
poster avatar
Guf
deepin
2025-04-21 18:00
Author

有在其他帖子评论相关问题,可能是评论的问题,好几天了没有看到有工作人员跟踪和反馈。新开一个帖子跟踪一下问题。

问题描述:

在输入打字的时候频繁有按键重复问题,比如打deepin,可能出现deeeeeeeepin等类似情况。无论中英文都会出现这种情况,中文更频繁一些。(看到其他帖子有人反馈是系统自带的搜狗输入法Deepin Next版的问题,但是我尝试删除卸载相关应用及组件后依然有类似问题)

系统信息:

版本:deepin 23 - ver: 23.1

uname: Linux Admin 6.12.20-amd64-desktop-rolling #23.01.01.23 SMP PREEMPT_DYNAMIC Thu Apr 10 19:56:14 CST 2025 x86_64 GNU/Linux

看其他人的反馈好像不只是23系统会有这个问题,其他也有。

已做的尝试:

调整设置里面的键盘设置,将重复延迟拉长。无用。

卸载搜狗输入法,并重置输入法,无用。

使用命令 xset -r r off 临时关闭按键重复功能,有效果,确实不会按键重复了,但是是假象,指标不治本。在输入的时候有时候会非常卡(卡顿其实是系统在执行重复按键的相关操作,只不过由于关闭了重复按键,虽然不会重复了,但是相关操作并没有避免执行,卡顿的过程其实就是在等待按键执行完重复)

已查阅的其他相关反馈:

https://bbs.deepin.org/post/285582

https://bbs.deepin.org/post/281550

键盘鼠标输入为用户高频操作,建议加急处理,出现的时候基本约等于系统不可用。愿deepin越来越好。

Reply Favorite View the author
All Replies
欢乐马
deepin
2025-04-21 18:10
#1

cat /proc/interrupts 看看中断的数据。

Reply View the author
Guf
deepin
2025-04-21 18:20
#2
欢乐马

cat /proc/interrupts 看看中断的数据。

            CPU0       CPU1       CPU2       CPU3       CPU4       CPU5       CPU6       CPU7       CPU8       CPU9       CPU10      CPU11      CPU12      CPU13      CPU14      CPU15    
   0:         39          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-IO-APIC    2-edge      timer
   7:          0          0          0          0          0          1          0          0          0          0          0          0          0          0          0          0  IR-IO-APIC    7-fasteoi   pinctrl_amd
   8:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-IO-APIC    8-edge      rtc0
   9:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-IO-APIC    9-fasteoi   acpi
  25:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IOMMU-MSI  368-edge      AMD-Vi0-Evt
  26:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IOMMU-MSI  376-edge      AMD-Vi0-PPR
  27:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IOMMU-MSI  384-edge      AMD-Vi0-GA
  28:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  amd_gpio    0  ACPI:Event
  29:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:00:01.1    0-edge      PCIe PME
  30:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:00:01.3    0-edge      PCIe PME
  31:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:00:02.1    0-edge      PCIe PME
  32:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:00:02.2    0-edge      PCIe PME
  33:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:00:08.1    0-edge      PCIe PME
  34:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:00:08.2    0-edge      PCIe PME
  36:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:06:00.0    0-edge      ahci[0000:06:00.0]
  38:          0          0          0          0          0          0          0          0          0          0          0          0          0        263          0          0  IR-PCI-MSIX-0000:01:00.0    0-edge      nvme0q0
  40:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:06:00.1    0-edge      ahci[0000:06:00.1]
  42:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:05:00.3    0-edge      xhci_hcd
  51:     454254          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:05:00.4    0-edge      xhci_hcd
  59:          0     131261          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:01:00.0    1-edge      nvme0q1
  60:          0          0          0      52965          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:01:00.0    2-edge      nvme0q2
  61:          0          0          0          0          0      46627          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:01:00.0    3-edge      nvme0q3
  62:          0          0          0          0          0          0          0      18565          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:01:00.0    4-edge      nvme0q4
  63:          0          0          0          0          0          0          0          0          0     125119          0          0          0          0          0          0  IR-PCI-MSIX-0000:01:00.0    5-edge      nvme0q5
  64:          0          0          0          0          0          0          0          0          0          0          0      27247          0          0          0          0  IR-PCI-MSIX-0000:01:00.0    6-edge      nvme0q6
  65:          0          0          0          0          0          0          0          0          0          0          0          0          0      45740          0          0  IR-PCI-MSIX-0000:01:00.0    7-edge      nvme0q7
  66:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0      15476  IR-PCI-MSIX-0000:01:00.0    8-edge      nvme0q8
  68:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:05:00.2    0-edge      psp-1
  70:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:02:00.0    0-edge      eno1
  71:          0          0          0          0          0          0          0          0     795148          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:03:00.0    0-edge      enp3s0
  72:          0          0          0    1497047          0          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSIX-0000:05:00.0    0-edge      amdgpu
  74:          0          0          0          0       1786          0          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:05:00.1    0-edge      snd_hda_intel:card0
  75:          0          0          0          0          0        873          0          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:05:00.6    0-edge      snd_hda_intel:card1
  77:          0          0          0          0          0          0      44213          0          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:04:00.0    0-edge      mt7921e
 NMI:         45         36         29         17         33         13         21          7         52         32         26          9         35         16         22          7   Non-maskable interrupts
 LOC:    2992395    2057543    2361381    1072477    2555325     864152    1721674     641030    3914075    1662904    2014537     730708    2580761     980890    1735352     668838   Local timer interrupts
 SPU:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   Spurious interrupts
 PMI:         45         36         29         17         33         13         21          7         52         32         26          9         35         16         22          7   Performance monitoring interrupts
 IWI:        206       1201          0       6578          0          2          1          0          1          0          0          0          0          0          0          0   IRQ work interrupts
 RTR:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   APIC ICR read retries
 RES:     104670      49659     137000      52328     125611      36088     160015      52640      99214      28716     133496      42306     113079      34926     138491      46564   Rescheduling interrupts
 CAL:    3373995    2765740    3128499    2001081    3281087    1559741    2707420     893784    3141927    2090532    2818793    1139097    3053620    1665116    2558336     978494   Function call interrupts
 TLB:      78575      93702      78377      51624      83215      60340      61725      34346     102825      95740      68012      51047      88422      62678      67538      45837   TLB shootdowns
 TRM:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   Thermal event interrupts
 THR:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   Threshold APIC interrupts
 DFR:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   Deferred Error APIC interrupts
 MCE:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   Machine check exceptions
 MCP:        101        101        101        101        101        101        101        101        101        101        101        101        101        101        101        101   Machine check polls
 ERR:          0
 MIS:          0
 PIN:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   Posted-interrupt notification event
 NPI:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   Nested posted-interrupt event
 PIW:          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0          0   Posted-interrupt wakeup event

Reply View the author
Guf
deepin
2025-04-21 19:15
#3

自己手动排查了下,看起来并不是内核或应用层出现的故障,而是驱动或硬件层有点问题。

xev信息 x11层信息

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1007426, (415,139), root:(550,568),
    state 0x10, keycode 43 (keysym 0x68, h), same_screen YES,
    XLookupString gives 1 bytes: (68) "h"
    XmbLookupString gives 1 bytes: (68) "h"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1007427, (415,139), root:(550,568),
    state 0x10, keycode 43 (keysym 0x68, h), same_screen YES,
    XLookupString gives 1 bytes: (68) "h"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1007469, (415,139), root:(550,568),
    state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
    XLookupString gives 1 bytes: (65) "e"
    XmbLookupString gives 1 bytes: (65) "e"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1007471, (415,139), root:(550,568),
    state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
    XLookupString gives 1 bytes: (65) "e"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013151, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013302, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013344, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013705, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013705, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013755, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013755, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013805, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013805, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013856, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013856, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013907, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013907, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013958, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1013958, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014008, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014008, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014059, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014059, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014109, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014109, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014159, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014159, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014210, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014210, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014260, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014260, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014310, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014310, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014360, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014360, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014411, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014411, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014462, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014462, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1014484, (571,233), root:(706,662),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1015188, (571,233), root:(706,662),
    state 0x10, keycode 32 (keysym 0x6f, o), same_screen YES,
    XLookupString gives 1 bytes: (6f) "o"
    XmbLookupString gives 1 bytes: (6f) "o"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x8600001,
    root 0x3d1, subw 0x0, time 1015189, (571,233), root:(706,662),
    state 0x10, keycode 32 (keysym 0x6f, o), same_screen YES,
    XLookupString gives 1 bytes: (6f) "o"
    XFilterEvent returns: False

FocusOut event, serial 40, synthetic NO, window 0x8600001,
    mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 40, synthetic NO, window 0x8600001,
    atom 0x180 (_NET_WM_STATE), time 1045162, state PropertyNewValue

ClientMessage event, serial 40, synthetic YES, window 0x8600001,
    message_type 0x157 (WM_PROTOCOLS), format 32, message 0x158 (WM_DELETE_WINDOW)


showkey信息

键码  38 按下
键码  38 释放
键码  38 按下
键码  38 释放
键码  24 按下
键码  24 释放
键码  17 按下
键码  17 按下
键码  17 按下
键码  17 按下
键码  17 按下
键码  17 按下
键码  17 按下
键码  17 按下
键码  19 按下
键码  17 释放
键码  38 按下
键码  19 释放
键码  38 释放
键码  32 按下
键码  32 释放
键码  28 按下
键码  28 释放

看起来从硬件发过来的信号就是有多个。

Bus 001 Device 002: ID 0b05:193e ASUSTek Computer, Inc. ROG FALCHION

刷新了下usb,然后切换了下键盘的USB插孔。

好像正常了,至少到目前为止看似正常了。。。。。

后续持续跟进,有异常会继续跟踪,没有异常会关闭该帖子。

结论:

疑似部分硬件不兼容?

Reply View the author
wind
deepin
2025-04-22 10:46
#4

键盘输入出现异常信号(如键码重复、异常触发),经过USB端口切换后问题暂时解决,这确实可能指向硬件兼容性问题。建议尝试以下方法排查下:
1、‌USB端口供电不足或接触不良‌,更换USB端口后问题缓解,说明原端口可能存在供电不稳定或物理接触问题。某些主板的不同USB端口可能由不同控制器管理,供电特性也有差异。
‌2、USB控制器冲突‌,某些USB 3.0控制器与特定设备存在兼容性问题,尝试在BIOS中禁用xHCI Hand-off或切换为USB 2.0模式测试。

Reply View the author