首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何提高Ubuntu的触控板精度?

问如何提高Ubuntu的触控板精度?
EN

Ask Ubuntu用户
提问于 2022-02-10 18:04:34
回答 1查看 1.8K关注 0票数 0

我正在一个Thinkpad X260上运行Ubuntu20.04(内核是5.4.0-99-lowlatency,但在通用内核上的问题是相同的)。触控板设备是"Synaptics The 3075-002“。

基本上,对于小的,精确的运动,触控板是紧张的,有时不注册一个运动。

我已经尝试过libinput 1.19.901和最新的xserver-xorg-input-synaptics包。

游标移动速度慢,手指在触控板w/ libinput上移动:

游标移动速度慢,手指在触控板w/ synaptics上移动:

用synaptics比较好,但还是很紧张。

这些是libinput的属性:

代码语言:javascript
复制
Device 'Synaptics TM3075-002':
        Device Enabled (168):   1
        Coordinate Transformation Matrix (170): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (304): 1
        libinput Tapping Enabled Default (305): 0
        libinput Tapping Drag Enabled (306):    1
        libinput Tapping Drag Enabled Default (307):    1
        libinput Tapping Drag Lock Enabled (308):       0
        libinput Tapping Drag Lock Enabled Default (309):       0
        libinput Tapping Button Mapping Enabled (310):  1, 0
        libinput Tapping Button Mapping Default (311):  1, 0
        libinput Natural Scrolling Enabled (312):       0
        libinput Natural Scrolling Enabled Default (313):       0
        libinput Disable While Typing Enabled (314):    0
        libinput Disable While Typing Enabled Default (315):    1
        libinput Scroll Methods Available (316):        1, 1, 0
        libinput Scroll Method Enabled (317):   1, 0, 0
        libinput Scroll Method Enabled Default (318):   1, 0, 0
        libinput Click Methods Available (319): 1, 1
        libinput Click Method Enabled (320):    0, 1
        libinput Click Method Enabled Default (321):    1, 0
        libinput Middle Emulation Enabled (322):        0
        libinput Middle Emulation Enabled Default (323):        0
        libinput Accel Speed (324):     0.500000
        libinput Accel Speed Default (325):     0.000000
        libinput Left Handed Enabled (326):     0
        libinput Left Handed Enabled Default (327):     0
        libinput Send Events Modes Available (289):     1, 1
        libinput Send Events Mode Enabled (290):        0, 0
        libinput Send Events Mode Enabled Default (291):        0, 0
        Device Node (292):      "/dev/input/event15"
        Device Product ID (293):        1739, 0
        libinput Drag Lock Buttons (328):       
        libinput Horizontal Scroll Enabled (329):       1

对于synaptics:

代码语言:javascript
复制
Device 'Synaptics TM3075-002':
        Device Enabled (168):   1
        Coordinate Transformation Matrix (170): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (301):     1
        Device Accel Constant Deceleration (302):       2.500000
        Device Accel Adaptive Deceleration (303):       1.000000
        Device Accel Velocity Scaling (304):    12.500000
        Synaptics Edges (305):  67, 1613, 54, 948
        Synaptics Finger (306): 25, 30, 0
        Synaptics Tap Time (307):       180
        Synaptics Tap Move (308):       86
        Synaptics Tap Durations (309):  180, 180, 100
        Synaptics ClickPad (310):       1
        Synaptics Middle Button Timeout (311):  0
        Synaptics Two-Finger Pressure (312):    282
        Synaptics Two-Finger Width (313):       7
        Synaptics Scrolling Distance (314):     39, 39
        Synaptics Edge Scrolling (315): 1, 0, 0
        Synaptics Two-Finger Scrolling (316):   1, 0
        Synaptics Move Speed (317):     1.000000, 1.750000, 0.102249, 0.000000
        Synaptics Off (318):    0
        Synaptics Locked Drags (319):   0
        Synaptics Locked Drags Timeout (320):   5000
        Synaptics Tap Action (321):     2, 3, 0, 0, 1, 3, 0
        Synaptics Click Action (322):   1, 3, 0
        Synaptics Circular Scrolling (323):     0
        Synaptics Circular Scrolling Distance (324):    0.100000
        Synaptics Circular Scrolling Trigger (325):     0
        Synaptics Circular Pad (326):   0
        Synaptics Palm Detection (327): 0
        Synaptics Palm Dimensions (328):        10, 200
        Synaptics Coasting Speed (329): 20.000000, 50.000000
        Synaptics Pressure Motion (330):        30, 160
        Synaptics Pressure Motion Factor (331): 1.000000, 1.000000
        Synaptics Resolution Detect (332):      1
        Synaptics Grab Event Device (333):      0
        Synaptics Gestures (334):       1
        Synaptics Capabilities (335):   1, 0, 0, 1, 1, 1, 0
        Synaptics Pad Resolution (336): 20, 20
        Synaptics Area (337):   0, 0, 0, 0
        Synaptics Soft Button Areas (338):      840, 0, 821, 0, 0, 0, 0, 0
        Synaptics Noise Cancellation (339):     0, 0
        Device Product ID (293):        1739, 0
        Device Node (292):      "/dev/input/event15"

我不知道我还能做什么。其他属性似乎不会影响到这一点(我禁用了synaptics的噪声消除,但不确定这有多大帮助)。还有别的司机我应该试试吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2022-02-16 16:16:19

经过大量的搜索和尝试,我最终在对前一个问题的回答找到了一个不错的解决方案。

基本上,我最终更改了以下属性:

代码语言:javascript
复制
DEVICE=11
xinput --set-prop "$DEVICE" "Synaptics Noise Cancellation" 0 0
xinput --set-prop "$DEVICE" "Device Accel Profile" 6
xinput --set-prop "$DEVICE" "Device Accel Velocity Scaling" 50
xinput --set-prop "$DEVICE" "Device Accel Constant Deceleration" 12

关键是将Device Accel Profile更改为6,根据链接的答案,这是线性加速度剖面。这需要一些习惯,但现在的小动作已经不那么紧张了:

libinput也有可能等同于synaptics线性配置文件的“平坦”加速度剖面,但我还没有机会尝试它。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1392198

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档