修改指点杆速度,敏捷度:

[root@T7 ~]# echo  > /sys/devices/platform/i8042/serio1/serio2/sensitivity
[root@T7 ~]# echo > /sys/devices/platform/i8042/serio1/serio2/speed
[root@T7 ~]# echo > /sys/devices/platform/i8042/serio1/serio2/speed
[root@T7 ~]# echo > /sys/devices/platform/i8042/serio1/serio2/sensitivity

改不改的,好像没什么变化捏。

-------------------  update @ 2017-07-05 ---------------------

有变化有变化,而且效果和明显。

我最后选了,sensitivity 245, speed 220   取值范围在0-255 之间。

手指头终于没那么累了。 目前方法是使用一个脚本手动设置,过两天改成自动配置。

------------------  update @ 2017-07-06 -----------------------

我很久以前,实现的一份配置。目前仍然生效,但是与speed无关。

/home/tong [tong@T7] [:]
> cat /etc/X11/xorg.conf.d/-trackpoint.conf
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" ""
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "7 6"
Option "YAxisMapping" "5 4"
EndSection

新增一份speed的配置。

/home/tong [tong@T7] [:]
> sudo libinput-list-devices

信息收集:

[root@T7 ~]# libinput-list-devices |grep -A  -i trackpoint
Device: TPPS/ IBM TrackPoint
Kernel: /dev/input/event20
Group:
Seat: seat0, default
Capabilities: pointer
Tap-to-click: n/a
[root@T7 ~]# udevadm info -q all -n /dev/input/event20
P: /devices/platform/i8042/serio1/serio2/input/input11/event20
N: input/event20
E: DEVNAME=/dev/input/event20
E: DEVPATH=/devices/platform/i8042/serio1/serio2/input/input11/event20
E: ID_BUS=i8042
E: ID_INPUT=
E: ID_INPUT_MOUSE=
E: ID_INPUT_POINTINGSTICK=
E: LIBINPUT_DEVICE_GROUP=//a/:synaptics-pt/serio0
E: MAJOR=
E: MINOR=
E: POINTINGSTICK_CONST_ACCEL=1.0
E: POINTINGSTICK_SENSITIVITY=
E: SUBSYSTEM=input
E: USEC_INITIALIZED= [root@T7 ~]# ls /sys/dev
dev/ devices/
[root@T7 ~]# ls /sys/devices/platform/i8042/serio
serio0/ serio1/
[root@T7 ~]# ls /sys/devices/platform/i8042/serio1/serio2/
bind_mode draghys driver ext_dev id input mindrag power protocol reach resolution sensitivity speed thresh upthresh
description drift_time drvctl firmware_id inertia jenks modalias press_to_select rate resetafter resync_time skipback subsystem uevent ztime
[root@T7 ~]#

配置:

[root@T7 ~]# touch /etc/udev/rules.d/-trackpoint.rules
[root@T7 ~]# cat /etc/udev/rules.d/-trackpoint.rules
ACTION=="add", SUBSYSTEM="input", ATTR{name}=="TPPS/2 IBM TrackPoint", ATTR{device/sensitivity}="", ATTR{device/speed}=""

测试:

/home/tong [tong@T7] [:]
> udevadm test /sys/devices/platform/i8042/serio1

参考:http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint

https://wiki.archlinux.org/index.php/TrackPoint

--------------------------------------   update @ 2017-07-19 ---------------------------------------

前文的配置方式,以及如下的配置方式,都无法对sensitivity的配置生效:开机之后sensitivity的值始终为默认的200.

> cat /etc/udev/rules.d/-trackpoint.rules
ACTION=="add", SUBSYSTEM=="input", ATTR{name}=="TPPS/2 IBM TrackPoint", ATTR{device/speed}=""
ACTION=="add", SUBSYSTEM=="input", ATTR{name}=="TPPS/2 IBM TrackPoint", ATTR{device/sensitivity}=""

---------------------------------------  update @ 2018-03-05 -------------------------------------------

既然rules.d不能设置sensitivity, 那么我们就换一招设置sensitivity, 把speed留给rules.d进行设置.

┬─[tong@T7:~]─[:: AM]
╰─>$ cat /etc/udev/rules.d/-trackpoint.rules
ACTION=="add", SUBSYSTEM=="input", ATTR{name}=="TPPS/2 IBM TrackPoint", ATTR{device/speed}=""

使用hwdb设置sensitivity, 参考https://wiki.archlinux.org/index.php/TrackPoint

cp /usr/lib/udev/hwdb.d/-pointingstick.hwdb /etc/udev/hwdb.d/-pointingstick-local.hwdb

修改该文件的中内容如下:

┬─[tong@T7:~]─[:: AM]
╰─>$ tail -n /etc/udev/hwdb.d/-pointingstick-local.hwdb
# Lenovo Thinkpad * series
evdev:name:TPPS/ IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??:*
evdev:name:TPPS/ IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad???:*
POINTINGSTICK_SENSITIVITY=
POINTINGSTICK_CONST_ACCEL=1.0

然后, 执行命令:

$ systemd-hwdb update

至此, 重启系统, speed和sensitivity就都能成功开机自动设置了.

不过, 我的蓝牙鼠的速度怎么好像也变快了呢? 难道是幻觉???

所幸, 鼠标速率调整起来比较容易. 调到满意就好了.

