手掌检测在 Ubuntu 18.04(X1E)中不起作用

手掌检测在 Ubuntu 18.04(X1E)中不起作用

我在 ThinkPad X1 Extreme 上运行 Kubuntu 18.04 和最新的 synaptics 驱动程序,但手掌检测不起作用。我怀疑这是因为 synaptics 驱动程序没有ABS_TOOL_WIDTH从中获取值/dev/input/event*,这是一个已知问题,但我不知道如何解决这个问题。我需要强制驱动程序通过压力而不是触摸宽度来确定手掌。

一种可能的解决方案是修补驱动程序。我可以进行编程,但我不知道如何构建它并将其提供给系统...

这是我的 synclient 的输出

Parameter settings:
    LeftEdge                = 1574
    RightEdge               = 5368
    TopEdge                 = 1409
    BottomEdge              = 4447
    FingerLow               = 25
    FingerHigh              = 30
    MaxTapTime              = 180                                                                                                                                           
    MaxTapMove              = 246
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    EmulateMidButtonTime    = 0
    EmulateTwoFingerMinZ    = 282
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = -113
    HorizScrollDelta        = 113
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 0
    MinSpeed                = 2.90133
    MaxSpeed                = 10.6228
    AccelFactor             = 0
    TouchpadOff             = 1
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 2
    RBCornerButton          = 3
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 3
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 3
    ClickFinger3            = 0
    CircularScrolling       = 0
    CircScrollDelta         = 0.100007
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 1
    PalmMinWidth            = 0
    PalmMinZ                = 63
    CoastingSpeed           = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    ResolutionDetect        = 1
    GrabEventDevice         = 0
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 20
    VertHysteresis          = 20
    ClickPad                = 1
    RightButtonAreaLeft     = 3471
    RightButtonAreaRight    = 0
    RightButtonAreaTop      = 4058
    RightButtonAreaBottom   = 0
    MiddleButtonAreaLeft    = 0
    MiddleButtonAreaRight   = 0
    MiddleButtonAreaTop     = 0
    MiddleButtonAreaBottom  = 0

相关内容