[daily][device][archlinux][trackpoint] 修改指点杆速度/敏捷度的更多相关文章

  1. 重装ArchLinux后修改GRUB配置不生效问题的解决

    重装ArchLinux后修改GRUB配置不生效问题的解决 mount指令看一下挂载,或者vim /etc/fstab看一下有没有/boot,看看fstab是不是没写进去.... 我特喵昨天重装完Arc ...

  2. [daily][device][bluetooth] 蓝牙怎么办!(archlinux下驱动蓝牙鼠标,以及三星手机)

    去年地摊买的破无线鼠标坏掉了.看上微软的Designer Mouse蓝牙鼠,但是买之前我要确认我能不能驱起来. 这款鼠标只支持蓝牙4.0.系统支持windows8以上,不支持xp和windows7. ...

  3. [troubleshoot][archlinux][bcache] 修改linux文件系统 / 分区方案 / 做混合硬盘 / 系统转生大!手!术!(调整底层架构,不!重!装!)

    目标: 我要做的事情是:修改文件系统,硬盘分区方案,但是不重装系统,整个操作不被应用层感知. 背景: 我的笔记本 ThinkPad T450.8G内存 + 16GB SSD + 1TB HDD.预装w ...

  4. [daily][troubleshoot][archlinux][wps][font] wps文档中的图内容无法显示中文

    序 用linux作为工作生产环境的几个需要解决的问题之一是:文档协作,即如何兼容Micro$oft Office格式的文档. 我一般的工作方式是:在linux下创建一个win7的虚拟机,安装常用的wi ...

  5. [daily][device] linux添加打印机

    只用过HP的打印机,用过两个,分别是:HP_p2055dn, 和 HP_LaserJet_Professional_M1216nfh  别的不知道.以下内容仅试用于HP打印机. 第一:装HP,打印机工 ...

  6. [daily][device] linux挂载iphone

    头几个月去旅游,亲戚的iphone照了好多照片,空间不足.就备份在了我的电脑上. 那么问题就是如何在linux系统里挂载iphone? 我找到了这篇文档,然而我没看. https://wiki.arc ...

  7. wp 修改 提高youtu 速度

    resolve = 后添加 |.googlevideo.com ,并修改 crlf_rules crlf_rules = /^https?:\/\/[^\/]+\.c\.youtube\.com\// ...

  8. macOS修改Dock隐藏速度

    延迟时间 修改延迟时间改为0,默认为1. defaults write com.apple.dock autohide-delay -int 0; killall Dock 修改为浮点数值,例如0.1 ...

  9. [daily][archlinux] TODO LIST

    reminder: https://wikemacs.org/wiki/Buffer_management TO READ: https://www.kernel.org/doc/htmldocs/k ...

随机推荐

  1. Ubuntu 16.04 升级git

    To update git on Ubuntu 12.04 just follow this line of commands: sudo apt-get install python-softwar ...

  2. manjaro折腾手记

    以前装过Arch,有点折腾,写了个hello world就卸载了.没用过AUR,甚至也没去了解. 听说manjaro继承Arch,几乎开箱即用,对硬件支持非常好,源里面的软件更新非常快.但是没有装中文 ...

  3. ECMAScript各版本简介及特性

    术语 ECMAScript Sun(现在的Oracle)公司持有着“Java”和“JavaScript”的商标.这就让微软不得不把自己的JavaScript方言称之为“JScript”.然后,在这门语 ...

  4. MySQL读取配置文件的顺序、启动方式、启动原理

    一.MySQL读取配置文件的顺序 读取顺序:/etc/my.cnf > /etc/mysql/my.cnf > /usr/etc/my.cnf > ~/.my.cnf 命令验证:[r ...

  5. AYUI7 WPF MVC插件欣赏

    AYUI7  MVC 提前预览 一个插件安装,享受所有快捷操作 静态图: 支持xaml中aymvc快速绑定多个操作 支持controller中  ayaction快速创建action代码块, 在AYU ...

  6. 【转】C# 高性能 TCP 服务的多种实现方式

    原文链接: http://www.cnblogs.com/gaochundong/p/csharp_tcp_service_models.html 开源库: https://github.com/ga ...

  7. linux下好玩或者好用的小工具

    本篇文章用于记录自己认为很好玩的linux下的小工具,不断添加中..大家如果有什么好玩的小工具的话,欢迎留言告诉我. 1. cmatrix工具 功能介绍: 可以产生黑客帝国中字符满屏幕飞的效果,当你离 ...

  8. 一个tomcat服务器上部署多个Web项目,不同域名访问

    [参考]一个tomcat服务器上部署多个项目,不同域名访问 我们一个服务器只按装了一个tomcat服务器,现在有多个项目或者多个域名访问,下面来进行配置 在这里我们只需要修改conf下的server. ...

  9. VS IISExpress REST DELETE 405 Method Not Allowed

    [参考].net IIS MVC Rest api 跨域 PUT DELETE 404 无法使用问题解决方案 今日在使用泛型處理常式處理檔案上傳時,使用了 HTTP 動詞的 PUT.DELETE 進行 ...

  10. struts表单域模型注入

    表单使用struts标签,表单中每一个字段都可以这样来赋值 类(action).成员变量 这个叫域模型注入 <s:form action="orders" method=&q ...